NULL

DEAD The Last Remnant "Undub" mod

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by masagrator, Jun 13, 2019.

  1. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    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.
     

    Attached Files:

    Last edited by masagrator, Jun 13, 2019
    mathew77, MasterJ360 and eagele92191 like this.
  2. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    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.
     
  3. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    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, Jun 13, 2019
  4. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    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?
     
  5. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    From what I checked - there is no simple way.
     
  6. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    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.
     
  7. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    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
    — Posts automatically merged - Please don't double post! —

    So yeah - IPS patch is about editing exefs
     
  8. Niko_of_Death

    Niko_of_Death Newbie

    Newcomer
    1
    Aug 10, 2016
    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.
     
  9. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    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.
     

    Attached Files:

  10. cucholix

    cucholix Banners guy

    Member
    8
    Jan 17, 2017
    Chile
    I did find the English dub quite good actually
     
    Exclamation_Point likes this.
  11. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    I know, I have this bad habit because of watching too many animes. Japanese games have always something that I can't play them with English dub.

    @AnotherAlternative I will try it when I go back home.
     
    Last edited by masagrator, Jun 14, 2019
    cucholix likes this.
  12. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    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.

    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.
     
  13. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    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)

    — Posts automatically merged - Please don't double post! —

    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.

    — Posts automatically merged - Please don't double post! —

    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, Jun 14, 2019
  14. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    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, Jun 14, 2019
  15. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    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, Jun 14, 2019
  16. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    Ah, well I'm kind of stumped with this one honestly :lol:.
    I'm going back porting some pc mods to switch :yay:.
     
  17. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    @AnotherAlternative I checked sips and it looks like you compiled it with cygwin dependencies, so it's not working without cygwin.
     
  18. cucholix

    cucholix Banners guy

    Member
    8
    Jan 17, 2017
    Chile
    The game is kinda dark in town, it looks fine during missions and battles though
     
  19. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    Ah, let me try again.
    I want this on windows as well :lol:.
     
Loading...