ROM Hack Looking for information on how to create a HANS romfs undub

Mauste

Well-Known Member
OP
Newcomer
Joined
Aug 1, 2015
Messages
89
Trophies
0
XP
169
Country
I would like to learn to patch english text to a Japanese game with HANS's romfs feature. However, after various searches, I still haven't found much information about this.
I would really appreciate if someone could point me in the right direction or list the things I need.

Note: I am interested in making the romfs file myself, if it wasn't clear. I already know how to use someone else's.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,287
Trophies
4
Location
Space
XP
13,845
Country
Norway
Replace the script files in the japanese romfs with the corresponding ones from the english version. They should have the same format and at the very least similar filenames so if you can figure out which files contain the script (maybe by looking at them with a hex editor and looking for text) it should be a simple matter to replace the files.
 

Mauste

Well-Known Member
OP
Newcomer
Joined
Aug 1, 2015
Messages
89
Trophies
0
XP
169
Country
Replace the script files in the japanese romfs with the corresponding ones from the english version. They should have the same format and at the very least similar filenames so if you can figure out which files contain the script (maybe by looking at them with a hex editor and looking for text) it should be a simple matter to replace the files.

Thanks for replying, this helped.
 

Santaros

Well-Known Member
Member
Joined
Oct 5, 2013
Messages
196
Trophies
0
Age
44
XP
179
Country
You won't find a whole lot around that isn't game specific, because there is no general way to do it, it varies massively from game to game and may well involve you having to deal with encryption for which there is little to no documentation, and editing pointers. This may be necessary to allow the text to fit as well as potentially needing to hack in a variable width font. I can give some general advice, MadEdit is a good hex editing program to use as it allows for Japanese Fonts [they use 2 bytes per characters, as opposed to 1 byte per letter for the Western Alphabet]. Just go to View -> Encoding -> SHIFT-JIS in the Menu to switch to it.

http://www.rikai.com/library/kanjitables/kanji_codes.sjis.shtml

This website will give you a list of the SHIFT-JIS characters and their equivalent hex value, so you can track down what your looking for. Giving further advice than that would be difficult without knowing specifically what it is your trying to work on. Only other pointer I can really give you at the moment is that if you get stuck you could try seeing if there is information available on other games in the series or by the same company, they may well use similar structures.

Btw the title is misleading, you are attempting to translate not undub, undub is replacing english voice acting with the [typically] japanese version.

You don't need to lookup 3DS specific guides if that is what you have been doing, that really only matters insofar as extracting/repacking romfs and 3DS specific file formats and compression. In terms of a general overview you can pretty much pick any console you please, the basic process is much the same.
 
Last edited by Santaros,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, no