Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Egg Mania *.RLE *.LZ

Featured Replies

  • Author
  • Localization

Anexenaumoon, posted Wed Jun 07, 2017 1:58 am (23890)


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

  • Author
  • Localization

aluigi, posted Wed Jun 07, 2017 7:05 am (23892)


I think that only the LZ files are compressed because the RLE ones look raw.
For LZ:
Code:
comtype lzss0
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
string NAME ".tm2"
clog NAME OFFSET ZSIZE SIZE
  • Author
  • Localization

Anexenaumoon, posted Sun Jun 11, 2017 3:14 pm (24038)


Yea you were right about the *.lz files. The *.RLE's are raw image files. The format is as follows it seems:
Code:
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.
  • Author
  • Localization

aluigi, posted Sun Jun 11, 2017 8:29 pm (24047)


Moved in the Graphics section.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.