Lemmings Forums

Lemmings Boards => Level Design => Topic started by: namida on August 04, 2009, 04:56:08 AM

Title: Cheapo Level Pack File Format!
Post by: namida on August 04, 2009, 04:56:08 AM
It's quite simple, for anyone trying to extract a level.

The first four bytes are the size of the level file, including these four bytes themself but excluding everything past the last level file.
After this, each level file is stored one by one. The first four bytes of a level file is the size of the file, minus 32.
Immediately after the last level, is the name of the level pack, followed by 00.
The next two bytes are the number of levels in the pack.
Everything from there on is the adress within the file at which each level file is found.

Quite a simple one, so extracting levels is very easy. It's not encrypted in any way.
Title: Re: Cheapo Level Pack File Format!
Post by: Dullstar on August 04, 2009, 05:00:13 AM
Interesting...  Good find!   :thumbsup: