Homebrew [Idea] Launching SD Management from webhax

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Okay, as the title implies - launching SD card management from the web exploit.

So, Nintendo thought it would be clever to make "SD Management" a "N3DS Exclusive" for whatever dumb reason.... However, it can be installed onto the O3DS via FBI and Ninjhax - which is awesome! The problem is that it cannot be launched from the Home Screen because it has the "invisible" flag set and neither can it be launched from the system settings, like on the N3DS.

Anyone here have the skills to make this launch-able from the browser exploit? I took a look at Smealums RegionThree code but it's all Japanese to me :ohnoes:.

Here's the title ID's for SD management, so that you can download it via NUS:

  • EUR - 0004001020025100 v4
  • USA - 0004001020024100 v5
  • JPN - 0004001020023100 v1024
When downloading via NUS, select "New 3DS".
Thanks. Anyone else interested in this?
 
  • Like
Reactions: Margen67

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,315
Trophies
4
Location
Space
XP
13,893
Country
Norway
Yeah, but it requires singature patches. I want a fully legit sysNAND and I don't own a GW. Sure I could use PASTA CFW but then that means I'll be installing non-legit CIA's.

Well, I'm a noob when it comes to assembly, but luckily it's well commented. It looks like this is all that needs to be changed in RegionThree:

ldr r2, =0x00000000 ; lower word PID (0 for gamecard)

str r2, [r1], #4
ldr r2, =0x00000000 ; upper word PID
str r2, [r1], #4
ldr r2, =0x00000002 ; mediatype (2 for gamecard)

str r2, [r1], #4

Change PID to the correct one for SD Card Management, and media type to whichever one is correct for system apps. (which is 0)
If PID is the same thing as title ID then it's a simple matter.
The TID lower for JPN, USA and EUR respectively is:
200231002002410020025100
TID upper is 00040010
So, all changed it should be this (for EUR):

ldr r2, =0x20025100 ; lower word PID (0 for gamecard)

str r2, [r1], #4
ldr r2, =0x00040010 ; upper word PID
str r2, [r1], #4
ldr r2, =0x00000000 ; mediatype (2 for gamecard)

str r2, [r1], #4
I don't know for sure whether that will work. But you can try :)
 
  • Like
Reactions: WhoAmI?

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
seems a little bit lazy for o3DS owners :P, you would have to be sitting with your 3DS in your hand and at your computer.....it would surely be simpler/faster to just unplug the SD and insert it into the computer :lol:
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,315
Trophies
4
Location
Space
XP
13,893
Country
Norway
I made the edits. Not sure if they will work, but here goes...
For EUR:
7.x+: http://jdbye.com/rop/?msd.bin
5.x-6.x: http://jdbye.com/rop/?msd_5x_6x.bin
4.x: http://jdbye.com/rop/?msd_4x.bin
Open the one for your firmware in the browser. No launcher is required on the SD.
seems a little bit lazy for o3DS owners :P, you would have to be sitting with your 3DS in your hand and at your computer.....it would surely be simpler/faster to just unplug the SD and insert it into the computer :lol:

Probably, since home menu doesn't work in regionthree so he will have to power the 3DS off and on when he's done anyways :P
 
  • Like
Reactions: WhoAmI?

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
I made the edits. Not sure if they will work, but here goes...
For EUR:
7.x+: http://jdbye.com/rop/?msd.bin
5.x-6.x: http://jdbye.com/rop/?msd_5x_6x.bin
4.x: http://jdbye.com/rop/?msd_4x.bin
Open the one for your firmware in the browser. No launcher is required on the SD.


Probably, since home menu doesn't work in regionthree so he will have to power the 3DS off and on when he's done anyways :P


Oh wow. Gonna try this now. Hang on :D I'll post back my results. Thank you! :)
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
what FW are you on? SD management most likely uses 7.x rom encryption, so you would need to be on at least 7.x...preferably 9.2


I'm on 9.2 sysNAND. I honestly can't stand being on firmwares lower than that because of the save encryption busts my stuff. Did the files jdbye make, work for you?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,315
Trophies
4
Location
Space
XP
13,893
Country
Norway
Nope. Doesn't work :( Just crashes back to the home screen. Bummer.

I can't be sure the page is even loading the ROP correctly, or if the issue is with my changes. I'm afraid this is the best I can do since I don't know much ARM assembly.
There is one other way you can try to load it, place the correct file for your firmware (just remove the "?"-mark in the previous URLs to download the file directly) as spidermsd.bin on the internal SD card and load this QR code:
https://chart.googleapis.com/chart?...g.no-ip.org/3ds/rop?LoadROP.dat&spidermsd.bin
Or type the URL manually: http://dukesrg.no-ip.org/3ds/rop/?LoadROP.dat&spidermsd.bin
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
I can't be sure the page is even loading the ROP correctly, or if the issue is with my changes. I'm afraid this is the best I can do since I don't know much ARM assembly.
There is one other way you can try to load it, place the correct file for your firmware (just remove the "?"-mark in the previous URLs to download the file directly) as spidermsd.bin on the internal SD card and load this QR code:
https://chart.googleapis.com/chart?cht=qr&chs=220x220&chl=http://dukesrg.no-ip.org/3ds/rop?LoadROP.dat&spidermsd.bin
Or type the URL manually: http://dukesrg.no-ip.org/3ds/rop/?LoadROP.dat&spidermsd.bin


Okay, gonna test it now. Do I still have to launch DL play?
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
It works the same as RegionThree (only it's not a launcher.dat since I wasn't sure how to create one :P )


Oh. I tried it with DLPlay running in the background. Still a no-go for me :( HHmm.... Wonder what happens if I rename it as Launcher.dat and then load it through the GW page...
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,315
Trophies
4
Location
Space
XP
13,893
Country
Norway
Oh. I tried it with DLPlay running in the background. Still a no-go for me :( HHmm.... Wonder what happens if I rename it as Launcher.dat and then load it through the GW page...

Won't work, launcher.dat has a lot of extra code in it (the regionthree launcher.dat is over 100KB whereas this is just a few bytes) and different entry points.
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Won't work, launcher.dat has a lot of extra code in it (the regionthree launcher.dat is over 100KB whereas this is just a few bytes) and different entry points.


I see. As for launching the file from my sd card, turns out that windows renamed it wrong --__-- it gave the file extension ".dat.dat". Anyway, launched the file and it just gives me a blank screen and then the 3DS does nothing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
    Karma177 @ Karma177: do y'all think having an sd card that has a write speed of 700kb/s is a bad idea? trying to...