lr-scummvm: request for comments and testing
-
@hhromic Well, good news is I haven't had any freezing when exiting using
HOTKEY + START
! Navigating using joypad worked great, but my mouse would not work. (neither Trackpad incorporated in logitech KB, or corded USB mouse) Is there an option to allow joypad and KB & Mouse simultaneously? That's how the regular ScummVM core works. Mostly I will use the KB & Mouse combo, but I use joypad as well when I do not want to bother getting the keyboard.
Also, Speed Hack was disabled by default. -
@BiZzAr721 thanks for testing! I'm happy the freeze bug seems to be gone for you too.
Regarding using a real mouse/keyboard to play in ScummVM, I haven't tested that myself yet but will do to see how it works. Because RetroArch is focused on gamepad gaming, I suspect mouse/keyboard are mapped as gamepads by default. Will take a look and report back.Regarding the speed hack disabled by default, as suggested by the official documentation of the core, it is only enabled automatically if you are installing on an ARM device. What platform are you using?
-
I am using raspberry pi 3b, running RetroPie 4.4 (Stretch)
-
@BiZzAr721 for RPIs the speed hack should be automatically enabled. I tested on my RPI3 and RPI2 with stock RetroPie installed and in both it is enabled just fine.
By design of RetroPie, the speed hack core option will not be set if you already had it configured to any value, for example "disabled". This is to not overwrite any previous custom-configuration. I suspect that is what happening for you.
You can verify this by removing the core option
scummvm_speed_hack
in/opt/retropie/configs/all/retroarch-core-options.cfg
and re-configuring lr-scummvm usingsudo ./retropie_packages.sh lr-scummvm configure
. You will then see that the speed hack is now enabled automatically. -
I will try this when I have an opportunity. Also, this is just an image of the microSD I normally use - a testing ground of sorts. So any unistalling/reinstalling/changing configs ect that can help just let me know.
EDIT
@hhromic I was going through the regular ScummVM setup script (trying to change from version 2.0.1pre to latest/master - no luck yet) Anyway I noticed01_rpi_enable_scalers.diff
, and as I looked into it some more I noticed it was created by you. So, hats off to you for your work. I'm hoping that means I can change- build_scalers=yes
to enable scanlines or something of the sort! -
@BiZzAr721 thanks but I'm not the author of that patch. I just refactored it out of the scriptmodule into its own external file for easier maintenance :)
The purpose of that patch is precisely to enable scalers, so you shouldn't need to do anything. What it does is to removebuild_scalers=no
so it defaults toyes
.
I'm not currently using/experimenting with the standalone ScummVM, so maybe would be best to open a new topic if you are having issues with enabling scanlines there. Cheers! -
Hi
I really love this project, i'm a fan of ScummVM and using it with overlay is a dream for me :pI have try your version and using your tutorial in first post.
- This lr-scummvm working for me.
- Overlay is working, with joystick, and menu access key on START and START + SELECT to exit.
- But it is less smooth than the original one :(
- I can't understand how to launch a game from ES :(
I have add the directory of the game with the complete game in
/home/pi/RetroPie/roms/scummvm/freddi-win-fr.svm
When i try to launch it it show me the ScummVM menu empty.
I add it like with the old ScummVM official version and i can see it on the INI file[freddi-win-fr] description=Freddi Fish 1: The Case of the Missing Kelp Seeds (Windows/French) talkspeed=85 path=/home/pi/RetroPie/roms/scummvm/freddi-win-fr.svm subtitles=false gameid=freddi language=fr LastBottleLocations=2 TextOn=0 platform=windows guioptions=sndNoMIDI launchNoLoad noAspect lang_French
If i try to launch it again i come back to the ScummVM menu and i must click start
Then like you write i add and create in the game directory a file
freddi-win-fr.svm
When i try to launch it, i have a black screen and go back to ES.In
runcommand.log
i haveParameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-scummvm/scummvm_libretro.so --config /opt/retropie/configs/scummvm/retroarch.cfg "/home/pi/RetroPie/roms/scummvm/freddi-win-fr.svm"/*.svm --appendconfig /dev/shm/retroarch.cfg scummvm: Stray argument 'Freddi' Usage: scummvm [OPTIONS]... [GAME] Try 'scummvm --help' for more options.
If i launch the same game with the old version of ScummVM it works fine.
-
@darknior thanks for testing! and thanks for the support on this scriptmodule, I hope it gets ready to merge upstream soon!
Beware that this core doesn't use the very latest upstream scummvm, so do not expect the exact same compatibility. It is not (yet) intended as replacement of the standalone scummvm.
However, I just tried the game you mention (Freddi Fish 1: The Case of the Missing Kelp Seeds (Windows/French) and worked fine for me on first try.
Did you add the stringfreddie
inside thefreddi-win-fr.svm
file? If still no luck, let me help you get things clear/correct so you can try again.First, make sure you are using the current version of the scriptmodule. Uninstall lr-scummvm, and remove the scriptmodule and associated files as instructed on the OP. Also make sure to remove your
~/RetroPie/BIOS/scummvm
folder and~/RetroPie/BIOS/scummvm.ini
file. This should put things back to the beginning. Then, re-install the scriptmodule and re-build/re-install the core. I know this can take some time, but is just to make sure you are on the right state. This is a summary of commands for accomplishing all this:cd $HOME/RetroPie-Setup # go to the RetroPie Setup directory sudo ./retropie_packages.sh lr-scummvm remove # remove lr-scummvm core rm -rf scriptmodules/libretrocores/{lr-scummvm.sh,lr-scummvm} # remove scriptmodule and old scriptmodule data rm -rf $HOME/RetroPie/BIOS/{scummvm.ini,scummvm} # remove config file and extras folder patch -p1 < <(wget https://github.com/hhromic/RetroPie-Setup/compare/master...add-lr-scummvm.diff -qO-) # re-patch with new version of the script sudo ./retropie_packages.sh lr-scummvm clean # clean any old build directory sudo ./retropie_packages.sh lr-scummvm # re-build lr-scummvm, configure and re-install
Also make sure there are no scummvm options in
/opt/retropie/configs/all/retroarch-core-options.cfg
before re-installing/re-configuring.At this point you should have a freshly built and configured lr-scummvm core. Do not modify
scummvm.ini
. Please also consider that the lr-scummvm core doesn't need to add games to the internal ScummVM launcher, doing so might confuse the loading of games from the core.Make sure your games are in the
scummvm
roms folder using the following structure:roms/scummvm/freddi-win-fr.svm <-- this is a directory not a file FREDDI.HE0 FREDDI.HE1 FREDDI.HE2 FREDDI.HE3 FREDDI.HE4 freddi-win-fr.svm <-- this is a file with the string "freddi" inside
Make sure there is noI confirmed now that having standalone svm files does not affect.*.svm
file with the same name outside the game folder (I think standalone scummvm does this?), EmulationStation might get confused with this layout.At this point, the game should appear as a single entry in the scummvm system in EmulationStation and should launch fine. It can even be scraped (I did and got a nice box art for the game).
Regarding the speed, what devices are you using? on my non-overclocked RPI3B+ all seems to be working fine and smooth. I agree the mouse pointer speed (not the game itself) can be a bit slow in some games, you can adjust this in the RetroArch core options of the core (
Gamepad Cursor Speed
). Also check there that theSpeed Hack
option is enabled (should be done automatically if you cleaned the core options before re-installed.Let me know if this works for you.
If this folder layout is not compatible with the standalone scummvm let me know, we can work out a co-existing system so both the standalone and lr-core versions work with the same game files/folders.I also confirmed now that they can co-exist, but standalone scummvm will create svm files in theroms/scummvm
folder, you still need the ones inside each folder for lr-scummvm with the gameid as content.Thanks again for testing, much appreciated! Your feedback helps making the core integration better!
-
@darknior said in lr-scummvm: request for comments and testing:
I have add the directory of the game with the complete game in /home/pi/RetroPie/roms/scummvm/freddi-win-fr.svm
When i try to launch it it show me the ScummVM menu empty.
I add it like with the old ScummVM official version and i can see it on the INI fileI think I got what you did now :), did you put the folder name as content to the file? If so, that is not how it works. Sorry for the confusion! Check my last post carefully and reproduce the structure mentioned.
And again, do not add the games using the scummvm internal menu, is not needed for this core, just make your games in the described layout.
-
@BiZzAr721 said in lr-scummvm: request for comments and testing:
(...) but my mouse would not work. (neither Trackpad incorporated in logitech KB, or corded USB mouse) Is there an option to allow joypad and KB & Mouse simultaneously? (...)
I tested this now and I can confirm that a connected mouse also works in lr-scummvm with default configuration. I can move the mouse pointer and clicks are registered fine. Make sure your mouse is not mapped weirdly in RetroArch and is correctly detected by RetroArch too.
However, a connected keyboard will be considered a gamepad, mapped accordingly in RetroArch, and the keys sent to the core using this mapping. This means that F5 for example won't open the internal scummvm menu, but pressing ENTER (which most of the times is START) will do. This is by design (Retroarch focusing on gamepad gaming).
It is possible to create a custom mapping only for the scummvm core if desired to use a keyboard with mappings close to a real keyboard, but this is considered a per-user customisation. -
@hhromic said in lr-scummvm: request for comments and testing:
freddi-win-fr.svm <-- this is a file with the string "freddi" inside
Ok sorry i don't understand this, i write this on the file :p
Freddi Fish 1: The Case of the Missing Kelp Seeds (Windows/French)
Now with your trick it works fine ;)
Thanks a lotBeware that this core doesn't use the very latest upstream scummvm, so do not expect the exact same compatibility. It is not (yet) intended as replacement of the standalone scummvm.
What do you mean about this ? Where can we read information ? It's the last stable official 2.0.0 if i read fine.
Will they update it like the official standalone version ? Because there are some avantage to use it :)
And maybe one day more will come with savestate etc ...Regarding the speed, what devices are you using? on my non-overclocked RPI3B+ all seems to be working fine and smooth.
Not for me, i remove rewind, filter, overlay and the sound is always crackling and slow :(
I'm on PI 2 with Retropie 4.3 and overclock.scummvm_gamepad_cursor_speed = "2.0" -> Is perfect for me scummvm_speed_hack = "enable"
EDIT : I have change my old Nespi Case + by my new Megapi Case and now it works fine, near perfect.
As I had guessed it came from the bad power supply of the Nespi CaseNow i will try some other games with filter and overlay, but for my part it will replace the official release for all the games that works fine with it <3
I wish it will become an official Retropie-Setup emulator :D -
@hhromic Finally I'had time to test your patches: everything works fine! I was able to run all LucasArts games from gamelist root (thank to folder rename tip).
The select+start issue seems disappeared too.
Now this is the best option to play scumm games in Retropie IMHO.
Great work! thank you again.
Cheers -
@darknior said in lr-scummvm: request for comments and testing:
Now with your trick it works fine ;)
Thanks a lotYou are welcome! I'm glad it's working for you now.
@darknior said in lr-scummvm: request for comments and testing:
What do you mean about this ? Where can we read information ? It's the last stable official 2.0.0 if i read fine.
Will they update it like the official standalone version ? Because there are some avantage to use it :)I meant that
lr-scummvm
is a fork of the official standalonescummvm
but with libretro integration as a backend. Yes, the fork currently is based on scummvm 2.0.0, however it is not constantly being updated to the very latest official all the time. Also, because it is a fork, any changes in upstream official needs to be ported down to the libretro version, which depends on people from LibRetro to do. This is the very same with many other libretro cores. Fortunately the currentlr-scummvm
seems to be working very fine despite not being on the bleeding-edge with upstream.@darknior said in lr-scummvm: request for comments and testing:
EDIT : I have change my old Nespi Case + by my new Megapi Case and now it works fine, near perfect.
As I had guessed it came from the bad power supply of the Nespi CaseAh the infamous Nespi Case :). I also own one of the original non-plus versions and had the same power supply issues. I ended up fitting a PowerBlock (very recommended!) and also changed the internal wires for thicker ones. This completely made the case work as expected for me.
@darknior said in lr-scummvm: request for comments and testing:
Now i will try some other games with filter and overlay, but for my part it will replace the official release for all the games that works fine with it <3
Again I'm happy it is working great for you now. Please keep testing as much as you can, the more the better to spot scriptmodule bugs or think on enhancements. Cheers!
-
@marus said in lr-scummvm: request for comments and testing:
@hhromic Finally I'had time to test your patches: everything works fine! I was able to run all LucasArts games from gamelist root (thank to folder rename tip).
The select+start issue seems disappeared too.
Now this is the best option to play scumm games in Retropie IMHO.
Great work! thank you again.
CheersI'm very happy to hear the hotfix patch for the HOTKEY+START quitting is also working for you! If more users report the problem gone then I think I will send a PR upstream to see if it's merged for good.
Thanks for all the testing!
-
Update
The scriptmodule is now part of official RetroPie :) To install/uninstalllr-scummvm
, just go to the experimental section of the package manager and you will find it there. Some documentation will be put in the official Wiki later.Thanks to all the testers and if you find any issues just post it here and we can sort it out. Cheers!
-
@hhromic does that include your fix for the closing crash in the upstream core (or whatever the right term is)? For the android version in my case.
-
@EctoOne yes, the scriptmodule includes the fix for the closing crash as a local patch, however I haven't send it yet to the upstream repository as I wanted to leave some time for players to test. At least for me is working fine so far, and others seem happy as well.
Maybe I will send it next week, however the upstream maintainers don't seem to be very active and I don't expect them to merge it too soon :(. Once submitted, fingers crossed.
-
@hhromic It's OK, I just bought a big SD card for my tablet and still have some games that I can play with the normal ScummVM version. But in the feature I probably need a better way to right click things, touch controls are awful for that. Or maybe I need to buy a Bluetooth mouse and see if that works on my tablet.
-
This core is better I think than the standalone Scummvm. The cursor seems a bit easier to deal with and it's convenient to have the controller hotkeys. Some of the audio seems better but that might be because I hadn't updated ScummVM recently.
A few things I noticed:
-
Initially, the runcommand for the core seemed to not launch scummvm correctly (explicitly launched retroarch, passing in the romdir launcher shell file), but the "official" copy I got through the retropie script doesn't seem to do that anymore.
-
This is a minor thing, but when you gracefully exit out of a game (without utilizing the hotkey combo), you're left with a retroarch quick menu that just shows "no items", and to boot back into emulationstation you need to back out of there and select "quit retroarch" or do the combo there. It's a bit annoying to have that extra step.
-
A few of the games require specific settings (for example, Indiana Jones and the Last Crusade appears to require a specific FM-TOWNS audio option to hear the music), but I haven't been able to figure out how to set per-game emulator overrides. The documentation says you should be able to drop a [SHORT_NAME].ini file but either I'm dropping in the wrong place or doing something else wrong. Anyone have one working? I'd also recommend turning off the speed hack for The 7th guest if you like the intro to stay in sync.
-
A random interesting thing for Shivers fans --- lr-scummvm has really bad video performance for its intro, but it works perfectly for the standalone emulator for some reason. I found this curious because I had assumed the cores were pretty much the same --- but it's rather moot since on the RPi there appears an access violation bug you hit right after the intro that makes the game unplayable (although I suppose you could try restoring a game outside of that area to start). I opened up a bug here but no takers yet (https://bugs.scummvm.org/ticket/10431). Oddly enough this doesn't get hit on a Windows ScummVm install, or launching the game through DosBox / Windows 3.1 on a RetroPie.
Thanks for this installer script, it really makes it easier to scrape the titles' metadata too as has been noted.
-
-
@ParadoxGBB said in lr-scummvm: request for comments and testing:
- A few of the games require specific settings (for example, Indiana Jones and the Last Crusade appears to require a specific FM-TOWNS audio option to hear the music), but I haven't been able to figure out how to set per-game emulator overrides. The documentation says you should be able to drop a [SHORT_NAME].ini file but either I'm dropping in the wrong place or doing something else wrong. Anyone have one working? I'd also recommend turning off the speed hack for The 7th guest if you like the intro to stay in sync.
Have you try to configure the game with the scummVM ini general file ?
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.