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 Developmentcheckbox, to install DevKitPro and necessary tools. - Download the current version of the TONC code.
- Extract it, and take the
tonclibfolder and copy it into a/libsfolder 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 theLIBDIRSin the Makefiles.
- Add
C:\devkitPro\tools\binto yourPATHto grant access to some of DevKitPro's tools (likegbafixandgrit). - Close your terminal or editor to let
PATHchanges take effect. - At this point, your environment should be ready.
- Open any folder within
/src. - Execute
makein the terminal to compile your.gbafile. - Execute
make cleanto remove the executables and/buildfolder.