Romhacking.net

Romhacking => Programming => Topic started by: shadowdorothy on August 22, 2013, 04:27:11 am

Title: Can't seem to get hex editors to read my table files properly.
Post by: shadowdorothy on August 22, 2013, 04:27:11 am
So I'm frustrated and at wits end. Using PPU viewer I made table files for a game I want to translate, but no matter what hex editor I load the rom and tables into all I get is garbage data. Just garbage data.

I'm not sure how to even describe the problem. I opened PPU viewer, opened note pad and typed out my table. Then I open up either translhexation or windhex and load the rom. Obviously because I haven't loaded a table it shows me nothing. I then load my table file(s) and instead of getting こにちわ or わたし I get fy8e!@# or ^&hj75. I'm fairly certain my table files are correct, as when I relative search and scan relative it gives me the same hexadecimal values.

I should note English games load tables just fine. It's only my Japanese tables that don't seem to work.

I've edited text in games before and never had this problem. Any ideas what I can do to get this problem resolved? This is my first time actually translating, and it's rather disheartening that it keeps happening.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: Azkadellia on August 22, 2013, 04:32:29 am
In Windhex, make sure Unicode (CTRL + D) is on.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: shadowdorothy on August 22, 2013, 06:06:01 pm
Unicode is on. It still doesn't not read the table file correctly. I'm now getting blocks.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: Azkadellia on August 22, 2013, 07:10:38 pm
Then the problem lies with the table file. Open it up in Notepad or any text editing program that supports unicode, then save it using unicode encoding.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: wyndcrosser on August 22, 2013, 08:14:36 pm
Use a table formatted by monkey moore (http://www.romhacking.net/utilities/513/).

Then open it up in word etc. and edit the file to correspond to your specific needs.

Save it, if word asks any question about formating, etc. hit yes.

Load the table into Windhex.

I used monkeymoore, Tile Layer pro and Windhex for everything.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: KingMike on August 22, 2013, 09:12:48 pm
Depends which hex editor you're using.
If it's WindHex, even though the menu says Unicode, the table file needs to actually be Shift-JIS to display right.
Title: Re: Can't seem to get hex editors to read my table files properly.
Post by: wyndcrosser on August 22, 2013, 10:58:05 pm
King is right. Those settings in monkey Moore should be automatic.  You would select shift jis in word for the encoding.