Skip to content

Pid64/Emerald-C-Injections

Repository files navigation

Emerald C Injections

What is this?

A template for Emerald C injections.

Before doing anything it is HIGHLY recommended the documentation be read thoroughly.

Features

WIP.

NOTE Personalized options will be available in src/config.h. The options can be customized by commenting and uncommenting lines.

Installation Instructions

Windows

See the wiki.

UNIX-like OS (Linux, MacOS, ...)

  1. Install devkitPro with instructions here.

  2. Export ${DEVKITARM}/bin/ to your PATH variable.

  3. Make sure you've installed python 3.6+ and it can be called directly via either python or python3.

  4. Clone the repo and go inside:

git clone https://github.com/Skeli789/Complete-Fire-Red-Upgrade
cd Complete-Fire-Red-Upgrade
  1. Get your ROM into the current directory and rename it to TETLD.gba.

  2. Configure the offset you want to insert the code: In scripts/make.py change OFFSET_TO_PUT=YYY to the location you want to insert the data.

  3. Run python scripts/make.py (or python3 scripts/make.py if 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.

Notes

Anytime you make changes, the compiler will only compile the files you have changed.

Specific to Windows

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.

Specific to UNIX-like OS (linux, macOS, ...):

Any changes made to header files will require you to clean everything in build/ and then rerun the build scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published