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. |
Acmlm's Board - I3 Archive - ROM Hacking - Compressed SNES Graphics Question | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
GlitchCog Goomba Since: 01-31-06 Last post: 6291 days Last view: 6291 days |
| ||
Can anybody tell me how to edit map tiles in Super Mario Kart? Since they don't show up in any tile editing programs I assume they're compressed, so I guess my question is how do I go about uncompressing them for editing. Thanks. | |||
Raccoon Sam Boomerang Brother Custom Title Since: 11-20-05 From: Correct Last post: 6279 days Last view: 6279 days |
| ||
Lunar Compress | |||
GlitchCog Goomba Since: 01-31-06 Last post: 6291 days Last view: 6291 days |
| ||
So if I use Lunar Compress with LC_LZ5 for Super Mario Kart, I should be able to edit the compressed graphics it outputs, right? I can't seem to get it to work.
According to d4s's documentation, the sniffed out location for some Mario Circuit graphics is: palettes(mcpal.bin): Compressed Structure #309 Info... Start Address: 4137F End Address: 41513 Compressed Size: 194 Uncompressed Size: 200 Combo File Address: FDD90 0x00: mario circuit #1 0x20: mario circuit #2 0x40: turbo arrows and ramps 0x60: hud(time and position) 0x80: mario circuit bg scrollplane #1 0xa0: colored standard-blocks 0xc0: mario circuit bg scrollplane #2 0xe0: coins 0x100: yoshi & bowser 0x120: mario & toad 0x140: koopa & luigi 0x160: princess & dk jr. 0x180: starting lights & hud(coins & cars) 0x1a0: lakito 0x1c0: crash & collected coins 0x1e0: sandtrail & tubes So, based on that Start Address, this command line: Decomp.exe smk.smc test.bin 4137F 5 0 should give me a file called test.bin that I can open and edit in a tile editing program, but it doesn't. What am I doing wrong? Thanks. (edited by GlitchCog on 03-06-06 04:02 PM) |
|||
d4s Shyguy Since: 12-01-05 Last post: 6401 days Last view: 6299 days |
| ||
does your rom have a 0x200 byte header? you may have to adjust the start adress to obtain the correct adress if it has one.
i dont remember if the adresses in my doc are for a headerless rom or not, but my guess is they are because i hate backup unit headers. |
|||
GlitchCog Goomba Since: 01-31-06 Last post: 6291 days Last view: 6291 days |
| ||
Yeah, my ROM file has a header. I noticed that I was using the wrong hex address before anyway, but the correct one both with and without the 0x200 added on for the header didn't work any better.
With this command line: Decomp.exe smk.smc test.bin 4137F 5 0 this is the output I get: DLL Version 1.60 Data Format 5 Data Format 2 0 Source Offset 4137F Compressed Size 9F Uncompressed Size 200 And with this command line: Decomp.exe smk.smc test.bin 4157F 5 0 I get: DLL Version 1.60 Data Format 5 Data Format 2 0 Source Offset 4157F Compressed Size E1 Uncompressed Size 1D0 Neither of which seem to have any graphic data in them. ------------------- Edit: I figured out what I was doing wrong. The data format the graphics are compressed with is "LC_LZ5," which is "4" in the syntax, not "5." The syntax used is one less than the number assigned to the type of compression. (edited by GlitchCog on 03-08-06 08:37 AM) |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - ROM Hacking - Compressed SNES Graphics Question | | |