Author Topic: How to play Lemmings 2 in DOSBox  (Read 10913 times)

0 Members and 1 Guest are viewing this topic.

Offline kieranmillar

  • Posts: 228
    • View Profile
How to play Lemmings 2 in DOSBox
« on: May 02, 2017, 09:00:06 pm »
I told a friend how to set up Lemmings 2, I'll repost it here.

1. Grab the DOS version here: http://www.camanis.net/lemmings/lemmings2.php

2. Extract the zip file somewhere, e.g., to:
C:/dosgames/
You should now have a folder:
C:/dosgames/Lemm2/

3. Get DosBox here, presumably you want Windows but all sorts of operating systems are supported: http://www.dosbox.com/download.php?main=1

4. Install DosBox.

5. In your Start menu, you should go to DosBox and look for the Options, specifically “DosBox 0.74 Options”. This is a text file where you set the various options.

6. In the options file you’re looking for 3 options:
  • Render options, scaler=normal2x. Can change this to normal3x if the game is a bit too small on your screen for your liking.
  • Cpu options, cycles. Not sure what the default is here, but I’d recommend 10000, which keeps the loading times low without dedicating too much unnecessary processing power to running a 25-year old game.
  • Autoexec options. This is right at the very bottom of the file. Add in the following 3 lines; replace c:/dosgames/Lemm2 with the exact path where you extracted Lemmings 2 onto your machine:

    mount c c:/dosgames/Lemm2
    c:
    l2-fix
(This autoexec assumes you only want to play Lemmings 2, never anything else. See Simon's reply #2 below for configuring Dosbox to play other games.)

7. Run Dosbox and Lemmings 2 should boot straight up. You’ll need to press Enter at the screen at the start that says who cracked the game :p

8. Check if there is any sound and music playing. If not, press Exit on the main menu, then at the DOS prompt you’ll be at, type “install”. Then in there choose “Soundblaster” as your soundcard and accept the default of everything else. Try the game again by typing “l2-fix

9. If it’s all working, you can close DosBox by typing “exit” at the DOS prompt, by pressing Ctrl+F9, or by freeing your mouse from being locked inside the window by Alt-Tabbing out and then just closing the window.

10. In the menu options inside Lemmings 2 you'll find "Cheat Mode" which is essentially level select, might help if you get stuck. (Cheat Mode appears because you ran l2-fix and not l2.)
« Last Edit: September 19, 2020, 02:55:13 am by Simon »

Offline mobius

  • Posts: 2441
  • relax.
    • View Profile
Re: DOSBox: How to play Lemmings 2
« Reply #1 on: May 03, 2017, 02:02:08 am »
I told a friend how to set up Lemmings 2, I'll repost it here in case it helps someone out who's looking to install it to play this pack.
[...]

This should be put into a new thread in the HELP topic and stickied.
« Last Edit: May 03, 2017, 07:57:08 am by Simon »
"All things are empty... Whoever can see this no longer needs anything to attain."
-The Heart Sutra

"Yeah, well, that's just, like, your opinion, man"
-the Dude


Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #2 on: May 03, 2017, 08:23:45 am »
Moved to own topic, linked from Quest From Kieran 2.

Excellent and concise, thanks! :lix-grin:

My only :lix-unsure: would be that it plays Lemmings 2 every time you run DOSBox. Maybe that's even good: We're trying to help who has never used DOSBox. Your solution bypasses DOSBox's command prompt entirely, that can be a good idea at first.

Configuring DOSBox for multiple games: I assume you have all your DOS games in c:\games, e.g., as c:\games\lem2, c:\games\mygame, ... We no longer want to run a single game in autoexec. Instead, we mount the directory of games:
  • Either remove all 3 autoexec lines, replace with
    mount c c:\games
  • Or remove all 3 autoexec lines, and give DOSBox the games directory as a command-line parameter. You can right-click on the Windows shortcut to DOSBox and configure its command:
    your\path\to\dosbox.exe "c:\games"
Run DOSBox, then type:
cd lem2
l2-fix


DOSBox too loud?
mixer master 20:20
Type this at the DOSBox prompt to adjust volume, or add this line to DOSBox's autoexec. Explanation

Lemmings 2 looks for C:\L2: I ran into this quirk when maintaining several copies of Lemmings 2, one with the default levels, one with user levels. Whenever you mount Lemmings 2 in DOSBox such that the game believes there is a directory C:\L2, it will read files from there instead of from its own directory. All your different installations would load the same levels, that's not what we want. Solution: Maintain multiple installations of Lemmings 2 as c:\games\l2dma, c:\games\l2qfk, ..., then none of them will be mounted as C:\L2 once you mount c:\games to C: in DOSBox.

-- Simon
« Last Edit: May 03, 2017, 08:59:00 am by Simon »

Offline mobius

  • Posts: 2441
  • relax.
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #3 on: May 06, 2017, 01:30:44 pm »
I've recently found this VERY helpful program to make installing/running DOSBox games easier; If you're frustrated with DOX Box's unintuitiveness and non-user friendliness; this program will let you run it with ease! [And skip all of that typing Z:/ C;/ expletive]

http://members.quicknet.nl/blankendaalr/dbgl/

it's a front end for DOS box; you need regular DOS box first to use this, then download this program and follow the directions. I recommend you read as much info and instructions on how to use DOS Box anyway.

Once it's installed
-First under the profiles tab, click add profile
-On the info tab; enter a nickname for your game under the "title" form
-There are lots of options; if you want it quick and simple all you need to worry about is the last "mounting" tab. In the lower pannel; ignore "Booter" go to "DOS"> Main, click browse. Find the exe (or run.bat) of your game.
-press okay and your profile should appear in the list under it's title. Now click "Run Profile" and the game should begin! IMPORTANT: often on the DOS prompt you need to press enter at least once during loading (before the games actually begins). And you must do this everytime you start the game [pressing enter once that is; not this whole process]

note: this program also lets you edit all kinds of options like the mixer command Simon mentions to turn the volume up or down. Click on edit profile to edit an existing game and just search under the tabs for audio and other things.

"All things are empty... Whoever can see this no longer needs anything to attain."
-The Heart Sutra

"Yeah, well, that's just, like, your opinion, man"
-the Dude


Offline toriancarconn

  • Posts: 4
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #4 on: October 26, 2018, 06:01:42 am »
Hello,

thank you, kieranmiller, very much for this input. I hope you will see this message. If you do, please respond so I know you have read this. I have been looking for a way to play Lemmings 2 on my Windows PC for a while now. I do not know much at all about the technical side of things but when I followed the steps you outlined it worked. I am so happy because before this I was playing a Lemmings 2 version that I believe had an error. I wasn't able to save games and each time needed to start all over again. Another version I tried did not let me go to the next level.

Now this works. I thank you for your help. My son, he is six, really likes this game, and now I can play it again with him together. Ah, nostalgia, what wonderful memories I have about discovering all of these wonderful C64 and Amiga games!

Kind regards,
Torian

P.S. Thank you, @mobius and @Simon, too.


I told a friend how to set up Lemmings 2, I'll repost it here.

1. Grab the DOS version here: http://www.camanis.net/lemmings/lemmings2.php

2. Extract the zip file somewhere. E.g. C:/games/lem2

3. Get DosBox here, presumably you want Windows but all sorts of operating systems are supported: http://www.dosbox.com/download.php?main=1

4. Install DosBox.

5. In your Start menu, you should go to DosBox and look for the Options, specifically “DosBox 0.74 Options”. This is a text file where you set the various options.

6. In the options file you’re looking for 3 options:
  • Render options, scaler=normal2x. Can change this to normal3x if the game is a bit too small on your screen for your liking.
  • Cpu options, cycles. Not sure what the default is here, but I’d recommend 10000, which keeps the loading times low without dedicating too much unnecessary processing power to running a 25-year old game.
  • Autoexec options. This is right at the very bottom of the file, and you’ll want to add in the following 3 lines (substituting the path you extracted Lemmings 2 onto your machine):

    mount c c:/games/lem2
    c:
    l2-fix
(This autoexec assumes you only want to play Lemmings 2, never anything else.)

7. Run Dosbox and Lemmings 2 should boot straight up. You’ll need to press Enter at the screen at the start that says who cracked the game :p

8. Check if there is any sound and music playing. If not, press Exit on the main menu, then at the DOS prompt you’ll be at, type “install”. Then in there choose “Soundblaster” as your soundcard and accept the default of everything else. Try the game again by typing “l2-fix

9. If it’s all working, you can close DosBox by typing “exit” at the DOS prompt, by pressing Alt+F9, or by freeing your mouse from being locked inside the window by Alt-Tabbing out and then just closing the window.

10. In the menu options inside Lemmings 2 you'll find "Cheat Mode" which is essentially level select, might help if you get stuck. (Cheat Mode appears because you ran l2-fix and not l2.)
« Last Edit: October 26, 2018, 06:13:10 am by toriancarconn »

Offline kieranmillar

  • Posts: 228
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #5 on: October 26, 2018, 08:48:55 am »
Hi Torian,

Great to hear it helped you. I also had problems getting Lemmings 2 to work for well over a decade, with similar problems to what you describe, until the combination of DOS Box and L2-fix came about.

Offline toriancarconn

  • Posts: 4
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #6 on: October 26, 2018, 10:09:04 am »
Awesome :)

