Sweet Home table

Started by xyzzy32, May 24, 2008, 02:52:32 pm

Previous topic - Next topic

xyzzy32

OK, so I can't get this game to load in Nesticle, and Search Relative 2 won't run on my PC, so does anyone have the .tbl file for Sweet Home, or can anyone get these programs to run properly and PM me the file? I was considering translating this into French and/or modifying the English text, just so you know. Thanks.

133MHz


UglyJoe

Unless you're running on a 386, there's no reason to be using Nesticle.  Delete it from your computer.  Never use it again  :P

Grab FCEUXD SP from here:
http://www.romhacking.net/utils/256/

There are more accurate emulators out there, but this one has the best debugger and is ideal for rom hacking.

For a hex editor, use Windhex:
http://www.romhacking.net/utils/291/

or Translhextion:
http://www.romhacking.net/utils/219/

Both of those hex editors have relative searching built in.  Combine that with FCEUXD's PPU viewer and making a table file is easy.

xyzzy32

Thanks for the help... I tried "Kazuo", "Ghost", "Mamiya" and "pray" in translhextion's relative search, with no results each time. It finally found "Armor", from which I was happily able to develop a table :)
Although due to its being only a fan-translated version, some hex combinations stand for multiple characters, making everything all the more difficult... and "the" apparently will display as "is" at times, and vice versa. That explains why the game says stuff like "Kazuo the cursed!"

UglyJoe

The makers of the fan translation undoubtedly added DTE or dictionary compression to it.  They basically allow the script to use a single byte to represent a string of characters instead of just one.  The advantage is that you can save space in your script, like by using a a single byte to represent "the" instead of three bytes for "t", "h", and "e".

The best way to figure out those combinations is probably to find a string in the game that you can easily access, find it in the rom, and then change one of the bytes.  Just keep incrementing the byte value and then loading it up in the emulator to see what letter or letters show up instead.

Another way would be to relative search for one of the values (like "the") and find it in the rom.  It should be in a DTE table, so you'll be able to see all of the other DTE values as well.  But that can vary from hack to hack, depending on how they implemented it.