fireemblem8u/README.md
2023-04-03 15:14:43 +08:00

2.3 KiB

Fire Emblem: The Sacred Stones

PRs Welcome

FE Decomp Portal

This is a disassembly of Fire Emblem: The Sacred Stones (U)[!]

It builds the following ROM:

  • fireemblem8.gba sha1: c25b145e37456171ada4b0d440bf88a19f4d509f

Setting up the repository

  1. You must have a copy of the Fire Emblem: The Sacred Stones ROM named baserom.gba in the repository directory.
  2. Install devkitPro or GNU Arm Embedded Toolchain.
# for Ubuntu/WSL users
apt install binutils-arm-none-eabi
  1. Install agbcc to this project.
cd /path/to/agbcc
./build.sh
./install.sh /path/to/fireemblem8u
  1. Build tools.
cd /path/to/fireemblem8u
./build_tools.sh
  1. Build the project.
make
  1. You will see this for success.
fireemblem8.gba: OK

Q: fatal error: png.h: No such file or directory

A: Install libpng to build tools/gbagfx.

Q: make: *** No rule to make target 'baserom.gba', needed by 'xxx'. Stop.

A: You must place a copy of the Fire Emblem: The Sacred Stones ROM named baserom.gba in the repository directory.

Q: unrecognized option '--add-symbol'

A: Update your devkitPro or embedded toolchain. Read this for more info.

Q: .dep/src/xxx.d:2: *** missing separator. Stop.

A: rm -rf .dep or disable VSCode Extension: Makefile Tools if installed.

Check INSTALL.md and INSTALL.md if you have trouble in setting up.

Check remove_tools branch if you don't want to build agbcc and other tools by yourself. It uses docker to make setting up easier. Follow its README.md instead.