Zophar's Message Domain

Zophar's Message Domain (http://www.zophar.net/forums/index.php)
-   Rom Hack (http://www.zophar.net/forums/forumdisplay.php?f=8)
-   -   Anyone interested in writing a simple text dumper and inserter? (http://www.zophar.net/forums/showthread.php?t=13288)

    01-17-2010 06:08 PM

Anyone interested in writing a simple text dumper and inserter?
 
Ok, here's the deal, I want to translate this Dreamcast game called Pia Carrot 3. So far I've found the text and I've documented what most of the control codes do. Now, before you say "n00b use romjuice", I tried it and it doesn't work with 771 MB files. BTW, viewing the whole cdi image in a text editor is the ONLY WAY to view the text.

Here's some information on the control codes and stuff...

Quote:

09XXX = Control Codes for voices and sound effects. An example of one of these codes is "09598".

bgmX = Control Codes for music. An example of one of these codes is "bgm0".

bkXX = Control Codes for background sound effects, like birds and such.

cXXX - Control Codes for character portraits.

e0XX = Control Codes for event backgrounds. An example of one of these codes is "e001".

pfXX = Control Codes for static backgrounds.

Breaking down text...

10XX00 before the text....

10 - Tells the game to calculate string length.
XX - Is the string length.
00 - Seperates the codes from the text.
0022 - These 2 bytes execute control codes. They are after every control code in the game and the control code will NOT execute, without it.

Before those 3 bytes there will always be

00 22 00 F9 06 00 00 28 00 29 01 00 00 00 80 00 00
00 00 2A 00 31 0F 04 00 00 00 10 1B 00

00 22 00 B0 08 00 00 28 00 29 01 00 00 00 80 00 00
00 00 2A 00 31 0F 04 00 00 00 10 1B 00

There are "1D" bytes between lines.

The line skip code starts with "00 22", then goes to 2 variable bytes which are "XXXX". "XXXX" tells you where the the end of the FIRST line will be. An example of one of these codes is "B008".

After those 2 bytes these bytes occur...

00 00 28 00 29 01 00 00 00 80 00 00
00 00 2A 00 31 0F 04 00 00 00 10 1B 00

Reaper man 01-17-2010 11:20 PM

....any reason you chose to use a completely blank username? :|

Lenophis 01-17-2010 11:50 PM

It's unicode, not blank.

Reaper man 01-18-2010 09:59 AM

Quote:

Originally Posted by Lenophis (Post 97227)
It's unicode, not blank.

I realize it isn't truly blank, but what I meant is that it appears blank, which is quite annoying.

I'm going to give him 48 hours to come up with another name, or face account deletion.

InVerse 01-18-2010 10:21 PM

My initial question would be why the hell are you hacking the entire ISO as a single file?

My second question would be have you tried Cartographer? Or the newly released, as of yesterday, crumb?


All times are GMT. The time now is 06:45 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.