How to make Simple Homebrew

Discussion in 'NDS - Emulation and Homebrew' started by Natertater12, Aug 20, 2010.

  1. Natertater12
    OP

    Natertater12 Newbie

    Newcomer
    4
    0
    Aug 9, 2010
    United States
    I wanna learn to make NDS homebrew.
     
  2. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    If you know C++, look at the DS examples in devkitPro and search for "patater's NDS programming guide".

    If you don't know C++, learn it first.
     
  3. Snorlax

    Snorlax POSTMODERNISM

    Member
    588
    2
    Apr 26, 2008
    Australia
    Also, if you want something easy, just grab a copy of DS Game Maker.
     
  4. TheTwoR's

    TheTwoR's Yay I can finally edit this thingy :D

    Member
    670
    0
    Aug 5, 2010
    Belgium
    I also want to make a homebrew game. However, I don't wanna use a simple program like DS Game Maker.
    I don't want my game to have a base template if you know what I mean.
    I want it totally like, 100% customizable. You know what I mean? [​IMG]
    So I'll take SifJar's advice and learn C++ whatever that is.
     
  5. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Banned
    560
    337
    Jan 10, 2011
    Basically PAlib is the easyest libary to use, it works well, I used it in Base Jumping DS for the graphics and random number generator.

    First download and install it, everything you need is here:
    http://www.palib.info/wiki/doku.php?id=day1

    Then learn C, the basic outline will look like this:
    CODE// Include PAlib so that you can use it
    #include
    //In the main room that first boots up
    int main(){
    ÂÂÂÂ// Initialize PAlib
    ÂÂÂÂPA_Init();
    ÂÂÂÂPA_InitVBL();

    ÂÂÂÂ// Infinite loop to keep the program running
    ÂÂÂÂwhile(true){
    ÂÂÂÂÂÂÂÂ// Put your game logic here

    ÂÂÂÂÂÂÂÂ// Wait until the next frame.
    ÂÂÂÂÂÂÂÂ// The DS runs at 60 frames per second.
    ÂÂÂÂÂÂÂÂPA_WaitForVBL();
    ÂÂÂÂ}
    }

    Any more info or help needed PM me.
     
  6. Discover

    Discover GBAtemp Regular

    Member
    106
    0
    Mar 10, 2010
    Primarily, the basic necessities of this would be:
    -C/C++ acknowledgement
    -SDKs and alike
     
  7. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    Gravedigging much...?
     
  8. Sausage Head

    Sausage Head Lord Sausage LXIX

    Member
    1,677
    19
    Oct 28, 2010
    Netherlands
    alanjohn check ur pm
    This is old, people
     
  9. boktor666

    boktor666 Gbatemp's official Solar Boy™ Is Back!

    Member
    805
    22
    Jun 16, 2010
    Netherlands
    Holland, somewhere :D
    Necomancers, stop thine animating of old decayed threads.

    Btw, Using DS App studio by Royal cardman is a program designed to make homebrew creating a bit easier, its a free program. I used it, and it's quite tough in the start, but you'll get the hang of it after a few hours.
     
  10. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Banned
    560
    337
    Jan 10, 2011
    Theres many game makers for the DS out there and belive me I have tried all of them!

    But the best by far is DSGameMaker version 3.
     
  11. Link of Hyrule

    Link of Hyrule Newbie

    Newcomer
    2
    0
    Mar 11, 2011
    Reading
    Can u get ds game maker for mac? It doesnt work using wine or crossover. [​IMG]