Difference between revisions of "Configuration:SDL"

From DOSBoxWiki
Jump to navigationJump to search
Line 7: Line 7:
  
 
;fulldouble = true | false
 
;fulldouble = true | false
:Use double buffering in fullscreen.
+
:Use double buffering in fullscreen. See [http://en.wikipedia.org/wiki/Double_buffering#Double_buffering]
 
:Default is false.
 
:Default is false.
 
:(since 0.??)
 
:(since 0.??)

Revision as of 07:33, 28 April 2010

This section contains all of the low level system settings for how DOSBox interacts with your real hardware. You can define what resolutions are emulated, how DOSBox should treat errors or listen to your keyboard and mouse. You can often achieve a fair level of optimization by working with these setting, though for the most part leaving them at their default settings will create the best experience. These settings are passed on to the SDL Library which handles low level things like input and thread priority.

fullscreen = true | false
Start DOSBox directly in fullscreen.
Default is false.
(since 0.??)
fulldouble = true | false
Use double buffering in fullscreen. See [1]
Default is false.
(since 0.??)
fullresolution = width x height | original
Scale the application to this size IF the output device supports hardware scaling (i.e. any output other than surface). Original is the game's default or chosen (through setup.exe or in-game menu) resolution. If original resolution is less than desktop resolution, DOSBox will switch the screen resolution to the closest match requested by the game or application. For example, if a game in DOSBox is requesting a graphics screen resolution of (320 x 240) while your desktop is (1920 x 1200), DosBox will switch to (320x240) or the next highest resolution supported, e.g. (800 x 600) if the former is not available. Many games will be below the minimum resolution supported by modern video cards, so DosBox will scale the game up to at least that value.
Default is original.
(since 0.62)
windowresolution = width x height | original
Scale the window to this size IF the output device supports hardware scaling (i.e. any output other than surface). Original is the game's default or chosen (through setup.exe or in-game menu) resolution.
Default is original.
(since 0.62)
output = surface | overlay | opengl | openglnb | ddraw
What to use for output. Surface does not support scaling or aspect correction.
Default is surface.
(since 0.??)
autolock = true | false
Mouse will automatically lock, if you click on the screen.
Default is true.
(since 0.??)
sensitivity = 1..1000
Mouse sensitivity.
Default is 100.
(since 0.??)
waitonerror = true | false
Wait before closing the console if DOSBox has an error.
Default is true.
(since 0.??)
priority = when-focused,when-minimzed
Priority levels for DOSBox. Second entry behind the comma is for when DOSBox is not focused/minimized. Valid priorities are: lowerest, lower, normal, higher, highest, and pause.
Default is higher,normal.
(since 0.??)
mapperfile = path-to-mapper-file
File used to load/save the key/event mappings from.
Default is mapper.txt.
(since 0.??)
usescancodes = true | false
Avoid usage of symkeys, might not work on all operating systems.
Default is true.
(since 0.??)

Deprecated parameters

fullfixed = true | false
Deprecated as of 0.65. See fullresolution.
(since 0.??)
fullwidth = width
Deprecated with 0.62. See fullresolution.
(since 0.61)
fullheight = height
Deprecated with 0.62. See fullresolution.
(since 0.61)