+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Any tools for editing PS2 2D graphics?
Pages: [1]
Author Topic: Any tools for editing PS2 2D graphics?  (Read 2 times)
weissvulf
Guest
« on: March 23, 2008, 04:54:11 am »

I'm looking to translate a few Kanji menu headings in a PS2 game which are stored as graphics, (not rendered off the font chart). 

I've looked around a fair amount and can't find any significant info so can anyone recommend any tools or info about PS2 graphic formats to get me started in the right direction? Thanks Smiley
« Last Edit: March 24, 2008, 07:39:21 am by weissvulf »
weissvulf
Guest
« Reply #1 on: March 24, 2008, 07:38:41 am »

Hmm, was this a dumb question or is there really not much info on PS2 2D graphics? Shocked

Anyways, I figured out a way to 'mickey mouse' it.  I'll post the basics of what I did incase it helps anyone else with trying to do the same thing.

1) Because all this game's data is in one big chunk (500MB) I needed to narrow down where to look for the graphic.

2) So I ran the game in pcsx2t (thanks pcsx team Cheesy) until the graphic I wanted to edit was on screen.

3) Did a memory dump (Debug> Memory dump).

4) Examined the memory dump (32MB aprox. and mostly empty 0s) with nana in raw mode (thanks Neill Corlett :thumbsup:)) until I found the graphic I needed to edit (256 wide) and noted its start location.

5) Opened the mem dump in a hex editor and found the graphics beginning address and manually truncated the dump to the approximate size of the graphic.

6) Loaded the truncated dump as a .raw file in Paint Shop as grayscale 256 wide. The image had no pallete/CLUT of course so the colors don't match the game's but it was easy enough to edit in grayscale using a little common sense.

7) To reinsert the edited graphic I simply took note of the hex values at the graphics beginning and then searched the games big main data file for those values. Luckily the graphic wasn't compressed on the game DVD and I found it exactly as it was in the mem dump.

8- Typed up my own little insert txt and used Timviewer to reinsert it (thanks rveach :woot!:)

There's probably a hundred easier ways to do it than that but at least it's done :crazy:
Pages: [1]  


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