Planning to learn how to code for 3DS homebrew. What do I need to know, guys?

Discussion in '3DS - Homebrew Development and Emulators' started by Voxel, Oct 12, 2015.

  1. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Hello, everyone!

    I want to stop shitposting everywhere, and actually do something with my life for once.
    Does anyone with past experience know where or how to start coding homebrew for 3DS?

    Many thanks, guys! :)
     
  2. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,656
    2,060
    Aug 19, 2015
    United Kingdom
    Clydebank
    Well first of all what level are you at have you programmed on any other systems if so what languages can you program in?
     
  3. mattycfp

    mattycfp Advanced Member

    Newcomer
    61
    17
    Jul 8, 2015
    United States
    25.0000° N, 71.0000° W
    You need:
    *the ability to breathe
    *the ability to Google things
    done

    *insert more bored posting*
     
    DesuIsSparta likes this.
  4. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    I'm quite familiar with Wii homebrew coding (not too familiar, though). For the programming languages, I usually code in C#, but that's only for my Unity work.
     
  5. mattycfp

    mattycfp Advanced Member

    Newcomer
    61
    17
    Jul 8, 2015
    United States
    25.0000° N, 71.0000° W
    Not a Homberew expert by any means; but AFAIK if you have that experiment that's fine for 3DS homebrew.

    Edit: gotta love autocorrect
     
    Last edited by mattycfp, Oct 12, 2015
  6. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Sarcasm is the lowest form of wit. B-)
     
  7. mattycfp

    mattycfp Advanced Member

    Newcomer
    61
    17
    Jul 8, 2015
    United States
    25.0000° N, 71.0000° W
    Intention.
     
  8. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    not what I had in mind, but... :glare:

    — Posts automatically merged - Please don't double post! —

    btw, there's a hint. :yay:
     
  9. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,656
    2,060
    Aug 19, 2015
    United Kingdom
    Clydebank
    Ok so you will have to learn one of the following c/lua/c++ if you want to program on the 3ds all 3 have numerous tutorials on the interweb
     
  10. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Oh, wait. Sorry, I didn't make myself clear the first time!

    I do know how to code a bit of c/c++, so I should be good to go there. But what I'm trying to say is, is there a good 3ds homebrew tutorial somewhere, or do people tend to just look at source code from others?
     
  11. nintendarium

    nintendarium Banned

    Banned
    394
    150
    Sep 3, 2015
    --just a "bit" c++ on ARM arch...
    --opengl es basics
    http://3dbrew.org/wiki/Setting_up_Development_Environment

    this demo showed some years ago how much you can push the 3ds hardware ... (actual graphics as you know never get so detailed... :) is just a demo)
    youtube.com/watch?t=4&v=J-NQBKVlUBc
    and since your nick name...
    some tricks about voxels :) :
    http://stackoverflow.com/questions/...-how-to-increase-performance-in-a-voxel-world
     
    DesuIsSparta, marc00077 and Voxel like this.
  12. Garcia98

    Garcia98 Hey! Listen!

    Member
    361
    188
    Sep 8, 2015
    Salamanca
    Just look at the examples of ctrulib and other libs you may want to use like sf2dlib
     
    robot56 likes this.
  13. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Oh, crap. I didn't notice the examples; I've been living under a rock for some time, you know! :rofl:
     
  14. JoostinOnline

    JoostinOnline Certified Crash Test Dummy

    Member
    10,974
    3,758
    Apr 2, 2011
    United States
    The Twilight Zone
    Look at source code. There are several examples with ctrulib.

    I would also recommend doing this to make errors and warnings easy to spot.
     
  15. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Thanks. I'll take a look at them now.
     
  16. JoostinOnline

    JoostinOnline Certified Crash Test Dummy

    Member
    10,974
    3,758
    Apr 2, 2011
    United States
    The Twilight Zone
  17. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    Offtopic: I've had to go and re-install Devkitpro because I'm using the wrong bloody Programmers' Notepad, rofl. :rofl:
     
  18. Garcia98

    Garcia98 Hey! Listen!

    Member
    361
    188
    Sep 8, 2015
    Salamanca
    Voxel likes this.
  19. JoostinOnline

    JoostinOnline Certified Crash Test Dummy

    Member
    10,974
    3,758
    Apr 2, 2011
    United States
    The Twilight Zone
    Of course it's not. If you'd read the post, you'd see it has benefits though. It takes less than a minute.
     
  20. Voxel
    OP

    Voxel Fable Junkie

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,208
    5,956
    Jun 27, 2015
    United Kingdom
    England, UK
    I'm having trouble compiling the graphics example. Do I need Image Magick to compile it, because in the Makefile code,
    there's a certain error message telling the user to install it.

    If so, which installer do I need?
     
    Last edited by Voxel, Oct 12, 2015