Homebrew Want to learn how to build a homebrew.

androgynus

Well-Known Member
OP
Newcomer
Joined
Sep 13, 2014
Messages
86
Trophies
0
Age
34
XP
124
Country
Canada
Hello all!

So yeah, as in the title, i wanna start doing homebrew for 3ds. I have not yet an idea of what to do yet (Probably nothing to hard, at first i guess). The this is, i only know of C/C++ programming correctly. Can i actually build something worthy with only those programming language or i need more like python or ruby or else?

Also if anyone want to provide me some tips or easy idea of what to do first im all open.
 
  • Like
Reactions: MRJPGames
Joined
Feb 15, 2015
Messages
1,464
Trophies
0
XP
1,099
Country
United States
ARM11 homebrew can be written in C/C++. Anything ARM9 should be written in assembly. And at the moment, python and ruby aren't supported. There are only a few programming languages other than C/C++ that work on the 3DS, and those only work through separate interpreters/compilers/whatever they are.
 

randomdev

Well-Known Member
Member
Joined
Jun 7, 2015
Messages
155
Trophies
0
XP
236
Country
Brazil
Hello all!

So yeah, as in the title, i wanna start doing homebrew for 3ds. I have not yet an idea of what to do yet (Probably nothing to hard, at first i guess). The this is, i only know of C/C++ programming correctly. Can i actually build something worthy with only those programming language or i need more like python or ruby or else?

Also if anyone want to provide me some tips or easy idea of what to do first im all open.
I can learn you how to build "hello world" homebrew :P
 

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,676
Country
Netherlands
https://github.com/MrJPGames/Shooting-Watch-3D (c)
This was my first homebrew, it uses a outdated version of ctrulib (and thus will not compile with the latest version of ctrulib). It's not written very well either, but you can take a look and see how certain things are done (rendering images to the screen, button input and such). Replicating this game might also be a good idea as the concept is very very simple, so the new stuff that comes with the 3DS (how you render, input etc.) can be easily learned as the main "game" is extremely simple.
You can also check out other source code for my 3DS homebrews:
https://github.com/MrJPGames/2048-3D ~Worth a look, should work with latest ctrulib (c++)
https://github.com/MrJPGames/Mastermind-3DS ~Pretty good IMO XD (c)
https://github.com/MrJPGames/Othello-3DS ~Probably confusing, also uses sf2dlib for hardware rendering, which you probably don't need (or want) for your first homebrew, but hey feel free to take a look I guess.

I hope some of my source code can help you, feel free to ask more specific questions about certain things if you want.
https://github.com/MrJPGames/3DShomebrew A tutorial kind of thing, very lacking, never finished etc. Might help you a little though so I thought I would include it.
 

Ryuzaki_MrL

Green Thunder
Member
Joined
Jun 23, 2015
Messages
781
Trophies
0
Age
26
XP
2,045
Country
Brazil
https://github.com/MrJPGames/Othello-3DS ~Probably confusing, also uses sf2dlib for hardware rendering, which you probably don't need (or want) for your first homebrew, but hey feel free to take a look I guess.

That actually helped me using sf2dlib, thank you xD
I'm porting one of my Windows games over to 3DS and using sf2dlib. Can I port all the .png backgrounds and draw them directly or they need to be in another format? It will be my first homebrew since it's simple (it has a level editor feature too, I will try porting it sometime).
 
  • Like
Reactions: MRJPGames

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,676
Country
Netherlands
That actually helped me using sf2dlib, thank you xD
I'm porting one of my Windows games over to 3DS and using sf2dlib. Can I port all the .png backgrounds and draw them directly or they need to be in another format? It will be my first homebrew since it's simple (it has a level editor feature too, I will try porting it sometime).
.png can work (see lpp-3ds) but I'd recommend using .c images (can be easily made with GIMP (free)).
EDIT: https://github.com/Rinnegatamante/lpp-3ds/blob/master/source/luaGraphics.cpp ~File your looking for in lpp-3ds.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: https://i.imgur.com/bG1pQld.mp4 +1