Skip to content

Latest commit

 

History

History

gba

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

gba

Install (Windows)

  • 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
    • Other
  • 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"

VSCode

  • Recommended plugins: C/C Extensions, EditorConfig
  • Recommended settings: here

Build options

Before compiling, you can comment/uncomment these build parameters in src/BuildConfig.h:

Name Description
WITH_AUDIO Enables GSM audio decoding.

Commands

  • make clean: Cleans build artifacts
  • make build: Compiles and generates a .gba file
  • make start: Starts the compiled ROM
  • make rebuild: Recompiles (clean build) a ROM
  • make restart: Recompiles and copies the rom to GBARP_OUT_DIR