SCUMMVM with MT-32 support enabled?
-
I was trying out some games with ScummVM and noticed that there is an option in the config menu for MT-32 sound but even with the MT-32 ROMs in the directory I get no audio. I checked the documentation for compiling ScummVM, and there's a mention of a flag set to disable the MT-32 emulation.
Is there an older version of ScummVM I can grab that has the emulation enabled? I'm using a Pi 3 and I was hoping it would be fast enough to run the game along with the MT-32 emulation.
Failing that, I'm open to some tips for compiling ScummVM with MT-32 emulation enabled for my own use.
Thanks!
-
@pharaohamps I can look into including it if missing.
-
I couldn't see a configuration flag on a quick perusal, but I didn't look too hard.
Would launching the binary with the
--native-mt32
flag change anything? -
Would launching the binary with the --native-mt32 flag change anything?
I don't think so. I experimented with this about a month ago and even after pointing the software to the MT-32 ROMs and instructing that the games launch with native MT-32 support directly from the launcher, it still failed to launch any titles.
-
@BuZz said in SCUMMVM with MT-32 support enabled?:
@pharaohamps I can look into including it if missing.
Thank you. That would be most kind.
@herb_fargus said in SCUMMVM with MT-32 support enabled?:
I couldn't see a configuration flag on a quick perusal, but I didn't look too hard.
Would launching the binary with the
--native-mt32
flag change anything?It doesn't do anything on my build. According to the About... screen, the version offered with RetroPie includes the following options:
TAINTED, Vorbis, FLAC, MP3, ALSA, SEQ, Timidity, RGB, zLib, MPEG2, FluidSynth, Theora, AAC, FreeType2, JPEG, PNG, Keymapper, virtual keyboard.
Unless MT32 support is compiled in, launching a game with MT32 set as the active music device will either crash out (most of my LucasArts games) or launch using the AdLib music (Sierra SCI games.)
-
I reasoned that if MT-32 support was not compiled in, there would not be an MT-32 tab on the config GUI. So I tried setting Options -> Audio -> Preferred Device = MT-32 Emulator, along with MT32 -> MT-32 Device = MT-32 Emulator. I placed the MT32_PCM.ROM and MT32_CONTROL.ROM in the /extras path and started one SCI game and one Lucasfilm game.
Both resulted in segmentation faults, according to /dev/shm/runcommand.log
Lucasfilm game ("atlantis")
Parameters: Executing: bash "/home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh" WARNING: Invalid joystick: 0! WARNING: SDL mixer output buffer size: 705 differs from desired: 2048! Virtual keyboard pack 'vkeybd_default' loaded successfully WARNING: No hardware input were defined, using defaults! /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh: line 4: 1846 Segmentation fault /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game
SCI game ("qfg1")
Executing: bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh "qfg1" WARNING: Invalid joystick: 0! WARNING: SDL mixer output buffer size: 940 differs from desired: 4096! Virtual keyboard pack 'vkeybd_default' loaded successfully WARNING: No hardware input were defined, using defaults! /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh: line 4: 2541 Segmentation fault /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game
EDIT: mess fixed. Thanks.
-
Sorry about the mess, I don't see an option to post using code tags or anything
-
@pharaohamps would be as simple as adding a perameter here:
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/scummvm.sh#L47
I just don't know which it is :p
-
I've been reading up on it and the following doesn't bode well.
From
http://wiki.scummvm.org/index.php/User_Manual/Appendix:_Music_and_sound#MT-32_emulationNOTE: The processor requirements for the emulator are quite high; a fast CPU is strongly recommended.
-
@mediamogul the notes say the same thing about Fluidsynth and that works fine on my Pi 3.
@herb_fargus said in SCUMMVM with MT-32 support enabled?:
@pharaohamps would be as simple as adding a perameter here:
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/scummvm.sh#L47
I just don't know which it is :p
The emulation is in there, it's just crashing. I'm seeing the emulated MT-32 display - for example it says "SO U WANT 2 B A HERO" when I launch QFG1, which is the same thing that would show on a real MT-32. I know my MT-32 ROMS are good, they're tested and working on the Mac version of ScummVM as well as with Boxer. I think that ScummVM is crashing when loading the MIDI system exclusive messages to the MT-32 but I don't know that for sure.
-
That's encouraging. However, I looked around for a good while for any reference to a MT-32 build parameter and I couldn't find anything. As you reasoned above, it looks like it's enabled, but non-functional.
-
It used to work fine for me with no performance drop (I completed Monkey Island 2 with MT-32 sound) until SCUMMVM was updated. It looks like we need to use an older build (unless they fixed the error). See here :-
http://forums.scummvm.org/viewtopic.php?t=14191
https://bugs.scummvm.org/ticket/9630 -
Hooray. More sdl2 bugs (not really surprised...)
-
@herb_fargus I will add an sdl1 scummvm as optional package. Also needed for some controllers
-
@BuZz perfect. Thank you.
-
I have added a scummvm-sdl1 module to optional packages (for the rpi only). You will see it if you update retropie-setup.
-
@BuZz THANK YOU. MT-32 support is working great using the SDL1 build.
Sent you a little something as a way of saying thanks.
-
@pharaohamps Glad it's working. Cheers!
-
@pharaohamps , Hello !
I want to get this working with SDL1 also, but i might be doing something wrong ?
I put the roland roms in "bios\scummvm"
i put a Fluid Synth Soundbank in "bios\scummvm"
I set "buis/scummvm" as ExtrapathThen when i set :
MT-32 Tab - > MT-32 Device -> MT-32 EmulatorMidi Tab -> FluidSynth and selected the Fluidsynth soundbank.
But, no sound, only norman "speak + soundeffects"
I tried alot, but now i am tired and need some help
BR
Mr250 -
@mr250 said in SCUMMVM with MT-32 support enabled?:
But, no sound, only norman "speak + soundeffects"
Have you solved your problem ? i only try ScummVM today and like you i don't have MT32 Sound, first i must like you add the mt32 files.
@pharaohamps said in SCUMMVM with MT-32 support enabled?:
THANK YOU. MT-32 support is working great using the SDL1 build.
What are you doing for it ? Only adding some files in BIOS ?
What file names please.@buzz said in SCUMMVM with MT-32 support enabled?:
I have added a scummvm-sdl1 module to optional packages (for the rpi only). You will see it if you update retropie-setup.
Thanks @BuZz it is the best version for now with smooth mouse movement :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.