ROM Hack DEAD The Last Remnant "Undub" mod

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
I was working for last few days at running english subs with japanese audio because I don't like to play jRPGs with english dub.
After playing one hour I dropped this game because I didn't like it. :gun:

Here is what i did for having this sort of undub mod, because it's more english patch for japanese language.

It's not fully tested and not completed. It will have bugs for sure.

What should work:
- All rendered text have english language
- Fonts are changed to international

What is not working:
- Textures with names of locations when it's our first visit are still in Japanese

For correct working you should use Atmosphere 0.8.10 or newer if you don't want to change system language.
Somehow earlier I found that by editing exefs you can force this game to run in Japanese language, but I don't remember now how to do it (thx to that it can work with all CFWs without using override_language from atm).

It will not be updated, that's why is tagged "DEAD".

Remember to restart Switch after installing this mod.
 

Attachments

  • TLR-engjap.zip
    8.4 MB · Views: 378
Last edited by masagrator,

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
I'm looking through it right now since I'm sure there is a way to change what voices play in the Internationalization files, were you able to find anything through those cause changing the language to Japanese then patching it seems a bit weird, I don't mind the game so testing isn't an issue for me.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
From what I checked sound files are hardcoded to executable. Japanese sounds are under JA locale, everything else is under US locale.
Just I assumed there is no way to do it that way. I was thinking about swapping audio, but US and JA have different quantity of files.
 
Last edited by masagrator,

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
I know, I thought that would be easier but I wanted to keep the size to a minimum.
Is it possible to patch the exefs to play the Japanese voice track?
 

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
I think I found a way to fix the remaining bugs, I'm not good at hex editng so I'm not going to bother with the exefs.
This sounds dumb but how do you make the ips patches? is it the normal way you make an ips patch or is there a trick to it?
I tried asking in the atmosphere thread but sadly no one answered.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
I think I found a way to fix the remaining bugs, I'm not good at hex editng so I'm not going to bother with the exefs.
This sounds dumb but how do you make the ips patches? is it the normal way you make an ips patch or is there a trick to it?
I tried asking in the atmosphere thread but sadly no one answered.
Use hactool
Code:
hactool --intype=nso --uncompressed=main_unc main
Make copy of main_unc, edit main_unc, make patch with LunarIPS (only for first 16 MB) or SIPS for bigger files (if you will compile it for Windows, can you send me exe? I'm using it in Linux right now).
Name is buildid of main which is in offset 0x40 (16 bytes). You need to copy it to
Code:
exefs_patches\any_name_you_want\*.IPS

--------------------- MERGED ---------------------------

So yeah - IPS patch is about editing exefs
 

Niko_of_Death

Well-Known Member
Member
Joined
Aug 10, 2016
Messages
151
Trophies
0
Age
29
XP
1,205
Country
United States
Thanks for the patch, surprised one came so quick when I've been waiting for one for Smash since launch.

Makes me miss being able to just go into the vita filesystem and rename the language files for most games.
 

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
Use hactool
Code:
hactool --intype=nso --uncompressed=main_unc main
Make copy of main_unc, edit main_unc, make patch with LunarIPS (only for first 16 MB) or SIPS for bigger files (if you will compile it for Windows, can you send me exe? I'm using it in Linux right now).
Name is buildid of main which is in offset 0x40 (16 bytes). You need to copy it to
Code:
exefs_patches\any_name_you_want\*.IPS

--------------------- MERGED ---------------------------

So yeah - IPS patch is about editing exefs
Thanks so much, it's not my first time making game mods however the switch is a bit different than on pc or older consoles.

This will sound really dumb but I never built from source before nor do I know how so after some trial and error and reading many guides I was able to build this, I don't know if this works or not so please test it.
 

Attachments

  • sips.zip
    49.5 KB · Views: 181

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
I did find the English dub quite good actually
I just like having options, an argument could be made with 6th gen and older that space contraints make multiple voice tracks not always possible but there just isn't an excuse now when space isn't a problem.

@AnotherAlternative I will try it when I go back home.
No problem.
This might sound stupid but would renaming the file paths in the uasset from US to JA fix the bugs? I'm assuming that these are the US assets with the folders renamed to JA, now this is a pain to manually edit all the files and I have no idea if it's possible to script it to speed up the process.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
This might sound stupid but would renaming the file paths in the uasset from US to JA fix the bugs? I'm assuming that these are the US assets with the folders renamed to JA, now this is a pain to manually edit all the files and I have no idea if it's possible to script it to speed up the process.

You need to consider all files with the same name.

Uasset contains Informations about uexp and sometimes data, uexp contains data.
I renamed from US to JA files and folders.

PLAN contains strings, MENU contains settings of localization. If you will try to copy only files in PLAN, game will crash. And it looks like this game doesn't like putting some files to patch - for example fonts. That's why I shared also IPS patch which forces international fonts.

I think Textures from issue I mentioned are in EFFECTS folder (in Final Fantasy this folder contains Textures that are rendered with... effects)

--------------------- MERGED ---------------------------

OK, i read it again. It looks like I need sleep. :D

I don't think this will repair issue. If this would cause issue, then game would crash instantly.
I would start with EFFECTS folder.

--------------------- MERGED ---------------------------

And consider this. Why you want to change US to JA in files if issue is that we don't have US Textures? Doesn't make sense, right? ;)

Or maybe I don't understand something.
 
Last edited by masagrator,

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
The result is quite funny now that I've tested it, all the text is now replaced with @.

Been looking at this for a while, going to take a break, might come back to it at a later time. It's somewhat functional with just one thing not currently working.
 
Last edited by AnotherAlternative,

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
If it's red @, then probably you have still IPS Patch loaded and game tries to show Japanese strings (or you swapped JA with US and games tries to load Japanese strings as US with international fonts instead of Japanese).
I had this issue when changed strings to English. Fonts were still Japanese and one of them didn't have one character which showed as red at.
 
Last edited by masagrator,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: