+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Editing compressed graphics of Genesis/Mega Drive games
Pages: [1]
Author Topic: Editing compressed graphics of Genesis/Mega Drive games  (Read 624 times)
Raiser
Guest
« on: June 14, 2007, 03:40:24 pm »

I hate to devote my first post here to starting a new thread and asking for help, but I'm somewhat stuck. I'm messing around with Phantasy Star 2, and I wanted to edit the game's font and make use of the extra tiles left over from the Japanese font to "squish" some words to fit the space limitations of the menus. The problem is: the font, along with every single graphic tile in the game, seems to be compressed.

I'm a complete newbie at graphics compression, so I was wondering if somebody could help me get started. Does anybody know what type of compression is used in Phantasy Star 2, and what tools are available to extract/recompress tiles that use its format?

Any help would be greatly appreciated.
Lenophis
Guest
« Reply #1 on: June 14, 2007, 04:58:24 pm »

Quote from: Raiser on June 14, 2007, 03:40:24 pm
I hate to devote my first post here to starting a new thread and asking for help, but I'm somewhat stuck. I'm messing around with Phantasy Star 2,
Which version? How much previous hacking experience do you have?

Quote
and I wanted to edit the game's font and make use of the extra tiles left over from the Japanese font to "squish" some words to fit the space limitations of the menus. The problem is: the font, along with every single graphic tile in the game, seems to be compressed.
Hmmm, something doesn't seem right here. I'm curious as to how you've determined that the font is compressed. Is the rom still interleaved? A good indication is the file extension, and no simply changing the extension won't change it being interleaved.

Quote
Does anybody know what type of compression is used in Phantasy Star 2, and what tools are available to extract/recompress tiles that use its format?

Any help would be greatly appreciated.
Well, there generally aren't many tools for Genesis. There's a couple of tracers for Genesis, which is about all I can suggest. There's nothing specific for PS2 in the database, unfortunately.

My apologies about the lack of help, all I can suggest is the interleaving from earlier. Sad
Raiser
Guest
« Reply #2 on: June 14, 2007, 09:01:04 pm »

Quote from: Lenophis on June 14, 2007, 04:58:24 pm
Which version? How much previous hacking experience do you have?

I'm using Revision 01 (although I don't know what the actual difference between revision 01 and 02 is.)  As for previous hacking experince, I'm a novice on almost every account. I can edit text with a hex editor and table file, and edit uncompressed tiles with a tile editor. That's about all I know.  I was messing around with the rom to fix up some of the spelling and grammar in Naflign's patch, as well as "retranslate" the parts he left alone (ie the pregame text that explains the history of Motavia, some townspeople speech, etc). I'd eventually like to learn some assembly, but as of now I can't do much more than that. That's the reason why I want to draw "condensed" tiles to have a few 5 letter words displayed with 4 tiles (and 4 letter words with 3 for the use/give/toss menu) instead of changing the size of the actual menus.

Quote
Hmmm, something doesn't seem right here. I'm curious as to how you've determined that the font is compressed. Is the rom still interleaved? A good indication is the file extension, and no simply changing the extension won't change it being interleaved.

I'd thought about that as well.  *.smd files dumped by the Super Magic Drive are interleaved, but aren't all Genesis roms in bin format already de-interleaved? I'm editing Phantasy Star II (U) (Rev01).bin, patched with Naflign's retranslation patch. Since the patch worked flawlessly, I figured that the rom I'm using is indeed in bin format, not just a renamed smd file.  The tiles may in fact not be compressed, but if they aren't then they're likely in a format that Tile Layer Pro and a couple of other programs aren't able to use. Edit: Also, I did remember to switch TLP to "genesis" mode, as it tends to display bin files in 1bpp when you open them.

Quote
Well, there generally aren't many tools for Genesis. There's a couple of tracers for Genesis, which is about all I can suggest. There's nothing specific for PS2 in the database, unfortunately.

My apologies about the lack of help, all I can suggest is the interleaving from earlier. Sad

No need to apologize, I appreciate the fact that you replied in the first place. I'll take a look at those tracers; I was using Gens Kmod earlier to determine the font's location in the ROM. Unfortunately, when I checked that location in Tile Layer, there wasn't anything that resembled the font. There was, however, a couple of "garbage" tiles underneath where the font was supposed to be that looked identical to the "garbage" underneath the font when I was viewing the VDP in Gens.  I'll check out revision 02, as well as try to de-interleave the rom I'm using to see if that was the cause. Thanks
« Last Edit: June 14, 2007, 09:21:35 pm by Raiser »
KingMike
Guest
« Reply #3 on: June 15, 2007, 10:27:02 am »

smd is interleaved, bin in not. I believe that is the difference between the two formats.
Kitsune Sniper
Guest
« Reply #4 on: June 15, 2007, 11:28:33 am »

Quote from: KingMike on June 15, 2007, 10:27:02 am
smd is interleaved, bin in not. I believe that is the difference between the two formats.
I think SMD also has an extra header or something.
JCE3000GT
Guest
« Reply #5 on: June 19, 2007, 12:15:02 pm »

Quote from: Raiser on June 14, 2007, 03:40:24 pm
I hate to devote my first post here to starting a new thread and asking for help, but I'm somewhat stuck. I'm messing around with Phantasy Star 2, and I wanted to edit the game's font and make use of the extra tiles left over from the Japanese font to "squish" some words to fit the space limitations of the menus. The problem is: the font, along with every single graphic tile in the game, seems to be compressed.

I'm a complete newbie at graphics compression, so I was wondering if somebody could help me get started. Does anybody know what type of compression is used in Phantasy Star 2, and what tools are available to extract/recompress tiles that use its format?

Any help would be greatly appreciated.

I've had problems trying to find graphics for a couple of MD/Genesis games myself.  With no success.  I'd be interested to know if/when you've figured something out.   :thumbsup:
stealth
Guest
« Reply #6 on: July 08, 2007, 02:53:46 am »

now I'm working on Phantasy star 4 translation from english to Kurdish language

I found that there are two fonts in the file one of 8x8 used for the menues and the other 8x16 used for the talks
the fonts are not compressed, but they are monochrome, that means it uses 1bpp
Pages: [1]  


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