A complete upgrade for FireRed, including an upgraded Battle Engine.
A complete upgrade for Fire Red, including an upgraded Battle Engine.
Before doing anything it is HIGHLY recommended the documentation be read thoroughly.
NOTE Personalized options are available in src/config.h. The options can be customized by commenting and uncommenting lines.
Note Pokemon Expansion can be found here
Download and install Devkitpro. You can follow steps 4-6 from this tutorial. You may need to restart your computer for the changes to take effect.
Download the latest version of Python 3.7 (3.7.6). DO NOT DOWNLOAD PYTHON 3.8! After downloading and before proceeding to install, make sure that the add to path checkbox is ticked, otherwise you'll have to add the Python path in the environment variables manually. If you have installed multiple Python versions, please make sure that Python 3.6+ can be explicitly called with command
python3.
Download (or clone) the master folder from this github page. (Click 'Clone or Download', then 'Download Zip')
Get your ROM, rename it to BPRE0.gba and place it the main (master) folder.
To decide the offsets where you want to insert the code: In 'scripts/make.py' change
OFFSET_TO_PUT=YYYto the location you want to insert the data. Don't worry about changing insert.py because make.py automatically updates insert.py and linker.ld.
Run cmd.exe from the main folder. You can do this by typing
cmdand hitting enter in the url address or selecting Open command window here from right clicking on empty space while holding the shift key. If the command line contains /scripts when showing the current directory, you are in the wrong place.
In the command prompt window, type
python scripts//make.py(or
python3 scripts//make.pyif you've installed multiple python versions).
7.5. If you get an error with a mention of a file called libwinpthread-1.dll (or something similar), search Google for a 64-bit version of this file and add it to the root.
A new gba file will appear named as test.gba and an offsets.ini file. Those are your resultant files.
Install devkitPro with instructions here.
Export
${DEVKITARM}/bin/to your
PATHvariable.
Make sure you've installed python 3.6+ and it can be called directly via either
pythonor
python3.
Clone the repo and go inside:
bash 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 BPRE0.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(or
python3 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 buildin 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.