Difference between revisions of "DOSBox FAQ"

From DOSBoxWiki
Jump to navigationJump to search
 
(37 intermediate revisions by 17 users not shown)
Line 1: Line 1:
= Performance =
+
DOSBOX comes with a README.TXT that answers many Frequently Asked Questions. You can read an online version [http://dosbox.cvs.sourceforge.net/dosbox/dosbox/README?view=markup here]. If you still cannot find the answer, check this page.
 
 
'''Q.'''  My game runs fine at first then an error message pops up on dosbox saying that the video file format is wrong. How or what can I do to fix this, if there is anything known?
 
  
 +
== Performance ==
  
 +
===Slow games/applications===
 
'''Q.''' My game/application runs slowly, how do I improve speed?
 
'''Q.''' My game/application runs slowly, how do I improve speed?
  
Line 9: Line 9:
 
Also be sure to check the compatibility section of this FAQ as some game/applications are more trouble (or resource hogs) than others.
 
Also be sure to check the compatibility section of this FAQ as some game/applications are more trouble (or resource hogs) than others.
  
 +
* See also [[Performance#How to speed up/slow down DOSBox|How to speed up/slow down DOSBox]]
  
 +
===Problems in sound/music===
 
'''Q.''' The Sound/Music for my DOS game/application sounds terrible what can I do?
 
'''Q.''' The Sound/Music for my DOS game/application sounds terrible what can I do?
  
Line 15: Line 17:
 
Also, game sound/music may have an impact on the speed at which the game/application runs and running DOSBox with limited resources may result in incomplete or 'choppy' sound being heard. (see previous question)
 
Also, game sound/music may have an impact on the speed at which the game/application runs and running DOSBox with limited resources may result in incomplete or 'choppy' sound being heard. (see previous question)
  
 +
===Increasing memory size===
 +
'''Q.''' How do I change the memory size so that I can run programs that require more than the default settings (eg. Windows 1.01 or some other demanding OS)?
 +
 +
'''A.''' See the memsize option detailed in [[Configuration:DOSBox]].
 +
 +
== Usage ==
 +
 +
===Problems with colors and fullscreen drawing in Mac OS X===
 +
'''Q.''' Using Mac OS X 10.5.3 without a problem (MOO) and when upgraded to 10.5.4 MOO started flashing rainbow colors instead of the normal background in full screen mode (works fine in windowed mode.)  I have a warning about the quickdraw capability being deprecated in my console window.  Any suggestions?
 +
 +
 +
'''A.''' Go to your users home directory e.g. /Users/asc/Library/Preferences and open "DOSBox 0.73 Preferences". In the [sdl] section edit the parameter "output" so that it says: "output=opengl". Afterwards restart DOS Box. Colors and drawing issues should now be gone.
  
'''Q.'''How do I change the memory size so that I can run programs that require more than the default settings (eg. Windows 1.01 or some other demanding OS)?
+
===No backslash key===
 +
'''Q.''' My backslash key is mapped to ']' with DOSBox on Windows. Is there a workaround?
  
 +
'''A.''' This is usually a keyboard driver problem. You can either fix your driver or use the [[keymapper]] as a workaround. Here is a thread on VOGONS, detailing the problem:[http://vogons.zetafleet.com/viewtopic.php?t=18465 http://vogons.zetafleet.com/viewtopic.php?t=18465]
  
= Usage =
+
''' - Driver fix on Windows XP'''
  
'''Q.''' Using Mac OS X 10.5.3 without a problem (MOO) and when upgraded to 10.5.4 MOO started flashing rainbow colors instead of the normal background in full screen mode (works fine in windowed mode.)  I have a warning about the quickdraw capability being deprecated in my console window. Any suggestions?
+
Right click ''My Computer'', select ''Properties''. On the ''Hardware'' tab, select ''Device Manager''. Find your keyboard, right click, ''Update driver''. Select ''No, not this time'', then ''Install from a list or specific location (Advanced)''. Select ''Don't search''. You arrive to a screen where compatible drivers are listed. Changing from ''Microsoft Natural PS/2'' driver to ''PC/AT Enhanced PS/2'' driver reportedly solved this issue. You can experiment with any other compatible device you find on the list. If you are using an USB keyboard try the keyboard manufacturer's drivers.
  
 +
''' - Driver fix on Windows Vista'''
  
'''Q.''' My backslash key is mapped to ']' with DOSBox in Vista. Is there a workaround?
+
Click on the ''Windows button'', right click on ''Computer'', select ''Properties''. Next, select ''Device Manager'' in the top left corner, and ''Continue'' on the User Account Control screen. Find your keyboard under ''Keyboards''. Right click on the keyboard entry, select ''Update Driver Software...''. Then select ''Browse my computer...'', and ''Let me pick...''. Here you can change your current driver to another compatible one, or use the disk provided by your manufacturer.
  
'''A.''' Press <tt>CTRL-F1</tt> to enter the [[keymapper]] and select the backslash with your mouse. Press the <tt>DELETE</tt> button that will show up on your screen. Then press <tt>ADD</tt> to bind backslash to another key. Simply press an unused key to bind it to this. Press <tt>SAVE</tt> and then <tt>EXIT</tt> to return to the main screen.
+
''' - Workaround using DosBox Keymapper'''
  
 +
Press <tt>CTRL-F1</tt> to enter the [[keymapper]] and select the backslash with your mouse. Press the <tt>DELETE</tt> button that will show up on your screen. Then press <tt>ADD</tt> to bind backslash to another key. Simply press an unused key to bind it to this. Press <tt>SAVE</tt> and then <tt>EXIT</tt> to return to the main screen.
  
 +
 +
===Trapped mouse cursor===
 
'''Q.''' My cursor is trapped within the DOSBox window when I click inside. How do I get the cursor out?
 
'''Q.''' My cursor is trapped within the DOSBox window when I click inside. How do I get the cursor out?
  
Line 34: Line 54:
  
  
 +
=== Gnome scripting ===
 
'''Q.''' I have set Gnome to load DOSBox when I click on .COM files. How do I script it to exit DOSBox when I quit from the game?
 
'''Q.''' I have set Gnome to load DOSBox when I click on .COM files. How do I script it to exit DOSBox when I quit from the game?
  
'''A.''' with -exit as commandline parameter for DOSBox.
 
  
 +
'''A.''' With -exit as commandline parameter for DOSBox.
  
 +
===Hard drive/CDROM access===
 
'''Q.''' How do I access my hard drive/cdrom in DOSBox?
 
'''Q.''' How do I access my hard drive/cdrom in DOSBox?
  
Line 44: Line 66:
  
  
 +
=== Accessing ISO images===
 
'''Q.''' I have an ISO image I made of files for backup purposes. How do I access it in DOSBox?
 
'''Q.''' I have an ISO image I made of files for backup purposes. How do I access it in DOSBox?
  
 
'''A.''' See the information on the [[IMGMOUNT]] command
 
'''A.''' See the information on the [[IMGMOUNT]] command
  
 
+
=== Swapping CD images===
 
'''Q.''' How do I unmount or change images? I need to swap CD images in the drive.
 
'''Q.''' How do I unmount or change images? I need to swap CD images in the drive.
  
'''A.''' You don't "unmount", you may assign more than one image file to [[IMGMOUNT]], to swap images use <tt>CTRL-F4</tt>.
+
'''A.''' You may assign more than one image file to [[IMGMOUNT]], to swap images use <tt>CTRL-F4</tt>. You can also unmount images by using the -u switch. See [[IMGMOUNT]] for more information.
 
 
  
 +
===CD Audio tracks===
 
'''Q.''' I have created an image from a CD that includes CD audio tracks, when I access it in DOSBox only the first (data) track is available.
 
'''Q.''' I have created an image from a CD that includes CD audio tracks, when I access it in DOSBox only the first (data) track is available.
  
 
'''A.''' Be sure to use the bin/cue format for mixed mode CDs (CDs with a data and audio tracks) and always pass the cue file to [[IMGMOUNT]].
 
'''A.''' Be sure to use the bin/cue format for mixed mode CDs (CDs with a data and audio tracks) and always pass the cue file to [[IMGMOUNT]].
  
 
+
===Gibberish===
 
'''Q.''' When I write '':'' it turns out ''>'' or when i write ''å'' ''ä'' ''ö'' or any other non standard us character. How can I fix this for my keyboard?
 
'''Q.''' When I write '':'' it turns out ''>'' or when i write ''å'' ''ä'' ''ö'' or any other non standard us character. How can I fix this for my keyboard?
  
'''A.''' Use the [[KEYB]] command to change your [[Keyboard layout]].
+
'''A.''' Use the [[KEYB]] command to change your [[KEYB#Layout codes|Keyboard layout]].
 
 
  
 +
===No ":" symbol===
 
'''Q.''' I can't find the ":" symbol anywhere in my dosbox. I am using Vista on a laptop. Please advice me how to fix the problem.
 
'''Q.''' I can't find the ":" symbol anywhere in my dosbox. I am using Vista on a laptop. Please advice me how to fix the problem.
  
 
'''A.''' Use the left shift instead of the right shift. A number of keys are affected by this problem. For a workaround for other keys like "\", see the second answer.
 
'''A.''' Use the left shift instead of the right shift. A number of keys are affected by this problem. For a workaround for other keys like "\", see the second answer.
  
 
+
===Scrolling up/down===
 
'''Q.''' How do you/I scroll up to see text that is not visible in the DOSBox window?  Certain apps will print a long string of text, and you can't see it all.
 
'''Q.''' How do you/I scroll up to see text that is not visible in the DOSBox window?  Certain apps will print a long string of text, and you can't see it all.
  
'''A''' Unlike the DOS window in Windows 2000, XP and Vista, DOSBox exactly emulates a full screen DOS session. Hence it doesn't support scrolling up and down. However, MS-DOS included a program to allow you to 'press any key' to scroll down called MORE.COM. This is how to do it on Windows:
+
'''A.''' Unlike the DOS window in Windows 2000, XP and Vista, DOSBox exactly emulates a full screen DOS session. Hence it doesn't support scrolling up and down. However, MS-DOS included a program to allow you to 'press any key' to scroll down called MORE.COM. This is how to do it on Windows:
# Download DOS 5.0 from http://vetusware.com/.
+
# Try and find a copy of MORE.COM from MS-DOS 5.0 (good luck) or MORE.EXE from FreeDOS ([http://www.freedos.org/cgi-bin/lsm.cgi?mode=lsm&lsm=base/more.lsm easy])
# Extract the contents of the RAR file to C:\C\DOS
+
# Put it in C:\C
 
# Edit C:\Program Files\Dosbox\dosbox.conf in Notepad
 
# Edit C:\Program Files\Dosbox\dosbox.conf in Notepad
# Go to the bottom of the file, where it says [autoexec]. Change it to say
+
# Go to the bottom of the file, where it reads <tt>[autoexec]</tt>. Add to it or change it to read:<br><tt>[autoexec]<br> MOUNT C C:\C<br> PATH=%PATH%;C:\</tt><br><br>
[autoexec]
+
# Save it, close DOSBox and then re-open DOSbox.
  MOUNT C C:\C
+
# Now, say you wanted to use this command:<br> <tt>C:\> type readme.txt</tt><br><br>Instead type this:<br> <tt>C:\> type readme.txt | more</tt>
  PATH=%PATH%;C:\DOS
+
 
# Save it and open DOSbox.
+
Linux/Unix users looking to capitalize on muscle memory may prefer [http://www.greenwoodsoftware.com/less/less381d.zip less compiled for DOS]. (Note: Old version. The author has stopped providing new precompiled binaries for DOS)
# Now, say you wanted to use this command:
+
 
C:\> type readme.txt
+
== Misc ==
Instead type this:
+
 
C:\> type readme.txt | more
+
===The main site's image===
 +
'''Q.''' What is the picture in the dosbox www site in the title bar?
 +
 
 +
'''A.''' [[GAMES:Dune 2|Dune 2]].
 +
 
 +
=== What is DOS?===
 +
DOS (see [[Wikipedia:DOS]]) is short for "Disk Operating System". It mainly refers to the series of operating systems that dominated the IBM PC compatible market from the 1980s and into the 1990s. But it may also refer to the DOS-based Microsoft Windows 9X/ME series of the late 1990s. The relevant systems were usually called "'''X''' DOS", "'''X'''-DOS" or "'''X'''DOS" with the X being the brand name. Despite common usage, none of them were actually called just DOS. Microsoft's system, MS-DOS, is probably the most known.
 +
 
 +
=== What is Abandonware?===
 +
Abandonware (see [[Wikipedia:Abandonware]]) is the term people usually use to describe computer softwares and games which are neither sold nor supported anymore. As it is not an official term, it's important to remember that just because something is considered as abandonware doesn't mean it actually is, especially as the estimation is usually based strictly on age. Moreover, even if it is, it has no legal meaning. In other words, it still has just as much copyrights as if it was actively developed. In fact, the Entertainment Software Association (ESA - fomerly IDSA) actively pursuits those that distribute what they consider abandonware.
 +
 
 +
=== What is the focus of DOSBox?===
 +
According to its developers, DOSBox is focused on DOS games. Non-gaming DOS applications are not the primary focus of DOSBox, even though most DOS applications might in fact work within DOSBox. The DOSBox project has a policy of not adding features that aren't used by DOS games if they take significant effort to implement, are likely to be a source of bugs or portability problems, and/or impact performance. For example, features such as parallel ports, long filenames and Ctrl-Break emulations are never officially supported in DOSBox. Some enhanced [[SVN Builds|DOSBox SVN Builds]] may support these features, and you may try these builds if you want or need such features, but they are not supported by the DOSBox Team. If you want to run serious DOS applications within a DOS emulator, you'd better try dedicated emulators such as vDos and vDosPlus instead, which are designed to run DOS applications rather than games.

Latest revision as of 16:52, 19 September 2016

DOSBOX comes with a README.TXT that answers many Frequently Asked Questions. You can read an online version here. If you still cannot find the answer, check this page.

Performance

Slow games/applications

Q. My game/application runs slowly, how do I improve speed?

A. Increase cycles. Use core=dynamic. Try different output modes (e.g. output=overlay). Increase Frameskip. Disable unneeded components in the dosbox.conf such as Sound, mouse or joystick emulation. A nice speedup can be achieved by using a different compiler than GCC. If all else fails, find a faster computer to run DOSBox on. Also be sure to check the compatibility section of this FAQ as some game/applications are more trouble (or resource hogs) than others.

Problems in sound/music

Q. The Sound/Music for my DOS game/application sounds terrible what can I do?

A. This is a complicated issue covered in the Sound section of the wiki. It's important to remember to install or setup game/applications correctly to use the correct sound devices (INSTALL.EXE, SOUNDSET.EXE and SETUP.EXE are popular program names to look for). The capabilities of the hardware as well as the preferences of the programmer vary: Therefore what may sound "best" on one particular game may not be the "best" for another. Sometimes changes need to be made to the dosbox.conf file (or a new conf file) to get the best results. Also, game sound/music may have an impact on the speed at which the game/application runs and running DOSBox with limited resources may result in incomplete or 'choppy' sound being heard. (see previous question)

Increasing memory size

Q. How do I change the memory size so that I can run programs that require more than the default settings (eg. Windows 1.01 or some other demanding OS)?

A. See the memsize option detailed in Configuration:DOSBox.

Usage

Problems with colors and fullscreen drawing in Mac OS X

Q. Using Mac OS X 10.5.3 without a problem (MOO) and when upgraded to 10.5.4 MOO started flashing rainbow colors instead of the normal background in full screen mode (works fine in windowed mode.) I have a warning about the quickdraw capability being deprecated in my console window. Any suggestions?


A. Go to your users home directory e.g. /Users/asc/Library/Preferences and open "DOSBox 0.73 Preferences". In the [sdl] section edit the parameter "output" so that it says: "output=opengl". Afterwards restart DOS Box. Colors and drawing issues should now be gone.

No backslash key

Q. My backslash key is mapped to ']' with DOSBox on Windows. Is there a workaround?

A. This is usually a keyboard driver problem. You can either fix your driver or use the keymapper as a workaround. Here is a thread on VOGONS, detailing the problem:http://vogons.zetafleet.com/viewtopic.php?t=18465

- Driver fix on Windows XP

Right click My Computer, select Properties. On the Hardware tab, select Device Manager. Find your keyboard, right click, Update driver. Select No, not this time, then Install from a list or specific location (Advanced). Select Don't search. You arrive to a screen where compatible drivers are listed. Changing from Microsoft Natural PS/2 driver to PC/AT Enhanced PS/2 driver reportedly solved this issue. You can experiment with any other compatible device you find on the list. If you are using an USB keyboard try the keyboard manufacturer's drivers.

- Driver fix on Windows Vista

Click on the Windows button, right click on Computer, select Properties. Next, select Device Manager in the top left corner, and Continue on the User Account Control screen. Find your keyboard under Keyboards. Right click on the keyboard entry, select Update Driver Software.... Then select Browse my computer..., and Let me pick.... Here you can change your current driver to another compatible one, or use the disk provided by your manufacturer.

- Workaround using DosBox Keymapper

Press CTRL-F1 to enter the keymapper and select the backslash with your mouse. Press the DELETE button that will show up on your screen. Then press ADD to bind backslash to another key. Simply press an unused key to bind it to this. Press SAVE and then EXIT to return to the main screen.


Trapped mouse cursor

Q. My cursor is trapped within the DOSBox window when I click inside. How do I get the cursor out?

A. DOSBox will capture your mouse when you click inside the display window (and you have autolock=true set in the Dosbox.conf). Simply press CTRL-F10 to release the mouse.


Gnome scripting

Q. I have set Gnome to load DOSBox when I click on .COM files. How do I script it to exit DOSBox when I quit from the game?


A. With -exit as commandline parameter for DOSBox.

Hard drive/CDROM access

Q. How do I access my hard drive/cdrom in DOSBox?

A. See the information on the MOUNT command, or type intro mount or intro cdrom in DOSBox for the basics.


Accessing ISO images

Q. I have an ISO image I made of files for backup purposes. How do I access it in DOSBox?

A. See the information on the IMGMOUNT command

Swapping CD images

Q. How do I unmount or change images? I need to swap CD images in the drive.

A. You may assign more than one image file to IMGMOUNT, to swap images use CTRL-F4. You can also unmount images by using the -u switch. See IMGMOUNT for more information.

CD Audio tracks

Q. I have created an image from a CD that includes CD audio tracks, when I access it in DOSBox only the first (data) track is available.

A. Be sure to use the bin/cue format for mixed mode CDs (CDs with a data and audio tracks) and always pass the cue file to IMGMOUNT.

Gibberish

Q. When I write : it turns out > or when i write å ä ö or any other non standard us character. How can I fix this for my keyboard?

A. Use the KEYB command to change your Keyboard layout.

No ":" symbol

Q. I can't find the ":" symbol anywhere in my dosbox. I am using Vista on a laptop. Please advice me how to fix the problem.

A. Use the left shift instead of the right shift. A number of keys are affected by this problem. For a workaround for other keys like "\", see the second answer.

Scrolling up/down

Q. How do you/I scroll up to see text that is not visible in the DOSBox window? Certain apps will print a long string of text, and you can't see it all.

A. Unlike the DOS window in Windows 2000, XP and Vista, DOSBox exactly emulates a full screen DOS session. Hence it doesn't support scrolling up and down. However, MS-DOS included a program to allow you to 'press any key' to scroll down called MORE.COM. This is how to do it on Windows:

  1. Try and find a copy of MORE.COM from MS-DOS 5.0 (good luck) or MORE.EXE from FreeDOS (easy)
  2. Put it in C:\C
  3. Edit C:\Program Files\Dosbox\dosbox.conf in Notepad
  4. Go to the bottom of the file, where it reads [autoexec]. Add to it or change it to read:
    [autoexec]
    MOUNT C C:\C
    PATH=%PATH%;C:\


  5. Save it, close DOSBox and then re-open DOSbox.
  6. Now, say you wanted to use this command:
    C:\> type readme.txt

    Instead type this:
    C:\> type readme.txt | more

Linux/Unix users looking to capitalize on muscle memory may prefer less compiled for DOS. (Note: Old version. The author has stopped providing new precompiled binaries for DOS)

Misc

The main site's image

Q. What is the picture in the dosbox www site in the title bar?

A. Dune 2.

What is DOS?

DOS (see Wikipedia:DOS) is short for "Disk Operating System". It mainly refers to the series of operating systems that dominated the IBM PC compatible market from the 1980s and into the 1990s. But it may also refer to the DOS-based Microsoft Windows 9X/ME series of the late 1990s. The relevant systems were usually called "X DOS", "X-DOS" or "XDOS" with the X being the brand name. Despite common usage, none of them were actually called just DOS. Microsoft's system, MS-DOS, is probably the most known.

What is Abandonware?

Abandonware (see Wikipedia:Abandonware) is the term people usually use to describe computer softwares and games which are neither sold nor supported anymore. As it is not an official term, it's important to remember that just because something is considered as abandonware doesn't mean it actually is, especially as the estimation is usually based strictly on age. Moreover, even if it is, it has no legal meaning. In other words, it still has just as much copyrights as if it was actively developed. In fact, the Entertainment Software Association (ESA - fomerly IDSA) actively pursuits those that distribute what they consider abandonware.

What is the focus of DOSBox?

According to its developers, DOSBox is focused on DOS games. Non-gaming DOS applications are not the primary focus of DOSBox, even though most DOS applications might in fact work within DOSBox. The DOSBox project has a policy of not adding features that aren't used by DOS games if they take significant effort to implement, are likely to be a source of bugs or portability problems, and/or impact performance. For example, features such as parallel ports, long filenames and Ctrl-Break emulations are never officially supported in DOSBox. Some enhanced DOSBox SVN Builds may support these features, and you may try these builds if you want or need such features, but they are not supported by the DOSBox Team. If you want to run serious DOS applications within a DOS emulator, you'd better try dedicated emulators such as vDos and vDosPlus instead, which are designed to run DOS applications rather than games.