Mac version screenshots

Started by finlay, June 01, 2011, 05:36:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tsyu

In attempts to extract the Apple level (the level file itself, not the graphic) myself, I tried to extract the Levels file from the SIT file above with StuffIt 5.5, StuffIt 9.0, and another program (I think ExtractNow) and they all just leave an empty file. Am I doing something wrong, or is the SIT file damaged?

Edit: Since I can't properly extract that file (the one at the bottom of http://www.lemmingsforums.com/index.php?topic=520.msg10714#msg10714" class="bbc_link" target="_blank">this post, just below the screenshots), I would highly appreciate it if someone could properly extract it and upload the decompressed files in a more common format, like Zip or 7-Zip.

ccexplore

File extraction for Mac is tricky because they have this screwy (fine, "special") concept of multiple "forks" within a file.  Basically (this is a bit of a simplification) the Mac think of a file as capable of having multiple streams ("forks") of data, rather than just one single stream of bytes.  In particular, many of the Mac Lemmings game files store the majority of "interesting things" (eg. graphics, sound, etc.) in the resource forks of the files.

If your extraction program doesn't have an option to extract all forks, you can end up with just the data forks of the files, which for many Mac Lemmings game files is empty (ie. everything of interest stored in the resource fork instead).  This is done probably because there is a predefined structure to data in the resource fork of a Mac file.

Anyway, I would still think that StuffIt should be Mac-aware enough to have an option for you to extract both data and resource forks, but even after doing that it will probably take you a separate program to parse the resource forks extracted.

I have actually done a bunch of that programming work a long time ago with the help of documentation scrounged from the web and from a colleague that still has really old Mac programming books.  And as earlier parts of this thread attested, I did the extraction work on the Apple level, so I guess I can pass that onto you.  But be disappointed--because it is a special graphics file, the level file itself will not contain any terrain, it will just have the entrance and exit.  The terrain is all in the graphics.

Tsyu

http://www.lemmingsforums.com/index.php?topic=520.msg14281#msg14281">Quote from: ccexplore on 2012-07-24 14:41:54
File extraction for Mac is tricky because they have this screwy (fine, "special") concept of multiple "forks" within a file.  Basically (this is a bit of a simplification) the Mac think of a file as capable of having multiple streams ("forks") of data, rather than just one single stream of bytes.  In particular, many of the Mac Lemmings game files store the majority of "interesting things" (eg. graphics, sound, etc.) in the resource forks of the files.

If your extraction program doesn't have an option to extract all forks, you can end up with just the data forks of the files, which for many Mac Lemmings game files is empty (ie. everything of interest stored in the resource fork instead).  This is done probably because there is a predefined structure to data in the resource fork of a Mac file.

Anyway, I would still think that StuffIt should be Mac-aware enough to have an option for you to extract both data and resource forks, but even after doing that it will probably take you a separate program to parse the resource forks extracted.

I have actually done a bunch of that programming work a long time ago with the help of documentation scrounged from the web and from a colleague that still has really old Mac programming books.  And as earlier parts of this thread attested, I did the extraction work on the Apple level, so I guess I can pass that onto you.  But be disappointed--because it is a special graphics file, the level file itself will not contain any terrain, it will just have the entrance and exit.  The terrain is all in the graphics.

Thanks for your info! Yes, it turns out that StuffIt 9.0 for Windows is indeed capable of extracting the resource forks as NTFS file streams, but it does not extract them at all by default.

Anyway, here is the level file. Note that the level uses 0x66 for the special graphic index, so it will need to be changed for DOS Lemmings.

Another question: How does Mac Lemmings determine which 2x2 pixel areas are solid ground? I'm asking because I'm willing to make a vgaspecX file from the graphic that you extracted.

ccexplore

Another question: How does Mac Lemmings determine which 2x2 pixel areas are solid ground? I'm asking because I'm willing to make a vgaspecX file from the graphic that you extracted.

I need to go back to my notes to confirm, but for each 2x2 area, if at least 2* of the 4 pixels are terrain, then the 2x2 area is solid, otherwise it isn't.

*I forgot whether it is 2 or 3.

ccexplore

http://www.lemmingsforums.com/index.php?topic=520.msg14286#msg14286">Quote from: ccexplore on 2012-07-24 16:45:50
*I forgot whether it is 2 or 3.

My notes say 2. 2-4 pixels of terrain will put the whole 2x2 block as solid.

Then again, we're talking about the "you-win-doing-nothing" Apple level.  You could probably make the solid/empty choices randomly to all the nonempty 2x2 blocks and still wind up with a more interesting level, haha. http://www.lemmingsforums.com/Smileys/lemmings/winktounge.gif" alt=";P" title="Wink-Tongue" class="smiley" />

Tsyu

OK, here it is, ready to be played in Custom Lemmings. Feel free to upload it to to Level Database.

Clam

For Lemmix users, the above file should work with the following addition to the LemmixStyles.ini file:

Code: [Select]
[DosOrig_9]
GraphicSetClass=TBaseDosGraphicSet
BrickColor=4293980256
GraphicExtFile=VGASPEC6.DAT
GraphicFile=VGAGR3.DAT
GraphicSetArchive=
GraphicSetId=0
GraphicSetIdExt=7
GraphicSetName=Apple
MetaInfoFile=GROUND3O.DAT


This caught my eye while I searching for stuff on the level, since it was mentioned over here.

Ron_Stard

I can't manage to play The Apple Computer Level on Lemmini. Can anybody help me?

Tsyu

http://www.lemmingsforums.com/index.php?topic=520.msg20532#msg20532">Quote from: Ron_Stard on 2014-05-27 14:10:25
I can't manage to play The Apple Computer Level on Lemmini. Can anybody help me?
This level is included in SuperLemmini; you can find it at Level -> Select Level -> Lemmings -> Bonus -> The Apple Computer Level. (If you're still having problems with sound stuttering, please follow the instructions in http://www.lemmingsforums.com/index.php?topic=999.msg20498#msg20498" class="bbc_link" target="_blank">this post if you haven't done so already.)

Ron_Stard

http://www.lemmingsforums.com/index.php?topic=520.msg20532#msg20532">Quote from: Ron_Stard on 2014-05-27 14:10:25
I can't manage to play The Apple Computer Level on Lemmini. Can anybody help me?
This level is included in SuperLemmini; you can find it at Level -> Select Level -> Lemmings -> Bonus -> The Apple Computer Level. (If you're still having problems with sound stuttering, please follow the instructions in http://www.lemmingsforums.com/index.php?topic=999.msg20498#msg20498" class="bbc_link" target="_blank">this post if you haven't done so already.)

Thanks, the problems regarding sound solved after downloading the newest versions of SuperLemmini  http://www.lemmingsforums.com/Smileys/lemmings/thumbsup.gif" alt=":thumbsup:" title="Thumbs Up" class="smiley" /> .