Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Rom Hacking: |
Acmlm's Board - I2 Archive - Rom Hacking - How does one decompress... | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Fyxe Lyn Level: 51 Posts: 23/1160 EXP: 954265 For next: 59673 Since: 03-29-04 Since last post: 117 days Last activity: 114 days |
| ||
Graphics in a ROM to make them viewable in programs like Tile Layer Pro and the like? There is an insane amount of games with compressed graphic files. I have Lunar Compress, but what I have to do to decompress a ROM is completely lost on me (the help files seem to be designed for someone who already has a heap of knowledge about HEX and the like...). Thanks in advance to anyone who can help. I just need some basics... EDIT: What, no responses yet? Aren't you people meant to be ROM hackers? >.> (edited by Fyxe on 04-03-04 05:51 PM) |
|||
Sokarhacd Ball and Chain Trooper Resistance is Futile You Will Be Assimilated Hab SoSlI' Quch Level: 61 Posts: 78/1757 EXP: 1799888 For next: 76708 Since: 03-15-04 Since last post: 6 days Last activity: 4 hours |
| ||
lunar compress decompresses some of the gfx in certain roms, although I havent had any luck with it...buy you can try if you want, its at fusoya's site. | |||
JaCory Porcupo Level: 29 Posts: 167/323 EXP: 141854 For next: 6031 Since: 03-15-04 Since last post: 69 days Last activity: 17 days |
| ||
There are many compression types and decompressors. What games gfx are you trying to decompress? | |||
Darth Coby Vire Dacht je nou echt dat het over was? Dacht je nou echt dat ik gebroken was? Nee toch? Nou kijk eens goed op uit je ogen gast. zonder clic heb je geen kloten tjap... bitch Level: 55 Posts: 435/1371 EXP: 1240774 For next: 73415 Since: 03-15-04 From: Belgium Since last post: 2 days Last activity: 9 hours |
| ||
You need to write an application that can perform the decompression routine, that one you'll first have to find though. | |||
JLukas Red Paragoomba Level: 13 Posts: 3/51 EXP: 8897 For next: 1370 Since: 03-15-04 From: USA Since last post: 9 hours Last activity: 6 hours |
| ||
Here's a quick tutorial on using Lunar Decompress. Let's say you wanted to decompress graphics in Chrono Trigger. 1. Open the LunarDLL.h file with Notepad or whatever, and scroll halfway down. You'll find a Compression Format Table. There you'll see the format, game and usage and description. You'll see Chrono Trigger is format LZ_LC13. 2. Open LunarDLL.def with Notepad. Right at the top you see LZ_LC13 followed by 12, the number Lunar Decompress assigns to that format. 3. Open a DOS prompt and type Decomp.exe chronotrigger.smc output.bin 166C12 12 0 4. Open the output file in Tile Layer Pro or other program and you'll find you decompressed the graphics for a Nu. But how do you know the offset to start from is 166C12? That's where you look at an offsets guide that lists where things are stored. If the game you want to decompress doesn't have an offsets guide, you'll have to find where the compressed graphics are on your own. Your main goal would be to find a pointer table(s) that the game uses to locate where the compressed graphics are. Then just work your way through the pointer list, decompressing each offset as you go along. Hope this helps. |
|||
Chickenlump Level: 41 Posts: 110/722 EXP: 474192 For next: 5953 Since: 03-15-04 From: Columbia City Indiana Since last post: 3 hours Last activity: 4 min. |
| ||
For those games that Lunar Compress does support, use the Sniff program that comes with Lunar Compress. It's reletively easy to load up a rom, and have Sniff compile a huge text file listing all possible compressed locations. It's even customizeable, you can tell it to omit results based on compressed file sizes, and much more, to cut down on false results (not everything that is compressed is graphics though, map data, palettes, text and who knows what else can be compressed also). If you suspect that an unsupported rom is compressed, feel free to try it anyway, it may be possible that some games share compression techniques (only if your desperate, something tells me not many will, unless it's made by the same company of a supported game .......). Also, don't dismiss any file you decompress and view in a tile editor, and the graphics don't show up right away, remember to switch between graphics modes, as some simple graphics and fonts can be viewed only in Gameboy and NES modes. (edited by Chickenlump on 04-04-04 01:34 AM) (edited by Chickenlump on 04-04-04 01:36 AM) |
|||
Ok Impala! Buzzy Beetle Level: 31 Posts: 31/383 EXP: 183070 For next: 2293 Since: 03-16-04 From: The Netherlands Since last post: 4 days Last activity: 23 hours |
| ||
Ok! Never thought of that last point before, stupid me. Many thanks for that hint Chickenlump! |
|||
Fyxe Lyn Level: 51 Posts: 36/1160 EXP: 954265 For next: 59673 Since: 03-29-04 Since last post: 117 days Last activity: 114 days |
| ||
Thanks guys, this has been quite helpful. ^-^ Still seems like a heck of alot of work for the games for which the offsets are not available... Sniff, eh? I hope I can get it working when I need to. Thanks again. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Rom Hacking - How does one decompress... | | | |