+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Is there a script dumper that reads a pointer and dumps that pointer's text?
Pages: [1]
Author Topic: Is there a script dumper that reads a pointer and dumps that pointer's text?  (Read 2 times)
akadewboy
Guest
« on: April 13, 2008, 12:03:49 pm »

Normally I would just use WindHex to dump the script, but this time the script is out of order, HOWEVER the pointer table is in the right order. What it would have to do is:

Read first pointer @ location 000060 (it's value is: B5080000)
Flip stuff around so it is 000008B5
Add $48 to it (08B5 + 0048 = 08FD)
Jump to location 0008FD
Dump text until it runs into an end break (00)
Jump back to pointer table
Read next pointer @ location 000064
repeat

Is there anything that does that?
« Last Edit: April 13, 2008, 12:15:01 pm by akadewboy »
Ryusui
Guest
« Reply #1 on: April 13, 2008, 01:18:18 pm »

Not to my knowledge, but it's easy to make your own. :3

That's how I dumped the text in Patlabor and Death Note: The Kira Game.

http://www.microsoft.com/express/default.aspx

In case you can't tell, they're all free and fully functional. :3
akadewboy
Guest
« Reply #2 on: April 13, 2008, 02:35:05 pm »

I was afraid of that. I only have a tiny bit of programming experience. Coding something like this is probably beyond me.
RedComet
Guest
« Reply #3 on: April 13, 2008, 04:09:47 pm »

I'm working on a dumper that does just that. It's mostly complete at this point, except for a few "minor" things like outputting error messages when appropriate. >_>

Here is a sample of the input text file you give the program and this is the output it gives you.
DaMarsMan
Guest
« Reply #4 on: April 14, 2008, 09:30:41 am »

This is actually my preferred method of dumping a script and I hate the fact that romjuice doesn't support it. Not all games are lucky enough to have one big script chunk in order.
akadewboy
Guest
« Reply #5 on: April 14, 2008, 09:47:07 am »

Wow RedComet that tool looks amazing! I'm sure it would be incredibly useful to many people, I hope you release it to the public one day Grin (I'm patient though, so don't feel rushed).
Gemini
Guest
« Reply #6 on: April 14, 2008, 01:47:51 pm »

Quote from: DaMarsMan on April 14, 2008, 09:30:41 am
This is actually my preferred method of dumping a script and I hate the fact that romjuice doesn't support it.
It's probably the best method, too. Wink Many games, especially on the Psx, love to store not-sorted text, so you get most of it dumped wrong making reinsertion your worst nightmare. X_x

And greetings to Redcomet: you had a really great idea. Cheesy
Pages: [1]  


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