How do I start GBA development?

metroid maniac

An idiot with an opinion
Member
Joined
May 16, 2009
Messages
2,088
Trophies
2
XP
2,650
Country
If you don't know C, learn C. Be already comfortable working in it on a conventional platform.

After that point, install devkitARM. Read the examples and get acquainted with the key libraries like libgba.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
it might be easier to modify an existing app or homebrew game that's open sourced. I might be able to help with compiling it.
 

Knightsurfer

Member
Newcomer
Joined
Dec 19, 2020
Messages
22
Trophies
0
XP
245
Country
United Kingdom
I've been wanting to make a game for the GBA for a while now, where do I start? I'm wanting to make a platformer with some basic dialog system.
I'm mostly just a newb but cross referencing Devkitpro's files and this handy tutorial here really helped me get started.

music can sometimes be a bit buggy to set up so I reorganised the maxmod libraries a little to better suit my workflow, the easiest way to make music files is with an app called: OpenMPT

I haven't figured out how to save to flash memory yet but to save to SRAM this is basicly all you need to do:

Code:
#define CARTRAM 0x0E000000 // SRAM memory Adress.
#define SaveData    ((u8*)  CARTRAM)  //Treats the CARTRAM adress like it's an array,

char someVariable;

void SaveFunction(){
    SaveData[0] = 'T';
}


void LoadFunction(){
    someVariable = SaveData[0] ;
}

I plan to release my own "engine creation library" eventually to help other newbs,
but in the meantime feel free to ask me stuff.


Here's a little preview of one of many of my test roms here.

I have a lot more going on than what is shown in that demo, but as you yourself will likely do, I have reworked this so many times that all I have to show for it is proof the core basics work lel.

also if you are feeling particuarly clever, theres a handy dandy sheet of specs for the gba's many features here.
 
Last edited by Knightsurfer,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion