RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    lr-scummvm: request for comments and testing

    Scheduled Pinned Locked Moved Ideas and Development
    retroarchscummvmcorescriptmoduletesting
    189 Posts 37 Posters 42.4k 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.
    • F
      Fabien @hhromic
      last edited by

      @hhromic Thanks for clarifying! I've found the option. :)

      But it only works in Retropie. On my Windows PC the option is still missing - even after updating the core. Is this a Retropie exclusive function?

      H 1 Reply Last reply Reply Quote 0
      • H
        hhromic @Fabien
        last edited by

        @Fabien no, is not exclusive to RetroPie.
        It is not yet on Windows (or Mac) because currently the core has a build error on the official libretro buildbot. I already submitted a fix here, but you will have to wait for them to merge this PR for the core to be updated again in their system.
        Be patient and you should see the core updated for Windows hopefully soon.

        RetroPie compiles the core directly from the repository, not their buildbot, that's why it's available here first :)

        1 Reply Last reply Reply Quote 1
        • K
          KodeCR
          last edited by

          However, I'm not very much of a fan to hardcode the game paths in these files.

          Me neither, maybe we can use relative paths (i.e. -p "./The Secret of Monkey Island") if we add something like (untested):

          #!/bin/bash
          rompath="${3%/*}"
          cd "$rompath"
          

          in runcommand-onstart.sh

          Also can you tell me exactly what you are trying to do step by step

          I'm doing step 1,2,3 and then instead of quiting scummvm/retroarch I try to start the game from the launcher, after which I get the "game data not found".

          Looks like the reason is that scummvm uses the directory as the game data location, but strips off the .svm part!
          Can you describe better how you got to this conclusion?

          In the scummvm launcher if you go to the tab that has the game data location, it's missing the .svm there. I admit that's not definite, but suspicious.

          Also, what kind of settings you are trying to change?

          Just per game midi settings, and playing around really.

          Hope that helps.

          H 1 Reply Last reply Reply Quote 1
          • H
            hhromic @KodeCR
            last edited by

            @KodeCR thanks for the feedback, will take a look when I have some time in coming weeks on how to best approach this. Will report back!

            1 Reply Last reply Reply Quote 0
            • H
              hhromic
              last edited by hhromic

              Update

              The "fix quit" patch finally made its way upstream! Thanks all for testing the patch, great feedabck from the RetroPie community.

              @EctoOne this should be particularly good news for you because the patch is now integrated in the Android builds. The buildbot finished last night to update so you should be able to simply update the core from your Android RA. To confirm, check that there is a new "mouse speed" core option. Good luck!

              @Fabien the build for windows is also live now in the buildbot, if you want to try the new mouse speed option.

              1 Reply Last reply Reply Quote 3
              • caver01C
                caver01
                last edited by

                I am using raspberry pi 3b, running RetroPie 4.4 (Stretch). Installed lr-scummvm from experimental. Tested Riven. Seems to run without error, but the audio crackles pretty much all the time. If you know the Myst series, then you know how ambient sounds and effects are constant and often part of the puzzles, not to mention the soundtrack always setting the mood. Is there a setting I should change to avoid audio crackles?

                Also, where are the saves stored? I’d like to be able to transfer or backup saved games and I cannot find them.

                My 4-player cocktail style cabinet built as a custom "roadcase"

                H 2 Replies Last reply Reply Quote 1
                • H
                  hhromic @caver01
                  last edited by hhromic

                  @caver01 thanks for testing!

                  but the audio crackles pretty much all the time.

                  Umm I will take a look, it might be simply because the RPI is not fast enough. Just curious, did you try it on standalone scummvm ? Also, make sure you have the "speed hack" option enabled, the scriptmodule sets it to enable by default on first installation, but maybe is off for you.

                  Also, where are the saves stored? I’d like to be able to transfer or backup saved games and I cannot find them.

                  They should be in the same folder as the game files in $romdir/roms/scummvm/<your game folder>. The files should be named with extensions .s00, .s01, and so on.

                  1 Reply Last reply Reply Quote 1
                  • H
                    hhromic @caver01
                    last edited by

                    @caver01 can you give me some hint on the specific/exact version of Riven you are playing?

                    caver01C 2 Replies Last reply Reply Quote 0
                    • caver01C
                      caver01 @hhromic
                      last edited by caver01

                      @hhromic I did not get a chance to check the speed hack—where is that?

                      For Riven, I installed the game from my original optical media. I bought the Mac version many years ago when it was released. I have never known there were versions of it. How can I tell my version? Maybe I have version one?

                      Also, I do/did have it running on the standalone ScummVM and the audio is fine, however the updated version 2 has a controller config the eludes me and I cannot escape back to the emulator GUI once I launch the game (question I asked the forum a few days ago). So, I thought I would give the libretro version a whirl since the controls are so nice.

                      My 4-player cocktail style cabinet built as a custom "roadcase"

                      1 Reply Last reply Reply Quote 0
                      • caver01C
                        caver01 @hhromic
                        last edited by

                        @hhromic I just checked my notes from when I setup Riven the first time and I remember now that I had trouble making the Mac files work in ScummVM (missing arcriven.z maybe—I don’t recall). Anyway, this forced me to mount one of the discs that are dual-format so I could get that file off of the windows partition. This is now reminding me that there were indeed different versions depending on the media, and I guess we also have the reissues. So, mine is the 5 CD version.

                        My 4-player cocktail style cabinet built as a custom "roadcase"

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hhromic @caver01
                          last edited by

                          @caver01 thanks for the info.
                          Yes I meant Win vs Mac versions. Thanks for letting me know, will try to find a copy and test.

                          Regarding the speed hack option. it should be in the "Core Options" of the RetroArch menu (HOTKEY + X), not the ScummVM internal menu. Again, this option should be set by default when you installed, but double-check.

                          Also, what device are you using? RPI2, 3, 3A+, 3B+? :)

                          caver01C 3 Replies Last reply Reply Quote 0
                          • caver01C
                            caver01 @hhromic
                            last edited by

                            @hhromic Pi 3b mentioned above.

                            My 4-player cocktail style cabinet built as a custom "roadcase"

                            1 Reply Last reply Reply Quote 0
                            • caver01C
                              caver01 @hhromic
                              last edited by

                              @hhromic also, scummvm_speed_hack = "enabled" as expected.

                              My 4-player cocktail style cabinet built as a custom "roadcase"

                              1 Reply Last reply Reply Quote 0
                              • caver01C
                                caver01 @hhromic
                                last edited by

                                @hhromic I decided to try the alternate audio files that are on the CD1. They are smaller, less quality, but I thought they might have less trouble decoding or something. Anywya, it did not matter.

                                I noticed that most of the time, the audio crackle happens during the video playback. If you know Riven, and Myst for that matter, it is mostly static renderings with sections of video overlay to animate valves turning. Or water bubbling etc. including dramatic animations that take ove the whole screen. Theses crackle a lot because they are always accompanied by the great sound effects.

                                I mention this thinking perhaps the issue is embedded video playback performance. Just a thought.

                                My 4-player cocktail style cabinet built as a custom "roadcase"

                                1 Reply Last reply Reply Quote 0
                                • H
                                  holto @hhromic
                                  last edited by

                                  @hhromic said in lr-scummvm: request for comments and testing:

                                  keyboard

                                  I have been testing different games on my rasp 3b in the lr-scummvm emulator. The overlay looks great, the games load great after following all the instructions in this thread. I was also able to overcome a mouse-click freeze issue with overlay enabled by following instructions in another thread to recompile retroarch with some patches. Now, I am running into some games requiring text entry. With libretro the keyboard functionality is disabled during game play because of the remaps. Besides needing to type in some games - lsl6 for example - there is the problem with trying to name a saved game in the scummvm gui. Have any of you figured out a workaround for this? I have tried hotkey bindings - one thread suggested using the game focus toggle (didn't work), I also tried the hotkey for on-screen keyboard toggle (also didn't work).

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    hhromic @holto
                                    last edited by hhromic

                                    @holto keyboard input is a bit tricky for this core unfortunately, however there are some workarounds.

                                    Refer to the Joypad documentation of lr-scummvm: https://docs.libretro.com/library/scummvm/#joypad

                                    You will see that some buttons are mapped to special keyboard keys. For example X is mapped to ESC, L1 is mapped to Enter, R1 is mapped to Numpad 5, and so on. Furthemore, you will notice that the Right Analog Stick is mapped to a Virtual Numpad.

                                    In the same documentation, you will find these notes, including text in save dialogs:

                                    Esc:
                                    * Skips cutscenes.
                                    * Opens/closes menus in some games.
                                    
                                    Virtual Numpad + Numpad 5 + Numpad 0:
                                    * Enables control during fight sequences in the 'Indiana Jones' series of games.
                                    * Enables bypass of Monkey Island 2 copy protection.
                                    * Enables saving in games that require text entry when naming a save slot.
                                    * Enables menu navigation in some games (Numpad 8 == up, Numpad 2 == down).
                                    
                                    Enter + Backspace:
                                    * Enables saving in games that require text entry when naming a save slot.
                                    * 'Enter' may be used to attack in 'Full Throttle' fight sequences.
                                    * 'Enter' enables menu item selection in some games.
                                    
                                    . (period): Skips lines of dialogue in SCUMM engine games.
                                    
                                    F1:
                                    * Shows in-game menu in some games.
                                    * Enables saving in some games.
                                    
                                    F10: Shows hotspots in Simon the Sorcerer 1 + 2.
                                    

                                    So, for example, if you need to save a game that requires text entry for the name, it should work by just pressing Enter which is L1 in the gamepad mapping. You may input numbers as the name using the Virtual Numpad, or delete mistakes using Backspace which is mapped to L2.

                                    I haven't test this myself in a while so can't guarantee precision on this information, but you should be able to achieve what you need with these directions. If you can confirm further for the rest of the users in this topic, that would be very great !

                                    DarksaviorD 1 Reply Last reply Reply Quote 0
                                    • DarksaviorD
                                      Darksavior @hhromic
                                      last edited by Darksavior

                                      @hhromic Is there a way to update lr-scummvm to 2.1.0? I want to play Duckman and it only works on the standalone scummvm when I pointed the script to the masterbranch but the libretro script is already on master...

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hhromic @Darksavior
                                        last edited by hhromic

                                        @Darksavior not at the moment :( The libretro port was done quite dirty (and not by me) and updating the underlying ScummVM version probably needs careful rebasing and some refactoring.
                                        It is not impossible but is not just changing a branch name, it requires programming effort.

                                        1 Reply Last reply Reply Quote 1
                                        • cellyC
                                          celly
                                          last edited by

                                          @hhromic I just wanted to say thank you for the nice write up, got lr-scummvm installed to my GPi Case and working great. Seems to run The Secret of Monkey Island better than the stand alone ScummVM on my pi zero W.

                                          Currently Playing: Tetris (Gameboy)

                                          1 Reply Last reply Reply Quote 1
                                          • 2Play2
                                            2Play
                                            last edited by

                                            This post is deleted!
                                            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.