Skip to content

About

Morden c-skillsystem for fireemblem8u

Resources

Contributing

Stars

9 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

FE8U C-SkillSys

PRs Welcome

Modern CHAX for FE8U-SkillSystem.

For more notes, see docs dir

Custom build

Note

You need a linux envirment!

For Windows users, it is recommended to use a Ubuntu Server or try WSL.

  1. 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
  1. 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
  1. 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
  1. Build EA tools
# Build EA tools
cp Tools/scripts/build_ea_wo_core.sh Tools/EventAssembler/
cd Tools/EventAssembler
./build_ea_wo_core.sh
  1. Install code review tools
cp Tools/scripts/pre-commit .git/hooks/
  1. Put Fire Emblem: The Sacred Stones clean rom named fe8.gba in the repo directory.

  2. build:

make

Note

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

About

Morden c-skillsystem for fireemblem8u

Resources

Contributing

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages