Author Topic: Installation of DosBox for NEWBIES  (Read 2028 times)

Offline billy7720

  • Full Member
  • ***
  • Posts: 222
  • DBGL = DosBox Game Launcher! Games coming!
Installation of DosBox for NEWBIES
« on: June 26, 2011, 10:02:40 PM »
First off, this article/post has been redone to conform to the rules of the PCLinuxOS Forums. If anything is
amiss PLEASE contact me - this is a STEP BY STEP installation of DosBox through the repository and usage
via the desktop.

I am a DOS gamer by heart; I cannot find a single game today that was made like the simplistic games from
the Dos ages. So, I've decided to post this for all to share and understand. I hope it helps someone out there
who is DYING to play most of those AWESOME oldies! Enjoy!


Installing DosBox in PCLinuxOS for newbies
from billy7720 via PCLinuxOS forums

This is a STEP BY STEP installation of DosBox through Synaptic Package Manager
along with placement of the "dosgames" folder you will create and place within
PCLinuxOS. I was a newbie myself when I first figured this all out so trust me
that I think you'll be happy if you follow the instructions below carefully.

You'll find the 2nd to last version: v0.73 which can easily be accquired
via the repositories off of Synaptic Package Manager. The package manager
is located at the bottom of the screen; the icon shows a small red box, a
CD and a diskette. Make sure you're online when you click it. Click it.
(more than likely DosBox 0.74 has been updated via Synaptic by now).

Give it a moment to load. After everything loads, goto the "search" button
and click it. A small window will appear called "find". You'll see a small
flashing cursor in the search area of the window. Type in "dosbox" without
the quotes and press ENTER. Give it a moment. Once the packages load, you'll
see a pretty hefty listing of files. At the top of the list of files you'll
see the "package" names. DosBox (in lowercase letters) is now in the window.
The file is "0.73-1pclos2009". On the left side of this is a small square
which should be white. Click on the square and another window will appear.
Check the box "mark for installation". When you do this, it will update the
white box with a small arrow indicating that the file is ready to be down-
loaded and installed on your system.

Now all you have to do is click the button "apply" which is at the top of the
screen. Click it and let Synaptic do it's job. Once it's installed, another
window will appear. Now Synaptic is "appending" or installing the files auto-
matically into your OS. Once this is finished, you can close Synaptic. That is
all there is to it!

DosBox is now installed and now it's ready to use! The program is located in
your "applictaion launcher menu" which is the big "PC" icon at the bottom of
your screen. Click on the big "PC" then scroll up to "more applications" then
scroll over to the right and you'll see "emulators". Once that comes up you'll
see the "dosbox" icon. That's where DosBox is located. Whenever you need to run
DosBox, this is where you will click to start it.

The biggest problem is transferring all your Dos games to PCLinuxOS. This takes
quite a bit of time and can really be boring but if you want to use DosBox in
your new OS, you'll be patient!

Next, we create a new folder to put all those games in once you have transferred
all your Dos games to your PCLinuxOS desktop. Word to the wise: DO NOT make
your dos games folders any longer than 8 characters long. Reason is that PCLinuxOS
will cut the name, add a ~ character and you'll have to type that in if you wish
to access a particular folder for a game. It's up to you.

Left click on the desktop, NOT on an icon and choose "create new" and
then "folder". Click it. A window will appear and name it "dosgames" without
the "". Hit enter.

Now you have a folder called dosgames which is ready for you to place
new dos game folders in. If you have dos games that are already in
folders, just drag and drop and "move" the folders to the dosgames
folder.

Now where you place your dos games: it will require a certain
place for those dos games to be at. The location for newbies is quite
hard to find since Linux does not use drive letters, but I will tell you
where to put the "dosgames" folder.

Once you have your dos games (in separate folders for each game) you'll
need to go to your PC button at the bottom. It's located at the bottom
left side of the screen. Click it. Scroll up to "file tools" and then
go over to "Konqueror - Super User Mode". Click it. A window will pop up and
this is where you must input your password to open it (the one you used when
you first booted). Once this happens, a window will appear.

While in Konqueror - Super User Mode, MAKE SURE you take care of what
you do here. If you delete a file or replace a file, it will be removed
or replaced so just FYI! BE CAREFUL!

Now, once you put your password into Konqueror, it will bring up another
window in which you have FULL ACCESS to your files system via the OS.
On the left side of the screen in this window, you'll see a red folder
called "Root Folder" and below that is the system files. Click on the
folder "home" which is below. Just scroll down. Click on it and another
window will appear. This area now should show your login name folder and
lost + found folder. Click on the folder that is NOT lost + found. It
will open.

Once again, the window will open again. This is the area that the folder
"dosgames" will be dropped into. Once you have placed all your game
folders within the dosgames folder, you can drag and drop it into the
open folder via Konqueror. Once you drag and drop it into the Konqueror
window, choose "copy here" and the files will be placed within the proper
area, along with your documents, music, pictures, downloads, templates and
etc which are also in this window.

Once you have placed the "dosgames" folder into position, then close
Konqueror. You've placed your dosgames in the correct area!

If you've gotten this far, the above is the biggest battle. The above
things to do are the biggest pain in the arse you'll ever deal with. Yes,
I know Windows was easier to deal with but why play on an inferior OS? :)

Now, since you've installed DosBox in Synaptic, click on your PC button, scroll
up to More Applications and move over to Emulators. Find DosBox and click
on it, opening the DosBox window.

Okay, now you have DosBox running. If it's running you'll see a Z:\>
cursor which is waiting for the user to type in what must be done to use
DosBox correctly. Now comes the easier part as I'm going to tell you how
to properly activate DosBox to run those dosgames you placed in your home
folder.

At the Z:\> prompt you'll type in the following:

mount c ~ (then press the ENTER key)

Yep, it's wierd but that's because Linux does not use drive letters. But
the above is what you use to start DosBox. Yes, you see the above right;
that is a "tilde" after the c. I won't ask.

After the above is done, it will tell you it's ready and mounted. So,
our next command is:

c: (then press the ENTER key)

Which tells DosBox to goto our actual drive c which Linux is currently
on. Our next command now is:

cd\dosgames (then press the ENTER key)

Which now tells DosBox where your games have been placed. once there,
you can always type DIR which will bring up your "catalog" of the games
in which you placed in DosBox.

If you wish to go to a particular game, you'll simply type:

cd\dosgames\GAMEFOLDER (then press the ENTER key)

Where GAMEFOLDER is is the name of the dos game that you want to open.
It is the folder in which that particular game is. To launch your game, make
sure you know the game's boot file which usually has the extension of one of them
following:

.EXE
.COM
.BAT

ANY of the three combinations above WILL BOOT a game once you have setup the game
setup files (if it has any). Type in the file name (without the extension) and
voila, the game will boot. If you have problems, go back to the folder in which
the game is located and see if you missed any setups. If so, do your setups and
THEN run the boot file name and try again. This can happen so patience! :)

You can always go back to another folder by typing in:

cd\dosgames

Which in turn will return you to the original state in which you started
to look for other games via your dosgames folder.

REMEMBER: If any of your older dos games require a setup, you'll have to do
this to make the game function properly in DosBox. You'll also have to remember
to keep track of the .EXE file names to run the game in DosBox. Some of the much
older dos games do not run using an .EXE file extension so you must figure out
what file name it does use to run the game. Don't forget to find any files that
are normal for dos such as "setsound.exe" and "setup.exe" and run them BEFORE
you run a game! You want sound in your games don't you? :)

Here is a quick run down of what I must do to access my dosgames folder and run
Psycho Pinball (Codemasters 1995) on my desktop:

1. Click on the "PC" icon.
2. Scroll up to "More Applications"
3. Scroll over to "Emulators"
4. Scroll over to "DosBox" and click it.
5. DosBox loads and is at the Z:\> cursor.
6. I type: MOUNT C ~ and press enter.
7. I type: C: and press enter.
8. I type: cd\dosgames\PP and press enter.
9. I type: PP and press enter which starts Psycho Pinball!
10. I then press ALT and ENTER at the same time to access FULL SCREEN. You can
    always press the same keys again to shrink it back to the way it was.

IMPORTANT: If you ever exit a Dos game and have no mouse control via your desktop,
you can always type EXIT at the cursor to close DosBox. This will return your
system to it's natural state of use! Sometimes the mouse will be stuck in DosBox
and you can't use it but exiting out of DosBox with typing in EXIT and hitting
enter will exit you to your normal desktop. Just FYI!

That's it. Trust me, not all your dos games are going to work in DosBox, but it
sure is nice to play some of the old games you missed in the past.

Any other questions can be directed to me via my online name at the
PCLinuxOS forums: billy7720.
« Last Edit: June 26, 2011, 10:19:43 PM by billy7720 »
MY LAPTOP:
DUAL BOOT Windows XP/PCLinuxOS KDE 2011:
hp ze4900 - Intel 1.4 GHz Celeron M - 2 GB RAM - 1024x768 graphics - 60 GB Hitachi Travelstar HD
Oldie but goodie! Runs PCLinuxOS PERFECT!
PCLinuxOS: Radically Simple, graphically superior!

Offline Gagarin Gambit

  • Full Member
  • ***
  • Posts: 188
  • Space technology
Re: Installation of DosBox for NEWBIES
« Reply #1 on: June 28, 2011, 09:49:07 AM »
That's a very useful guide indeed, as dosbox usage seems complicated at first.

Having myself played a few games under dosbox, here are some extra tips:

- You'll find a number of good abandonware games in the repository, such as Master of Magic which is in my opinion among the best computer strategy games ever. Just search for dosbox in Synaptic, and you'll get a list of available games; give them a try.

- After installing a dosbox game via Synaptic, you'll find it in your menu under games, and you can quickly launch it this way. However, note that because it was installed with root privileges, you'll be unable to save your progress unless you change this. So open your file manager as root, and locate the folder for each dosbox game (they're installed under /usr/share/dosbox). Right click on the folder and select permissions. Change the ownership to your user, and check "apply changes to all subfolders and their contents". Press OK. There you go, now you have permission to write in these folders and thus save your games and settings. As always, be double careful when you do something as root.

- Note that Synaptic created menu entries so you can immediately launch your game, without having to launch dosbox first. You can do the same for the games you install manually. Right click on your launch menu icon, and select "edit applications". Find the entry for a dosbox application, study the command, and then create a new desktop or menu entry for any other dos games you manually install based on it. For instance, the command for Master of Magic reads:
/usr/bin/dosbox /usr/share/dosbox//mom/MAGIC.EXE -exit -fullscreen
I installed Sim City 2000 under the same folder, and I modified the command accordingly; in my case, it's:
/usr/bin/dosbox /usr/share/dosbox//simcity2000/SC2000.EXE -exit -fullscreen
This way you can quickly launch the games you install manually, just like those installed via Synaptic.

- And some useful shortcuts:
Alt+Enter: Switch between fullscreen and window mode.
Cntr+F7: Decrease frameskip
Cntr+F8: Increase frameskip (game runs faster at the expense of graphic quality)
Cntr+F9: Quit immediately
Cntr+F10: Capture/release mouse (very useful when playing under window mode)
Cntr+F12: Speeds up the game at the expense of cpu usage. You'll have to do this for certain games, otherwise they'll be too slow (Master of Magic is such a case). Also, you'll probably need to press this several times in order to achieve a desirable effect.

There's much more to be found if you look into it, that will improve your dosbox gaming experience.
Linux. Space technology.

Offline billy7720

  • Full Member
  • ***
  • Posts: 222
  • DBGL = DosBox Game Launcher! Games coming!
Re: Installation of DosBox for NEWBIES
« Reply #2 on: July 01, 2011, 02:53:03 PM »
EXCELLENT info! Thanks for the above! Pinball World is currently in the repos and works great right off the desktop. A GREAT download.

Games that work in Dosbox 0.73/0.74 via PCLinuxOS:
(some of my FAVORITE Dos games below:)

KEY:

SOUNDS: NS = NO sound, PS = PARTIAL, AS = ALL sound/music
RUN SPEED: SS = SLOW speed, DS = DECENT speed, FS = FAST speed
NES = NEEDS SETUP

PINBALL GAMES:

Electronic Pinball (21st Century) (PS, FS -Mind boggling speeds!)
Pinball Dreams (21st Century) (AS, FS -better than Windows!) NES
Pinball Dreams 2 (21st Century) (AS, FS -VERY fast play!) NES
Pinball Fantasies (21st Century) (AS, FS -VERY fast play!) NES
Absolute Pinball (21st Century) (PS, FS) NES
Psycho Pinball (Codemasters) (AS, FS -Mind boggling speeds!)
Starball (Gametek) (PS, DS)
Pinball 4000 (Expert) (NS, DS)
Extreme Pinball (Epic MegaGames) (DS, AS) NES

PUZZLE/BOARD GAMES:

Tesserae (Gametek) (PS, DS)
Ishido: The Way Of Stones (Accolade) (PS, DS)
Revelation (MicroLeague) (PS, DS)
Sargon V Chess (Activision) (PS, DS)

3D/3D SHOOTERS:

Powerslave (PIE) (AS, FS) NES
Duke Nukem Atomic 1.4 (3D Realms) (AS, FS -VERY FAST!) NES
Shadow Warrior 1.2 (3D Realms) (AS, FS -VERY FAST!) NES
Chasm: The Rift (MegaMedia) (AS, DS -GREAT SPEED!) NES

RPG/ROLE PLAYING:

Neuromancer (Interplay) (AS, DS)
Might and Magic I (New World) (AS, DS)
Robinson's Requiem (Silmarils) (PS, SS)
Dungeon Master I (FTL) (PS, DS)

OTHER:
Conquered Kingdoms (QQP) (AS, DS)
Nobunaga's Ambition (SERIES) (Koei) (AS, FS)
Ghengis Khan (Koei) (PS, DS)
Gemfire (Koei) (PS, DS)

Some games have sound, some not as I've TRIED to get them to run right but they refuse. I hope to learn how to make packages for the repos so I can get Pinball Dreams, Pinball Dreams 2 and Pinball Fantasies created for the repos for everyone. Give me time as I'm just starting to learn all this. I'll do my best!
MY LAPTOP:
DUAL BOOT Windows XP/PCLinuxOS KDE 2011:
hp ze4900 - Intel 1.4 GHz Celeron M - 2 GB RAM - 1024x768 graphics - 60 GB Hitachi Travelstar HD
Oldie but goodie! Runs PCLinuxOS PERFECT!
PCLinuxOS: Radically Simple, graphically superior!

Online The Chief

  • Hero Member
  • *****
  • Posts: 2339
Re: Installation of DosBox for NEWBIES
« Reply #3 on: July 10, 2011, 11:11:10 AM »
You can probably create an icon on the desktop (or a menu entry) to start the game directly.  I did that with the Commander Keen games on my grandson's Windows laptop.

Retired Senior Chief, Retired Software Engineer, Active GrandPa