Hacking Smash bros Modding and 5.3.2

Zap Rowsdower

Well-Known Member
Member
Joined
Jan 17, 2015
Messages
456
Trophies
0
Location
I don't go map findin' behindin'
XP
2,379
Country
Canada
Yup, that looks like it got it. Don't have my SD setup, but the FS is logging.
Nice job! Thank you, and please make sure to leave the source code so that I and others can look at the specific changes. There are a few other apps that need fixes that aren't related to curl, iIrc. Even with dimok's HBL now, it's nice to have these all working for the sake of completion.
 

Attachments

  • sdcafiine540.rar
    15.7 KB · Views: 124
  • Like
Reactions: HeartBound

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Okay, here's source, basically just added the IM code, replaced memset and memcpy with C implementations at the bottom, a header to change the base to dd, and updated makefiles to do one for 5.4.0 (my libwiiu I had to edit /libwiiu/libwiiu/coreinit.h to have a 540 section, just duplicated 5.3.2)
 

Attachments

  • SDCafiine540.zip
    158.7 KB · Views: 127
  • Like
Reactions: Zap Rowsdower

HeartBound

Well-Known Member
OP
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
Okay, here's source, basically just added the IM code, replaced memset and memcpy with C implementations at the bottom, a header to change the base to dd, and updated makefiles to do one for 5.4.0 (my libwiiu I had to edit /libwiiu/libwiiu/coreinit.h to have a 540 section, just duplicated 5.3.2)
Thank you for everything you have done it's really appreciated :D
 

Nico143

Member
Newcomer
Joined
Dec 19, 2014
Messages
11
Trophies
0
XP
137
Country
France
As a 5.4.0 user with spoofed 5.5.1:
I can say it works !!
2151bb734c.jpg

...But not really, don't get your hopes up, even if i put the right IP and press A or X , it will just not load the .nus3bank files, nothing has been replaced in-game.
Why? I have no idea. For a moment i thought i misplaced the files (put as G:\0005000010145000\vol\content\sound\bgm\*.nus3bank) but everything seems correct. (?)
Even adding "-" in the TitleID (like this: 00050000-10145000) isn't working. All .nus3bank files are from smashcustommusic so i don't think they're corrupted.

Something else odd, the logs from cafiine_server.exe wrote me this:
Code:
[7] Accepted connection from client 192.168.1.28:4955
[7] TitleID: 00050000-10145000
[7] /vol/external01/private/Nintendo Wii U/lib/photo/phtcache.bin
[7] Found invalid data while decoding.
[9] TitleID: 00050000-10145000
[9] /vol/storage_mlc01/usr/save/00050010/1004a200/user/common/db/FFL_HDB.dat
[9] Found invalid data while decoding.
[10] Accepted connection from client 192.168.1.28:4958
[10] TitleID: 00050000-10145000
[10] /vol/storage_mlc01/usr/save/00050030/1006d200/user/common/backup/nfp_backup.dat
[10] Found invalid data while decoding.

???
I never put these files in my SD nor in the cafiine-root folder. They don't even exist!! How it can be invalid datas if they're not here?!
I'm so confused right now, I suppose i did something wrong i couldn't find it . Any decent tutorial about SDCafiine is welcome. :)
 
Last edited by Nico143,

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
As a 5.4.0 user with spoofed 5.5.1:
I can say it works !!
2151bb734c.jpg

...But not really, don't get your hopes up, even if i put the right IP and press A or X , it will just not load the .nus3bank files, nothing has been replaced in-game.
Why? I have no idea. For a moment i thought i misplaced the files (put as G:\0005000010145000\vol\content\sound\bgm\*.nus3bank) but everything seems correct. (?)
Even adding "-" in the TitleID (like this: 00050000-10145000) isn't working. All .nus3bank files are from smashcustommusic so i don't think they're corrupted.

Something else odd, the logs from cafiine_server.exe wrote me this:
Code:
[7] Accepted connection from client 192.168.1.28:4955
[7] TitleID: 00050000-10145000
[7] /vol/external01/private/Nintendo Wii U/lib/photo/phtcache.bin
[7] Found invalid data while decoding.
[9] TitleID: 00050000-10145000
[9] /vol/storage_mlc01/usr/save/00050010/1004a200/user/common/db/FFL_HDB.dat
[9] Found invalid data while decoding.
[10] Accepted connection from client 192.168.1.28:4958
[10] TitleID: 00050000-10145000
[10] /vol/storage_mlc01/usr/save/00050030/1006d200/user/common/backup/nfp_backup.dat
[10] Found invalid data while decoding.

???
I never put these files in my SD nor in the cafiine-root folder. They don't even exist!! How it can be invalid datas if they're not here?!
I'm so confused right now, I suppose i did something wrong i couldn't find it . Any decent tutorial about SDCafiine is welcome. :)
Frowns, those are system files it loads for backups, FFL_HDB is something with the Mii database, and NFP_Backup just backs up amiibo data (dunno exactly what), but why would it say invalid data :\ need someone else to report back. If it's spitting out [7] TitleID: 00050000-10145000 and then listing off files, that means it's at least seeing the folder created on the root, otherwise it'll ignore with "Not interested"
 

Nico143

Member
Newcomer
Joined
Dec 19, 2014
Messages
11
Trophies
0
XP
137
Country
France
Thanks for enlightening me! :D
Oooh, i remember i also had a lots of "Not interested" lines. I've just retried, still not working, but now the cafiine server isn't showing anything in the log anymore (just the usual "Listening on 7332" but nothing else this time.)
Kinda weird. I'll probably retry tomorrow.
 

HeartBound

Well-Known Member
OP
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
Um, I'm on 5.5.1 since I have access to the private stuff, but this looks like a good place
https://gbatemp.net/threads/5-4-0-progress.410056/
Basically, you're gonna need to make SDCafiine into an MP4, with either this or this.
Here's the latest version AFAIK, and I attached a binary from the HTML file, should work. Then you just run the kernel exploit from here until it exits out of the browser, then go back in and browse to SDCafiine, should exit again, then you can insert the SD card and load Smash

OS didn't change so it doesn't need any patches, just a separate entrypoint via MP4 like above ^
Ok I have the 5.4 Wii U now. Im at the HomebrU launcher. Should I run the normal kernel exploit or the modified one?(I believe the modified to get the smash files?) Can I switch between kernel exploit to use cafiine after? Also, Should I run the exploit from HFS as an mp4? or I can go with the DefinitivePackage-20160208 and mangoose?
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Ok I have the 5.4 Wii U now. Im at the HomebrU launcher. Should I run the normal kernel exploit or the modified one?(I believe the modified to get the smash files?) Can I switch between kernel exploit to use cafiine after? Also, Should I run the exploit from HFS as an mp4? or I can go with the DefinitivePackage-20160208 and mangoose?
Normal kernel exploit, since it uses the original 0x31000000 mapping, then you build an MP4 with either of those tools listed (I use the second one since you don't even need to make MP4's, you just put the bin file in a folder) and go to the URL hosting it somehow
 

Sammi Husky

Well-Known Member
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
Use Sammi Husky's tool from the 3ds rom hacking in this forum to make them. Works great on 3ds but I want to do it on Wii U too.

It works fine on WiiU as well. SMB (the twitter linked earlier), @thatsmash4modder and @soneek have tested and used it a great deal of times. Most of the stuff being put out for sm4sh comes from people in our group, there isn't a website that hosts it. (yet?). Anywho, the tools to do alot of the stuff that were doing aren't ready for release yet.. Some of them are even python scripts for very specific use cases that require modifications on a per use basis since things aren't quite fully figured out.

But as far as moveset stuff goes, my tool will handle it fine. At least ACMD script, MSC isn't editable yet.
 

HeartBound

Well-Known Member
OP
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
Normal kernel exploit, since it uses the original 0x31000000 mapping, then you build an MP4 with either of those tools listed (I use the second one since you don't even need to make MP4's, you just put the bin file in a folder) and go to the URL hosting it somehow
ok now I'm at the page SD Cafiine. Do I need to insert the SD card now if I had modifications on it?
It works fine on WiiU as well. SMB (the twitter linked earlier), @thatsmash4modder and @soneek have tested and used it a great deal of times. Most of the stuff being put out for sm4sh comes from people in our group, there isn't a website that hosts it. (yet?). Anywho, the tools to do alot of the stuff that were doing aren't ready for release yet.. Some of them are even python scripts for very specific use cases that require modifications on a per use basis since things aren't quite fully figured out.

But as far as moveset stuff goes, my tool will handle it fine. At least ACMD script, MSC isn't editable yet.
I've been using it for some time and it works very well! I'd really like to test it for Wii U though. Would you mind explaining to me how to get the Wii U files and How to order my SD card?
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
ok now I'm at the page SD Cafiine. Do I need to insert the SD card now if I had modifications on it?

I've been using it for some time and it works very well! I'd really like to test it for Wii U though. Would you mind explaining to me how to get the Wii U files and How to order my SD card?
Any time up to booting the game it can be put in for being read
 
  • Like
Reactions: HeartBound

Zap Rowsdower

Well-Known Member
Member
Joined
Jan 17, 2015
Messages
456
Trophies
0
Location
I don't go map findin' behindin'
XP
2,379
Country
Canada
Now I haven't tried any custom whatever, but I just got the chance to fully test that build and the application is definitely working. You won't see anything about it in the log, but it's absolutely reading the track that I renamed and swapped out from the SD card.
[listener] Listening on 7332
connected
[0] Accepted connection from client 192.168.1.8:2281
[0] TitleID: 00050000-10144F00
connected
[1] Accepted connection from client 192.168.1.8:2282
[1] TitleID: 00050000-10144F00
connected
[2] Accepted connection from client 192.168.1.8:2283
[2] TitleID: 00050000-10144F00
connected
[3] Accepted connection from client 192.168.1.8:2284
[3] TitleID: 00050000-10144F00
[3] Found invalid data while decoding.
[3] Exit
connected
[4] Accepted connection from client 192.168.1.8:2285
[4] TitleID: 00050000-10144F00
connected
[5] Accepted connection from client 192.168.1.8:2286
[5] TitleID: 00050000-10144F00
[0] /vol/content//ls
[0] Found invalid data while decoding.
[0] Exit
connected
[6] Accepted connection from client 192.168.1.8:2287
[6] TitleID: 00050000-10144F00
connected
[7] Accepted connection from client 192.168.1.8:2288
[7] TitleID: 00050000-10144F00
connected
[8] Accepted connection from client 192.168.1.8:2289
[8] TitleID: 00050000-10144F00
connected
[9] Accepted connection from client 192.168.1.8:2290
[9] TitleID: 00050000-10144F00
[9] /vol/external01/private/Nintendo Wii U/lib/photo/phtcache.bin
[9] Found invalid data while decoding.
[9] Exit
connected
[10] Accepted connection from client 192.168.1.8:2291
[10] TitleID: 00050000-10144F00
[6] /vol/storage_mlc01/sys/title/0005001b/10053000/content/0.txt
[6] Found invalid data while decoding.
[6] Exit
connected
[11] Accepted connection from client 192.168.1.8:2292
[11] TitleID: 00050000-10144F00
[11] /vol/storage_mlc01/usr/save/00050010/1004a100/user/common/db/FFL_HDB.dat
[11] Found invalid data while decoding.
[11] Exit
connected
[12] Accepted connection from client 192.168.1.8:2293
[12] TitleID: 00050000-10144F00
[12] /vol/storage_mlc01/usr/save/00050030/1006d100/user/common/backup/nfp_backup
.dat
[12] Found invalid data while decoding.
[12] Exit
[8] Found invalid data while decoding.
[8] Exit
[1] /vol/external01/private/Nintendo Wii U/app/AXFJ/AXxx_Album.dat
[1] Found invalid data while decoding.
[1] Exit
[4] Found invalid data while decoding.
[4] Exit
G:\0005000010145000\vol\content\sound\bgm\*.nus3bank
Should be G:\0005000010145000\sound\bgm\*.nus3bank
 
Last edited by Zap Rowsdower,

Nico143

Member
Newcomer
Joined
Dec 19, 2014
Messages
11
Trophies
0
XP
137
Country
France
OMG! IT WORKED!! Thank you so much, Zap (and Player too) for your help! It's now time to replace all Smashville musics :rofl:
Joke aside, all we need now is the soneek's offline nus3bank converter and some texture hacks and soon everything is gonna be awesome, just like in Brawl~
 

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
433
Country
OMG! IT WORKED!! Thank you so much, Zap (and Player too) for your help! It's now time to replace all Smashville musics :rofl:
Joke aside, all we need now is the soneek's offline nus3bank converter and some texture hacks and soon everything is gonna be awesome, just like in Brawl~
https://twitter.com/smb123w64gb/status/704836281558106112 here are some textures :3

You can also download .nus3bank files from smashcustommusic.com or create your own. The program is located in the Smash 3DS hacking thread.
 
Last edited by soniczx123,
  • Like
Reactions: Nico143

Atross

Well-Known Member
Newcomer
Joined
Feb 6, 2015
Messages
94
Trophies
0
XP
375
Country
France
Now I haven't tried any custom whatever, but I just got the chance to fully test that build and the application is definitely working. You won't see anything about it in the log, but it's absolutely reading the track that I renamed and swapped out from the SD card.
[listener] Listening on 7332
connected
[0] Accepted connection from client 192.168.1.8:2281
[0] TitleID: 00050000-10144F00
connected
[1] Accepted connection from client 192.168.1.8:2282
[1] TitleID: 00050000-10144F00
connected
[2] Accepted connection from client 192.168.1.8:2283
[2] TitleID: 00050000-10144F00
connected
[3] Accepted connection from client 192.168.1.8:2284
[3] TitleID: 00050000-10144F00
[3] Found invalid data while decoding.
[3] Exit
connected
[4] Accepted connection from client 192.168.1.8:2285
[4] TitleID: 00050000-10144F00
connected
[5] Accepted connection from client 192.168.1.8:2286
[5] TitleID: 00050000-10144F00
[0] /vol/content//ls
[0] Found invalid data while decoding.
[0] Exit
connected
[6] Accepted connection from client 192.168.1.8:2287
[6] TitleID: 00050000-10144F00
connected
[7] Accepted connection from client 192.168.1.8:2288
[7] TitleID: 00050000-10144F00
connected
[8] Accepted connection from client 192.168.1.8:2289
[8] TitleID: 00050000-10144F00
connected
[9] Accepted connection from client 192.168.1.8:2290
[9] TitleID: 00050000-10144F00
[9] /vol/external01/private/Nintendo Wii U/lib/photo/phtcache.bin
[9] Found invalid data while decoding.
[9] Exit
connected
[10] Accepted connection from client 192.168.1.8:2291
[10] TitleID: 00050000-10144F00
[6] /vol/storage_mlc01/sys/title/0005001b/10053000/content/0.txt
[6] Found invalid data while decoding.
[6] Exit
connected
[11] Accepted connection from client 192.168.1.8:2292
[11] TitleID: 00050000-10144F00
[11] /vol/storage_mlc01/usr/save/00050010/1004a100/user/common/db/FFL_HDB.dat
[11] Found invalid data while decoding.
[11] Exit
connected
[12] Accepted connection from client 192.168.1.8:2293
[12] TitleID: 00050000-10144F00
[12] /vol/storage_mlc01/usr/save/00050030/1006d100/user/common/backup/nfp_backup
.dat
[12] Found invalid data while decoding.
[12] Exit
[8] Found invalid data while decoding.
[8] Exit
[1] /vol/external01/private/Nintendo Wii U/app/AXFJ/AXxx_Album.dat
[1] Found invalid data while decoding.
[1] Exit
[4] Found invalid data while decoding.
[4] Exit

Should be G:\0005000010145000\sound\bgm\*.nus3bank


Got the same problem here but for the textures. For an example my SD Card is :
"J:\0005000010145000\content\patch\data\fighter\sonic\model\body\c00"

Any idea ?
 

HeartBound

Well-Known Member
OP
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
Got the same problem here but for the textures. For an example my SD Card is :
"J:\0005000010145000\content\patch\data\fighter\sonic\model\body\c00"

Any idea ?
it should be
"J:\0005000010145000\patch\data\fighter\sonic\model\body\c00"
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol