Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in ROM Hacking. |
User | Post |
Guardian Posts: 14/28 |
Actually no. I'm working on a genesis rom .bin file. |
JLukas Posts: 18/20 |
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 Posts: 13/28 |
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? |