This tool converts the output of Plugin SDK into, readable C++ code
- Python >= 3.6 is recommended. Won't work with =< 3.4.
Navigate into the downloaded repo, and launch
install.bat
- Copy the
plugins/
folder into your IDA installation - Open the gta IDB, go into text view, click there.
- Go to Edit -> Plugins -> Export to Plugin-SDK
- Select the path where the database should be saved
- Copy this pat, as you will need it for the program
- Open a command line interface (Powershell, Terminal, cmd.exe, etc.) (Double-clicking on the program will not work)
- Type the following into the (obviously replace the stuff between
<>
)py src/main.py --db-path <Path to the database> --class-name <Class you want the code for> --pdtypes
Example command:
py src/main.py --db-path C:/Users/Public/reversing/gta_sa_izzotop_12_04_2022 --assumed-cc --use-static-inline --class-name CBouncingPanel
Note: It is recommended you run clang-format. Go into the document in VS, and press CTRL+K + CTRL+D
Type the following into the console: py src/main.py -h
- Izzotop for inspiring me to use Jinja2
- Codenulls for the modified plugins, and similar program (from which I took the inspiration)
- All Plugin SDK contributors for their hard work