RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    SCUMMVM with MT-32 support enabled?

    Scheduled Pinned Locked Moved Help and Support
    scummvmmt-32sierracompilemt32
    35 Posts 8 Posters 16.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pharaohamps
      last edited by

      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!

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @pharaohamps
        last edited by

        @pharaohamps I can look into including it if missing.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        P 1 Reply Last reply Reply Quote 1
        • herb_fargusH
          herb_fargus administrators
          last edited by

          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?

          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

          mediamogulM 1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator @herb_fargus
            last edited by

            @herb_fargus

            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.

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            1 Reply Last reply Reply Quote 0
            • P
              pharaohamps @BuZz
              last edited by

              @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.)

              1 Reply Last reply Reply Quote 0
              • P
                pharaohamps
                last edited by pharaohamps

                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.

                mediamogulM herb_fargusH 2 Replies Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @pharaohamps
                  last edited by

                  @pharaohamps

                  Sorry about the mess, I don't see an option to post using code tags or anything

                  http://commonmark.org/help/

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  1 Reply Last reply Reply Quote 0
                  • herb_fargusH
                    herb_fargus administrators @pharaohamps
                    last edited by

                    @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

                    If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                    Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                    mediamogulM 1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @herb_fargus
                      last edited by

                      @herb_fargus

                      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_emulation

                      NOTE: The processor requirements for the emulator are quite high; a fast CPU is strongly recommended.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pharaohamps @mediamogul
                        last edited by pharaohamps

                        @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.

                        mediamogulM 1 Reply Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @pharaohamps
                          last edited by

                          @pharaohamps

                          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.

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          1 Reply Last reply Reply Quote 0
                          • maxbeanzM
                            maxbeanz
                            last edited by maxbeanz

                            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

                            1 Reply Last reply Reply Quote 0
                            • herb_fargusH
                              herb_fargus administrators
                              last edited by

                              Hooray. More sdl2 bugs (not really surprised...)

                              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                              BuZzB 1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators @herb_fargus
                                last edited by

                                @herb_fargus I will add an sdl1 scummvm as optional package. Also needed for some controllers

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                P 1 Reply Last reply Reply Quote 2
                                • P
                                  pharaohamps @BuZz
                                  last edited by

                                  @BuZz perfect. Thank you.

                                  1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators
                                    last edited by

                                    I have added a scummvm-sdl1 module to optional packages (for the rpi only). You will see it if you update retropie-setup.

                                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                    P 1 Reply Last reply Reply Quote 2
                                    • P
                                      pharaohamps @BuZz
                                      last edited by pharaohamps

                                      @BuZz THANK YOU. MT-32 support is working great using the SDL1 build.

                                      Sent you a little something as a way of saying thanks.

                                      BuZzB M 2 Replies Last reply Reply Quote 1
                                      • BuZzB
                                        BuZz administrators @pharaohamps
                                        last edited by

                                        @pharaohamps Glad it's working. Cheers!

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mr250 @pharaohamps
                                          last edited by

                                          @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 Extrapath

                                          Then when i set :
                                          MT-32 Tab - > MT-32 Device -> MT-32 Emulator

                                          Midi 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

                                          1 Reply Last reply Reply Quote 1
                                          • darkniorD
                                            darknior
                                            last edited by

                                            @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 :)

                                            Life is game, just play it !

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.