VOGONS


Discworld 2 in XP using DosBox

Topic actions

First post, by Darth Marsden

User metadata
Rank Newbie
Rank
Newbie

Hi there. I've seen people having trouble getting Discworld II working in Windows XP, and having had a bit of search through the forums I didn't really find a definitive solution, so I thought it'd be nice if I told people how I got it working using DosBox.

What you'll need:

- A version of DosBox. Preferably the latest version, since we're going to be using a command which isn't in the earlier versions.
- The original Discworld 2 CDs. I own these, and so should you!
- An image ripping tool. I personally use ImgBurn, which you can get here.
- About 1.2 GBs of hard disk space.

First of all, you'll need to 'install' Discworld II. Since this is tricky enough as is, all we're actually going to do is copy a bunch of files from either of the CDs. Create a folder on your hard drive (I personally use C:\Discworld\Discworld II\, but anywhere's fine), and copy over the following files into that folder:

- AILDRVR.LST
- DOSCONF
- DW2.BAT
- DWB.EXE
- RM.DRV
- SBLASTER.DIG
- SETSOUND.EXE

Once you've done that, run SETSOUND.EXE. If you 'Select and Configure Digital Audio Driver', you'll find there's only one option, so select it and let the system autodetect the settings. Once it's done so, select 'Done' to save and quit. A file called DIG.INI should now be in your main DW2 directory.

Next, we need to rip those original CDs. We're going to make .bin files out of them, so do so now. If you've got ImgBurn, then it's a simple matter of setting the mode to 'Read' and then selecting where to create the ISO file. Save both discs, in turn, as Disc1.bin and Disc2.bin.

One you've made the two .bin files, create a subfolder called 'CD' in your main DW2 directory (In my case, that'd be C:\Discworld\Discworld II\CD\) and place both .bin files in there.

Now we need to install DosBox into your DW2 directory. We only really need a few files, so if you've already got DosBox installed elsewhere, you can just copy the following across into our main folder:

- dosbox.conf
- dosbox.exe
- SDL.dll
- SDL_net.dll

Once you've got that all set up, open dosbox.conf in something like notepad. Delete everything inside, and replace it with the following:

[sdl] fullscreen=true […]
Show full quote

[sdl]
fullscreen=true

[autoexec]
mount C "."
imgmount D ".\CD\Disc1.bin" ".\CD\Disc2.bin" -t iso
C:
call DW2.BAT
exit

Save and quit. Now run dosbox.exe, and Discworld 2 should now run. Whenever you get to a 'Please insert CD X now' screen, just press Ctrl-F4 and wait about 10 seconds. And since that's so important, I'll repeat it in bold and capital letters.

EVERY TIME YOU ARE PROMPTED TO CHANGE THE CD, PRESS CTRL-F4 AND WAIT.

...and that should be it. It took me a good deal of time to figure out how to get this working, but I've played and completed the game using this method and I've had no problems with it so far. Hope this helps out those who are still struggling to get this fine game working.

EDIT 4/1/09: Following a reformat, I've had to use this guide again myself. Re-reading it, I figured it could do with a little editing, so I replaced UltraISO with ImgBurn (which I've been meaning to do for a while), tidied up the text a little and changed the title of the thread from 'Discworld II' to 'Discworld 2' to make it easier to find when being Google'd. Nothing major, just a little tweak here and there.

Last edited by Darth Marsden on 2009-01-04, 18:23. Edited 5 times in total.

Reply 1 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Nice guide Darth Marsden 😀 One small change:

You don't need to copy the DOSBox files to the DW2. The only file that you really need to copy somewhere is your game-specific dosbox.conf file with the mounting and call instructions, and then make sure that you start DOSBox with something like

dosbox.exe -conf \path\to\DW2\dosbox.conf

And - you don't need to make it a complete configuration file. You can reduce it to just the changes from the default dosbox.conf. In your example, it should suffice to create a small dosbox.conf with just these lines:

[sdl]
fullscreen=true

[autoexec]
mount C "."
imgmount D ".\CD\Disc1.bin" ".\CD\Disc2.bin" -t iso
C:
call DW2.BAT
exit

Using such a minimal configuration file has 2 major advantages:

1) It is easy to see what game-specific settings you have applied to DOSBox.
2) You minimize the risk of creating a configuration file with errors in it (hint: There is no section called bios any more. In 0.72 it is called joystick).

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 20, by Darth Marsden

User metadata
Rank Newbie
Rank
Newbie

Thanks for the praise.

The reason I did things the way I did was to avoid the whole kerfuffle* with shortcuts and different conf files. This way, if you should so desire, you can just make a backup of the whole directory so you can uninstall and reinstall it again at a later date without having to worry about altering shortcuts and suchforth. It's just a tad more user-friendly, I feel.

