Announcing Pegasus Frontend
-
I'm a bit at a loss here and require some help regarding ScummVM and game images and metadata.
I have setup Pegasus with Retroarch and a few standalone emulators on my old Win10 Laptop.
laptop specs are i5-2410M, 8GB RAM, Intel HD3000 on board graphicsI was able to setup NES, SNES, MegaDrive and so on with ease using Retroarch and Skraper.
Now I am trying for hours to get the images to show for my ScummVM games. Screenscraper is currently down so I thought I'll add the data for those 3-4 games myself inside the metadata.pegasus.txt file.
But for some reason that I can't seem to find or see it won't load any images nor any game info like description.
Usually Pegasus recognizes the folder structure by itself and loads the correct images and metadata. But right now I get thisThe games run just fine using ScummVM as standalone, not as core from Retroarch. ScummVM starts and loads the game which I choose using the following launch command inside the metadata file
collection: ScummVM extension: residualvm(residualvm), scummvm(scummvm), svm, zip launch: C:\Users\***\Desktop\Pegasus\Emulators\scummvm\scummvm.exe -c C:\Users\***\AppData\Roaming\ScummVM\scummvm.ini {file.basename}
Even if I remove anything else but the launch command code games will run. which is strange because I'm using the variable {file.basename} which would mean it takes the name without extension from file: monkey2.svm, right? Even if i remove monkey2.svm the game will launch and run just fine. So not sure where {file.basename} takes the name from. But removing {file.basename} will only launch ScummVM menu without any game loaded.
Anything else I add into that metadata file has no visual effect on the pegasus frontend. Even if I use the assets paths directly it won't show anything.
My file structure is like this (example with monkey island 2)
Pegases/Roms/scummvm/Monkey Island 2/monkey2.svm
Pegases/Roms/scummvm/Monkey Island 2/MONKEY2.000
Pegases/Roms/scummvm/Monkey Island 2/MONKEY2.001
Pegases/Roms/scummvm/Monkey Island 2/MT32_CONTROL.ROM
Pegases/Roms/scummvm/Monkey Island 2/MT32_PCM.ROM
Pegasus/Roms/scummvm/metadata.pegasus.txt
Pegasus/Roms/scummvm/media/box2dfront/monkey2.png
Pegasus/Roms/scummvm/media/screenshots/monkey2.jpg
Pegasus/Roms/scummvm/media/videos/monkey2.mp4
Pegasus/Roms/scummvm/media/wheels/monkey2.pngAny metadata info I add to the metadata.pegasus file doesn't seem to have any effect except for the launch code.
Adding metadata like this won't show at all in the front-endgame: Monkey Island 2: LeChuck's Revenge file: monkey2.svm developer: LucasArts publisher: LucasArts genre: Adventure description: Guybrush Threepwood, the mighty pirate who can hold his breath for ten minutes, could have lived quietly and happily with his sweetheart Elaine, the governor of Melee Island. But the restless pirate spirit won't let Guybrush in peace. Things don't go very well with Elaine, and Guybrush (now with a beard) embarks on a new adventure: searching for the legendary treasure of Big Whoop. However, the evil ghost pirate LeChuck hasn't left the stage yet. His subordinates are trying to bring him back from the dead one more time. Will Guybrush be able to defeat his archenemy again? release: 1992-01-01 players: 1
Is there something I missed regarding paths or setup for ScummVM? Any help is appreciated. Thanks
-
Sometimes a short break can do wonders.
With a fresh mindset I tackled this once more and I found the mistake. And what a small mistake it was, I could kick myself so hard now. To setup ScummVM for Pegasus I took the retropie ScummVM docs as reference and there it says the following.../home/pi/RetroPie/roms/scummvm/Day of the Tentacle/Day of the Tentacle.svm /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/MONSTER.SOU /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/TENTACLE.000 /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/TENTACLE.001
Having the svm file within the same folder as the game files was the problem for me. I had to move the svm file outside the game folder. Taking that example from above the correct solution for my case is this folder structure
/home/pi/RetroPie/roms/scummvm/Day of the Tentacle.svm /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/MONSTER.SOU /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/TENTACLE.000 /home/pi/RetroPie/roms/scummvm/Day of the Tentacle/TENTACLE.001
Now finally all images, screenshots and metadata is showing up correctly and the games still launch fine as they should. Meaning it recognizes the metadata.pegasus file. Thanks and sorry for the fuss.
-
@fluffypillow love your work on this.
UPDATE nevermind i got it going now.
i have been looking, i do see awhile back that you took care of the logfile that runs when you start game, but mine is still doing it.
is there something i need to add somewhere. i have looked all over and i cant find anything
-
March update, alpha14-133
It's been a while! Lately I've been a bit busy with work, so there were a lots of small, irregular updates -- with time however these started piling up, so this might be a good time for a changelog:
- Added support for accessing the battery information of the device: https://pegasus-frontend.org/docs/themes/api/#device
- Note that this heavily depends on what the device support and reports -- some values may be simply not present on all platforms
- Themes can now access all
extra
fields defined in metadata files- Theme devs: Games and collections now have an
extra
field, a regular JS object with the values under their their properties as a list of text
- Theme devs: Games and collections now have an
- Added support for title screen assets
- They can be added to games like the rest of the assets, with the name
titlescreen
- They are also imported automatically from Skraper and LaunchBox sources
- They can be added to games like the rest of the assets, with the name
- Improved handling of symlinks and Windows shortcuts (.lnk files)
- Steam: Added support for importing Steam game info from LaunchBox
- LaunchBox: Added support for platform sort names
- LaunchBox: Fixed support of certain asset file names
- LaunchBox: Added support for more asset types
- macOS: Fixed disappearing system menu bar in windowed mode
- Fixed a possible crash caused by games with no files
- Fixed nonexisting games still appearing in certain cases
- Fixed favorites and play times not appearing correctly in certain cases
- The default theme now tries to show the collection's default assets in case of missing game images
- Minor optimizations
- Documentation updates, especially the Getting started page
- Added support for accessing the battery information of the device: https://pegasus-frontend.org/docs/themes/api/#device
-
@fluffypillow Do you happen to know the ideal way to get pegasus working on a mac mini m1 (arm64)? Maybe the emulationstation content might be readable if I can alter the folder pegasus is looking for, but then there's the actual games to load from retroarch which requires retropie to do it.
-
@darksavior I'm afraid I'm not familiar with the Mac, sorry :( If it helps, ES system files are expected to be at
$HOME/.emulationstation
or/etc/emulationstation/
, though if I remember correctly, Mac support for ES was implemented in just one of the forks. -
@fluffypillow No worries, just thought you might know a way. I'll use the standalone retroarch for now.
-
I'm new to Pegasus and have been looking at videos of it on YouTube. It looks fantastic and great work so far :)
At the moment, it seems too difficult for me to set up. I know other front ends allow you to just simply select your roms folder (without having to create a metadata.pegasus.txt) and then there's options to use an in-app scraper to download artwork.
Will these options eventually be available in Pegasus? And if so, is there a road map of features you want to incorporate?
Thanks!
-
@jacklongford
Are you using Windows, or Linux? -
@h2805270 Android (Nvidia Shield)
-
@jacklongford
That's a tricky one.
I've got no experience with TV Boxes. Ask someone on the Discord if you haven't yet:
https://discord.com/invite/KTtzP6y -
@jacklongford Hi! Well, Pegasus tries to be just the frontend. It doesn't have a built-in scraper, but tries to be compatible with the output of others; you can try using Skyscraper, Skraper.net, LaunchBox as well as all the EmulationStation supporting scrapers. In the case of Android though, I do know the selection is a bit lacking, so eventually there might be a cross platform way for scraping, but there's no fixed roadmap for that at the moment.
For Android in particular, the guides written for the Retroid Pocket 2 might come handy, eg. https://basvroegop.nl/pegasus, as that also runs a version of Android.
-
@fluffypillow Thanks for your reply, I think I will have to stay with my current frontend since it's got scraping built in.
-
After the installation, you can either call pegasus-fe manually, or edit /opt/retropie/configs/all/autostart.sh to launch Pegasus on boot (instead of eg. ES2).
I installed it through Raspberry Pi 4 from experimental packages, then Pegasus FE. But it says could not install it. It is not available?
Yes, Retropie is updated etc, wifi is on.
Any solution?
-
@stef17 said in Announcing Pegasus Frontend:
I installed it through Raspberry Pi 4 from experimental packages, then Pegasus FE. But it says could not install it. It is not available?
Installation from the setup script should work - what version of RetroPie are you using ?
-
@mitu said in Announcing Pegasus Frontend:
@stef17 said in Announcing Pegasus Frontend:
I installed it through Raspberry Pi 4 from experimental packages, then Pegasus FE. But it says could not install it. It is not available?
Installation from the setup script should work - what version of RetroPie are you using ?
version 4.7
System: rpi4 (armv71)
running on Rasbian GMU/Linux 10 (buster) -
@stef17 What error do you get when installing ? Please post the exact error - the setup script stores all operations under
$HOME/RetroPie-Setup/logs
, you can open the installation log and post it on pastebin.com. Make sure you're using an updated RetroPie-Setup script (version 4.7.11 at the moment). -
@mitu said in Announcing Pegasus Frontend:
@stef17 What error do you get when installing ? Please post the exact error - the setup script stores all operations under
$HOME/RetroPie-Setup/logs
, you can open the installation log and post it on pastebin.com. Make sure you're using an updated RetroPie-Setup script (version 4.7.11 at the moment). -
@stef17 This looks like a problem with your package repositories:
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Could not install package(s): gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-good jq.
Do you have any held/pinned packages ?
-
@mitu When I bought Raspberry Pi 4 I downloaded Retropie-image then to SD Card. After that wanted to install Pegasus FE. Failed. I don't know what packages.
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.