Guest User

dosbox.cfg

a guest
Nov 7th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.45 KB | None | 0 0
  1. # This is the configuration file for DOSBox 0.74. (Please use the latest version of DOSBox)
  2. # Lines starting with a # are comment lines and are ignored by DOSBox.
  3. # They are used to (briefly) document the effect of each option.
  4.  
  5. [sdl]
  6. # fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back)
  7. # vsync: Sync to Vblank IF supported by the output device and renderer (if relevant).
  8. # It can reduce screen flickering, but it can also result in a slow DOSBox.
  9. # fullresolution: What resolution to use for fullscreen: original, desktop or a fixed size (e.g. 1024x768).
  10. # Using your monitor's native resolution with aspect=true might give the best results.
  11. # If you end up with small window on a large screen, try an output different from surface.
  12. # windowresolution: Scale the window to this size IF the output device supports hardware scaling.
  13. # (output=surface does not!)
  14. # output: What video system to use for output.
  15. # Possible values: surface, texture, texturenb.
  16. # renderer: Choose a renderer driver if output=texture or output=texturenb. Use output=auto for an automatic choice.
  17. # Possible values: auto, opengl, software.
  18. # autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
  19. # sensitivity: Mouse sensitivity.
  20. # waitonerror: Wait before closing the console if dosbox has an error.
  21. # priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
  22. # pause is only valid for the second entry.
  23. # Possible values: lowest, lower, normal, higher, highest, pause.
  24. # mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the default value.
  25.  
  26. fullscreen=true
  27. vsync=false
  28. fullresolution=desktop
  29. windowresolution=original
  30. output=texture
  31. renderer=auto
  32. autolock=true
  33. sensitivity=100
  34. waitonerror=true
  35. priority=higher,normal
  36. mapperfile=mapper-0.74.map
  37.  
  38. [dosbox]
  39. # language: Select another language file.
  40. # machine: The type of machine DOSBox tries to emulate.
  41. # Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
  42. # captures: Directory where things like wave, midi, screenshot get captured.
  43. # memsize: Amount of memory DOSBox has in megabytes.
  44. # This value is best left at its default to avoid problems with some games,
  45. # though few games might require a higher value.
  46. # There is generally no speed advantage when raising this value.
  47.  
  48. language=
  49. machine=svga_s3
  50. captures=capture
  51. memsize=16
  52.  
  53. [render]
  54. # frameskip: How many frames DOSBox skips before drawing one.
  55. # aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
  56. # scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,
  57. # then the scaler will be used even if the result might not be desired.
  58. # Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
  59.  
  60. frameskip=0
  61. aspect=false
  62. scaler=normal2x
  63.  
  64. [cpu]
  65. # core: CPU Core used in emulation. auto will switch to dynamic if available and
  66. # appropriate.
  67. # Possible values: auto, dynamic, normal, simple.
  68. # cputype: CPU Type used in emulation. auto is the fastest choice.
  69. # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
  70. # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
  71. # Setting this value too high results in sound dropouts and lags.
  72. # Cycles can be set in 3 ways:
  73. # 'auto' tries to guess what a game needs.
  74. # It usually works, but can fail for certain games.
  75. # 'fixed #number' will set a fixed amount of cycles. This is what you usually
  76. # need if 'auto' fails (Example: fixed 4000).
  77. # 'max' will allocate as much cycles as your computer is able to
  78. # handle.
  79. # Possible values: auto, fixed, max.
  80. # cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
  81. # cycledown: Setting it lower than 100 will be a percentage.
  82.  
  83. core=dynamic
  84. cputype=auto
  85. cycles=max
  86. cycleup=100
  87. cycledown=100
  88.  
  89. [mixer]
  90. # nosound: Enable silent mode, sound is still emulated though.
  91. # rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
  92. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  93. # blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
  94. # Possible values: 1024, 2048, 4096, 8192, 512, 256.
  95. # prebuffer: How many milliseconds of data to keep on top of the blocksize.
  96.  
  97. nosound=false
  98. rate=44100
  99. blocksize=1024
  100. prebuffer=20
  101.  
  102. [midi]
  103. # mpu401: Type of MPU-401 to emulate.
  104. # Possible values: intelligent, uart, none.
  105. # mididevice: Device that will receive the MIDI data from MPU-401.
  106. # Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
  107. # midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use.
  108. # or in the case of coreaudio, you can specify a soundfont here.
  109. # When using a Roland MT-32 rev. 0 as midi output device, some games may require a delay in order to prevent 'buffer overflow' issues.
  110. # In that case, add 'delaysysex', for example: midiconfig=2 delaysysex
  111. # See the README/Manual for more details.
  112.  
  113. mpu401=intelligent
  114. mididevice=default
  115. midiconfig=
  116.  
  117. [sblaster]
  118. # sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
  119. # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
  120. # sbbase: The IO address of the soundblaster.
  121. # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
  122. # irq: The IRQ number of the soundblaster.
  123. # Possible values: 7, 5, 3, 9, 10, 11, 12.
  124. # dma: The DMA number of the soundblaster.
  125. # Possible values: 1, 5, 0, 3, 6, 7.
  126. # hdma: The High DMA number of the soundblaster.
  127. # Possible values: 1, 5, 0, 3, 6, 7.
  128. # sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
  129. # oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
  130. # Possible values: auto, cms, opl2, dualopl2, opl3, opl3gold, none.
  131. # oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
  132. # Possible values: default, compat, fast.
  133. # oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
  134. # Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
  135.  
  136. sbtype=sb16
  137. sbbase=220
  138. irq=7
  139. dma=1
  140. hdma=5
  141. sbmixer=true
  142. oplmode=auto
  143. oplemu=default
  144. oplrate=44100
  145.  
  146. [gus]
  147. # gus: Enable the Gravis Ultrasound emulation.
  148. # gusrate: Sample rate of Ultrasound emulation.
  149. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  150. # gusbase: The IO base address of the Gravis Ultrasound.
  151. # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
  152. # gusirq: The IRQ number of the Gravis Ultrasound.
  153. # Possible values: 5, 3, 7, 9, 10, 11, 12.
  154. # gusdma: The DMA channel of the Gravis Ultrasound.
  155. # Possible values: 3, 0, 1, 5, 6, 7.
  156. # ultradir: Path to Ultrasound directory. In this directory
  157. # there should be a MIDI directory that contains
  158. # the patch files for GUS playback. Patch sets used
  159. # with Timidity should work fine.
  160.  
  161. gus=false
  162. gusrate=44100
  163. gusbase=240
  164. gusirq=5
  165. gusdma=3
  166. ultradir=C:\ULTRASND
  167.  
  168. [speaker]
  169. # pcspeaker: Enable PC-Speaker emulation.
  170. # pcrate: Sample rate of the PC-Speaker sound generation.
  171. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  172. # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
  173. # Possible values: auto, on, off.
  174. # tandyrate: Sample rate of the Tandy 3-Voice generation.
  175. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  176. # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
  177.  
  178. pcspeaker=true
  179. pcrate=44100
  180. tandy=auto
  181. tandyrate=44100
  182. disney=true
  183.  
  184. [joystick]
  185. # joysticktype: Type of joystick to emulate: auto (default), none,
  186. # 2axis (supports two joysticks),
  187. # 4axis (supports one joystick, first joystick used),
  188. # 4axis_2 (supports one joystick, second joystick used),
  189. # fcs (Thrustmaster), ch (CH Flightstick).
  190. # none disables joystick emulation.
  191. # auto chooses emulation depending on real joystick(s).
  192. # (Remember to reset dosbox's mapperfile if you saved it earlier)
  193. # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
  194. # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
  195. # autofire: continuously fires as long as you keep the button pressed.
  196. # swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
  197. # buttonwrap: enable button wrapping at the number of emulated buttons.
  198.  
  199. joysticktype=fcs
  200. timed=true
  201. autofire=false
  202. swap34=false
  203. buttonwrap=false
  204.  
  205. [serial]
  206. # serial1: set type of device connected to com port.
  207. # Can be disabled, dummy, modem, nullmodem, directserial.
  208. # Additional parameters must be in the same line in the form of
  209. # parameter:value. Parameter for all types is irq (optional).
  210. # for directserial: realport (required), rxdelay (optional).
  211. # (realport:COM1 realport:ttyS0).
  212. # for modem: listenport (optional).
  213. # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
  214. # transparent, port, inhsocket (all optional).
  215. # Example: serial1=modem listenport:5000
  216. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  217. # serial2: see serial1
  218. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  219. # serial3: see serial1
  220. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  221. # serial4: see serial1
  222. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  223.  
  224. serial1=dummy
  225. serial2=dummy
  226. serial3=disabled
  227. serial4=disabled
  228.  
  229. [dos]
  230. # xms: Enable XMS support.
  231. # ems: Enable EMS support. The default (=true) provides the best
  232. # compatibility but certain applications may run better with
  233. # other choices, or require EMS support to be disabled (=false)
  234. # to work at all.
  235. # Possible values: true, emsboard, emm386, false.
  236. # umb: Enable UMB support.
  237. # keyboardlayout: Language code of the keyboard layout (or none).
  238.  
  239. xms=true
  240. ems=true
  241. umb=true
  242. keyboardlayout=none
  243.  
  244. [autoexec]
  245. # Lines in this section will be run at startup.
  246. # You can put your MOUNT lines here.
Add Comment
Please, Sign In to add comment