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 Controlller Issues

    Scheduled Pinned Locked Moved Help and Support
    scummvm
    168 Posts 3 Posters 24.9k 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.
    • E
      escc1986
      last edited by escc1986

      this is my ScummVM.sh (Before any changes)

      #!/bin/bash
      game="$1"
      pushd "/home/pi/RetroPie/roms/scummvm" >/dev/null
      /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game
      while read id desc; do
          echo "$desc" > "/home/pi/RetroPie/roms/scummvm/$id.svm"
      done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3)
      popd >/dev/null
      
      
      ExarKunIvE 1 Reply Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @escc1986
        last edited by

        @escc1986

        ok good.

        1 is the xdrive folder in the config/all folder

        2 all you need to do is add 1 line of code to the +Start ScummVM.sh right under the #!/bin/bash

        sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 --evdev /dev/input/event0 --config /opt/retropie/configs/all//xdrive/scumm.cfg &

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        1 Reply Last reply Reply Quote 0
        • E
          escc1986
          last edited by escc1986

          Alright ... i just altered the ScummVM.sh

          to

          #!/bin/bash
          
          
          game="$1"
          pushd "/home/pi/RetroPie/roms/scummvm" >/dev/null
          /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game
          while read id desc; do
              echo "$desc" > "/home/pi/RetroPie/roms/scummvm/$id.svm"
          done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3)
          popd >/dev/null
          
          

          games work

          controllers doesnt work

          well controolers works but same as before

          dpad not working

          l = space

          r =f2

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @escc1986
            last edited by

            @escc1986

            ummm, there is nothing different with what you are showing me

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            1 Reply Last reply Reply Quote 0
            • E
              escc1986
              last edited by escc1986

              @ExarKunIv said in ScummVM Controlller Issues:

              sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 --evdev /dev/input/event0 --config /opt/retropie/configs/all//xdrive/scumm.cfg &

              just followed your instructions now

              it Worked !!!

              Thanks Alot !!!!

              Your Absoulty Amazing !!!!

              with All your hard work , you have Accomplished this Difficult task

              so for the future if i want to modfy the buttons what do i do

              right now , i think the speed of the dpad is a bit fast , how can i change the speed to half ?

              ExarKunIvE 1 Reply Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv @escc1986
                last edited by

                @escc1986

                there is one last thing

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                ExarKunIvE 1 Reply Last reply Reply Quote 0
                • E
                  escc1986
                  last edited by

                  sure , whats the last thing

                  1 Reply Last reply Reply Quote 0
                  • ExarKunIvE
                    ExarKunIv @ExarKunIv
                    last edited by

                    @ExarKunIv

                    we need a runcommand-onend.sh

                    that has this in it

                    #!/bin/sh
                    
                    sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv
                    

                    to make this file run this
                    nano /opt/retropie/configs/all/runcommand-onend.sh
                    and paste this

                    #!/bin/sh
                    
                    sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv
                    

                    if its not there
                    once thats done
                    run
                    chmod +x /opt/retropie/configs/all/runcommand-onend.sh

                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                    Maintainer of RetroPie-Extra .

                    1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv
                      last edited by

                      to make it slower i think you change the 10 to a higher number. and if that dont work go lower

                       x1=KEY_LEFT:KEY_RIGHT
                      y1=KEY_DOWN:KEY_UP
                       dpad_x=REL_X:10
                      dpad_y=REL_Y:10
                      

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      1 Reply Last reply Reply Quote 0
                      • E
                        escc1986
                        last edited by

                        @ExarKunIv said in ScummVM Controlller Issues:

                        chmod +x /opt/retropie/configs/all/runcommand-onend.sh

                        what does
                        chmod +x /opt/retropie/configs/all/runcommand-onend.sh

                        do ?

                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                        • ExarKunIvE
                          ExarKunIv @escc1986
                          last edited by ExarKunIv

                          @escc1986
                          it makes it executable by the system
                          so nothing will show up once you run it

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          1 Reply Last reply Reply Quote 0
                          • E
                            escc1986
                            last edited by

                            thanks for informing me

                            im performing a reboot now to see if it worked

                            1 Reply Last reply Reply Quote 0
                            • E
                              escc1986
                              last edited by escc1986

                              Working after a reboot

                              Congratulations , on Getting it to work :)

                              your amazing !!!!

                              ExarKunIvE 1 Reply Last reply Reply Quote 0
                              • ExarKunIvE
                                ExarKunIv @escc1986
                                last edited by

                                @escc1986
                                good, man that was a bit more work then i would of thought. so now go and enjoy

                                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                Maintainer of RetroPie-Extra .

                                1 Reply Last reply Reply Quote 0
                                • E
                                  escc1986
                                  last edited by escc1986

                                  I know alot of work , sorry for everything

                                  thank you for not giving up on me !!!!!

                                  your a trooper

                                  and i very Apprecite the time and effort

                                  Thanks !!!!

                                  i will have a wonderful time with these classics

                                  Thank you !!!!!

                                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                                  • ExarKunIvE
                                    ExarKunIv @escc1986
                                    last edited by

                                    @escc1986
                                    dont be sorry. i was in the same place as you.
                                    so i know how it is.

                                    if you need anything else you know where to find me or others here can help also

                                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                    Maintainer of RetroPie-Extra .

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      escc1986
                                      last edited by

                                      i have to be honest it was really hard to track and find you

                                      but i had faith you could help me

                                      im glad i went through the trouble to find you , i was just hoping i wasnt disturbing you

                                      glad i found you

                                      and thank you for offering your help un the future , you have taught me a bunch , Thanks again

                                      take care

                                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                                      • ExarKunIvE
                                        ExarKunIv @escc1986
                                        last edited by ExarKunIv

                                        @escc1986
                                        no you where not disturbing me in anyway. it did help me too, i did not know if it would work for scummvm
                                        but now i can go and get my up and going

                                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                        Maintainer of RetroPie-Extra .

                                        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.