Skip to content
mZakePublic

About

Modern C injection template for Pokémon Fire Red

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

131 Commits

Folders and files

Repository files navigation

Cinje

Cinje is a modern C injection template for Pokémon FireRed ROMs. It's designed to minimize development friction and improve reliability, so developers can focus on writing code without having to deal with nonsense bugs.

Key Features

  • Use one thing, and use it well: entire projects can be developed by writing only C code.
  • Rebuild what has to be rebuilt: even the most obscure dependencies are tracked, ensuring no regeneration is needed when a target is modified.
  • Builds as fast as development: blazingly fast incremental builds powered by Ninja.
  • Give me Unix and I am good to go: Linux, MSYS2 and WSL2 are supported.

Building

Place your ROM in the project root directory and rename it to BPRE.gba. When the build process finishes, the patched ROM will be written to BPRE_out.gba, also in the project root directory.

  1. Change directory to the project root.

  2. Run python3 generate.py to generate the build files for Ninja. It's only necessary to regenerate when you add or remove files.

  3. Run ninja to build the code and inject it into the ROM.

About

Modern C injection template for Pokémon Fire Red

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages