Hacking Smash 4 Undub

deinonychus71

Well-Known Member
OP
Member
Joined
Sep 12, 2008
Messages
912
Trophies
1
Location
Chicago
XP
2,841
Country
United States
Hey guys

A few days ago I was discussing with @daniel26150 about how we could help undubbing Smash Bros for 3DS/WiiU

Since the thread was more about texture hack than undubbing I thought I would make its own thread.

Here's what I've got working so far:


Sorry for the poor quality, I don't have the proper equipment to record it.

Thanks
Before anything, I want to thank Sammy Husky for his tool Sm4shCommand, and more particulary for DTLSExtractor, the creators of BrawlLib and chrrox and his BMS script which helped me getting started.

Here's everything that I was able to undub:
- Character movies
- Fox/Paluntena dialogs
- Fighers Little Mac, Pit, Dark Pit, Palutena, Ike, Robin, Metaknight, Fox, Falco, Lucario, Jigglypuff, Greninja, Wiifit Trainer, Shulk, Lucina, Sonic with their original voices
- Pokemon with their original dubbing (for some of them)
- Assist trophies with their original dubbing (for some of them)
- Menu (They're in english, but slightly different)
- Wiifit Stage
- Kirby copy sounds (for Shulk, Robin and Palutena)
- Applause sounds (havent tested all of them, but they should work)

Now the one thing I can't really try is the sounds for the DLC characters, since I use Loadiine to try the hack. But Mewtwo via Amiibo looked fine.

What's the method?
- Get a dump of Smash 4 JPN. Keep in mind that the core file sounds are in english, even in the JPN version. What you're looking for is in data(jp_jp).
- For movies/fox&paluneta sounds, simply rename and replace them in their original folders, it works :-)
- For everything else, you can basically "add stuff" to the patch folder and have the game consider it as part of the latest patch. patchlist list all the files that the game needs to override, and the different resource files provide the game with some additional information about the files (size of the file added, are they part of a pack, what offset for each file in a pack, etc...). So yeah, basically, you can modify/add anything (ever bigger files than their original) as long as you know how to repack the resource files, which is made a lot easier by studying DTLSExtractor's source code.

I will take a look at the 3DS version and see how it works, but I would think it uses a similar system.
 
Last edited by deinonychus71,

daniel26150

Well-Known Member
Member
Joined
Jan 31, 2008
Messages
222
Trophies
0
XP
306
Country
Mexico
Good job this is more than I can do with the 3DS version, I hope more people help us with this I literally cried when I hear the Japanese voices. Is just like the the times of Brawl(that games was really easy to undub). Keep thw good work and when the undub is finished we can change the worlds GAME for GAME SET, and TIME for TIME UP!
 
Last edited by daniel26150,

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
Hey guys

A few days ago I was discussing with @daniel26150 about how we could help undubbing Smash Bros for 3DS/WiiU

Since the thread was more about texture hack than undubbing I thought I would make its own thread.

Here's what I've got working so far:


Sorry for the poor quality, I don't the proper equipment to record it.

Thanks
Before anything, I want to thank Sammy Husky for his tool Sm4shCommand, and more particulary for DTLSExtractor, the creators of BrawlLib and chrrox and his BMS script which helped me getting started.

Here's everything that I was able to undub:
- Character movies
- Fox/Paluntena dialogs
- Fighers Little Mac, Pit, Dark Pit, Palutena, Ike, Robin, Metaknight, Fox, Falco, Lucario, Jigglypuff, Greninja, Wiifit Trainer, Shulk, Lucina, Sonic with their original voices
- Pokemon with their original dubbing (for some of them)
- Assist trophies with their original dubbing (for some of them)
- Menu (They're in english, but slightly different)
- Wiifit Stage
- Kirby copy sounds (for Shulk, Robin and Palutena)
- Applause sounds (havent tested all of them, but they should work)

Now the one thing I can't really try is the sounds for the DLC characters, since I use Loadiine to try the hack. But Mewtwo via Amiibo looked fine.

What's the method?
- Get a dump of Smash 4 JPN. Keep in mind that the core file sounds are in english, even in the JPN version. What you're looking for is in data(jp_jp).
- For movies/fox&paluneta sounds, simply rename and replace them in their original folders, it works :-)
- For everything else, you can basically "add stuff" to the patch folder and have the game consider it as part of the latest patch. patchlist list all the files that the game needs to override, and the different resource files provide the game with some additional information about the files (size of the file added, are they part of a pack, what offset for each file in a pack, etc...). So yeah, basically, you can modify/add anything (ever bigger files than their original) as long as you know how to repack the resource files, which is made a lot easier by studying DTLSExtractor's source code.

I will take a look at the 3DS version and see how it works, but I would think it uses a similar system.

Great work! You think this will work in the same fashion by using Cafiine instead of Loadiine? Also, if this ever gets released to the public, will you allow us to download the sound files from somewhere or do we have to find the entire dump on our own?
 
Last edited by soniczx123,

deinonychus71

Well-Known Member
OP
Member
Joined
Sep 12, 2008
Messages
912
Trophies
1
Location
Chicago
XP
2,841
Country
United States
Great work! You think this will work in the same fashion by using Cafiine instead of Loadiine? Also, if this ever gets released to the public, will you allow us to download the sound files from somewhere or do we have to find the entire dump on our own?

If Cafiine lets you load one file instead of another, then yeah. Basically I only added files in the patch folder, and edited a few others (resource files and patchlist, less than 1M each)

For any kind of release, I'd rather wait for the next patch to come out in a few days (Corrin and Bayonetta) and patch this one directly. It gives me time to play the game more and see if any problem arises.
I'm pretty sure it wouldnt be allowed to share that here anyway.


Good job this is more than I can do with the 3DS version, I hope more people help us with this I literally cried when I hear the Japanese voices. Is just like the the times of Brawl(that games was really easy to undub). Keep thw good work and when the undub is finished we can change the worlds GAME for GAME SET, and TIME for TIME UP!
Yeah Brawl was insanely easy... at least for the US version, I remember having some issues with the EUR one.
 
Last edited by deinonychus71,

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
If Cafiine lets you load one file instead of another, then yeah. Basically I only added files in the patch folder, and edited a few others (resource files and patchlist, less than 1M each)

For any kind of release, I'd rather wait for the next patch to come out in a few days (Corrin and Bayonetta) and patch this one directly. It gives me time to play the game more and see if any problem arises.
I'm pretty sure it wouldnt be allowed to share that here anyway.



Yeah Brawl was insanely easy... at least for the US version, I remember having some issues with the EUR one.

That is basically the main goal of Cafiine, to redirect the game from a different storage (Like the PC) which the same file in the same folder structure. There is also a SD variant which reads the file from the SD card slot.
 

deinonychus71

Well-Known Member
OP
Member
Joined
Sep 12, 2008
Messages
912
Trophies
1
Location
Chicago
XP
2,841
Country
United States
japanese voices for every character except bayonetta would be lovely..
Haha, that shouldnt be a problem really. Actually Ive been requested to do that already so...

That is basically the main goal of Cafiine, to redirect the game from a different storage (Like the PC) which the same file in the same folder structure. There is also a SD variant which reads the file from the SD card slot.
I honestly haven't tried it, but it shouldnt be a problem then!

Just give me a few days till the new patch gets released, maybe Ill make a little tool to patch it yourself (you'll still have to find the japanese sounds though).
Meanwhile I'll see if the 3DS version can be patched the same way (yay for work authorization delays giving me so much free time...)
 
  • Like
Reactions: kiryu1

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
Haha, that shouldnt be a problem really. Actually Ive been requested to do that already so...


I honestly haven't tried it, but it shouldnt be a problem then!

Just give me a few days till the new patch gets released, maybe Ill make a little tool to patch it yourself (you'll still have to find the japanese sounds though).
Meanwhile I'll see if the 3DS version can be patched the same way (yay for work authorization delays giving me so much free time...)

Would it a good idea for you to test on SDcafiine first just to confirm it? Would be reassuring for all of us here (especially tournament-users, as they won't have access to a network at the venues :D)
 

deinonychus71

Well-Known Member
OP
Member
Joined
Sep 12, 2008
Messages
912
Trophies
1
Location
Chicago
XP
2,841
Country
United States
Would it a good idea for you to test on SDcafiine first just to confirm it? Would be reassuring for all of us here (especially tournament-users, as they won't have access to a network at the venues :D)
I can try, but I'm a bit confused, I thought Cafiine (or SDCafiine) required 5.3.2 to work? How is that different from Loadiine?
Sorry if its a stupid question, I havent really had time yet to look into it.
 

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
I can try, but I'm a bit confused, I thought Cafiine (or SDCafiine) required 5.3.2 to work? How is that different from Loadiine?
Sorry if its a stupid question, I havent really had time yet to look into it.

Cafiine doesn't load the entire game off the SD card, only the specific files.
 

soneek

Well-Known Member
Member
Joined
Jun 27, 2012
Messages
179
Trophies
0
XP
337
Country
United States
I'm almost finished with my nus3bank injector anyway, so I can try to clean up my patch editor for the Wii U version. It's not 100% fullproof, so I'll need to get instructions out for it. It'll work when putting replacement nus3banks in patch/data/fighter/*/sound, and also patch/data/sound/se. I wanna wait until after tomorrow's update though so I can check things before doing a public release, along with my music expansion project.



P.S. My method only modifies patch/resource(us_en) and patch/patchlist. No rebuilding of dt00 or dt01 or packed files is necessary, so normal Cafiine isn't a complete pain to use for quick testing of things.
 
Last edited by soneek,
  • Like
Reactions: soniczx123

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
I'm almost finished with my nus3bank injector anyway, so I can try to clean up my patch editor for the Wii U version. It's not 100% fullproof, so I'll need to get instructions out for it. It'll work when putting replacement nus3banks in patch/data/fighter/*/sound, and also patch/data/sound/se. I wanna wait until after tomorrow's update though so I can check things before doing a public release, along with my music expansion project.



Hype!!

So it will work for music and voices? :D

Also, what format will the original sound files need to be in? :)
 

soneek

Well-Known Member
Member
Joined
Jun 27, 2012
Messages
179
Trophies
0
XP
337
Country
United States
Hype!!

So it will work for music and voices? :D

Also, what format will the original sound files need to be in? :)

The injector will work for both single stream nus3banks (mainly BGM), and multi-stream nus3banks (SFX, voices). You'll need IDSP formatted files, and my revision of revb can build them from mono dsp files. I'll do a release this week for converting looped WAV files, or any vgmstream supported format to IDSP.
 

soniczx123

Well-Known Member
Member
Joined
Jul 24, 2015
Messages
589
Trophies
0
Age
26
XP
429
Country
The injector will work for both single stream nus3banks (mainly BGM), and multi-stream nus3banks (SFX, voices). You'll need IDSP formatted files, and my revision of revb can build them from mono dsp files. I'll do a release this week for converting looped WAV files, or any vgmstream supported format to IDSP.

What are the vgmstream supported formats? Is there a GUI for vgmstream or is it still a command line?
 

DeeeFoo

Well-Known Member
Newcomer
Joined
Feb 7, 2015
Messages
45
Trophies
0
Age
30
XP
88
Country
United States
This looks really cool for people who are into this stuff, but I am a bit curious. What benefits does undubbing a game like Sm4sh offer? Games that are dialogue-heavy like RPGs I can understand, but most of Sm4sh is just yells, grunts, and one-liners
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: I hate myself