sorry for the mega bump guys but here's my decompression code for Ulz entries.
faq:
what is it?Klonoa: Door to Phantomile has both uncompressed (raw) data and compressed data. If you open the game's files in a graphics viewer/PSicture/whatever, you might find some graphics and/or other stuff, but a good chunk of it is compressed. The compression wasn't figured out for the longest time so sprite rips were unavailable for many years (as Klonoa's sprites are compressed) until I cracked it and
ripped them.
how do i find compressed data?just search for
55 6C 7A 1A (in hex) or
Ulz (in ASCII) from any file.
how do i decompress it?edit the .py file to match your needs. Below the
#edit these line you find three variables;
inadr,
inpath and
outpath. Edit these to represent the address, incoming filepath and the output folder path, respectively. Then just run the code.
why is your code so badi'm not a good programmer but i'm learnin'
is the compression format really called Ulz?Yes! You can find a string in the ISO that says
ulz decoder ver.1.05 programmed by Junichi Sakai. I don't know what the U stands for but the LZ is definitely
Lempel-Ziv. What's also interesting is that Junichi Sakai is not credited in the game at all, but
does get a credit in Klonoa 2 under "Special Thanks"
NEW ADDITIONAL QUESTIONS:
why can't i unpack data even though it's a legitimate ulz header?in the ISO, the address
0xD79A4 is a legit ulz header but NOT legit ulz data. This is the
only special exception.
ok i found another legit ulz header but still not workingDo not open the ISO itself (ever). This tool is meant to be used with files you get from inside the ISO/CD.
If you have a real CD, pop the disc in your computer and look at those files inside. that's the ones you want to look at