Hey so, I reversed these pair of archives from this game (So simplistic), and I was wondering if anyone could help me verify if these files have a compression algorithm? There's no mentioning of compressed sizes in the data entries of the index file, so I'm uncertain. I've attached samples below. Some of these files have corresponding *.TM2 images (easily convertible obviously). So if need be, I can upload some of those images as well. Any help would be appreciated!
~Anexenaumoon
Egg Mania *.RLE + *.LZ
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Egg Mania *.RLE + *.LZ
I think that only the LZ files are compressed because the RLE ones look raw.
For LZ:
For LZ:
Code: Select all
comtype lzss0
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
string NAME + ".tm2"
clog NAME OFFSET ZSIZE SIZE
-
- Posts: 119
- Joined: Sun Dec 27, 2015 10:22 pm
Re: Egg Mania *.RLE + *.LZ
Yea you were right about the *.lz files. The *.RLE's are raw image files. The format is as follows it seems:
I just don't know the encoding this image format uses. I'm not very good at images (In fact, I'm terrible at them). Luckily, developers were generous enough to leave their *.TM2 unconverted, where the raw data lines up. So, the raw images may need to be rebuilt into the *.TM2 format? Some TM2's were left by the developers and some weren't, so some images are in just raw formats instead of those TM2 files.
Code: Select all
Endian: Little
0x0 - Width of bitmap
0x4- Height of bitmap
0x8- Some sort of value
0xC- Data Start
I just don't know the encoding this image format uses. I'm not very good at images (In fact, I'm terrible at them). Luckily, developers were generous enough to leave their *.TM2 unconverted, where the raw data lines up. So, the raw images may need to be rebuilt into the *.TM2 format? Some TM2's were left by the developers and some weren't, so some images are in just raw formats instead of those TM2 files.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Egg Mania *.RLE + *.LZ
Moved in the Graphics section.