Cannot get .sf2 file to work
-
- Posts: 24
- Joined: Sat Jul 31, 2004 4:04 pm
- Location: Attleboro, MA
Cannot get .sf2 file to work
Back in the day, I used to play Doom on my grandmother's Windows 95 machine. Her soundcard was an AWE32. Doom sounded a little like this:
http://www.youtube.com/watch?v=f2kBgPB0 ... re=related
I ran into the file 1mgm.sf2, and I followed the instruction on how to use it with ZDoom. Here is the path I put in the timidity.exe.cfg file:
dir C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\1mgm.sf2
If I try soundfont <directory>, I get this error message:
TIMIDITY.CFG: LINE 6: Bad soundfont option files
Is there another step I'm missing? I'd really love to get this working.
I tried following the readme, and messing around with the timidity_pipes option and resetting the sound.
Thanks and any help would be greatly appreciated.
http://www.youtube.com/watch?v=f2kBgPB0 ... re=related
I ran into the file 1mgm.sf2, and I followed the instruction on how to use it with ZDoom. Here is the path I put in the timidity.exe.cfg file:
dir C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\1mgm.sf2
If I try soundfont <directory>, I get this error message:
TIMIDITY.CFG: LINE 6: Bad soundfont option files
Is there another step I'm missing? I'd really love to get this working.
I tried following the readme, and messing around with the timidity_pipes option and resetting the sound.
Thanks and any help would be greatly appreciated.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Cannot get .sf2 file to work
The path contains spaces, have you tried putting path\file in quotes?
-
- Posts: 24
- Joined: Sat Jul 31, 2004 4:04 pm
- Location: Attleboro, MA
Re: Cannot get .sf2 file to work
So would it be something like this:
soundfont"C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\1mgm.sf2"
Or
soundfont C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\"1mgm.sf2"
Or would I need to use dir instead of soundfont?
soundfont"C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\1mgm.sf2"
Or
soundfont C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom\"1mgm.sf2"
Or would I need to use dir instead of soundfont?
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Cannot get .sf2 file to work
This should do:
Also I put thmy soundfont path at the start of ZDoom's default TiMidity.cfg:
Code: Select all
dir "C:\Users\Administrator.TIMMY\Documents\Timmy's Files and Documents\Doom"
soundfont "1mgm.sf2"
Spoiler:
-
- Posts: 24
- Joined: Sat Jul 31, 2004 4:04 pm
- Location: Attleboro, MA
Re: Cannot get .sf2 file to work
Got it to work - thanks!
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Cannot get .sf2 file to work
Coolness! Might I recommend this soundfont? 

- Viscra Maelstrom
- Posts: 6200
- Joined: Thu Dec 04, 2008 1:14 am
- Location: plergleland
Re: Cannot get .sf2 file to work
I'm sorry to bump this, but when I try to do the exact same thing to run a soundfont with Timidity, it doesn't work. It appears to load correctly, but there's no sound coming out. Help?
Re: Cannot get .sf2 file to work
Have you followed the instructions from the [wiki]TiMidity++[/wiki] article? Set it as the midi device in [wiki]sound options[/wiki]? Then used the Restart sound command? Have you tried setting up [wiki]FluidSynth[/wiki] instead?
- Viscra Maelstrom
- Posts: 6200
- Joined: Thu Dec 04, 2008 1:14 am
- Location: plergleland
Re: Cannot get .sf2 file to work
I found the problem; I have to put a CVAR in the console. However, I've tried different combinations in the console, and nothing happened. What exaxctly do I have to type in the console?
Re: Cannot get .sf2 file to work
Code: Select all
timidity_exe d:/games/doom/zdoom/timidity/timidity.exe
- Viscra Maelstrom
- Posts: 6200
- Joined: Thu Dec 04, 2008 1:14 am
- Location: plergleland
Re: Cannot get .sf2 file to work
That's strange. I pointed it to the folder where Timidity++ is, but it still doesn't work. What the hell?
Re: Cannot get .sf2 file to work
You need to point it to the exe, not just the folder.
- Viscra Maelstrom
- Posts: 6200
- Joined: Thu Dec 04, 2008 1:14 am
- Location: plergleland
Re: Cannot get .sf2 file to work
I DID point it to the exe, but still nothing happened. Does a message pop up in the console if it's input correctly?
Re: Cannot get .sf2 file to work
No.
But when you set it incorrectly, then select TiMidity++ as the MIDI device, then use snd_reset, you get an error message telling you to "please set the timidity_exe cvar to the location of timidity++", so if you don't get that, it's that it's set correctly.
Don't forget you need to use snd_reset (or the "restart sound" entry in the sound options menu) after a change. Otherwise, it still uses the same stuff as before because these cvars are only checked when the sound system is initialized.
But when you set it incorrectly, then select TiMidity++ as the MIDI device, then use snd_reset, you get an error message telling you to "please set the timidity_exe cvar to the location of timidity++", so if you don't get that, it's that it's set correctly.
Don't forget you need to use snd_reset (or the "restart sound" entry in the sound options menu) after a change. Otherwise, it still uses the same stuff as before because these cvars are only checked when the sound system is initialized.
- Viscra Maelstrom
- Posts: 6200
- Joined: Thu Dec 04, 2008 1:14 am
- Location: plergleland
Re: Cannot get .sf2 file to work
I do do so. I set the Timidity cvar to the location of the Timidity exe and restart sound. No dice. What..? I honestly don't understand what I'm doing wrong. I follow the instructions from A to B to C, and it doesn't work.
EDIT: Got it to work, finally!
EDIT: Got it to work, finally!