LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Reverse engineering the smile tool

Root / Programming Questions / [.]

12Me21Created:
Has anyone reverse engineered the smile tool? It's not too complicated, and I can do it, but first I wanted to check if anyone has already done it. I don't know why they didn't make it open source... I just need to add a few things, like the screen resolutions for the top and bottom screen (I keep forgetting them, since they aren't nice round numbers like the DSi), and a calculator. I'm not concerned with the other tools, like the sprite editor, background editor, etc. since I rarely use them, and don't need to access them quickly.

Can't you find it in the SYS folder and edit it however you like? And can't you set any file to be opened by the SMILE tool?

You could modify the code on the sbsmile and save it in folder. Then goto the options in main menu and goto assign program, and just press b and choose the folder with your modified version in it and choose it. If you ever want to go to the original version do the same thing except goto the sys folder.

You can't access the code. The SYS folder is hidden.

It's not hidden. By inputting LOAD "PRG0:SYS/SBSMILE" in DIRECT mode, you can load the smiletool into the first program slot and edit it however you want.


It's not hidden. By inputting LOAD "PRG0:SYS/SBSMILE" in DIRECT mode, you can load the smiletool into the first program slot and edit it however you want.
Even the second (I think) part of the web tutorial (on SB's main menu) shows you how to access the code in sys.

The built-in files are all kept in SYS and are read-only. You can load them and everything, you just can't save anything to that folder (that's where all the default graphics are of course).

I'm almost done with the calculator, but I'm worried that it's too small. They button layout is: 789+ 456- 123* 0.=/ And the display can show 7 numbers (6 with decimal or negative, 5 with both.) I want to make the display bigger, and add clear and negative buttons, but I also wanted to keep it the same size so it can replace the number input in the smile tool .

add a "2nd" button either to the side or when you hold something else that switches + to clear and - to negate

Ok I finished; Here is the current layout: 789+ 456- 123* 0c=/ It doesn't support decimals because VAL is crappy I made a mistake. and val is somewhat annoying. You can get negative number by doing c,-,number,= I'll add decimal support. Maybe I'll make it so pressing = twice is clear. It seems a bit too small to have a 2nd button. Here is the program: http://smilebasicsource.com/page?pid=172