Skip to content

Compressed offset list archive

ProgSys edited this page Jul 7, 2016 · 7 revisions

A compressed offset list archive stores multiple [IMY] (IMY) files, each of them holds the exact same amount of bytes if decompressed, except the last one. Note, one [IMY] (IMY) file doesn't equal one decompressed file, but multiple [IMY] (IMY) files (it can be several hundreds) make one file, or even serveral.

The archive is very simmilar build as the normal [offset list archive] (Offset list archive), it literally just has one extra value for the amount of bytes a [IMY] (IMY) file holds if decompressed.

File Manager Decompress

To decompress a file in the File Maneder, just right click a file with a compress icon (icon_compress) and select 'Decompress'. Note, you don't need to compress the back, the game will read a uncompressed file just fine.

decompress

File structure

Type Size Description
uInt 4 byte Number of files
uInt 4 byte The amount of bytes a [IMY] (IMY) file holds if decompressed
  • For each file:
Type Size Description
uInt 4 byte Pointer to IMY (size: nextPointer-currentPointer)
  • For each file:
  • Data of each IMY, no padding in between

Clone this wiki locally