+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  How would I dump text if the game does this?
Pages: [1]
Author Topic: How would I dump text if the game does this?  (Read 552 times)
Rai
Guest
« on: June 15, 2007, 09:19:14 pm »

Alright, so I'm hacking Super Chinese World 2 and everythings been going pretty good, text is uncompressed and the table is nearly done. But I've encountered one problem, everytime the game calls for katakana it calls this control code which is "F9" in hex, which converts the hiragana to katakana. If "F9" is not called, it shows up as Hiragana. Since the katakana aren't seperate bytes or anything, there would be virtually no way to distinguish the katakana from the hiragana in the script. I suppose with a custom dumper it would be possible to do this, but I don't have that programming knowledge. In editing text that whole thing doesn't matter, but it does matter for actually dumping the text.
RedComet
Guest
« Reply #1 on: June 15, 2007, 09:22:03 pm »

romjuice lets you specify a second table and a "swap" code in your table.
Kitsune Sniper
Guest
« Reply #2 on: June 15, 2007, 09:56:37 pm »

If the game is programmed like SD Hiryu No Ken or SD Hiryu No Ken EX? Romjuice won't work. I tried to use it, and it can't handle the game's text. Since your game was made by Culture Brain, I'm assuming it'll use the same text engine, and if it does, it won't work. Trust me, I spent days figuring that thing out. Romjuice needs to be modified for it to handle the game's text routine properly.
Rai
Guest
« Reply #3 on: June 16, 2007, 12:02:26 am »

I see... well I guess ripping all the hiragana then manually changing the katakana is the only way.
Kitsune Sniper
Guest
« Reply #4 on: June 16, 2007, 12:40:21 pm »

Quote from: Rai on June 16, 2007, 12:02:26 am
I see... well I guess ripping all the hiragana then manually changing the katakana is the only way.
Well, you can use romjuice to dump each string individually, but that would be a major pain.
Ryusui
Guest
« Reply #5 on: June 16, 2007, 02:03:57 pm »

Or just write your own custom extractor, which is a lot easier than it sounds.

VB has some nice string functionality that translates nicely into working with tables.
Kitsune Sniper
Guest
« Reply #6 on: June 16, 2007, 02:15:20 pm »

Quote from: Ryusui on June 16, 2007, 02:03:57 pm
Or just write your own custom extractor, which is a lot easier than it sounds.

VB has some nice string functionality that translates nicely into working with tables.
I can't program. Tongue

The only reason that Romjuice won't work is that the game uses a variable, so to speak, to change from hiragana to katakana. Use a code, and everything changes to katakana. Use it again, and it goes back to hiragana. But by default, the text begins as hiragana, so if a string ends in katakana the engine reboots the variable back into hiragana mode.

Romjuice can handle table swapping, but not when it acts like this.
Rai
Guest
« Reply #7 on: June 16, 2007, 02:47:52 pm »

Yeah, like I already stated in the first post, I have little programming knowledge. So yeah... I'll try this romjuice thing.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC