Lemmings 2 extracted graphics data

Started by geoo, March 23, 2010, 03:27:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

geoo

In the last few days I've had a look at the Lemmings 2 files to see which files contain graphics data.
Notably, all files used formats related to the formats used in the style files which I extracted earlier already. One format is a kind of bitmap format, and the other (L2SS) seems to be specialised for blitting onto other images.

I wrote programs to extract the various graphics from the files to targa format, which I converted to png later to save space. The code for these programs is available below, and should be easily compilable as no external libraries are used. You can set file and some additional required information through preprocessor symbols.

For easier viewability, the data is also avaiable in .png format; a few palettes might still be incorrect. (If you have trouble extracting from the archives, use 7zip: http://www.7-zip.org/" class="bbc_link" target="_blank">http://www.7-zip.org/ )

For more information on the individual files, see the accompanying text file.
I also documented the various derivates of the two formats in these text files; @Mindless: if you consider them of enough significance, you can put them on the File Archive if you want.

L2SS:
Documentation: http://geoo.digibase.ca/lemmings/l2ss.txt" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2ss.txt
Extracted images: http://geoo.digibase.ca/lemmings/l2ss.7z" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2ss.7z
Code: http://geoo.digibase.ca/lemmings/l2ss.cpp" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2ss.cpp

Bitmap:
Documentation: http://geoo.digibase.ca/lemmings/l2bitmap.txt" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2bitmap.txt
Extracted images: http://geoo.digibase.ca/lemmings/l2bitmap.7z" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2bitmap.7z
Code: http://geoo.digibase.ca/lemmings/l2bitmap.cpp" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2bitmap.cpp

Also updated the old documentation of the style files, correcting some mistakes, and most notably adding a lot of information which ccexplore provided on the format of the L2OB section (which in the end allowed me to put the styles into L++ (as my avatar indicates); so thanks again! http://www.lemmingsforums.com/Smileys/lemmings/thumbsup.gif" alt=":thumbsup:" title="Thumbs Up" class="smiley" /> ).

Styles:
Documentation: http://geoo.digibase.ca/lemmings/l2gfx.txt" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2gfx.txt
Extracted images: http://geoo.digibase.ca/lemmings/l2gfx.7z" class="bbc_link" target="_blank">http://geoo.digibase.ca/lemmings/l2gfx.7z

Mindless

@Mindless: if you consider them of enough significance, you can put them on the File Archive if you want.
Up they go. http://www.lemmingsforums.com/Smileys/lemmings/smiley.gif" alt=":)" title="Smiley" class="smiley" />

Simon

Good job for extracting all the graphics of the game. You put quite some brainpower into discovering the formats and presenting the results.

I've already had lots of fun browsing through the pictures.

-- Simon