ProjectArcade
281 строка · 11.8 Кб
1# This is the configuration file for DOSBox 0.74-3. (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# fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox.
8# fullresolution: What resolution to use for fullscreen: original, desktop or fixed size (e.g. 1024x768).
9# Using your monitor's native resolution (desktop) with aspect=true might give the best results.
10# If you end up with small window on a large screen, try an output different from surface.
11# On Windows 10 with display scaling (Scale and layout) set to a value above 100%, it is recommended
12# to use a lower full/windowresolution, in order to avoid window size problems.
13# windowresolution: Scale the window to this size IF the output device supports hardware scaling.
14# (output=surface does not!)
15# output: What video system to use for output.
16# Possible values: surface, overlay, opengl, openglnb, ddraw.
17# autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
18# sensitivity: Mouse sensitivity.
19# waitonerror: Wait before closing the console if dosbox has an error.
20# priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
21# pause is only valid for the second entry.
22# Possible values: lowest, lower, normal, higher, highest, pause.
23# mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.
24# usescancodes: Avoid usage of symkeys, might not work on all operating systems.
25
26fullscreen=true
27fulldouble=false
28fullresolution=1280x960
29windowresolution=original
30output=opengl
31autolock=true
32sensitivity=100
33waitonerror=true
34priority=higher,normal
35mapperfile=mapper-0.74-3.map
36usescancodes=true
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
48language=
49machine=vesa_nolfb
50captures=capture
51memsize=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# To fit a scaler in the resolution used at full screen may require a border or side bars,
59# to fill the screen entirely, depending on your hardware, a different scaler/fullresolution might work.
60# Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
61
62frameskip=0
63aspect=false
64scaler=none
65
66[cpu]
67# core: CPU Core used in emulation. auto will switch to dynamic if available and
68# appropriate.
69# Possible values: auto, dynamic, normal, simple.
70# cputype: CPU Type used in emulation. auto is the fastest choice.
71# Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
72# cycles: Amount of instructions DOSBox tries to emulate each millisecond.
73# Setting this value too high results in sound dropouts and lags.
74# Cycles can be set in 3 ways:
75# 'auto' tries to guess what a game needs.
76# It usually works, but can fail for certain games.
77# 'fixed #number' will set a fixed amount of cycles. This is what you usually
78# need if 'auto' fails. (Example: fixed 4000).
79# 'max' will allocate as much cycles as your computer is able to
80# handle.
81# Possible values: auto, fixed, max.
82# cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
83# cycledown: Setting it lower than 100 will be a percentage.
84
85core=auto
86cputype=pentium_slow
87cycles=max
88cycleup=500
89cycledown=20
90
91[mixer]
92# nosound: Enable silent mode, sound is still emulated though.
93# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
94# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
95# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
96# Possible values: 1024, 2048, 4096, 8192, 512, 256.
97# prebuffer: How many milliseconds of data to keep on top of the blocksize.
98
99nosound=false
100rate=48000
101blocksize=2048
102prebuffer=10
103
104[midi]
105# mpu401: Type of MPU-401 to emulate.
106# Possible values: intelligent, uart, none.
107# mididevice: Device that will receive the MIDI data from MPU-401.
108# Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
109# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use
110# (find the id with mixer/listmidi).
111# Or in the case of coreaudio, you can specify a soundfont here.
112# See the README/Manual for more details.
113
114mpu401=intelligent
115mididevice=default
116midiconfig=
117
118[sblaster]
119# sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
120# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
121# sbbase: The IO address of the soundblaster.
122# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
123# irq: The IRQ number of the soundblaster.
124# Possible values: 7, 5, 3, 9, 10, 11, 12.
125# dma: The DMA number of the soundblaster.
126# Possible values: 1, 5, 0, 3, 6, 7.
127# hdma: The High DMA number of the soundblaster.
128# Possible values: 1, 5, 0, 3, 6, 7.
129# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
130# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
131# Possible values: auto, cms, opl2, dualopl2, opl3, none.
132# oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
133# Possible values: default, compat, fast.
134# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
135# Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
136
137sbtype=sb16
138sbbase=220
139irq=7
140dma=1
141hdma=5
142sbmixer=true
143oplmode=auto
144oplemu=default
145oplrate=48000
146
147[gus]
148# gus: Enable the Gravis Ultrasound emulation.
149# gusrate: Sample rate of Ultrasound emulation.
150# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
151# gusbase: The IO base address of the Gravis Ultrasound.
152# Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
153# gusirq: The IRQ number of the Gravis Ultrasound.
154# Possible values: 5, 3, 7, 9, 10, 11, 12.
155# gusdma: The DMA channel of the Gravis Ultrasound.
156# Possible values: 3, 0, 1, 5, 6, 7.
157# ultradir: Path to Ultrasound directory. In this directory
158# there should be a MIDI directory that contains
159# the patch files for GUS playback. Patch sets used
160# with Timidity should work fine.
161
162gus=true
163gusrate=44100
164gusbase=240
165gusirq=5
166gusdma=3
167ultradir=E:\
168
169[speaker]
170# pcspeaker: Enable PC-Speaker emulation.
171# pcrate: Sample rate of the PC-Speaker sound generation.
172# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
173# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
174# Possible values: auto, on, off.
175# tandyrate: Sample rate of the Tandy 3-Voice generation.
176# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
177# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
178
179pcspeaker=true
180pcrate=22050
181tandy=auto
182tandyrate=22050
183disney=true
184
185[joystick]
186# joysticktype: Type of joystick to emulate: auto (default), none,
187# 2axis (supports two joysticks),
188# 4axis (supports one joystick, first joystick used),
189# 4axis_2 (supports one joystick, second joystick used),
190# fcs (Thrustmaster), ch (CH Flightstick).
191# none disables joystick emulation.
192# auto chooses emulation depending on real joystick(s).
193# (Remember to reset dosbox's mapperfile if you saved it earlier)
194# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
195# timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
196# autofire: continuously fires as long as you keep the button pressed.
197# swap34: swap the 3rd and the 4th axis. Can be useful for certain joysticks.
198# buttonwrap: enable button wrapping at the number of emulated buttons.
199
200joysticktype=auto
201timed=true
202autofire=false
203swap34=false
204buttonwrap=true
205
206[serial]
207# serial1: set type of device connected to com port.
208# Can be disabled, dummy, modem, nullmodem, directserial.
209# Additional parameters must be in the same line in the form of
210# parameter:value. Parameter for all types is irq (optional).
211# for directserial: realport (required), rxdelay (optional).
212# (realport:COM1 realport:ttyS0).
213# for modem: listenport (optional).
214# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
215# transparent, port, inhsocket (all optional).
216# Example: serial1=modem listenport:5000
217# Possible values: dummy, disabled, modem, nullmodem, directserial.
218# serial2: see serial1
219# Possible values: dummy, disabled, modem, nullmodem, directserial.
220# serial3: see serial1
221# Possible values: dummy, disabled, modem, nullmodem, directserial.
222# serial4: see serial1
223# Possible values: dummy, disabled, modem, nullmodem, directserial.
224
225serial1=dummy
226serial2=dummy
227serial3=disabled
228serial4=disabled
229
230[dos]
231# xms: Enable XMS support.
232# ems: Enable EMS support.
233# umb: Enable UMB support.
234# keyboardlayout: Language code of the keyboard layout (or none).
235
236xms=true
237ems=true
238umb=true
239keyboardlayout=auto
240
241[ipx]
242# ipx: Enable ipx over UDP/IP emulation.
243
244Enable=1
245Connection=1
246ipx=true
247
248[autoexec]
249# Lines in this section will be run at startup.
250# You can put your MOUNT lines here.
251@echo off
252cls
253
254set gameid=zsnes
255set gametitle="ZSNES Emulator"
256
257set rootdir=..\..\emulators\%gameid%
258set diskpath=..\..\roms
259#set cdpath=..\..\roms\dos\%gameid%\cdrom
260#set imgname=%gameid%
261#set imgext=iso
262
263set launcher=%gameid%.exe
264#set setup=setup.exe
265
266set guspath=..\..\roms\dos\ultrasnd
267
268echo ********************************************
269echo Running DOSBox with optimized config for:
270echo %gametitle%
271echo ********************************************
272
273mount c "%rootdir%" -freesize 1000
274mount d "%diskpath%" -freesize 1000
275#imgmount d "%rootdir%\%imgname%.%imgext%" -t iso -fs iso
276#mount e "%guspath%" -freesize 1000
277
278c:
279cd %rootdir%
280call %launcher%
281exit