Earlier today I have told my son that I have found a solution for saving the game which means we do not need to start all over again each time we play it. He was ecstatic.

I tried the option to increase the size of the window in which I am playing the game but for some reason it is not increasing. Any option to use the full screen for playing the game? In case playing it full screen leads to the resolution being too low I would at least like to increase it somewhat. Right now I would say the game window uses a third of the height of my monitor and about half of its breadth. A bit too small.

While increasing the size of the game window there does not exist any option to keep the same resolution I guess, right?




Offline kieranmillar

  • Posts: 228
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #7 on: October 26, 2018, 10:22:19 am »
You will need to play around with the render options inside DOS Box. In the guide I mention how you can change it from 2x zoom to 3x zoom, see what other options exist and have a play around.

Offline toriancarconn

  • Posts: 4
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #8 on: October 27, 2018, 09:28:51 am »
got it, thanx

Offline toriancarconn

  • Posts: 4
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #9 on: December 24, 2019, 10:20:59 am »
Hi,

since I've installed Win 10 I now want to reinstall Lemmings 2. I remember the window of the game was much bigger about a year ago when I last played it. I've followed your instructions and changed the scaler to normal3x but the window is still far too small to enjoy the game. I can't remember how I made it substantially bigger the last time. I realise that one cannot choose normal 4x or bigger. Is there any other way to increase the window? I've played around with all the possible values but didn't get a good result.

I'd appreciate your help.

got it, thanx

Offline ccexplore

  • Administrator
  • Posts: 5319
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #10 on: December 24, 2019, 11:37:05 am »
https://www.dosbox.com/wiki/Dosbox.conf has details on all the options available.

Looking through it, under section [sdl] there is a "windowresolution" setting that allows you to explicitly set the size of the window (when playing in windowed mode), but to make it work you apparently also have to set the "output" setting in same section to a value other than "surface" (the default).  Based on further reading, "overlay" or "ddraw" are recommended to try for "output".

DOS games expect a 4:3 screen so for windowresolution, try an integer multiple of 320x240.  You may also need to play around with the scaler setting as well and see whether screen looks better to you with 2x/3x/normal--with the window size explicitly set, the scaler setting won't actually change the window size anymore, but may affect clarity of displayed content after it's stretched to fit the window size.

Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #11 on: December 24, 2019, 02:34:02 pm »
output=overlay
windowresolution=1280x960


Not all output methods support bigger windows. Nastily, the default output=surface does not allow bigger windows, and then windowresolution would be ignored without error or warning. output=overlay supports bigger windows. This windowresolution=1280x960 is already 4x but you can increase it further.

-- Simon

Offline chrisleec728

  • Posts: 64
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #12 on: September 17, 2020, 11:02:37 pm »
"Illegal command: l2-fix."

Online ericderkovits

  • Posts: 563
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #13 on: September 18, 2020, 12:01:45 am »
I have all the dosbox games for lemmings. Everything is setup. It uses the PLAYNOW to start the game. Never have to do anything.

Here's the list of one's I have:

Lemmings.
Oh no more Lemmings
Xmas 91 Lemmings
Xmas 92 Lemmings
Holiday 93 Lemmings
Holiday 94 Lemmings
Covox Lemmings
Prima Publishing Lemmings (AKA Companion disk)
Lemmings The Tribes (AKA Lemmings 2)
Lemmings Chronicles (AKA All New World of Lemmings, or Lemmings 3)
 

To play any of these Just have to click on Play Now (Never have to worry about setting up anything)
and lemming2 I can play more than 1 level as it uses the l2-fix
and the original lemmings dosbox uses the lem-fix 3 option for correcting the music

I also have the demo versions of these too

I setup all these ones a few months ago.

If anybody wants any of these, I can P.M. any to you, If you're having problems setting any up.



« Last Edit: September 18, 2020, 12:35:57 am by ericderkovits »

Online ericderkovits

  • Posts: 563
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #14 on: September 18, 2020, 12:05:42 am »
also I have 3D lemmings and 3D Winter Wonderland demo setup for doxbox using the 3dutils. All I have to do is start the 3dutils and hit run L3D.

I set these also up a few months ago. These two are more than 32.7MB so I won't be able to P.M. these 2 to anybody.

I do have both the 8 level and 10 level demo versions of 3D lemmings also. These 2 are smaller so I can P.M. these 2.
« Last Edit: September 18, 2020, 12:16:44 am by ericderkovits »

Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #15 on: September 18, 2020, 06:33:05 am »
"Illegal command: l2-fix."

