Skip to content

StanHash/FE-CHAX

Repository files navigation

nat5/Stan's C wizardry for FE8-US ("C HAX")

GBAFE wizardry (in C!) and EA/make demo. See FE8UASMHax for way older things (there's still a few things left there that I haven't ported to here yet).

Wizardry is the term I use to identify blobs of "ASM" code patches (which are made by "Wizards"). Traditionally those were called "ASM Hacks" or "ASM Patches" but with the possibility of using C rather than ASM, these names became a bit obsolete. Another popular name for these is "Engine Hacks".

See releases for pre-built ("ready to include") versions of wizardry featured here.

Everything in here (that I made) is released under CC0 unless specified otherwise.

Building

You probably need to be on some Linux (Windows users: consider using WSL).

This repository makes use of the git submodule facilities. If you didn't clone the repository using git clone --recursive, then you will need to git submodule update --init --recursive before being able to build this.

  • Have a arm-none-eabi binutils+gcc toolchain. On Debian/Ubuntu you can simply sudo apt install arm-none-eabi-gcc. Otherwise, devkitARM works too.
  • have python 3 installed and in your path. (the makefile should be able to find the correct python executable name. See tooks.mk).
  • have built Tools/EventAssembler by running Tools/EventAssembler/build.sh. See the attached README for details.

Once all of that is done, you can navigate to this folder in your shell and do the following:

  • make or make hack to build the ROM (requires FE8U.gba in the directory)
  • If you want to make a speicifc hack, simply include its main installer from Main.event or Wizardry/Wizardry.event and make again.
  • you can make SomeFile.[o|asm|dmp|lyn.event] to make a specific file (asm files are generated from C).
  • run make clean to clean build outputs.

hf :)

Thankies

I stole one of the test maps from Alusq.

Some of the wizardry in this repository (under Wizardry/3rdParty) was borrowed from circleseverywhere, Tequila, Kirb and Zane Avernathy.

Shout outs to circleseverywhere, Tequila, CrazyColorz5, Zane Avernathy, Leonarth, Tiki/laqieer and 7743. These are all wonderful and nice people from whom I have learned (and borrowed) so many things. I wouldn't be here without them.

Shout outs to the people of Fire Emblem Universe for being nice.

Other things

Contact

You can find me over at the Fire Emblem Universe Discord under the handle nat5#4387.