Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,474,985
  • Replies Replies 6,048
  • Likes Likes 54
So today I "finished" a port to the DS of a program I wrote in my CS class - a craps simulator. I've made some adjustments to it, including adding a credits system and, today, a dice tossing mechanism. What I'd like to know is if it'd be "acceptable" to make a text-only homebrew and release it as a way for me to practice coding in C++ as I'm doing in class. Would anyone mind if I ported a simple text-based application that doesn't really do much?

btw, if you want to try the NDS version, you can get it here: https://dl.dropboxusercontent.com/u/34957059/craps-ds.nds It gives an idea of what the application will behave like, although it'll get adjusted to account for a 3DS screen width and whatnot.
 
  • Like
Reactions: SLiV3R
So today I "finished" a port to the DS of a program I wrote in my CS class - a craps simulator. I've made some adjustments to it, including adding a credits system and, today, a dice tossing mechanism. What I'd like to know is if it'd be "acceptable" to make a text-only homebrew and release it as a way for me to practice coding in C++ as I'm doing in class. Would anyone mind if I ported a simple text-based application that doesn't really do much?

btw, if you want to try the NDS version, you can get it here: https://dl.dropboxusercontent.com/u/34957059/craps-ds.nds It gives an idea of what the application will behave like, although it'll get adjusted to account for a 3DS screen width and whatnot.
That should run just fine on 3ds with very little change. I believe wintermute copied the console library straight from libnds, even leaving the rgb565 color in lol. (much to everyone's chagrin)
 
Last edited by zoogie,
Did the community ever figure out how to enable the extra controls the N3DS provides, for CIA-based homebrew applications/games?
 
That should run just fine on 3ds with very little change. I believe wintermute copied the console library straight from libnds, even leaving the rgb565 color in lol. (much to everyone's chagrin)
Yeah, the code is relatively simple. I'm just getting familiar with the concepts of C++ and working without intellisense and all the tools that I've come to use in VS and Netbeans, so perhaps I'll try making a 3DS version of it as well just to play around and get used to coding in different ways for different platforms.
 
Alright, to answer my own question, all we have to do is add ir:rst to our CIA RSF and it works, at least with Reinand..no clue about Gateway/the other CFWs.

Edit: Works fine in Gateway too. I guess it was a libctru or makerom problem back when we couldn't enable it..
 
Last edited by daxtsu,
Alright, to answer my own question, all we have to do is add ir:rst to our CIA RSF and it works, at least with Reinand..no clue about Gateway/the other CFWs.

Edit: Works fine in Gateway too. I guess it was a libctru or makerom problem back when we couldn't enable it..
Be aware that, from my experience, your CIA will not work on firmware versions before 8.0.0 or so, whenever ir:rst was added.
 
  • Like
Reactions: daxtsu
That's not really a big deal, can just have the makefile spit out a non-ir:rst CIA. :P
True. I suppose it really isn't as much of an issue now anyway, as unlike before when the 4.x CFW was somewhat common, just about every CIA user is either using a relatively high sysNAND version or the latest emuNAND.
 
I've got some trouble with displaying an image, and i can't directly find an example for this.
someone got an easy example which loads and displays an image from the SD?

Thanks
 
I've got some trouble with displaying an image, and i can't directly find an example for this.
someone got an easy example which loads and displays an image from the SD?

Thanks
I made one in LUA, but I am assuming you are using C or C++
 
Or you can use something simple to load JPEG's or PNGs. It really isn't hard to blit images to the framebuffer, once you sort things out.
1wHCZmn.jpg
 
The image loader used was stb_image. Custom routines to blit to framebuffer and rotate the image was used to take account of the 3DS's rendering orientation. The rotation code could be optimized in ARM ASM I guess.
 

Site & Scene News

Popular threads in this forum