This project is provided as-is. It was written with the purpose of being run one time, to convert binary pkg files back to pog script files for the Flux engine.
Install golang minimum version 1.19 on your machine. In the project directory execute: go build
pog-pkg-decompiler --includes directory-of-h-files --output pog-file-to-output pkg-file-to-decompile
| Flag | Default | Description |
|---|---|---|
| --assembly | false | The "assmebly" of the original package should be output as comments above each function. |
| --assembly-only | false | The "assembly" should be output with no code. |
| --assembly-offset-prefix | true | The "assembly" should be prefixed with the byte offset of it's location in the CODE section of the pkg. |