A Decompilation attempt for Bakugan: Defenders of the Core
TBA
- Run
git clone --recursive https://github.com/Vawlpe/BakuganDotC-decomp.git
in the directory you want to keep the project in - Open Ghidra, go to
File > Restore Project
, select themisc/bakuganDotC.gar
file from the project directory, and save the project atmisc/bakuganDotC.ghidra.proj
so it's automatically excluded when you want to push changes - Whenever you're done making changes (This is stupid and will be made easier soon, but for now):
- Go to
Windows > Script Manager
and add themisc/scripts/DecompilerExporter.java
file as a script, then run it, find it's output directory, usually under yourTEMP
dir, and copy all the files tosrc/
sorting and renaming them manually into the appropriate subdirectories as needed. SAVE
the project,CLOSE
it, andARCHIVE
it as "misc/bakuganDotC.gar
", replacing the existing file.- Stage and commit your changes, then push them to your fork's remote, or directly to the main repo if you're a trusted contributor.
- Go to
- PPSSPP: Use the Windows version due to it's debugging capabilities, it runs fine under wine as well, but the native releases for other platforms do not include the debugger.
- Ghidra: Required to work on the decompilation, to use it you also need Java JDK x64 17+
- Ghidra Allegrex Plugin: Required to work on PSP binaries in Ghidra, also enables the use of the Ghidra debugger in tandem with PPSSPP's debugger.
- A good hex editor (e.g ImHex, HxD, 010Editor)
- Python & AutoHotkey for running various utility scripts