Skip to content

Project to build a translated fe6 base rom for hacking

Notifications You must be signed in to change notification settings

MokhaLeee/fe6-utf8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fe6-utf8

Projects to introduce utf8-decoding for translation and development to fireemblem6, aimming to enable users to directly insert anti-huffmaned utf8 strings via FEBuilderGBA or buildfile.


Usage

Working in Process

Directly get the release, and apply the patch to fe6 clean rom, and use the generated gba rom as the baserom to do more hacks.

// Recommanded definition for buildfile
#define FreeSpace 0x00A00000
#define TextTable NewTextTable

PUSH
    ORG 0x00800000
    TextTable:
POP

Custom build

<!> You need a linux envirment!

For Windows user, it is recommended to use a ubuntu server or try WSL.

  1. Install sub-modules
cd tools
git clone https://github.com/MokhaLeee/FE6-CLib.git
git clone https://github.com/StanHash/EventAssembler.git --recursive
  1. Install dependence
sudo apt-get -y install binutils-arm-none-eabi \
    gcc-arm-none-eabi build-essential cmake re2c ghc \
    cabal-install libghc-vector-dev libghc-juicypixels-dev \
    python3-pip pkg-config libpng* bsidff

pip install pyelftools PyInstaller tmx six
  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
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
export DEVKITPPC=${DEVKITPRO}/devkitPPC
export PATH=${DEVKITPRO}/tools/bin:$PATH
  1. Build EA

    Get into tools/EventAssembler and then refer to EA build note to install .NET.

# 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
  1. Put Fire Emblem: Fūin no Tsurugi clean rom named fe6.gba in the repo directory.

  2. build:

make

You can configure on lang.mk to choose how much utf8-characteres to be installed, for now, EN and ZH-CN is supported.


Credit

About

Project to build a translated fe6 base rom for hacking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published