Author Topic: Lemmings 2 extracted graphics data  (Read 1668 times)

0 Members and 1 Guest are viewing this topic.

Offline geoo

  • Administrator
  • Posts: 1475
    • View Profile
Lemmings 2 extracted graphics data
« on: March 23, 2010, 03:27:17 PM »
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/ )

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
Extracted images: http://geoo.digibase.ca/lemmings/l2ss.7z
Code: http://geoo.digibase.ca/lemmings/l2ss.cpp

Bitmap:
Documentation: http://geoo.digibase.ca/lemmings/l2bitmap.txt
Extracted images: http://geoo.digibase.ca/lemmings/l2bitmap.7z
Code: 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! :thumbsup: ).

Styles:
Documentation: http://geoo.digibase.ca/lemmings/l2gfx.txt
Extracted images: http://geoo.digibase.ca/lemmings/l2gfx.7z

Offline Mindless

  • Posts: 719
  • Inactive - may respond to PM.
    • View Profile
Re: Lemmings 2 extracted graphics data
« Reply #1 on: March 24, 2010, 05:32:37 AM »
@Mindless: if you consider them of enough significance, you can put them on the File Archive if you want.
Up they go. :)

Online Simon

  • Administrator
  • Posts: 3876
    • View Profile
    • Lix
Re: Lemmings 2 extracted graphics data
« Reply #2 on: March 29, 2010, 12:21:42 AM »
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