Author
|
Topic: PC games (Read 2 times)
|
Grievery
Guest
|
|
« on: July 24, 2009, 07:14:36 am » |
|
Hello! I would like to find out if anyone knows how to translate a PC game. Well, I have the "Angel's Feather" game but it's in Japanese and I want to translate it in English. It's not a ROM but a PC game so I am not sure if I am supposed to post here. I am good at programming so I don't look for a special program to do my work - I just want to find a way to extract the text from the game, so I could translate it.... and, of course, put it back into the game. In the installation directory of the game there are 2 folders: "movie" and "save" (obviously not containing the text ) and there are also 5 files *.dat (from game00.dat to game04.dat), so I guess the text is in them. The question is "How to open and how to edit these files?". Thank you in advance. Best regards, Grievery.
|
|
|
|
Nightcrawler
Guest
|
|
« Reply #1 on: July 24, 2009, 07:26:56 am » |
|
The question is "How to open and how to edit these files?". Thank you in advance. Best regards, Grievery.
That's what hacking is all about; figuring that out! Study the files in a hex editor for starters. Try and figure out if they are archive files that contain other smaller files. Look through all of them and see if there's anything text related in any. That'll be a good indication if text is compressed or not. So just jump in and start looking and experimenting with everything. Figure things out. That's how it works. PC hacking isn't much different than ROM hacking. Most of the concepts are the same. Things that change are being able to reverse engineer WIn32 or DirectX API calls and some additional graphical formats you don't see on consoles.
|
|
|
|
golden
Guest
|
|
« Reply #2 on: July 24, 2009, 12:37:44 pm » |
|
and there are also 5 files *.dat (from game00.dat to game04.dat), so I guess the text is in them Probably but, although less likely, dialogue might also be stored in the game's EXE. Older games did this a lot, specially during the 16-bit NE era. Also, PC game hacking becomes easier and less frustrating if you know how to use a debugger (OllyDbg is arguably the best). And as Nightcrawler mentioned, be sure keep a copy of the WIN32 API handy :thumbsup:
|
|
|
|
Grievery
Guest
|
|
« Reply #3 on: July 24, 2009, 02:58:47 pm » |
|
Thanks for the help! But.... how to understand which symbols are for the text? I have opened those files with the HEX editor (including the .exe), but I can't figure it out.... http://kachi-snimka.info/images/klz1248465532b.JPG
|
|
« Last Edit: July 24, 2009, 11:54:59 pm by I.S.T. »
|
|
|
|
golden
Guest
|
|
« Reply #4 on: July 24, 2009, 03:52:20 pm » |
|
Figuring out file formats in a hex editor is all about detecting patterns and making some sense of small hints. For instance, you can read a few strings such as: se060a or bg64d. These may be filenames for sound effects and graphics, so the .dat is probably a file archive. The hex numbers after each filename may represent for example: file sizes, pointers to the beginning of the respective files in the archive, etc. You should mess with these numbers like Nightcrawler mentioned and see the actual effect in-game.
|
|
|
|
Grievery
Guest
|
|
« Reply #5 on: July 24, 2009, 04:13:08 pm » |
|
Thanks I 'll try !
|
|
|
|
DarthNemesis
Guest
|
|
« Reply #6 on: July 24, 2009, 08:25:36 pm » |
|
I notice some strings of bytes in the 8x-9x range, which is a telltale sign of Shift-JIS encoding. If XVI doesn't support character encodings, you might give CrystalTile2 a try.
For instance, the string 817582A082C181498176 starting at 1E85 decodes to 「ã‚ã£ï¼ã€
|
|
|
|
I.S.T.
Guest
|
|
« Reply #7 on: July 24, 2009, 11:55:29 pm » |
|
Picture changed to a URL. Next time, when posting a biiiiiig image, please link to it as an URL.
|
|
|
|
Grievery
Guest
|
|
« Reply #8 on: July 25, 2009, 02:43:10 am » |
|
OK, Sorry about the image. Best regards, Grievery
|
|
|
|
I.S.T.
Guest
|
|
« Reply #9 on: July 25, 2009, 02:45:12 am » |
|
It's OK, shit happens.
|
|
|
|
Grievery
Guest
|
|
« Reply #10 on: July 25, 2009, 04:05:06 am » |
|
Wow!Thank you DarthNemesis, I get better and better . This 「ã‚ã£ï¼ã€ means Oops! . But... how did you turn the binary code into the Japanese symbols??
|
|
|
|
|
Grievery
Guest
|
|
« Reply #12 on: July 25, 2009, 04:52:35 am » |
|
Thank you for the documents... I have read some of them and I understand what is it all about. I just don't know what are the numbers for the Japanese symbols. Well... 00 is A, 01 is B, 13 is T,etc. But what is the number of... let's say... ã‚? Thank you once again, you are all very kind. Best regards, Sirrush.
|
|
|
|
rmco2003
Guest
|
|
« Reply #13 on: July 25, 2009, 04:55:47 am » |
|
You'll have to experiment with modifying the values until you find that symbol, then note them down in your table file
|
|
|
|
Grievery
Guest
|
|
« Reply #14 on: July 25, 2009, 05:00:28 am » |
|
OK, thanks!
|
|
|
|
|