Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,439,804
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-20-24 01:21 AM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 2 bots

Main - ROM Hacking - LZSS/LZ77 decompressor? New thread | New reply


Treeki
Posted on 07-15-07 01:37 PM Link | Quote | ID: 55168


Red Cheep-cheep
Level: 34

Posts: 7/209
EXP: 236490
Next: 17161

Since: 07-12-07
From: Rogueport

Last post: 3921 days
Last view: 3623 days
Yeah, I need one. I want to hack the NSMB level format; possibly make an editor, but someone (Raccoon Sam?) told me they were LZ compressed, and I can't find any way to decompress them.
Some code I stole from EliteMap simply returns an empty array, UnLZGBA can't find them, and Tahaxan does not ask me if I want to decompress them when I extract, so they -may- not be LZ compressed. Before you link me here, already gone through that. Nothing of use.

____________________
I'll put something here later.

Celice
Posted on 07-15-07 04:57 PM Link | Quote | ID: 55181


Buzz Blob
Level: 39

Posts: 68/285
EXP: 379559
Next: 25212

Since: 04-06-07
From: Oroville, CA

Last post: 3680 days
Last view: 3641 days
Did you check www.romhacking.net? I know there's at least one LZ77 decompressor there that isn't graphics-dependent.

GuyPerfect
Posted on 07-15-07 07:06 PM Link | Quote | ID: 55194


Paratroopa
Level: 30

Posts: 97/155
EXP: 152522
Next: 13347

Since: 03-14-07

Last post: 6039 days
Last view: 5988 days
I actually posted some self-made LZ77 codec routines in the B.O.B. thread earlier this week. You may have to modify it a bit to suit your needs, but it works and I'm pretty sure it's reasonably optimized.

Link to post

Treeki
Posted on 07-15-07 09:58 PM Link | Quote | ID: 55232


Red Cheep-cheep
Level: 34

Posts: 8/209
EXP: 236490
Next: 17161

Since: 07-12-07
From: Rogueport

Last post: 3921 days
Last view: 3623 days
Hmm.. I have tried one of the LZ decompressors I managed to find on romhacking.net - but it does not seem to work on the course files (it does however work on some graphics files I know are LZ compressed). So probably they are not LZ compressed. But what format? I can't seem to find anything useful in them. I will see if I can try and figure it out..

____________________
I'll put something here later.

Main - ROM Hacking - LZSS/LZ77 decompressor? New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.019 seconds. (339KB of memory used)
MySQL - queries: 52, rows: 76/76, time: 0.015 seconds.