fixed gus emulation not working with DMXGUS and DMXGUSC lump
gus_patchdir and/or ULTRADIR variable can be used to load custom gus patches together with main patches set with midi_config (not required when using DMXGUS(C) lump configuration)
fixed wildmidi emulation not working with collection of GUS patches (resource files)
gus_patchdir and ULTRADIR variable can be used whether DMXGUS or timidity configuration is used
added absolute paths to FZipPatReader so we can add custom patches along with the patches present in the resource file by using gus_patchdir and/or ULTRADIR variable (some custom maps has custom patches that can be added this way without putting them inside the resource file or in the same folder of the configuration file)
when opening a file with FileSystemSoundFontReader only the last path added to the reader was used, but we can actually add up to two path by setting both gus_pathdir and the variable ULTRADIR.
To properly test the DMXGUS configuration the gus_memsize can be tweaked so the sound will listen differently depending on the memory selected (256 / unlimited sounds way different).
Also to test the midi_config and wildmidi_config is better to remove paths from the section SoundfontSearch.Directories since a valid item is picked from the collection if no value has been set for these options.
A good example of custom DMXGUSC lump with custom patches is the map d2xtreme, where the music will sound quiet different whether you use the lump as configuration or the fallback timidity configuration
https://www.doomworld.com/idgames/levels/doom2/d-f/d2xtreme
This PR is linked to the following PR https://github.com/coelckers/gzdoom/pull/1584
Fixes for gus, timidity+ and wildmidi emulation
DMXGUS
andDMXGUSC
lumpgus_patchdir
and/orULTRADIR
variable can be used to load custom gus patches together with main patches set withmidi_config
(not required when using DMXGUS(C) lump configuration)gus_patchdir
andULTRADIR
variable can be used whether DMXGUS or timidity configuration is usedFZipPatReader
so we can add custom patches along with the patches present in the resource file by usinggus_patchdir
and/orULTRADIR
variable (some custom maps has custom patches that can be added this way without putting them inside the resource file or in the same folder of the configuration file)gus_pathdir
and the variableULTRADIR
.To properly test the DMXGUS configuration the
gus_memsize
can be tweaked so the sound will listen differently depending on the memory selected (256 / unlimited sounds way different).Also to test the
midi_config
andwildmidi_config
is better to remove paths from the sectionSoundfontSearch.Directories
since a valid item is picked from the collection if no value has been set for these options.A good example of custom
DMXGUSC
lump with custom patches is the map d2xtreme, where the music will sound quiet different whether you use the lump as configuration or the fallback timidity configuration https://www.doomworld.com/idgames/levels/doom2/d-f/d2xtreme