A development playground for Game Boy Advance development using TONC as a guide.
The following instructions will help the user set up an environment to develop, compile, and clean Gameboy Advance games for a Windows PC.
- Go to the DevKitPro Getting Started page.
- Install the latest graphical installer.
- Follow the prompts, making sure to select the
GBA Development
checkbox, to install DevKitPro and necessary tools. - Download the current version of the TONC code.
- Extract it, and take the
tonclib
folder and copy it into a/libs
folder at the root of this project.
NOTE: I know the library is packaged with the
DevKitPro
. I personally have not tested it, nor do I know if it's the most up-to-date version of the library. Try at your own risk, ensuring you rename the folder as necessary to match theLIBDIRS
in the Makefiles.
- Add
C:\devkitPro\tools\bin
to yourPATH
to grant access to some of DevKitPro's tools (likegbafix
andgrit
). - Close your terminal or editor to let
PATH
changes take effect. - At this point, your environment should be ready.
- Open any folder within
/src
. - Execute
make
in the terminal to compile your.gba
file. - Execute
make clean
to remove the executables and/build
folder.