The MAZZTer Death Star

Joined: 25 Sep 2003
|
Posted: Oct 29, 2004 14:24 Post subject: |
|
|
Get this: http://www.ece.mcgill.ca/~vromas/vdmsound/
It's what I use. Also, paste this into a new .INI file... Dark Forces sound isn't perfect with the default VDMS config, but this fixes it:
| Code: | ; Feel free to edit this file to your specific needs in running Dark Forces with VDMSound
[*.depends] ; Add here dependencies common to all modules (beware of circular references!)
[*.debug] ; Add here debug parameters common to all modules
detail = 256 ; 256 = no logging, 192 = errors only, 128 = warnings and errors, 0 = everything
file = .\VDMS.LOG ; log in a file called VDMS.LOG in the current directory
[*.config] ; Add here settings common to all modules
[VDMServicesProvider]
CLSID = VDDLoader.VDMServices
[VDMServicesProvider.config]
fixPOPF = 1 ; makes undocumented system call 2e:e8(0d,0/1) to recover from the PUSHF/CLI/POPF protected-mode cleared interrupts problem (Windows XP only)
[SysEx Indicator]
CLSID = MIDIIndicator.ActivityLights
[SysEx Indicator.config]
led = Scroll ; the indicator led - can be either of Num, Caps or Scroll
[DMA Transfer Manager]
CLSID = DMAController.TransferMgr
[DMA Transfer Manager.depends]
VDMSrv = VDMServicesProvider
[DMA Transfer Manager.config]
minDMAPeriod = 5 ; these regulate the frequency of DMA ...
maxDMAPeriod = 15 ; ... activity (polling and updating)
[SB Controller]
CLSID = EmuSBCompat.SBCompatCtl
[SB Controller.depends]
VDMSrv = VDMServicesProvider
DMACtl = DMA Transfer Manager
WaveOut = SB Wave Player
AdLib = AdLib Controller
[SB Controller.config]
version = 4.15 ; 1.05 for SB1.x, 2.01 for SB2, 3.02 for SBPro, 4.05 for SB16
port = 0x220 ; usually 0x220 (can also be 210, 230, 240, 250, 260 or 280)
IRQ = 7 ; usually 5 or 7
DMA8 = 1 ; usually 1
DMA16 = 5 ; usually 5
[AdLib Controller]
CLSID = EmuAdLib.AdLibCtl
[AdLib Controller.depends]
VDMSrv = VDMServicesProvider
WaveOut = AdLib Wave Player
[AdLib Controller.config]
port = 0x388
sampleRate = 44100 ; sample rate at which to output sound, 44100 = max (highest quality but highest CPU% too), 8000 = min
[SB Wave Player]
CLSID = WaveDevice.WaveOut ; you can also use 'DSoundDevice.WaveOut'
[SB Wave Player.config]
device = 0 ; -1 = the Wave/DirectSound mapper, 0 = first device, 1 = second, etc.
buffer = 75 ; how many milliseconds of audio data to buffer
[AdLib Wave Player]
CLSID = WaveDevice.WaveOut ; you can also use 'DSoundDevice.WaveOut'
[AdLib Wave Player.config]
device = 0 ; -1 = the Wave/DirectSound mapper, 0 = first device, 1 = second, etc.
buffer = 75 ; how many milliseconds of audio data to buffers |
put that INI file in your DARK directory. Make a .BAT file in there too and put this in it:
| Code: | @echo off
%SYSTEMROOT%\system32\dosx.exe
%VDMSPath%\dosdrv.exe "-i:DarkForces.VDMS.INI"
dark.exe -shots %1 %2 %3 %4 %5 %6 %7 %8 %9 |
Replace DarkForces.VDMS.INI with whatever you named the INI file. Run the batch fle and you should now have working sound in Dark Forces!
If it doesn't work try specifying the full path for the INI file in the BAT file.
_________________ http://www.mzzt.net/ | I am a respectable admin with a respectable sig. |
|