Decompilation/disassembly of Fire Emblem: The Sacred Stones
Go to file
2023-03-28 00:21:20 +08:00
_site Add unordered list in index.html. 2023-03-28 00:21:20 +08:00
.github/workflows Fix CI Error: https://github.com/laqieer/fireemblem8u/actions/runs/4534023804 2023-03-28 00:01:14 +08:00
asm (bmave) block 5 & 6 decompiled 2023-03-25 22:36:41 +08:00
data (bmave) block 5 & 6 decompiled 2023-03-25 22:36:41 +08:00
graphics Dump chapter assets except event scripts 2022-10-14 15:40:05 +00:00
include Matching WriteNewMultiArenaSave 2023-03-25 18:47:21 +01:00
scripts (prepscreen) code pre-view, split asm code and rename functions 2023-01-02 19:05:53 +08:00
sound Reanme direct sound samples. 2022-05-06 17:35:16 +08:00
src Matching WriteNewMultiArenaSave 2023-03-25 18:47:21 +01:00
tools Fix tool build on Mac 2023-03-23 20:20:38 +08:00
.clang-format Add formatting rules 2020-03-07 18:04:32 +08:00
.gitattributes Fix: LF line endings aren't supported. 2022-02-23 01:42:34 +08:00
.gitignore Merge branch 'messdecode' of https://github.com/camthesaxman/fireemblem8u-c 2022-08-06 14:54:44 +08:00
asmdiff.sh output in 2 rows 2020-03-07 18:21:27 +08:00
buddy.yml Allow to use your own cpp. 2021-10-10 15:19:47 +08:00
build_tools.sh Makefile to build tools. 2022-08-06 23:57:07 +08:00
checksum.sha1 set up build system 2018-02-19 22:55:34 -06:00
clean_tools.sh chmod +x clean_tools.sh 2022-08-06 23:58:39 +08:00
CONTRIBUTING.md add link to compiler doc 2020-03-13 21:51:08 +08:00
graphics_file_rules.mk Dump chapter assets except event scripts 2022-10-14 15:40:05 +00:00
json_data_rules.mk Dump chapter assets except event scripts 2022-10-14 15:40:05 +00:00
ldscript.txt (bmave) block 5 & 6 decompiled 2023-03-25 22:36:41 +08:00
linker_script_banim.txt Enhancement: refactor battle animation with compressing linker so that compressed pointers can be updated automatically 2019-05-03 11:50:48 +00:00
linker_script_sound.txt Combine voice groups using linker script instead of includes. 2022-05-06 14:54:00 +08:00
make_tools.mk Makefile to build tools. 2022-08-06 23:57:07 +08:00
Makefile generate matching huffman tree 2022-11-09 15:48:39 +01:00
msg_list.txt improve syntax of text input file 2018-03-06 14:10:41 -06:00
README.md Fix doc on building project on Mac 2023-03-23 20:24:10 +08:00
songs.mk Rename all songs to meaningful names. 2022-05-04 06:18:55 +08:00
sym_ewram.txt (bmave) block 5 & 6 decompiled 2023-03-25 22:36:41 +08:00
sym_iwram.txt (scene) Rename everything in line with FE6, add header 2023-02-19 16:18:21 -05:00

Fire Emblem: The Sacred Stones

PRs Welcome

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.