A template for Emerald C injections.
Before doing anything it is HIGHLY recommended the documentation be read thoroughly.
WIP.
NOTE Personalized options will be available in src/config.h. The options can be customized by commenting and uncommenting lines.
See the wiki.
-
Install devkitPro with instructions here.
-
Export
${DEVKITARM}/bin/to yourPATHvariable. -
Make sure you've installed python 3.6+ and it can be called directly via either
pythonorpython3. -
Clone the repo and go inside:
git clone https://github.com/Skeli789/Complete-Fire-Red-Upgrade
cd Complete-Fire-Red-Upgrade-
Get your ROM into the current directory and rename it to TETLD.gba.
-
Configure the offset you want to insert the code: In scripts/make.py change
OFFSET_TO_PUT=YYYto the location you want to insert the data. -
Run
python scripts/make.py(orpython3 scripts/make.pyif you’ve installed multiple python versions).
A new gba file will appear named as test.gba and an offsets.ini file. Those are your resultant files.
Anytime you make changes, the compiler will only compile the files you have changed.
Any changes made to header files will require you to type python scripts//clean.py build
in cmd and then rerun the build scripts. For more command line options, see "Engine
Scripts" in the documentation.
Any changes made to header files will require you to clean everything in build/ and then rerun the build scripts.