docker run -it \
--user "$(id -u):$(id -g)" \
-v "$(pwd)":/opt/gba \
devkitpro/devkitarm:20200730 \
bash -c "cd /opt/gba && make rebuild"
⚠️ Deprecated⚠️ Modern devkitARM versions don't work anymore since they generate bigger code and doesn't fit in IWRAM. Use the Docker build.
- Choose a folder (from now,
GBA_DIR), and use this file structure:gbatoolsdevkitPro
projectsgba-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.gbafilemake start: Starts the compiled ROMmake rebuild: Recompiles (clean+build) a ROMmake restart: Recompiles and copies the rom toGBARP_OUT_DIR