Heister Posted June 17, 2024 Hello! I compiled an executable from source code DSDA Doom 0.25.6. It works pretty well, but setting "preferred midi player" is not working properly :( How to fix that? To demonstrate I am attaching a video of this problem P.S. Sorry for my bad English :/ 0 Quote Share this post Link to post
plums Posted June 17, 2024 (edited) Maybe DSDA Doom doesn't come with any soundfonts? You need a soundfont and then to edit dsda-doom.cfg and add it including full path to snd_soundfont If you're on Linux this file is at ~/.dsda-doom/dsda-doom.cfg, if you're on Windows I'm not sure but hopefully you can find it, maybe it's in the program directory. Once you do that, Fluidsynth midi playback should work properly. Here's a good soundfont, it's about 50 mb: https://drive.google.com/file/d/1G53wKnIBMONgOVx0gCOWrBlJaXsyaKml/view?usp=sharing If you want a smaller and/or open-source soundfont you can try this one: https://github.com/arbruijn/TimGM6mb/tree/master BTW Any reason why you chose dsda 0.25.6? The latest version is 0.27.5 Edited June 17, 2024 by plums 2 Quote Share this post Link to post
Heister Posted June 17, 2024 Thank you so much for your answer! Unfortunately, your advice did not help solve the problem :( I think my problem is how I compiled the executable. I used CMake and Visual Studio. Also I added SDL2 and SDL2 mixer. Maybe I must to add something else to make the music work correctly. But I don't know what files are needed to this. I am a Windows user :) I use this version of the DSDA because it has the functions I need that are not in version 0.27.5. The only reason why I got into the source code: fix ssg flash glitch and add bright effect for zombieman, when he shoot. 0 Quote Share this post Link to post
plums Posted June 17, 2024 Sadly I don't know much about compiling software on Windows. Perhaps you need fluidsynth installed or the source for it? https://www.fluidsynth.org/ https://github.com/FluidSynth/fluidsynth The other thing that might work is to set the SDL_SOUNDFONTS environment variable to the full path of your soundfont, and leave the soundfont setting in dsda-doom empty. But this again will need fluidsynth *somewhere* and I don't know if it's included in the SDL2 mixer sources or not. 1 Quote Share this post Link to post
Heister Posted June 17, 2024 @plums Even though it didn't work, thank you very much for your help! 0 Quote Share this post Link to post
Shepardus Posted June 17, 2024 8 hours ago, Heister said: Thank you so much for your answer! Unfortunately, your advice did not help solve the problem :( I think my problem is how I compiled the executable. I used CMake and Visual Studio. Also I added SDL2 and SDL2 mixer. Maybe I must to add something else to make the music work correctly. But I don't know what files are needed to this. I am a Windows user :) I use this version of the DSDA because it has the functions I need that are not in version 0.27.5. The only reason why I got into the source code: fix ssg flash glitch and add bright effect for zombieman, when he shoot. You probably don't have the libraries needed to build it with Fluidsynth support. I haven't tried building on Windows (being primarily a Linux user myself), but there's a guide here that may help: https://github.com/kraflab/dsda-doom/blob/master/docs/guides/building_on_windows.md If Fluidsynth is working, dsda-doom will use the soundfont specified by snd_soundfont in the config file, and if snd_soundfont is blank, then it will read the SNDFONT lump in dsda-doom.wad. 1 Quote Share this post Link to post
Heister Posted June 18, 2024 14 hours ago, Shepardus said: You probably don't have the libraries needed to build it with Fluidsynth support. I haven't tried building on Windows (being primarily a Linux user myself), but there's a guide here that may help: https://github.com/kraflab/dsda-doom/blob/master/docs/guides/building_on_windows.md If Fluidsynth is working, dsda-doom will use the soundfont specified by snd_soundfont in the config file, and if snd_soundfont is blank, then it will read the SNDFONT lump in dsda-doom.wad. Thanks for the help! I think this manual will be useful to me. 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.