Kles
Level: 87
   

Posts: 1914/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
The most straightforward way would be to simply ctrl-f the text string you want to find. If it's in there (and stored in big endian), you should be able to find it and edit it. If it's stored in little endian, you might need to swap characters around (for example, if you want to find "Hello, world!", you may need to search for "leol ,owlr!d" or "eHll,ow rodl" depending on where in the swap it is). Keep in mind that there will be control characters for things like colour changes or linebreaks that you'll need to figure out. These are usually different from game to game.
If the text is not stored in plain ASCII, you may need to switch encodings. Shift-JIS is often used. If it's not stored in text at all but rather in some kind of encrypted or tile format, you'll have to figure that out.
As always, do some Google searches for the specific games you're interested. Someone out there may have already done some work for you. |
Kles
Level: 87
   

Posts: 1917/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
| Internally, those count as water tiles (as in, if you were to somehow step on them, the automap would paint blue in the floor tile), so I don't know why people say that painting them causes floor jump errors... |
Kles
Level: 87
   

Posts: 1920/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
I kept a dream journal at one point a few years ago. Here are some highlights:
"On the top of a very large and very tall barge with Eminem. He tells me to never give up. I'm way too scared to get down and it's snowing."
"I got a sub from Subway, but they replaced the cheese and meat with napkins. I was mad and people couldn't see what the problem was."
"Windows 10 makes you fall through the floor if you pirate it. A streamer was playing a Castlevania game where you had to find giant cookies that were chests that had to be opened with milk."
"I get some early copy of Doom that only works if you install a special fuse in your power box. It also requires you to play in god mode. Someone was trying to play it using tortilla bread as a controller. Later, I had to label some products for a company and they came totally unmarked. I fucked this up completely."
"I have three monitors and they keep getting in each other's way. I try to upgrade to Windows 10, but I accidentally upgrade to Windows 5 instead."
"WWE honours the memory of Chris Benoit in my neighbour's driveway. 'He may have killed his family, and he may have cut off his own head, but he is still a legend.'"
"Was on the production team for a Hearthstone LAN tournament. One of the players was a 3 year old crocodile." |
Kles
Level: 87
   

Posts: 1927/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
Originally posted by Siengried Hi all. I m tring to do a translation patch for EO4. Could you please help me on how to decrypt all that file and found all the text? Or if exist a tool?
You don't need to use UntoldUnpack anymore. You want to use a tool called Kuriimu. This includes a program called Karameru, which can open the HPB/HPI archive and extract the MBM files. You can then use Kuriimu to load those files into the MBM editor and edit them from there. Some of the text is stored in TBL files - I'm not sure if Kuriimu supports editing those. I should probably publish a .TBL file editor at some point... |
Kles
Level: 87
   

Posts: 1928/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
| Another program included with Kuriimu, called Kukkii, can open the STEX files. I've never used Kukkii myself, so I'm not quite sure what you can do with them from there. Perhaps you can extract them to PNG, edit them, and convert them back into a STEX-friendly format. |
Kles
Level: 87
   

Posts: 1929/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
| .tbl files are a pretty simple format, but I don't think there's a straightforward way to edit them. I could maybe make some Python scripts that'll let you dump them to a text file, edit them, then rebuild them. |
Kles
Level: 87
   

Posts: 1930/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
Hey, sorry I took so long. These Python scripts will dump and rebuild these text files. They're not perfect, but they should work.
https://www.dropbox.com/s/5152qni4xj71fio/dump_tbl.py?dl=0
https://www.dropbox.com/s/5a18n8s9pdn2080/build_tbl.py?dl=0
Usage: On a command line, type:
python dump_tbl.py [full path to input file] [name of output file. be sure to include .txt] [--t]
python build_tbl.py [full path to text file] [name of output file. be sure to include .bin] [--t]
Notes:
These files dump in Shift-JIS format. To view in a text editor, it will need to support Shift-JIS mode. To switch to Shift-JIS mode in Notepad++ (my text editor), click Encoding > Character sets > Japanese > Shift-JIS. Additionally, text is in fullwidth. You'll need to also input your text in fullwidth much the same way you edited text in Kuriimu.
Be careful not to accidentally insert any linebreaks into the text file, as that can cause all sorts of problems.
Some .tbl files (such as skillcustomtable.tbl) have a very slightly different encoding. If you dump a file and it looks something like this, add the --t flag at the end. You'll need to add --t for both dump_tbl and build_tbl. I don't know how the game will handle the file if you use --t flags for rebuilding files that don't usually need it - it might work and it might not.
I don't know how Etrian Odyssey IV handles non-English characters, such as ö or ß. You'll have to experiment with them. I also don't know if you can type them in fullwidth or if they have Shift-JIS encodings at all.
Finally, be careful with the dash character. Typing a dash with the IME gives you ー, but the character used in game is -, which is slightly different. In Etrian Odyssey III, this difference was enough to crash the game, but maybe EO4 handles it better.
Let me know if you need any help. |
Kles
Level: 87
   

Posts: 1931/1947
EXP: 6311863 For next: 80911
Since: 07-23-07
Since last post: 78 days Last activity: 4 days
|
|
Originally posted by Siengried It doesn't work. It don't read any files. It gives me error
Can you post the exact error and what you typed in to get that error? |