[!NOTE] This repo has been forked and maintained by the community, please goto here: https://github.com/FireEmblemUniverse/fe8u-cskillsys-kernel
Put Fire Emblem: The Sacred Stones clean rom named fe8.gba in the repo directory, then:
# Install sub-modules
cd Tools
git clone https://github.com/MokhaLeee/FE-CLib-Mokha.git
git clone https://github.com/StanHash/EventAssembler.git --recursive
git clone https://github.com/StanHash/FE-PyTools.git --recursive
# 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* bsdiff moreutils
pip install pyelftools PyInstaller tmx six
# 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
# Install .NET
# refer to: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
sudo ./dotnet-install.sh --channel 6.0
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
# Build EA
cd Tools/EventAssembler
./build.sh
# make
make