ectorhga

dosbox-staging.conf

Dec 22nd, 2020 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.27 KB | None | 0 0
  1. # This is the configuration file for dosbox-staging (git).
  2. # Lines starting with a '#' character are comments.
  3.  
  4. [sdl]
  5. # fullscreen: Start DOSBox directly in fullscreen.
  6. # Press Alt-Enter to switch back to window.
  7. # display: Number of display to use; values depend on OS and user settings.
  8. # fullresolution: What resolution to use for fullscreen: 'original', 'desktop'
  9. # or a fixed size (e.g. 1024x768).
  10. # windowresolution: Set window size to be used when running in windowed mode:
  11. # default: Select the best option based on your
  12. # environment and other settings.
  13. # original: Resize window to the resolution picked by
  14. # the emulated program.
  15. # resizable: Make the emulator window resizable.
  16. # This is an experimental option, works only with
  17. # output=opengl and glshader=sharp (or none)
  18. # <custom>: Scale the window content to the indicated
  19. # dimensions, in WxH format. For example: 1024x768.
  20. # Scaling is not performed for output=surface.
  21. # output: What video system to use for output.
  22. # Possible values: surface, texture, texturenb, texturepp.
  23. # texture_renderer: Choose a renderer driver when using a texture output mode.
  24. # Use texture_renderer=auto for an automatic choice.
  25. # Possible values: auto, opengl, opengles2, software.
  26. # capture_mouse: Choose a mouse control method:
  27. # onclick: The mouse will be captured after the first
  28. # click inside the window.
  29. # onstart: The mouse is captured immediately on start
  30. # (similar to real DOS).
  31. # seamless: The mouse can move seamlessly in and out of DOSBox
  32. # window and cannot be captured.
  33. # nomouse: The mouse is disabled and hidden without any
  34. # input sent to the game.
  35. # Choose how middle-clicks are handled (second parameter):
  36. # middlegame: Middle-clicks are sent to the game
  37. # (Ctrl-F10 uncaptures the mouse).
  38. # middlerelease: Middle-clicks are used to uncapture the mouse
  39. # (not sent to the game). However, middle-clicks
  40. # will be sent to the game in fullscreen or when
  41. # seamless control is set.
  42. # Ctrl-F10 will also uncapture the mouse.
  43. # Defaults (if not present or incorrect): seamless middlerelease
  44. # Possible values: seamless, onclick, onstart, nomouse.
  45. # sensitivity: Mouse sensitivity. The optional second parameter specifies vertical sensitivity (e.g. 100,-50).
  46. # raw_mouse_input: Enable this setting to bypass your operating system's mouse
  47. # acceleration and sensitivity settings. This works in
  48. # fullscreen or when the mouse is captured in window mode.
  49. # waitonerror: Wait before closing the console if dosbox has an error.
  50. # priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
  51. # pause is only valid for the second entry.
  52. # Possible values: lowest, lower, normal, higher, highest, pause.
  53. # mapperfile: File used to load/save the key/event mappings from.
  54. # Resetmapper only works with the default value.
  55. # screensaver: Use 'allow' or 'block' to override the SDL_VIDEO_ALLOW_SCREENSAVER
  56. # environment variable (which usually blocks the OS screensaver
  57. # while the emulator is running).
  58. # Possible values: auto, allow, block.
  59.  
  60. fullscreen = true
  61. display = 0
  62. fullresolution = desktop
  63. windowresolution = original
  64. output = texturepp
  65. texture_renderer = opengl
  66. capture_mouse = onstart
  67. sensitivity = 100
  68. raw_mouse_input = false
  69. waitonerror = true
  70. priority = higher,normal
  71. mapperfile = mapper-sdl2-git.map
  72. screensaver = auto
  73.  
  74. [dosbox]
  75. # language: Select another language file.
  76. # machine: The type of machine DOSBox tries to emulate.
  77. # Possible values: hercules, cga, cga_mono, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
  78. # captures: Directory where things like wave, midi, screenshot get captured.
  79. # memsize: Amount of memory DOSBox has in megabytes.
  80. # This value is best left at its default to avoid problems with some games,
  81. # though few games might require a higher value.
  82. # There is generally no speed advantage when raising this value.
  83. # startup_verbosity: Controls verbosity prior to displaying the program:
  84. # | Show splash | Show welcome | Show early stdout
  85. # high | yes | yes | yes
  86. # medium | no | yes | yes
  87. # low | no | no | yes
  88. # quiet | no | no | no
  89. # auto | 'low' if exec or dir is passed, otherwise 'high'
  90. # Possible values: high, medium, low, quiet, auto.
  91.  
  92. language =
  93. machine = vesa_nolfb
  94. captures = capture
  95. memsize = 16
  96. startup_verbosity = high
  97.  
  98. [render]
  99. # frameskip: How many frames DOSBox skips before drawing one.
  100. # aspect: Scales the vertical resolution to produce a 4:3 display aspect
  101. # ratio, matching that of the original standard-definition monitors
  102. # for which the majority of DOS games were designed. This setting
  103. # only affects video modes that use non-square pixels, such as
  104. # 320x200 or 640x400; where as square-pixel modes, such as 640x480
  105. # and 800x600, will be displayed as-is.
  106. # monochrome_palette: Select default palette for monochrome display.
  107. # Works only when emulating hercules or cga_mono.
  108. # You can also cycle through available colours using F11.
  109. # Possible values: white, paperwhite, green, amber.
  110. # scaler: Scaler used to enlarge/enhance low resolution modes.
  111. # If 'forced' is appended, then the scaler will be used even if
  112. # the result might not be desired.
  113. # Note that some scalers may use black borders to fit the image
  114. # within your configured display resolution. If this is
  115. # undesirable, try either a different scaler or enabling
  116. # fullresolution output.
  117. # Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
  118.  
  119. frameskip = 0
  120. aspect = true
  121. monochrome_palette = white
  122. scaler = none
  123. glshader = none
  124.  
  125. [cpu]
  126. # core: CPU Core used in emulation. auto will switch to dynamic if available and
  127. # appropriate.
  128. # Possible values: auto, dynamic, normal, simple.
  129. # cputype: CPU Type used in emulation. auto is the fastest choice.
  130. # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
  131. # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
  132. # Setting this value too high results in sound dropouts and lags.
  133. # Cycles can be set in 3 ways:
  134. # 'auto' tries to guess what a game needs.
  135. # It usually works, but can fail for certain games.
  136. # 'fixed #number' will set a fixed amount of cycles. This is what you usually
  137. # need if 'auto' fails (Example: fixed 4000).
  138. # 'max' will allocate as much cycles as your computer is able to
  139. # handle.
  140. # Possible values: auto, fixed, max.
  141. # cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
  142. # cycledown: Setting it lower than 100 will be a percentage.
  143.  
  144. core = dynamic
  145. cputype = auto
  146. cycles = fixed 32000
  147. cycleup = 10
  148. cycledown = 20
  149.  
  150. [mixer]
  151. # nosound: Enable silent mode, sound is still emulated though.
  152. # rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
  153. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  154. # blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
  155. # Possible values: 1024, 2048, 4096, 8192, 512, 256.
  156. # prebuffer: How many milliseconds of data to keep on top of the blocksize.
  157.  
  158. nosound = false
  159. rate = 44100
  160. blocksize = 1024
  161. prebuffer = 25
  162.  
  163. [midi]
  164. # mididevice: Device that will receive the MIDI data (from the emulated MIDI
  165. # interface - MPU-401).
  166. # Use 'fluidsynth' to select built-in software synthesiser,
  167. # see the fluidsynth section for detailed configuration.
  168. # Use 'auto' to pick the first working external device.
  169. # Possible values: auto, oss, alsa, fluidsynth, none.
  170. # midiconfig: Configuration options for the selected MIDI interface.
  171. # This is usually the id or name of the MIDI synthesiser you want
  172. # to use (find the id/name with DOS command 'mixer /listmidi').
  173. # - When using the built-in FluidSynth (mididevice = fluidsynth),
  174. # this option has no effect. Instead, configure FluidSynth using
  175. # the dedicated [fluidsynth] section below.
  176. # - When using ALSA, use Linux command 'aconnect -l' to list open
  177. # MIDI ports, and select one (for example 'midiconfig=14:0'
  178. # for sequencer client 14, port 0).
  179. # - When using a Roland MT-32 rev.0 as midi output device, some
  180. # games may require a delay in order to prevent MT-32 hardware
  181. # buffer overflow issues. In that case, add 'delaysysex',
  182. # for example: 'midiconfig=2 delaysysex'.
  183. # See the README/Manual for more details.
  184. # mpu401: Type of MPU-401 to emulate.
  185. # Possible values: intelligent, uart, none.
  186.  
  187. mididevice = fluidsynth
  188. midiconfig =
  189. mpu401 = intelligent
  190.  
  191. [fluidsynth]
  192. # soundfont: Path to a SoundFont file in .sf2 format. You can use an
  193. # absolute or relative path, or the name of an .sf2 inside
  194. # the 'soundfonts' directory within your DOSBox configuration
  195. # directory.
  196. # An optional percentage will scale the SoundFont's volume.
  197. # For example: 'soundfont.sf2 50' will attenuate it by 50 percent.
  198. # The scaling percentage can range from 1 to 500.
  199. # synth_threads: If set to a value greater than 1, then additional synthesis
  200. # threads will be created to take advantage of many CPU cores.
  201. # (min 1, max 256)
  202.  
  203. soundfont = /usr/share/sounds/sf2/FatBoy.sf2
  204. synth_threads = 1
  205.  
  206. [sblaster]
  207. # sbtype: Type of Sound Blaster to emulate. 'gb' is Game Blaster.
  208. # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
  209. # sbbase: The IO address of the Sound Blaster.
  210. # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
  211. # irq: The IRQ number of the Sound Blaster.
  212. # Possible values: 7, 5, 3, 9, 10, 11, 12.
  213. # dma: The DMA number of the Sound Blaster.
  214. # Possible values: 1, 5, 0, 3, 6, 7.
  215. # hdma: The High DMA number of the Sound Blaster.
  216. # Possible values: 1, 5, 0, 3, 6, 7.
  217. # sbmixer: Allow the Sound Blaster mixer to modify the DOSBox mixer.
  218. # oplmode: Type of OPL emulation. On 'auto' the mode is determined by 'sbtype'.
  219. # All OPL modes are AdLib-compatible, except for 'cms'.
  220. # Possible values: auto, cms, opl2, dualopl2, opl3, opl3gold, none.
  221. # oplemu: Provider for the OPL emulation. 'compat' provides better quality,
  222. # 'nuked' is the default and most accurate (but the most CPU-intensive).
  223. # Possible values: default, compat, fast, mame, nuked.
  224.  
  225. sbtype = sb16
  226. sbbase = 220
  227. irq = 7
  228. dma = 1
  229. hdma = 5
  230. sbmixer = true
  231. oplmode = auto
  232. oplemu = default
  233.  
  234. [gus]
  235. # gus: Enable Gravis UltraSound emulation.
  236. # gusbase: The IO base address of the Gravis UltraSound.
  237. # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
  238. # gusirq: The IRQ number of the Gravis UltraSound.
  239. # Possible values: 5, 3, 7, 9, 10, 11, 12.
  240. # gusdma: The DMA channel of the Gravis UltraSound.
  241. # Possible values: 3, 0, 1, 5, 6, 7.
  242. # ultradir: Path to UltraSound directory. In this directory
  243. # there should be a MIDI directory that contains
  244. # the patch files for GUS playback. Patch sets used
  245. # with Timidity should work fine.
  246.  
  247. gus = false
  248. gusbase = 240
  249. gusirq = 5
  250. gusdma = 3
  251. ultradir = C:\ULTRASND
  252.  
  253. [speaker]
  254. # pcspeaker: Enable PC-Speaker emulation.
  255. # pcrate: Sample rate of the PC-Speaker sound generation.
  256. # zero_offset: Neutralizes and prevents the PC speaker's DC-offset from harming other sources.
  257. # 'auto' enables this for non-Windows systems and disables it on Windows.
  258. # If your OS performs its own DC-offset correction, then set this to 'false'.
  259. # Possible values: auto, true, false.
  260. # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
  261. # Possible values: auto, on, off.
  262. # tandyrate: Sample rate of the Tandy 3-Voice generation.
  263. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  264. # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
  265.  
  266. pcspeaker = true
  267. pcrate = 18939
  268. zero_offset = auto
  269. tandy = auto
  270. tandyrate = 44100
  271. disney = true
  272.  
  273. [joystick]
  274. # joysticktype: Type of joystick to emulate: auto (default), none,
  275. # 2axis (supports two joysticks),
  276. # 4axis (supports one joystick, first joystick used),
  277. # 4axis_2 (supports one joystick, second joystick used),
  278. # fcs (Thrustmaster), ch (CH Flightstick).
  279. # none disables joystick emulation.
  280. # auto chooses emulation depending on real joystick(s).
  281. # (Remember to reset dosbox's mapperfile if you saved it earlier)
  282. # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
  283. # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
  284. # autofire: continuously fires as long as you keep the button pressed.
  285. # swap34: swap the 3rd and the 4th axis. Can be useful for certain joysticks.
  286. # buttonwrap: enable button wrapping at the number of emulated buttons.
  287. # circularinput: enable translation of circular input to square output.
  288. # Try enabling this if your left analog stick can only move in a circle.
  289. # deadzone: the percentage of motion to ignore. 100 turns the stick into a digital one.
  290.  
  291. joysticktype = auto
  292. timed = true
  293. autofire = false
  294. swap34 = false
  295. buttonwrap = false
  296. circularinput = false
  297. deadzone = 10
  298.  
  299. [serial]
  300. # serial1: set type of device connected to com port.
  301. # Can be disabled, dummy, modem, nullmodem, directserial.
  302. # Additional parameters must be in the same line in the form of
  303. # parameter:value. Parameter for all types is irq (optional).
  304. # for directserial: realport (required), rxdelay (optional).
  305. # (realport:COM1 realport:ttyS0).
  306. # for modem: listenport (optional).
  307. # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
  308. # transparent, port, inhsocket (all optional).
  309. # Example: serial1=modem listenport:5000
  310. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  311. # serial2: see serial1
  312. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  313. # serial3: see serial1
  314. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  315. # serial4: see serial1
  316. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  317. # phonebookfile: File used to map fake phone numbers to addresses.
  318.  
  319. serial1 = dummy
  320. serial2 = dummy
  321. serial3 = disabled
  322. serial4 = disabled
  323. phonebookfile = phonebook.txt
  324.  
  325. [dos]
  326. # xms: Enable XMS support.
  327. # ems: Enable EMS support. The default (=true) provides the best
  328. # compatibility but certain applications may run better with
  329. # other choices, or require EMS support to be disabled (=false)
  330. # to work at all.
  331. # Possible values: true, emsboard, emm386, false.
  332. # umb: Enable UMB support.
  333. # ver: Set DOS version (5.0 by default). Specify as major.minor format.
  334. # A single number is treated as the major version.
  335. # Common settings are 3.3, 5.0, 6.22, and 7.1.
  336. # keyboardlayout: Language code of the keyboard layout (or none).
  337.  
  338. xms = true
  339. ems = true
  340. umb = true
  341. ver = 5.0
  342. keyboardlayout = auto
  343.  
  344. [ipx]
  345. # ipx: Enable ipx over UDP/IP emulation.
  346.  
  347. ipx = false
  348.  
  349. [autoexec]
  350. # Lines in this section will be run at startup.
  351. # You can put your MOUNT lines here.
  352. keyb gr
  353. mount c "/home/pi/RetroPie/roms/pc.system" -label System
  354. mount d "/home/pi/RetroPie/roms/pc.games" -label Games
  355. set PATH=%PATH%;c:\;c:\nc
  356. c:
  357.  
Add Comment
Please, Sign In to add comment