## Discworld 2 in XP using DosBox

Having problems with a specific game or application? Post your problems here!

### Discworld 2 in XP using DosBox

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

[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-1-04 @ 18:23, edited 5 times in total.

Darth Marsden
Newbie

Posts: 5
Joined: 2007-10-15 @ 09:19
Location: South Coast of England

### Re: Discworld II in XP using DosBox

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:
Code: Select all
[sdl]fullscreen=true [autoexec]mount C "."imgmount D ".\CD\Disc1.bin" ".\CD\Disc2.bin" -t isoC:call DW2.BATexit

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 0.73 ReadMe | DOSBox Wiki | 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 | Win 10 Pro

MiniMax
Moderator

Posts: 5128
Joined: 2004-1-18 @ 04:15
Location: Stockholm, Sweden, Europe, Earth Interests: Old games & young women

### Re: Discworld II in XP using DosBox

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?

Darth Marsden
Newbie

Posts: 5
Joined: 2007-10-15 @ 09:19
Location: South Coast of England

### Re: Discworld II in XP using DosBox

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):

Code: Select all
config -set sdl fullscreen=trueimgmount D ".\CD\Disc1.bin" ".\CD\Disc2.bin" -t isoC:call DW2.BATexit

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 0.73 ReadMe | DOSBox Wiki | 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 | Win 10 Pro

MiniMax
Moderator

Posts: 5128
Joined: 2004-1-18 @ 04:15
Location: Stockholm, Sweden, Europe, Earth Interests: Old games & young women

### Re: Discworld II in XP using DosBox

Now be honest... you're purposely trying to make things more complicated then they need to be, aren't you?

Darth Marsden
Newbie

Posts: 5
Joined: 2007-10-15 @ 09:19
Location: South Coast of England

### Re: Discworld 2 in XP using DosBox

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.
stonegolem13
Newbie

Posts: 1
Joined: 2009-5-15 @ 20:23

### Re: Discworld 2 in XP using DosBox

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".

tsampikos
Newbie

Posts: 58
Joined: 2008-4-29 @ 08:53

### Re: Discworld 2 in XP using DosBox

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?
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

It should be in (XP):
or (Vista)

Or just search for a file: dosbox*.conf
ripa
Oldbie

Posts: 546
Joined: 2005-4-18 @ 00:53
Location: Finland

### Re: Discworld 2 in XP using DosBox

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?
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

David999999 wrote:and I know it's there cuz I put it right where DM said to put it.
So you've put them in C:\Discworld\Discworld II ?

Jorpho
l33t++

Posts: 7043
Joined: 2003-2-14 @ 19:50

### Re: Discworld 2 in XP using DosBox

Well not exactly where, my path is:

C:\Discworld\DW2\CD
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

Did you put dosbox.exe and so on into C:\Discworld\DW2\CD or C:\Discworld\DW2 ?

Jorpho
l33t++

Posts: 7043
Joined: 2003-2-14 @ 19:50

### Re: Discworld 2 in XP using DosBox

Yeah I put in everything he said to put in. The AILDRVR, DW2.BAT, DWB.EXE, RM.DRV, SETSOUND, SBLASTER and DOSBox. conf (even though I can't use it) are all there.
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

My question was whether you put dosbox.exe there. Or is this something else that's "not exactly" ?

Jorpho
l33t++

Posts: 7043
Joined: 2003-2-14 @ 19:50

### Re: Discworld 2 in XP using DosBox

Oh sorry, I misunderstood what you meant. Yeah DOSBox.exe is in the same folder.
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

Yes, but which folder? C:\Discworld\DW2\CD or C:\Discworld\DW2 ?

Jorpho
l33t++

Posts: 7043
Joined: 2003-2-14 @ 19:50

### Re: Discworld 2 in XP using DosBox

It's in C:\Discworld
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

### Re: Discworld 2 in XP using DosBox

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.

Jorpho
l33t++

Posts: 7043
Joined: 2003-2-14 @ 19:50

### Re: Discworld 2 in XP using DosBox

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
David999999
Newbie

Posts: 7
Joined: 2009-8-16 @ 05:20

Next