1; VGMPlay Configuration File
2; --------------------------
3;
4; Default Values are usually 0 (False for boolean ones)
5; Boolean Values are:
6;	False / 0
7;	True / 1
8
9[General]
10; Default Sample Rate: 44100
11SampleRate = 48000
12; If you set PlaybackRate to 50, some songs will play slower, like on a PAL console.
13; If you set it to 60, some songs may play faster, like PAL games on a NTSC console.
14PlaybackRate = 0
15
16; double the volume of the YM2xxx SSG, if it gets overridden by a VGM's header.
17; This option will be removed once all VGMs on vgmrips are fixed.
18DoubleSSGVol = True
19
20; Display Japanese GD3 Tag if available
21; Most western Windows systems won't be able to display Japanese characters in the normal console,
22; so use at own risk. (Linux doesn't have this problem.)
23PreferJapTag = False
24
25; Default Fade Time: 5000
26FadeTime = 8000
27; In-Playlist Fade Time: for all looping tracks in a playlist (except the last one)
28; Setting this to 0 simulate a Song-Medley without gaps.
29; Default Fade Time in Playlist: 2000
30FadeTimePL = 0
31JinglePause = 1000
32
33; enforce silence at the end of old VGMs (version <1.50), enable to fix hanging notes in playlists
34HardStopOld = False
35; Fade RAW logs from emulators (VGMs without Creator-Tag) so that they don't
36; end abruptly at the full volume level but at 33%
37FadeRAWLogs = False
38; Default Volume: 1.0 (of course)
39Volume = 1.0
40
41; Log Sound to Wave: 0 - no logging, 1 - log only, 2 - play and log
42LogSound = 0
43
44; Maximum Loops before fading
45; Default: 0x02 (0x01 for CMF)
46MaxLoops = 0x02
47MaxLoopsCMF = 0x01
48
49; Resampling Mode:
50;	0 - always high quality resampler (default)
51;	1 - HQ resampler for upsampling, LQ resampler for downsampling (recommend for slow machines)
52;	2 - always low quality resampler (very fast)
53ResamplingMode = 0
54; Chip Sample Mode:
55;	0 - Native (default)
56;	1 - use highest sampling rate (native or the one below)
57;	2 - use always the sampling rate below (CPU friendly)
58;	3 - use native sample rate for FM chips and highest sampling rate for all others
59ChipSmplMode = 3
60; Default Chip Sample Rate: 0 (results in value of Playback SampleRate)
61ChipSmplRate = 0
62
63; [Windows only] waveOut device ID to use (0 = default/Wave Mapper)
64OutputDevice = 0
65; Force Audio Buffer Number (1 Buffer = 10 ms, Minimum is 4, Maximum is 200)
66; higher values result in greater delays while seeking (and pausing with EmulatePause On)
67; set this to 50 or 100 if the sound is choppy
68; 0 results in 10 for Windows 98/ME/2000/XP/7,
69; 50 for Windows 95 and 20 for Windows Vista
70AudioBuffers = 0
71; "Surround" Sound - inverts the waveform of the right channel to create a pseudo surround effect
72; use only with headphones!!
73SurroundSound = False
74; Emulate during Pause: continue to generate sound while playback is paused
75EmulatePause = False
76; Shows the last data block played with DAC Stream Command 95. Useful for debugging.
77;	0 - don't show
78;	1 - show data block ID only
79;	2 - show data block ID + frequency
80;	3 - show data block ID + frequency in KHz
81ShowStreamCmds = 3
82
83; --- FM Hardware Section Start ---
84; Hardware FM Port (in hex, usually 220 or 388)
85FMPort = 0
86; Force FM Mode, even if only the SN76496 is used, also enables Mixed Mode (Hardware FM + Software Emulator)
87FMForce = False
88; Makes some FM-Voices fading on track-end instead of instant silencing them
89FMSoftStop = True
90; Overrides Volume setting, if FM hardware is used
91; Possible values:
92;	= 0 - don't override (default)
93;	> 0 - override Volume setting and VGM Volume Modifier
94;	< 0 - multiply with volume
95FMVolume = 1.0
96; allow OPL3 panning commands in OPL 1/2 data (default: False)
97FMOPL2Pan = True
98; --- FM Hardware Section End ---
99
100
101; Chip Options
102; ------------
103; - Disabled = False/True
104;	disable the emulation of the current chip
105; - EmulatorType = 0 / 1 / ...
106;	0 is recommend/default, 1+ are alternative emulation cores
107; - MuteMask = 0
108;	mute channels by setting the muting bitmask
109; - MuteCh? = False/True
110;	mute channel ?
111; - Mutexxx = False/True
112;	mute channel with the name xxx (e.g. DAC, DT, BD, ...)
113
114[SN76496]
115Disabled = False
116; EmulatorType: 0 - MAME, 1 - Maxim
117EmulatorType = 0x00
118; Channels: 4 (0-3)
119
120[YM2413]
121Disabled = False
122; FMPort = 0:
123;	EmulatorType: 0 - EMU2413, 1 - MAME
124; FMPort != 0:
125;	EmulatorType: 0 - Valley Bell Custom, 1 - Meka
126EmulatorType = 0x00
127; Channels: 14 (0-8, BD, SD, TOM, TC, HH)
128
129[YM2612]
130Disabled = False
131; EmulatorType: 0 - MAME (Genesis Plus GX), 1 - Nuked OPN2, 2 - Gens
132EmulatorType = 0x00
133; MAME: if on, the chip updates its left/right channel alternatively, creating a nice pseudo-stereo effect
134; Note: If you emulate at a set sample rate, this option halves it.
135PseudoStereo = False
136; Gens: DAC Highpass-Filter (sometimes sounds good, but sometimes it generates a terrible noise)
137DACHighpass = False
138; Gens: SSG-EG Enable (very buggy)
139SSG-EG = False
140; Nuked OPN2 chip type: 0 - YM2612 with Mega Drive model 1 filter simulation
141;                       1 - ASIC YM3438, 2 - Discrete YM3438, 3 - YM2612
142NukedType = 0x00
143; Channels: 7 (0-5, DAC)
144
145[YM2151]
146Disabled = False
147; Channels: 8 (0-7)
148
149[SegaPCM]
150Disabled = False
151; Channels: 16 (0-15)
152
153[RF5C68]
154Disabled = False
155; Channels: 8 (0-7)
156
157[YM2203]
158Disabled = False
159; AY/YM2149 EmulatorType: 0 - EMU2149, 1 - MAME
160EmulatorType = 0x00
161; disable the AY8910-part to speed up loading
162DisableAY = False
163; Channels: 3 (0-2)
164
165[YM2608]
166Disabled = False
167EmulatorType = 0x00
168DisableAY = False
169; Channels: 6 FM (0-5) + 6 ADPCM (0-5) + 1 Delta-T
170; Use MuteMask_FM, MuteMask_PCM (Delta-T is Ch6), MuteFMCh, MutePCMCh and MuteDT
171
172[YM2610]
173Disabled = False
174EmulatorType = 0x00
175DisableAY = False
176; Channels: 6 FM (0-5) + 6 ADPCM (0-5) + 1 Delta-T
177; Use MuteMask_FM, MuteMask_PCM (Delta-T is Ch6), MuteFMCh, MutePCMCh and MuteDT
178
179[YM3812]
180Disabled = False
181; EmulatorType: 0 - DOSBox (AdLibEmu), 1 - MAME
182EmulatorType = 0x00
183; Channels: 14 (0-8, BD, SD, TOM, TC, HH)
184
185[YM3526]
186Disabled = False
187; Channels: 14 (0-8, BD, SD, TOM, TC, HH)
188
189[Y8950]
190Disabled = False
191; Channels: 15 (0-8, BD, SD, TOM, TC, HH, DT)
192
193[YMF262]
194Disabled = False
195; EmulatorType: 0 - DOSBox (AdLibEmu), 1 - MAME
196EmulatorType = 0x00
197; Channels: 23 (0-17, BD, SD, TOM, TC, HH)
198
199[YMF278B]
200Disabled = False
201; Channels: 23 FM (0-17, BD, SD, TOM, TC, HH) + 24 WaveTable (0-23)
202; Use MuteMask_FM, MuteMask_WT, MuteFMCh and MuteWTCh
203
204[YMF271]
205Disabled = False
206; Channels: 12 (0-11)
207
208[YMZ280B]
209Disabled = False
210; Channels: 8 (0-7)
211
212[RF5C164]
213Disabled = False
214; Channels: 8 (0-7)
215
216[PWM]
217Disabled = False
218; Channels: none (it just has left and right)
219
220[AY8910]
221Disabled = False
222; EmulatorType: 0 - EMU2149, 1 - MAME
223EmulatorType = 0x00
224; Channels: 3 (0-2)
225
226[GameBoy]
227Disabled = False
228; double the volume of the Wave Channel (sounds better, but may be less accurate and seems to sound distorted sometimes, like nezplay++)
229BoostWaveChn = True
230; Channels: 4 (0-3)
231
232[NES APU]
233Disabled = False
234; EmulatorType: 0 - NSFPlay, 1 - MAME
235EmulatorType = 0x00
236; Channels: 6 (0-5 = Square 1, Square 2, Triangle, Noise, DPCM, FDS)
237
238; Options (NSFPlay cores only)
239; -------
240; APU/DMC Options (2 bits, default: 0x03)
241;   0x01 - OPT_UNMUTE_ON_RESET (enable all channels by default after reset)
242;   0x02 - OPT_NONLINEAR_MIXER
243SharedOpts = 0x03
244; APU Options (2 bits, default: 0x01)
245;   0x01 - OPT_PHASE_REFRESH
246;   0x02 - OPT_DUTY_SWAP
247APUOpts = 0x01
248; DMC Options (6 bits, default: 0x3B)
249;   0x01 - OPT_ENABLE_4011
250;   0x02 - OPT_ENABLE_PNOISE
251;   0x04 - OPT_DPCM_ANTI_CLICK (nullify register 4011 writes, keeps DPCM limits correctly)
252;   0x08 - OPT_RANDOMIZE_NOISE
253;   0x10 - OPT_TRI_MUTE (stops Triangle wave if set to freq = 0, processes it at a very high rate else)
254;   0x20 - OPT_TRI_NULL (VB custom, always makes Triangle return to null-level when stopping)
255DMCOpts = 0x3B
256; FDS Options (1 bit, default: 0x00)
257;   0x01 - OPT_4085_RESET (reset modulation phase on 4085 writes)
258FDSOpts = 0x00
259
260[YMW258]
261Disabled = False
262; Channels: 28 (0-27)
263
264[uPD7759]
265Disabled = False
266; Channels: none (actually 1)
267
268[OKIM6258]
269Disabled = False
270; enables internal 10-bit processing (original MESS behaviour)
271; The comments in the code say something about 10-bit and 12-bit DAC, but that's not what the code does.
272Enable10Bit = False
273; Channels: none (actually 1)
274
275[OKIM6295]
276Disabled = False
277; Channels: 4 (0-3)
278
279[K051649]
280; also known as SCC1
281Disabled = False
282; Channels: 5 (0-4)
283
284[K054539]
285Disabled = False
286; Channels: 8 (0-7)
287
288[HuC6280]
289Disabled = False
290; EmulatorType: 0 - Ootake, 1 - MAME (sounds brighter, lacks LFO)
291EmulatorType = 0x00
292; Channels: 6 (0-5)
293
294[C140]
295Disabled = False
296; Channels: 24 (0-23)
297
298[K053260]
299Disabled = False
300; Channels: 4 (0-3)
301
302[Pokey]
303Disabled = False
304; Channels: 4 (0-3)
305
306[QSound]
307Disabled = False
308; EmulatorType: 0 - superctr custom (Based on real DSP code, featuring QSound effects),
309;               1 - MAME (old HLE, higher sample rate)
310EmulatorType = 0x00
311; Channels: 16 (0-15)
312
313[SCSP]
314Disabled = False
315; Skip all DSP calculations, huge speedup (the DSP doesn't work correctly right now anyway) (default: True)
316BypassDSP = True
317; Channels: 32 (0-31)
318
319[WSwan]
320Disabled = False
321; Channels: 4 (0-3)
322
323[VSU]
324Disabled = False
325; Channels: 6 (0-5)
326
327[SAA1099]
328Disabled = False
329; Channels: 6 (0-5)
330
331[ES5503]
332Disabled = False
333; Channels: 32 (0-31)
334
335[ES5506]
336Disabled = False
337; Channels: 32 (0-31)
338
339[X1-010]
340Disabled = False
341; Channels: 16 (0-15)
342
343[C352]
344Disabled = False
345; disable rear channels (disregarding the rear enable/disable setting in VGMs)
346DisableRear = False
347; Channels: 32 (0-31)
348
349[GA20]
350Disabled = False
351; Channels: 4 (0-3)
352