Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,475,194
  • Replies Replies 6,048
  • Likes Likes 54
Guys i need some infos... Can you help me?

1)I need to create a button. I think that an image (like a button) + touch input would be fine. I mean, i put a 40x40 square into the bottom screen and then i check if touch input is in that area. Can i do this? And how? An example would be great!

2)I need to put a big image on the top screen, like a wallpaper. How can i do this? Any example homebrew?

3)How can i print hours, minutes and seconds? I mean, how can i get them to print them?

That's all!


1) Well, I would create a struct which contains a Button (int x,y; bool visible, char * fileName, bool pressed). Then you write a simple function which takes HID input, checks to see if it's in the range of x,y and sets pressed boolean if the button is pressed.

2) Framebuffer hax! :p You could load a simple BMP from the SD card and then write a function to take the R,G,B values for each pixel and write them to the framebuffer.

3) Search ctrulib for Tick (get time based off of CPU clock)
 
  • Like
Reactions: AlbertoSONIC
3DS Banner Maker
Create custom banner and icon files for your 3ds homebrews. Today I introduce you to an improved version of SnailFace's Banner Maker made by me! It has many usefull changes:
  • "py" not found fixed!
  • Easy to use: Noob proof!
  • A lot of user friendly popups!
  • Auto cleans old files before building!
  • Added a Clean.bat file in order to quickly clean!
  • It automatically converts outputted files to *.bin!
  • All-In-One bat file: you run it and it does everything!
Screenshot of Popups:
27zhkl1.png
How to use:
  • To replace icons: overwrite the .png in the either one of the 'ctpk' folders and click convert.bat to convert the images. Make sure image dimensions are the same as the folder indicates.
  • To replace the banner: In the cbmd_banner folder, you have to overwrite the 256x128.png file with an image of your choice. Click convert.bat same as before. Transparency is supported.
  • To replace the sound effect: Overwrite the example.bcwav file with one of your choice. .wav to bcwav conversion is not supported at this time.
  • To change display text and setting flags: edit the variables in AppData.txt. Further instructions are inside this document.
  • To convert everything to .bin files: simply click BUILD.bat in the 3DS_Banner_Maker folder. Next place place these two files in your 3DSTemplate resource folder and compile as usual
Dependencies:
Python 2, PIL Image libray (Python Image Library)
Xcution's CiTRUS application is no longer a dependancy
Download:
Credits:
Snailface - Original Banner Maker's developer
AlbertoSONIC (me)
 
Guy i think that we should make an HomeBrew shop. Something like wii's homebrew browser, a place where people can find and download homebrews quickly! I think that it's possible, but i'm probably not skilled enough... But you are! What do you think about that?

P.S. Homebrew shop != paid homebrew..
 
  • Like
Reactions: 4gionz
Does the 3ds have to ability to be ported to? Namely wifi(can the wifi card support ssh), keyboard, etc.


If it didn't, how would multi-platform games like Dual Destinies run on it? But to give a more serious answer, the 3DS has an on-screen keyboard built-in to it, so that can be used (no idea how, as I've not touched 3DS programming yet, but I'd imagine it's a syscall like on the PSP), and I would guess that sending SSH traffic over wifi would be the same as sending any other traffic. In dropbear's case, it'd also depend on what sort of POSIX compliance the 3DS OS has, if any, or if someone is willing to fill in the holes with close equivalents.
 
If it didn't, how would multi-platform games like Dual Destinies run on it? But to give a more serious answer, the 3DS has an on-screen keyboard built-in to it, so that can be used (no idea how, as I've not touched 3DS programming yet, but I'd imagine it's a syscall like on the PSP), and I would guess that sending SSH traffic over wifi would be the same as sending any other traffic. In dropbear's case, it'd also depend on what sort of POSIX compliance the 3DS OS has, if any, or if someone is willing to fill in the holes with close equivalents.
I was talking about for homebrew. Sure, developers have access to everything, but I was wondering if the hombrew community had access to it.
 
I could be wrong, but isn't everything stored on the 3DS in shared libraries like the Wii U or PSP? Wouldn't it just be a matter of finding out all of the system calls to use for whatever service is desired?
 
Guy i think that we should make an HomeBrew shop. Something like wii's homebrew browser, a place where people can find and download homebrews quickly! I think that it's possible, but i'm probably not skilled enough... But you are! What do you think about that?

P.S. Homebrew shop != paid homebrew..
For such a project count me in, I'm available to host such things! :)
 
For such a project count me in, I'm available to host such things! :)
Thinking about it, it should be quite easy to code. all we need to do (on the 3ds part) is poll a json or XML file from the server, parse it, display a list of applications, download the selected one creating an app like this should take no more than 2 days for a command line prototype. if anyone is interested so can I look into it later today provided that I don't have to write the json lib and that more users will contribute (unlike WiiCraft) :P
 

Site & Scene News

Popular threads in this forum