Author Topic: Cheapo Level Pack File Format!  (Read 1561 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12403
    • View Profile
    • NeoLemmix Website
Cheapo Level Pack File Format!
« 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.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Dullstar

  • Posts: 2092
    • View Profile
    • Leafwing Studios Website (EXTREMELY OUTDATED)
Re: Cheapo Level Pack File Format!
« Reply #1 on: August 04, 2009, 05:00:13 AM »
Interesting...  Good find!   :thumbsup: