Clarification for anyone using official tools for GBA development

Discussion in 'Nintendo Game Development' started by splith, Jun 21, 2013.

  1. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    So I have been running around like a bit of a headless chicken whilst trying to get this GBA development off the ground. It's a bit of a pain in the arse in regards to how it's all setup and organised... If you're looking to get into GBA development using the official tools, this might help you...

    So, official GBA development is kinda split up into using the SN Systems compiler system or the NOA compiler system (which uses Cygnus GNUPro)... I've been using the SN systems and having to convert a lot of the makefiles to get samples to compile and whatnot, I've found there's a few incompatibilites using the SN systems one though, for example one of the samples compiles to under 200KB using the NOA tools but is a staggering 81MB using the SN systems compiler, and obviously isn't going to fit or work on a GBA at all.
    And after playing around with the music player 2000 for a while, it became obvious you just can't get that to work at all using ProDG.

    So, what do you do? You get the AGB Toolkit ISO v2 of course! (I couldn't find v3 but v3 is probably better and more recent, some people probably have and are selling v3 if you want a better version. v2 is available off the net on various sources though.) On the disc is something that various releases on the web forgot to include which practically makes their AGB development kit uploads mostly useless -> The GNUPro zip (or installer if you prefer) which will install the ACTUAL AGB SDK under C:\Program Files\Cygnus, and amazingly now everything works, you can compile samples and even use the music player 2000 program!

    If however you try to use it as-is, you'll just get 5 characters of garble from as.exe (on windows nt/2000/xp or greater)... To fix this, go to C:\program files\cygnus\thumbelf-000512, and open the DOS batch file in notepad, scroll to the bottom and change the ancient 'C:\WINDOWS\COMMAND.COM' to 'C:\WINDOWS\System32\CMD.exe' and use that if you want to compile things - now everything works!

    Though if you want to save yourself a lot of effort you might just want to use the non-official tools, I found this whilst searching for something and boy does it look much easier than the random pieces of code I'm hacking to try and get text to display; http://www.loirak.com/gameboy/gbatutor.php

    Happy coding!
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page