Is there a good tutorial/ thread that teaches how to code homebrew?

Discussion in '3DS - Homebrew Development and Emulators' started by rondoh70, Apr 29, 2016.

  1. rondoh70
    OP

    rondoh70 GBAtemp Fan

    Member
    333
    41
    Sep 1, 2011
    United States
    new york
    Helllo. I'm a programmer that would love to try 3ds homebrew, but I have yet to find a guide that explains how to do that. I know basic c++, but I just dont really know how to get started.
     
  2. SANNIC789

    SANNIC789 GBAtemp Advanced Fan

    Member
    704
    91
    Oct 3, 2015
    United States
  3. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    Take a look at the example programs that are installed with the devkitpro installer. They will show you all of the 3ds specific bits. Personally I recommend keeping the 3ds bits of your code as isolated as possible and making your project so that it can cross compile to Windows and/or Linux. The lack of a debugger for the 3ds can make finding issues really hard to track. If you can run the core game logic on a system with a decent debugger than it makes it a lot easier. It is a bit more effort but well worth it in my opinion. Also, citra is good for quick tests but it will gladly run a bunch of stuff that will cause a real 3ds to lockup immediately - so test on real hardware frequently.