Modern CHAX for FE8U-SkillSystem.
For more notes, see docs dir
Note
You need a linux envirment!
For Windows users, it is recommended to use a Ubuntu Server or try WSL.
- Install sub-modules
cd Tools
git clone https://github.com/MokhaLeee/FE-CLib-Mokha.git
git clone https://github.com/MokhaLeee/EventAssembler.git -b mokha-fix
git clone https://github.com/StanHash/FE-PyTools.git --recursive
git clone https://github.com/MokhaLeee/check_patch.git- Install dependencies
sudo apt-get -y install binutils-arm-none-eabi ctags \
gcc-arm-none-eabi build-essential cmake re2c ghc \
cabal-install libghc-vector-dev libghc-juicypixels-dev \
python3-pip pkg-config libpng* moreutils perl
pip install pyelftools PyInstaller tmx six Pillow
cabal update
# install wine
sudo dpkg --add-architecture i386
sudo apt-get update
rm -rf ~/.wine
sudo apt-get -y wine
wget https://mirrors.tuna.tsinghua.edu.cn/winehq/wine/wine-mono/9.4.0/wine-mono-9.4.0-x86.msi
wine msiexec /i wine-mono-9.4.0-x86.msi- Install DevkitPRO
wget https://apt.devkitpro.org/install-devkitpro-pacman
chmod +x ./install-devkitpro-pacman
sudo ./install-devkitpro-pacman
sudo dkp-pacman -S gba-dev
# Export vars
echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=\${DEVKITPRO}/devkitARM" >> ~/.bashrc
echo "export DEVKITPPC=\${DEVKITPRO}/devkitPPC" >> ~/.bashrc
echo "export PATH=\${DEVKITPRO}/tools/bin:\$PATH" >> ~/.bashrc
source ~/.bashrc- Build EA tools
# Build EA tools
cp Tools/scripts/build_ea_wo_core.sh Tools/EventAssembler/
cd Tools/EventAssembler
./build_ea_wo_core.sh- Install code review tools
cp Tools/scripts/pre-commit .git/hooks/-
Put Fire Emblem: The Sacred Stones clean rom named fe8.gba in the repo directory.
-
build:
makeNote
If gcc report error, update C-Lib and retry, see #155
It build such outputs
| Name | Desc |
|---|---|
| fe8-kernel-dev.gba | ROM |
| fe8-kernel-dev.sym | debug on NO$GBA |
| fe8-kernel-dev.ref.s | lyn reference |
| fe8-kernel-dev.ref.event | EA reference |