(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
05-16-24 09:57 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Anyone here an expert on hex and reinserting compressed art back into a rom?
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Euclid
Posts: 21/83
first of all you need to find out if the original size of the recompressed gfx block (The sprite in this case) is smaller than the original size, if it is, just go to 0x18041E (use goto or something, that's assuming that's the start of the gfx block for that sprite) in a hex editor and paste the data and you're done.

You would need to worry about pointers if the original size is smaller than the recompressed size, in that case, you would really need to write a program for it.
Guardian
Posts: 12/28
Ok here's what I did. I did decompressed it. It was the only way to edit Robotniks sprite in the Sonic3 rom. Edited and sprite changed using Tile layer pro. Recompressed it using Sonic data compressor. Now all's I need to do is reinsert it back into the rom. That is my problem that I'm having. The original offset for it was 18041E. It should show up as 00 18 04 1E in the rom. How do I find this step by step?
Euclid
Posts: 20/83
you can't edit compressed gfx without first decompressing the gfx from another program, that program may also have ways of recompressing gfx.

I wouldn't be using a hex editor to recompress gfx, at least i won't have tha patience to go through all those pointers and data to make sure they decompress right.

But if you mean you just edited some gfx from 0x18041E in the sonic 3 rom using tile layer pro, then don't you just press save in tlp to save it?
Guardian
Posts: 11/28
If so, I need your help please. Can anyone assist me?

I'm working on the sonic3 rom. Offset # 18041E was worked on using tile layer pro. Robotnics sprite has been changed. Now I need to re-insert it back into the rom using a hex editor. I'm currently using the program "Hex workshop". What do I do now in step by step please. If anyone needs me to be more explainatory, I will.
Acmlm's Board - I3 Archive - ROM Hacking - Anyone here an expert on hex and reinserting compressed art back into a rom?


ABII

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

Page rendered in 0.004 seconds; used 349.38 kB (max 388.53 kB)