Creating Homebrew from open source code?

Discussion in '3DS - Homebrew Development and Emulators' started by FirstLady, Jun 23, 2015.

  1. FirstLady

    FirstLady GBAtemp Regular

    May 25, 2015
    United States
    So I'm just trying to find out. Is it possible to create 3DS homebrew from open source, source code, and how easy or difficult would it be? If so, what would one need to do in order to compile the code to make the software compatible for 3DS homebrew? Tips, tricks, tools, tuts, links... all welcome.

  2. zoogie

    zoogie playing around in the dsiware

    Nov 30, 2014
    Micronesia, Federated States of
    Sure follow this guide.

    The link to the devkitpro installer exe is here: Installer/

    Play around with the examples to get the hang of things. Most people learn by imitation but you could always just buy a C/C++ book online if you want a more mature and guided approach. Head First C is one of many you could try (people will argue endlessly about programming books so I'm not going to say anything more about it :P)
    Chrisser_75 and FirstLady like this.
  3. hippy dave

    hippy dave BBMB

    Apr 30, 2012
    United Kingdom
    As above, yeah it's possible. It's relatively difficult at the moment because you have to change out all the display/sound/input code for custom code to work on the 3ds, but it might get easier over time as more shared libraries get released.
    FirstLady likes this.
  4. elhobbs

    elhobbs GBAtemp Advanced Fan

    Jul 28, 2008
    United States
    You are not going to find a step by step guide to porting software to the 3ds. In general you are looking to isolate the hardware specific code and then modify or replace it to work with the target platform. In general this works best for C/C++ code. Typically you are looking at video, sound and network code. Each project is different though. Anything in assembly will likely need to be replaced as well. It is typically a lot easier to port something that is already multiplatform. As someone else has already isolated the platform specific code.
    FirstLady likes this.