That said, I wasn't aware you could shorten the conf file. You're right though, what you mentioned really is all you need. I've edited my original post as a result. Good call.

And I was using a conf file from an older version of DosBox, which explains the [bios]. Hey, it worked. I wasn't really that bothered with which version I was using! :p

*Bet you haven't heard that word in a good long while, eh?

Reply 3 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

DOSBox has more tricks up its sleeve if you want to avoid messing with shortcuts and still have an easy way to backup the game:

Create a small BAT-file (let us call it AUTORUN.BAT) and put it in the DW2 folder. Create it with the following lines (stolen from your dosbox.conf):

config -set sdl fullscreen=true

imgmount D ".\CD\Disc1.bin" ".\CD\Disc2.bin" -t iso
C:
call DW2.BAT
exit

Remove the dosbox.conf file, and drag AUTORUN.BAT onto the DOSBox icon on your desktop 😀

Last edited by MiniMax on 2007-10-15, 15:34. Edited 1 time in total.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 5 of 20, by stonegolem13

User metadata
Rank Newbie
Rank
Newbie

Thanks for this, currently in the process of trying it out...will inform of results as they come in. I've needed to play this game for a long time now 😎

EDIT: YES...IT'S WORKING!!! I can't thank you enough 😁

Thought I'd add a bit of help to vista users:-
If you're doing this in the "Program Files" directory you need to run SETSOUND.EXE, ImgBurn and notepad (to change dosbox.conf) as an administrator or else vista won't let you save any of the files so nothing will happen when you do this.

Reply 6 of 20, by tsampikos

User metadata
Rank Newbie
Rank
Newbie

This is a nice guide.The biggest problem with this game was to make it run directly via Windows XP using VDMSound.The recomended solutions do not work with all computers, because of the direkt access to the graphic cards and more stuff of the new systems.The bigest problem are the vesa drivers.The game runs fine with DOSBox, i played it too using DOSBox.

One more tip: For optimal speed and game playability set the core and the cycles to "auto".

Reply 7 of 20, by David999999

User metadata
Rank Newbie
Rank
Newbie

I'm having some problems with the conf file. I can't edit it. If I try to double click it, I get the error message "the system cannot find the path specified" and I can't go to notepad and open it there either, so I'm kinda stuck here.

Can anyone help?

Reply 8 of 20, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

It should be in (XP):
c:\Documents and Settings\yourusername\Local Settings\Application Data\Dosbox\
or (Vista)
c:\users\yourusername\Local Settings\Application Data\Dosbox\

Or just search for a file: dosbox*.conf

Reply 9 of 20, by David999999

User metadata
Rank Newbie
Rank
Newbie

Well I found it but I still can't open it to edit it. I don't think I need to now though, I'm doing MiniMax's method of the bat file and it works about the same I think.

Now I'm just having more problems. If I run DOSBox with the Autorun.bat with the commands DarthMarsden said to put in, it goes through a bunch of things and exits and nothing happens and Discworld 2 doesn't do anything.

If I take exit out from the command line, to see what happened. It goes through the same things and says "Discworld cannot find the Discworld CD, and it also says something about it not being able to find the image file either, and I know it's there cuz I put it right where DM said to put it.

I managed to load the first image file by typing in the exact file path where it was. I tried going to my C drive and opening dw2.bat but it still said "insert cd1"

When I load it through my F drive, Univbe decides to test my video modules and I have to turn my monitor off while it does it, afterwards, Discworld 2 is playing the opening credits but there's no sound and it still has the "insert cd1" thing.

And I can't load both bin files at the same time with the command DM put up, it says "the image must be on a host or local drive"

I know I'm doing something wrong, I have to be, I've tried at least two other methods, and they've all failed. Ripa can you keep helping me, or someone else? I've been at this for almost five days, and the "insert cd1" and "discworld cannot locate the discworld cd" is starting to drive me mad. And what's worse is I've gotten Discworld 2 to work before, I'm not sure if it was on this computer or my last one but I remember all I had to do was find out the command line to mount the cdrom and navigate to it.

So anyway, can someone help me?

Reply 18 of 20, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Then you haven't followed the instructions! Nothing should be in C:\Discworld except for the DW2 folder. When Mr. Marsden says "our main folder", he means the directory that contains the CD folder.

Reply 19 of 20, by David999999

User metadata
Rank Newbie
Rank
Newbie

Ok I put all the files in the dw2 folder and ran the command DM said to run. It found the image files this time and mounted them, but it still says insert cd1. 😕

And sorry for being a bit vague and slow with all this, Jorpho. I'm not that good with computer stuff. Thanks for helping me 😀