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 17.6k 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 @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
                                    • RiverstormR
                                      Riverstorm
                                      last edited by

                                      @darknior said in SCUMMVM with MT-32 support enabled?:

                                      What file names please.

                                      MT32_PCM.ROM
                                      MT32_CONTROL.ROM

                                      The PCM file is pretty much an EPROM chip backup (unaltered) but the Control ROM is basically two EPROM files merged which can be done with a hex editor.

                                      There's a few different versions of the control file floating around. One is older that older Sierra games rely on the bugs. The newer one is more for newer games.

                                      Does anybody have a specific SoundFont they recommend for gaming? They are so varied from a few megabytes to gigabytes. I've been using the FluidR3.

                                      For games like Monkey Island 2 don't forget to check Mixed AdLib/MIDI Mode or you loose some sound effects when using MT-32. They just didn't create them for the MT-32 or were exclusive so they need to fall back to AdLib.

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

                                        Thanks a lot @riverstorm for your informations :)

                                        MT32_PCM.ROM (64ko)
                                        MT32_CONTROL.ROM (512ko)

                                        I have stock these files from 2009 ... but not write them with UPERCASE. I will try them.
                                        There is an other control file ? i don't know the one i have, and how to name the two in the same directory ?

                                        You don't write it, i must put all these files in the /BIOS/scummvm directory ?

                                        I've been using the FluidR3

                                        I have some too, collect since 2009 when i made my old Scummvm pack on xbox.

                                        Soundfont - Arachno v1.0 (151.7Mo) -> Maybe the best one, french, made year by year by one guy, excellent for games.
                                        Soundfont - Creative 4 MGM (4Mo) -> Little and made by creative
                                        Soundfont - FluidR3 GM (20011225) (144.8Mo) -> A cool one
                                        Soundfont - GUS Sf2 (5.6Mo)
                                        Soundfont - SGM v2.01 (241.6Mo) -> One of the best ever Soundfont
                                        Soundfont - Titanic 200 GM-GS v1.2 (282Mo) -> Noted the best one to play ScummVM ???

                                        There are some like : Soundfont - Crisis General Midi v3.01 (812Mo) ... so big it will never load or take so many time :(

                                        I have take some different size to try if there is really a difference when i use them :)
                                        But impossible to make them work on Xbox, and now same on my PI :(

                                        In settings we can :
                                        In Audio / choose between Adlib or MT32
                                                 / Emultor Adlib : MAME OPL or DOSBOX ?
                                        In  MIDI menu / GM Ouput : i can't choose nothing
                                                      / i can browse a soundfont -> but it change nothing when i launch Indy 4 Atalntis for exemple
                                        In MT32 / Use it -> but ScummVM tel me i can't use it
                                                / There are two other options possible to check ... i don't understand why nothing work fine.
                                        
                                        Or i put my files in bad bios directory, or bad name ?
                                        

                                        Have you a list or a web site where we can found the good informations for these old games to fine configure MT-32 and Adlib sound please ?
                                        Thanks

                                        Life is game, just play it !

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

                                          Day of Tentacle with ArachnoSoundfont v1.0, so beautiful <3

                                          Life is game, just play it !

                                          1 Reply Last reply Reply Quote 0
                                          • RiverstormR
                                            Riverstorm
                                            last edited by Riverstorm

                                            Great, thanks for the SoundFont examples I'll try a few out and see how they sound! I know it can be subjective and many seem indifferent or the hardcore aren't using them for games.

                                            The FluidR3 seemed like a decent compromise on size. Do the 200+ megabyte ones work on the Pi?

                                            There is an other control file ? i don't know the one i have, and how to name the two in the same directory ?

                                            You might have the two separate control files? 32k each? I think they need to be combined. If that's the case. The 64K file is probably already interleaved. As far as I know you only need the two files.

                                            MT32_PCM.ROM - IC21 (512KB)
                                            MT32_CONTROL.ROM - IC26 (32KB) and IC27 (32KB), interleaved byte-wise

                                            I have stock these files from 2009 ... but not write them with UPERCASE. I will try them.

                                            Mine are uppercase but I am not sure if they are case sensitive.

                                            i must put all these files in the /BIOS/scummvm directory ?

                                            I think it can be any directory but you'll need to specify it under Options | Path (tab) | "Extra Directory".

                                            To set MT-32 I go to Options | MT-32 (tab) and change "MT-32 Driver:" to "MT-32 Emulator". It's an option in the drop down box.

                                            To set MIDI I go to Options | MIDI (tab), change "GM Device:" to "Fluidsynth" (or the one you're using) and change "SoundFont:" < file path>. It lets you browse to the directory where you stored the files. I stored the SoundFont in the same directory as the MT-32 emulation files.

                                            I don't know if it would work but it might be possible to dump them right in the emulator directory itself (not the roms directory) and not set a path but then you would probably need to modify permissions.

                                            You might check the ScummVM docs:

                                            Configuring a game in ScummVM

                                            Appendix: Music and sound

                                            Also Youtube might possibly have some good tutorials?

                                            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.