Posted February 19, 2017
LiqMat: Hours of tweaking the conf file in this game and now I have setup.ini working so soundset.exe works which allows the game to run in 16-bit 44khz audio instead of 8-bit 22khz audio.
timppu: So for a normal person with only the GOG version, is this now achievable without having access to the original CD version (or CD image) of the game, or does one still need the original soundset.ext/setup.ini file from the original game? Have you now written down all the steps needed in order to enable the better quality music in the GOG version? I think that would be nice as the game does have wonderful music IMHO, reminds me of the Aliens movie music.
Mind you, I do have the original CD retail version, even finished the game many many years ago (in the hardest difficulty even, quite a challenging game). I have shortly tried playing also the GOG version, I recall it had an issue with e.g. laser weapons missing the target constantly and that was apparently a CPU timing problem which could be fixed by changing the game speed within DOSBox.
timppu: I personally prefer each GOG game being as self-contained as possible. It reduces the risk for compatibility problems (if e.g. some game actually works better with a different DOSBox version, than another game).
[PROGRAM]
Title = HMI Sound Operating System Setup Utility
Copyright = (C) Copyright 1995 - Human Machine Interfaces Inc. - All Rights Reserved
ConfigFile = hmiset.cfg
DigitalTest = test.wav
MIDITest = test.hmi
MIDIMelodic = melo-ss.bnk
MIDIDrum = drum-ss.bnk
Stereo = Yes
16Bit = Yes
EnableSCSI = Yes
[SYSTEM]
Devices = 1
DigitalPFX = DIGITAL
MIDIPFX = MIDI
# < ID String > = < name >, < ID >, < Port >, < IRQ >, < DMA >, < MIDI Index >
[DIGITAL]
Device000 = No Digital Device , -1 , 0 , 0, 0, 0, No, No
Device001 = Sound Blaster , 0xe000, 0x220, 5, 1, 1, No, No
Device002 = Sound Blaster Pro , 0xe001, 0x220, 5, 1, 1, No, No
Device003 = Sound Blaster 16/AWE32 , 0xe015, 0x220, 5, 1, 1, Yes, Yes
Device004 = Ensoniq SoundScape , 0xe01d, 0x330, -1, 1, 1, Yes, Yes
Device005 = Microsoft Sound System , 0xe00b, 0x530, -1, 1, 1, Yes, Yes
Device006 = Pro Audio Spectrum 16 , 0xe003, 0x388, 7, 1, 1, Yes, Yes
Device007 = Gravis UltraSound , 0xe023, 0x220, 11, 1, 1, Yes, Yes
Device008 = Gravis UltraSound Max , 0xe027, 0x220, 11, 1, 1, Yes, Yes
Device009 = ESS AudioDrive , 0xe019, 0x220, 7, 1, 1, No, No
Device010 = Roland RAP-10 , 0xe021, 0x330, 9, 5, 1, No, No
Device011 = Toptek Golden 16 , 0xe00b, 0x220, 7, 1, 1, Yes, Yes
Device012 = Thunderboard , 0xe000, 0x220, 7, 1, 1, No, No
Device013 = Adlib Gold , 0xe009, 0x388, -1, 1, 1, Yes, Yes
Device014 = NewMedia .WAVJammer , 0xe02b, -1, -1, -1, 1, Yes, Yes
Device015 = I/O Magic Tempo , 0xe02f, 0x38c, 11, -1, 1, Yes, Yes
Device016 = ARIA Chipset , 0xe000, 0x220, 7, 1, 1, No, No
Device017 = Sound Galaxy NX Pro 16 , 0xe000, 0x220, 7, 1, 1, Yes, Yes
Device018 = Reveal FX/32 , 0xe01d, 0x330, -1, 1, 1, Yes, Yes
[DETECTION]
DeviceOrder = 6, 7, 4, 5, 3, 2, 1, 7, 9, 10, 14, 15
# < name >, < ID >, < MIDI Type >
[MIDI]
Device000 = No MIDI Device , -1 , 0
Device001 = MPU-401 , 0xa001, 0
Device002 = Roland Sound Canvas , 0xa001, 0
Device003 = General MIDI , 0xa001, 0
Device004 = Sound Blaster , 0xa002, 1
Device005 = Sound Blaster Pro , 0xa002, 1
Device006 = Sound Blaster 16 , 0xa009, 0
Device007 = Sound Blaster AWE32 , 0xa008, 0
Device008 = Ensoniq SoundScape , 0xa001, 0
Device009 = Microsoft Sound System , 0xa009, 0
Device010 = Pro Audio Spectrum 16 , 0xa009, 0
Device011 = Gravis UltraSound , 0xa00a, 0
Device012 = Gravis UltraSound Max , 0xa00a, 0
Device013 = ESS AudioDrive , 0xa002, 0
Device014 = Roland RAP-10 , 0xa001, 0
# < Default >, < Port >, ....
[MIDISETTINGS]
Device000 = 1, -1
Device001 = 4, 0x300, 0x310, 0x320, 0x330, 0x340, 0x350
Device002 = 4, 0x300, 0x310, 0x320, 0x330, 0x340, 0x350
Device003 = 4, 0x300, 0x310, 0x320, 0x330, 0x340, 0x350
Device004 = 1, 0x388
Device005 = 1, 0x388
Device006 = 1, 0x388
Device007 = 1, 0x620, 0x640, 0x660, 0x680
Device008 = 4, 0x300, 0x310, 0x320, 0x330, 0x340
Device009 = 1, 0x388
Device010 = 1, 0x388
Device011 = 1, 0x220
Device012 = 1, 0x220
Device013 = 1, 0x388
Device014 = 4, 0x300, 0x310, 0x320, 0x330, 0x340
Save it and now you should be able to run soundset.exe within DOSBox for this game. It creates a file called HMISET.INI in the game root folder. Or a shortcut way is to just create a HMISET.INI file in the game root directory and paste this text into it which sets you up for the SB16 card and gives you 16-bit audio, but make sure your dosboxShatteredSteel.conf file has all the audio settings set to 44100 (44khz) instead of the default GOG settings of 22050 (22khz). Here is the SB16 HMISET.INI text:
[DIGITAL]
DeviceName = Sound Blaster 16/AWE32
DeviceIRQ = 7
DeviceDMA = 5
DevicePort = 0x220
DeviceID = 0xe018
[MIDI]
DeviceName = Sound Blaster 16
DevicePort = 0x388
DeviceID = 0xa009
The game does not use MIDI so no use setting up a MPU-401 MIDI device. I just set it for the standard SB16 OPL-3 FM chip.
Attached my modified conf file, but had to name it with an extension of jpg. Just rename it back to dosboxShatteredSteel.conf I am using the latest SVN build of DOSBox as well which currently is 4006. Just throw those files over the old ones in the Shattered Steel DOSBox folder.
http://www.emucr.com/search/label/DOSBox
Post edited February 19, 2017 by LiqMat