- Choose a folder (from now,
GBA_DIR
), and use this file structure:gba
tools
devkitPro
projects
gba-remote-play
- Install the toolchain:
- Dev
- devkitPro: The devkit for compiling GBA roms
- Use this version if you don't want build problems. It builds exactly the same file uploaded in the Releases section
- make: The build automation tool
- devkitPro: The devkit for compiling GBA roms
- Other
- Dev
- Add to
~/.bash_profile
:
export GBA_DIR="/c/Work/gba" # <<< CHANGE THIS PATH
export GBARP_OUT_DIR="//192.168.0.199/shared/gba-remote-play/raspi/out" # <<< CHANGE THIS PATH
export DEVKITPRO="$GBA_DIR/tools/devkitPro"
export PATH="$PATH:$GBA_DIR/tools/devkitPro/bin"
export PATH="$PATH:$GBA_DIR/tools/devkitPro/devkitARM/bin"
export PATH="$PATH:$GBA_DIR/tools/devkitPro/tools/bin"
- Recommended plugins:
C/C Extensions
,EditorConfig
- Recommended settings: here
Before compiling, you can comment/uncomment these build parameters in src/BuildConfig.h
:
Name | Description |
---|---|
WITH_AUDIO |
Enables GSM audio decoding. |
make clean
: Cleans build artifactsmake build
: Compiles and generates a.gba
filemake start
: Starts the compiled ROMmake rebuild
: Recompiles (clean build) a ROMmake restart
: Recompiles and copies the rom toGBARP_OUT_DIR