Put the attached L2-FIX.COM into the Lemmings 2 folder (that also contains L2.EXE).

-- Simon

Offline chrisleec728

  • Posts: 64
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #16 on: September 18, 2020, 12:47:44 pm »
The folder appears to already contain a file (MS-DOS application) called "L2-FIX.COM".

Offline chrisleec728

  • Posts: 64
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #17 on: September 18, 2020, 02:07:19 pm »
Also, ericderkovits, Lemmings 2 & 3 are the only ones I'm concerned about because conversions of all of the other games can easily be downloaded directly from the NeoLemmix website (and then of course there's Lemmings Redux). I don't know whether Lemmings 2 & 3 will somehow eventually be converted to NeoLemmix in the probably distant future.

Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #18 on: September 18, 2020, 08:40:45 pm »
The folder appears to already contain a file (MS-DOS application) called "L2-FIX.COM".

That's good. Now we need more information:
  • Does Dosbox print any errors before "illegal command"? E.g., did the mount fail?
  • Where exactly does L2 sit on your harddisk?
  • What folder is mounted when Dosbox starts? If you followed Kieran's instructions, you can show what you wrote into the options text file.
-- Simon

Offline chrisleec728

  • Posts: 64
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #19 on: September 18, 2020, 10:27:04 pm »
Well first of all I think I've gotten this to work before (except the sound wasn't working for whatever reason) but unfortunately I can't remember how. Anyways, assuming I understand your questions correctly:

1. It doesn't look like it.
2. Well I keep it in my "Downloads" folder (which I think is where it was last time as well).
3. Well I mounted it as drive C. I don't know if this helps but the bottom of the text file looks like this (with a single space before it):

mount c C:\Users\Chris\Downloads\lemmings_2_dos
c:
l2-fix

Offline namida

  • Administrator
  • Posts: 10992
    • View Profile
    • NeoLemmix Website
Re: How to play Lemmings 2 in DOSBox
« Reply #20 on: September 18, 2020, 10:48:07 pm »
Also, ericderkovits, Lemmings 2 & 3 are the only ones I'm concerned about because conversions of all of the other games can easily be downloaded directly from the NeoLemmix website (and then of course there's Lemmings Redux). I don't know whether Lemmings 2 & 3 will somehow eventually be converted to NeoLemmix in the probably distant future.

There's also Lemmings 3D, don't forget.

Anyway - no, L2, L3 and L3D will never be ported (at least, not without significant differences) to NL, because there's no intention of supporting L2's skills or L3's unique mechanics (or L3D's 3D-ness, but that one was obvious).

Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #21 on: September 19, 2020, 12:35:06 am »
1. It doesn't look like it.

I assume the mount succeeds, then, and Dosbox prints something like:
Drive C is mounted as local directory C:\Users\Chris\Downloads\lemmings_2_dos

Quote
3. Well I mounted it as drive C. I don't know if this helps but the bottom of the text file looks like this (with a single space before it):

mount c C:\Users\Chris\Downloads\lemmings_2_dos
c:
l2-fix

This looks fine.

Quote
2. Well I keep it in my "Downloads" folder (which I think is where it was last time as well).

Does lemmings_2_dos not contain L2.EXE and L2-FIX.COM, but instead contains another folder that contains L2.EXE and L2-FIX.COM? Then edit the mount line in the Dosbox config and add the inner folder.

Or does lemmings_2_dos directly contain L2.EXE and L2-FIX.COM? Then it's possible that Downloads, a special Windows folder, messes with Dosbox's path resolution. Move the Lemmings 2 folder out of any special folder. For example, create a new folder C:\dosgames\, move the Lemmings 2 folder inside, and change the Dosbox config to:
mount c C:\dosgames\lemmings_2_dos
 
-- Simon

Offline chrisleec728

  • Posts: 64
    • View Profile
Re: How to play Lemmings 2 in DOSBox
« Reply #22 on: September 19, 2020, 02:13:16 am »
It was the former; it contained another folder named "Lemm2". I then did what you said accordingly and that did the trick (though oddly I don't remember having to do either that or pressing Enter to get the game to actually start before). Then after that my sound wasn't working (same as before) so I followed the earlier instructions to fix that and it looks like it's all good now. Thanks!

Online Simon

  • Administrator
  • Posts: 2962
    • View Profile
    • Lix
Re: How to play Lemmings 2 in DOSBox
« Reply #23 on: September 19, 2020, 02:51:23 am »
All right, cool, thanks for the feedback!

I've clarified Kieran's original post to avoid the problem with the extra inner directory.

-- Simon