Announcing Pegasus Frontend
AndersHP last edited by
I too would like this volume-feature, I would guess that the video playback is consistently about 30% louder than the actual game sound.
I just installed Pegasus this morning and really like the look of it. I'm currently using a SN30 PRO controller from 8bitdo and I have them configured and working properly in the front end. When I launch a game they don't work however the keyboard I have attached does work. The controller works perfectly in EmulationStation.
Any suggestions on how I can fix this?
@Magma You'll need to configure the controller in your emulator also, Pegasus is just the frontend, has no influence on the emulator's settings.
@mitu I have to configure it per emulator even though it worked fine in EmulationStation on Retropie? How would I go about doing this? I didn't see a per emulator option in Pegasus.
Is there a way to just copy the settings that were used in EmulationStation?
@Magma You didn't mention you're using RetroPie. If you configured the controllers in Emulationstation, at least the RetroArch cores should work. Can you get a verbose log from Runcommand from a RetroArch based emulator ? and post it on pastebin.com ?
@mitu Sorry I'm a bit inexperienced. Is there a command to run from a prompt for that or something?
@Magma When starting a game, use the Runcommand launch menu to enable verbose logging. After the game is run or you exit it - get the
/dev/shm/runcommand.logfile and post it on pastebin.com.
And add some more info about your setup - https://retropie.org.uk/forum/topic/3/read-this-first.
Pi Model or other hardware: 3B+
Power Supply used: CanaKit 2.5A USB Power Supply with Micro USB Cable and Noise Filter - Specially designed for the Raspberry Pi 3 B+ (UL Listed)
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.4.12
Built From: Premade RetroPie image
USB Devices connected: Logitech keyboard
Controller used: 8bitdo SN30PRO
Error messages received: NA
Log found in /dev/shm/runcommand.log (if relevant): https://pastebin.com/Ae3W6FzB
Guide used: NA
Emulator: Retroarch SNES
Attachment of config files:
How to replicate the problem: Launch a game from Pegaus Front End. Controller works in front end but not in game.
@Magma The log shows the controller is not configured for RetroArch:
[..] [INFO] [udev]: Keyboard #0 (/dev/input/event0). [INFO] [udev]: Plugged pad: Pro Controller (1406:8201) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event1) supports 0 force feedback effects. [INFO] [Autoconf]: 0 profiles found. [INFO] [Autoconf]: no profiles found for Pro Controller (1406/8201). [..]
Re-configure the controller in Emulationstation - Controller Configuration - and try again.
I test Pegasus-fe since some times, and it's very promising. Unfortunately, it's difficult to find new themes.
Yes, there aren't too many yet, hopefully it will get better in the future! (I should also update the theme making tutorials)
@Magma Unfortunately the gamepad setup is not shared with the emulators yet on RetroPie. Would like to add this feature eventually though!
@mitu I rebooted the Retropie and reconfigured the controller. Loaded a game and confirmed it was working.
Exited EmulationStation and loaded Pegasus. Launched a game. Controller works fine in the front end but still does not work at all once a game is launched.
Here is the pastebin of the log. https://pastebin.com/X4DnRkLn
Looks like the same issue.
@Magma I think I know what's the issue - you're running Pegasus as
sudo, while Emulationstation runs as the user
pi. As a consequence, the auto-configuration folder - where the gamepad configs are stored - are different.
Don't run Pegasus as
sudo- it's not advisable and it will break other configurations also.
AndersHP last edited by
But wouldn't lowering the main volume lower the volume in the games also, so the issue will remain the same?
@mitu Perfect that did the trick. Thanks so much.
@AndersHP You could work around that by first reducing the volume before Pegasus starts, raising when a game is launched (by eg. writing a
game-startscript), reducing again when you return from a game (
game-end), and finally raising again when Pegasus is closed.
Other alternatives could be changing the code of the theme to play the videos less loud, or changing videos themselves (eg. some kind of volume normalization), though I haven't tried that yet.
Ok new question. I want to play around with what images Pegasus uses. Originally I was using the setting from EmulationStation. I went and converted my gamelist.xml's to Pegasus' metadata.txt using https://pegasus-frontend.org/tools/convert/. I then disabled EmulationStation in the list of data sources.
After relaunching Pegasus 0 games were found. I believe this is because there is no Collection info at the top of the metadata.txt in each rom folder. Here is an example of the top of one metadata.txt https://pastebin.com/LUiMPWX0
I'm not sure how to configure it correctly to work with Retroarch. Currently only have the following systems, SNES, NES, Genesis, and FinalBurnAlpha.
@Magma Yes, a Collection is required for the games to be found, but fortunately it's also possible to get them from EmulationStation's
es_systems.cfgtoo. Here's a guide I've wrote for a similar case, hope this helps.
@jerzeeloon there have been reports of slow USB access, but it seems to be depending on the device. Do you see anything out of order in the log file (
Sorry it took so long to get back to you but nothing strange in the last run log. Seems dependant on the sheer amount ROMs/assets on initial load. I decreased the amount of ROMs by a few thousand it loaded quicker just doesn't seem like any advantage in speed between a standard USB hdd and my Samsung T5 SSD. That said I can live with the initial load time when taking into consideration that I have boxart, screenshots, fanart, logos and videos in addition to thousands of ROMs it's probably a lot to mull over. What's important is that once in the frontend when I exit an emulator to pick another game the front end pops right back up. So again I appreciate all your work and continued support especially for the Android system, definitely my favorite frontend even in this alpha stage. Also recently got an odroid n2. Would be awesome if I can get it to run on that as well.
@fluffypillow Thanks that did the trick.
I'm really enjoying Pegasus over ES but there's one last thing I'd like to get working.
Currently I'm using a Retroflag SuperPi case (http://retroflag.com/SUPERPi-CASE-U.html) and the Power and Reset buttons are functional in ES (and RecalBox) due to this script https://github.com/RetroFlag/retroflag-picase
Any ideas on how I can get similar functionality with Pegasus? Would it be as simple as changing the sudo killall emulationstation to pegasus-fe?
@jerzeeloon That's too bad :( Hope I can improve load times in the future!
Also recently got an odroid n2. Would be awesome if I can get it to run on that as well.
Yeah it would be nice to have Odroid releases eventually. It should be possible to build Pegasus for the N2 already, but might need to do some manual setup to make everything work.
@Magma Yes, simply replacing
pegasus-feshould work fine. You could also make it work for both the same time:
os.system("sudo killall emulationstation pegasus-fe; sleep 5s && sudo reboot")