(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-29-24 01:13 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Anyone know a program that can decompress an entire rom file and recompress? New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Guardian

Goomba


 





Since: 01-27-06

Last post: 6542 days
Last view: 6542 days
Posted on 02-12-06 07:36 PM Link | Quote
I've tried all I could working with hex editors to reinsert compressed art back into a rom. It never seems to load up. I've like given up on this. The best thing to do would be to decompress the entire rom, work on it in tile layer pro, and then re-compress it again. Is there any program that enables me to accomplish this?
JLukas

Goomba


 





Since: 11-19-05
From: USA

Last post: 6430 days
Last view: 6430 days
Posted on 02-12-06 08:37 PM Link | Quote
Assuming you are using a program like Lunar Compress: It sounds like the problem you are having is that your newly edited graphics, when compressed, are larger than the original packet. As a result, when you reinsert, the data overwrites something else.

If you are instead doing all this manually in a hex editor, you must be sure the data you put in doesn't shift any of the following data.

Let's say you have an original title screen graphic at:

$10000-$10FFF

In other words, the compressed data is $1000 bytes.

You decompress, edit, and recompress. The new file is only $500 bytes. You insert it back to the $10000 starting offset.

If you were to load the game, it will crash, as all the data following that compressed packet will have been shifted since there is $500 bytes missing. What you want to do is "pad" the now unsed space from $10500-$10FFF with $00 values.

Now load up the game, and it should work.

But what if your recompressed data was larger than the original? Ex: $1500 bytes. In that case you have to relocate it to a spot that can fit it, and change the pointer to match.
Guardian

Goomba


 





Since: 01-27-06

Last post: 6542 days
Last view: 6542 days
Posted on 02-13-06 04:22 AM Link | Quote
Actually no. I'm working on a genesis rom .bin file.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Anyone know a program that can decompress an entire rom file and recompress? |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.011 seconds; used 356.41 kB (max 417.66 kB)