Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 01-17-2010, 05:08 PM   #1
   
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default 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
    is offline   Reply With Quote
Old 01-17-2010, 10:20 PM   #2
Reaper man
Member
 
Reaper man's Avatar
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 5,409
Default

....any reason you chose to use a completely blank username? :|
__________________
Reaper man is offline   Reply With Quote
Old 01-17-2010, 10:50 PM   #3
Lenophis
Senior Member
 
Lenophis's Avatar
 
Join Date: Apr 2003
Posts: 1,386
Default

It's unicode, not blank.
__________________
Lenophis is offline   Reply With Quote
Old 01-18-2010, 08:59 AM   #4
Reaper man
Member
 
Reaper man's Avatar
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 5,409
Default

Quote:
Originally Posted by Lenophis View Post
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.
__________________
Reaper man is offline   Reply With Quote
Old 01-18-2010, 09:21 PM   #5
InVerse
Senior Member
 
Join Date: Jul 2002
Location: Midwest, U.S.
Posts: 1,489
Default

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?
InVerse is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:01 AM.

Contact Us - Zophar's Domain - Archive - Top

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