PDA

View Full Version : DOSBox CD tutorial


Japo
27-08-2012, 06:22 PM
This tutorial explains an easy way to play DOS games that require a CD, as well as how to install them step by step. You must have read the basic DOSBox tutorial (http://www.abandonia.com/vbullet/showthread.php?t=17498) beforehand. Advanced users who understand the advanced DOSBox tutorial (http://www.abandonia.com/vbullet/showthread.php?t=17500) have no business here really.

There are two parts to this tutorial: <a href="#install">how to install</a> a DOS game from a CD or CD image file for the first time; and then <a href="#play">how to play</a> it. Both must be done in DOSBox. Often a DOS game can be installed from a CD so that this is no longer necessary to play, and this is preferable if possible; in that case follow this tutorial to install, but refer back to the basic tutorial to play.

We'll cover both real CDs and image files (ISOs etc. such as you can download from our ISO Cellar (http://www.abandonia.com/vbullet/forumdisplay.php?f=43)). Some parts are common to both cases and some are particular to each. As far as DOSBox, old games, and new computers go, image files are actually more handy if you need the CD to play (to install just use what you have); so even if you have a real CD, to play it may be better to make an image file out of it yourself--you can use ImgBurn (http://www.imgburn.com/index.php?act=download) for example. But you can also play with the real CD if you want, although it will be slower.

If you downloaded an image file from a link in our ISO Cellar, they're sometimes compressed into RAR, 7z or ZIP archives. First of all you need to get the disk image (which is usually an ISO file, or a pair of CUE/BIN files, the CUE one being very small) out of the archive. Most people won't have any problem extracting the content of a compressed archive, you can use archiving software such as 7-Zip (http://www.7-zip.org/). Sometimes the archives from our ISO Cellar were required to be separated in several volumes; just open the first one and the archiving software will find all the content.

<a name="install"><hr /></a><h3>Installing</h3>
First create an empty folder where you want the game to be installed.

http://i102.photobucket.com/albums/m87/japofran/tutorial/createfolder.png

<h4>- If you're using a real CD</h4>
Drag the empty folder onto the DOSBox shortcut.

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxmountfolder.png

A DOSBox window will open. Enter the following command: mount d "E:\" -t cdrom

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxmountedcd.png

Assuming your CD drive letter is E:, otherwise modify the command accordingly, for example if your CD drive letter is D: mount d "D:\" -t cdrom

<h4>- If you're using a CD image</h4>
first of all move it right into the new (and otherwise empty) folder. Then drag the image file onto the DOSBox icon, and DOSBox will open with everything mounted automatically.

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxmountiso.png

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxmountediso.png

<h4>Either way,</h4>
now just install the game. The installation instructions should be on the CD itself, the case cover, or the manual. Usually it comes down to running a program in the CD called "setup" or "install". In DOSBox the CD will be accessible as drive D:, regardless of your real CD drive letter (and the folder we just created will be the C: hard drive in DOSBox, regardless of your read hard drive letters).

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxcdinstall.png

The installation program will inform you of its progress and instruct you if necessary. If it's slow, as always in DOSBox you can speed it up by pressing Ctrl+F12 a few times (if you overdo it press Ctrl+F11 to decrease cycles), unless the DOSBox window title bar already shows "Cpu speed: max 100% cycles".

The installation program will create another folder below ours, and may ask us to choose its name; note it down (in our example, "TOMBRAID").

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxinstallfolder.png

If possible choose a "full installation" so that the CD isn't further required to play the game. In this (ideal) case, you are done with this tutorial and you can refer back to the basic DOSBox tutorial (http://www.abandonia.com/vbullet/showthread.php?t=17498) on how to play

<a name="play"><hr /></a><h3>Playing</h3>
According to the basic tutorial (http://www.abandonia.com/vbullet/showthread.php?t=17498), in order to play a game we only need to drag the startup program file onto the DOSBox icon. The problem is that if the game requires a CD this isn't enough, because the game won't be able to find the CD inside DOSBox;

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxnocderror.png

but with a little extra setup it can be made just as simple. Open up Notepad (you can click on the Windows Start menu > "Run..." and enter "notepad") and write the following lines:

<ol>
<li>The command explained in the installation instructions above to mount the CD in DOSBox, namely:
<ul>
<li>If you have a real CD mount d "E:\" -t cdrom where E: is your CD drive letter--change if yours is different.</li><br />
<li>If you have a CD image, whatever last command is entered automatically when you drag the image file onto the DOSBox shortcut. In our example (see image (http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxmountediso.png)) imgmount d "Tomb.cue" -t iso</li>
</ul></li>
<li>The command "cd" followed by a space and the name of the subfolder where the game itself is--in our installation example cd TOMBRAID We're supposing that the game files are contained in a subfolder that the game installation created (e.g. "tombraid") as a child of the one we had created before (e.g. "C:\DOS\Tomb Raider", see <a href="#install">installing</a> above and this image (http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxisodragndrop.png)). It's possible to put everything into the same folder at one level, if the game allows it; in that case skip this line of the script entirely; although it's messy to find our files (this script and possibly the disk image) if they're mixed with the game files.</li>
<li>The name of the program file that starts the game. In our example this is "TOMB.exe", so we write TOMB</li>
</ol>
Now save this script file into our first folder. It's very important that the name of the file you save ends in ".BAT"

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxisoscript.png

Finally the game runs by simply dragging this new script file onto the DOSBox shortcut.

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxisodragndrop.png

The good news is that this (drag'n dropping) is the only thing we'll ever need to do ever again every time we want to play. Enjoy!

http://i102.photobucket.com/albums/m87/japofran/tutorial/dosboxcdeureka.png

Japo
27-08-2012, 06:44 PM
I wanted to make this tutorial since long ago, with this I've tried to cover everything in my tutorials, and now finally I consider them complete. I hope this encourages more people to try our ISO Cellar :)

Tracker
27-08-2012, 08:55 PM
I think this deserves a newspost.

Japo
27-08-2012, 09:44 PM
EDIT: News posted. I've seized the opportunity to link several tutorials, because I don't know how much exposure they have outside the forum.

dosraider
01-09-2012, 12:51 PM
[Not that I'm in a nitpicking mood]
........
imgmount d "Tomb.cue" -t iso
................
From ver 0.74 on should be:
imgmount d "Tomb.cue" -t cdrom
[/Not that I'm in a nitpicking mood]

Whilst -t iso still works,
I suppose the dosbox devs want to avoid confusion and simplify stuffs for beginners?

And yes, I know when drag drop you still get the old -t iso , will also change given time.

Japo
01-09-2012, 01:00 PM
Yeah I noticed that, but I wanted to put whatever drag'n drop used. I don't know if they plan to update that, but maybe even so "-t iso" will continue being equivalent to "-t cdrom" for backward compatibility...?

I think they should have already updated this, it doesn't make things easier for beginners to DOSBox, because it contradicts the manual. For old users leaving backwards compatibility is enough. And people may think there's an undocumented difference between "iso" and "cdrom".

Help Me Please With DOSBox
11-02-2016, 05:17 AM
I get this error!
https://drive.google.com/file/d/0B-2uotSBb5FkZkRuaHhSNFdTSGs/view?usp=sharing

I have my .cue and .bin in a folder named Crunch. All the files (.cue and .bin) labeled Crunch help I wanna play captain crunch

arete
11-02-2016, 09:10 AM
did you try -t cdrom ?

zirkoni
11-02-2016, 02:00 PM
I get this error!
https://drive.google.com/file/d/0B-2uotSBb5FkZkRuaHhSNFdTSGs/view?usp=sharing

I have my .cue and .bin in a folder named Crunch. All the files (.cue and .bin) labeled Crunch help I wanna play captain crunch
Open the .cue file with a text editor and check that it includes the correct file name (the 1st line should be something like FILE "Crunch.bin" BINARY).

Help Me Please With DOSBox
21-02-2016, 10:43 PM
Since I couldn't get Cap'n crunch to work. I dug up a really old CD (Rollie Pollie Ollie and the search for Spot, hence why the name of the folder is Rollie) and put it in my disk reader (which is my C: drive). Even after following all the directions. I ran into this (http://prntscr.com/a6bv9h) error.

All help is appreciated.


note: this is a real CD and not an image.

zirkoni
22-02-2016, 06:35 PM
I ran into this (http://prntscr.com/a6bv9h) error.
That's not really an error, the executable is just saying that it's not a DOS executable. It is a 32-bit Windows executable, run it in Windows.
Or look if there is a DOS installer on the CD (maybe install.exe or something).