Announcing Pegasus Frontend
-
1. is there a way to add media assets on android right now?
i've added metadata.txt and collections.txt, so the roms can be found - but there is no option to add boxart or video in the txt files, or am i wrong?
on windows i just use the gamelist.xml of emulationstation (but would also like to get rid of this "compromise" ^^) ... on android pegasus seems to ignore the gamelist.xml- i noticed, that if a platform have just a few roms (in my case 3 titles) and i switch ONE TIME forward and ONE TIME back (shoulder buttons) , the boxart is "supersized" ... if i switch two times for and two times back it's ok. ...dunno how to describe it better.
-
@fluffypillow said in Announcing Pegasus Frontend:
@jste84 I've tried Nostalgia.NES on my device, and unfortunately it seems this program cannot open individual games, only save states (or whatever a "slot" is -- it produces an invisible "Slot import" screen when launching, then also closes instantly). I'll update the documentation with this info.
On the other hand, RetroArch does work fine for me. It seems leading spaces are removed when you try to copy text from the forum, that might have caused the trouble. You can also copy the NES config from here, just change the extension to
nes
if needed.I've copied the text and now it's working. I'm guessing I had another typo in there. Cheers for your help đź‘Ť
Now my next task is box art/metadata... As per the post above... Not sure how easy this is...
-
Meanwhile I've just made another theme, something I've wanted to create for quite some time:
You can get it HERE.
Some points of interests for theme makers:
- this is a fixed 4:3 theme and uses a custom scaling system
- there are sprite sheets
- there is a relatively large amount of JavaScript logic for the "Bird AI"
-
No words, thats awesome and show the possibilities of the frontend.
-
A wild weekly update (+recap) appears!
- Breaking Changes in the Theme API: renamed
collectionList
tocollections
andgameList
togames
- in practice, this means you'll need to update (ie. redownload) the themes; sorry for the inconvenience!
- Opening the main menu now has its own key (other than just hitting Back until you reach it). Defaults to F1 and Gamepad Start.
- Theme API: Arrow keys can now be queried like the rest of the keys with
isLeft
,left
,isUp
, etc. - Fixed themes appearing multiple times on the list in some cases
- Updated the documentation
- Created the ES2 Simple theme
- Created the 9999999-in-1 theme
- Breaking Changes in the Theme API: renamed
-
@fluffypillow Pegasus looks really promising, is it named after the Polish Famiclone by any chance?
I am looking for an alternative to EmulationStation because it is lacking few features for my Pi inside Commodore 64 project. Before I abandon ES2 for Pegasus, I have a few questions about current (or even planned) features...
- What does it run on, is it X11, sdl?
- Can you map key-combos (e.g. Shift + Down arrow) to a function (up in menu)?
- Can you have multiple controllers per player setup at the same time (e.g 2 usb gamepads and a keyboard controlling a single player at the same time)
- Can the menu be navigated by each player, even if both players are mapped to the same keyboard?
-
is it named after the Polish Famiclone by any chance?
Yup :) I happened to have one when I was younger.
What does it run on, is it X11, sdl?
It uses Qt, which I've built to use EGL on the Raspberry Pi, ie. X11 is not required, it can run with or without it. Other than that there are releases for desktop Linux (X11), Windows and Android, but it can also be build for macOS, Odroid and other boards.
Can you map key-combos (e.g. Shift + Down arrow) to a function (up in menu)?
Not yet, only single keys.
Can you have multiple controllers per player setup at the same time (e.g 2 usb gamepads and a keyboard controlling a single player at the same time)
Can the menu be navigated by each player, even if both players are mapped to the same keyboard?All connected keyboards, gamepads, mouses and touchscreens can control the menu. As for the emulators, the key configuration is not integrated with the rest of RetroPie (eg. RetroArch) yet (I should make a patch for that eventually).
-
@fluffypillow said in Announcing Pegasus Frontend:
It uses Qt, which I've built to use EGL on the Raspberry Pi, ie. X11 is not required, it can run with or without it. Other than that there are releases for desktop Linux (X11), Windows and Android, but it can also be build for macOS, Odroid and other boards.
Any idea what keyboard tables Qt ueses? My current problem when it comes to ES2 is that it doesn't seem to read my modified linux tables so I can use my C64 keyboard correctly (which requires Shift + Down for Up and Shift + Right for Left among others).
-
@cybrasty Never tried that personally, but apparently you can load custom X11 keymaps and kmap files to use.
-
@fluffypillow I have made myself a custom keymap that works both in X and console, it just doesn't register in ES2 because it runs off SDL keymap (I think) which I can't find. Or the way ES2 is written it doesn't recognize Shift as a modifier that changes input.
This is why I asked about key combos, because even if Pegasus won't use my keymap, I can always fake it ;)
Just to confirm that my custom tables of Shift+key are not read in Pegasus either.
I would like to request shifted/modded key support. It would be helpful in my case, and would also allow for shortcuts like Shift/Alt F1 to reboot or close the front end. -
@cybrasty tested this on my Pi too, and the loadkey method indeed fails. In theory converting the kmap to qmap could make it work, but compiling the converted tool is a pain.. I think I can add key combinations support however, I'll do some experiments to see if I can make it work.
-
@fluffypillow Thanks! I am looking forward to it :)
I think the big issue here is how fractured linux keyboard is. There is one driver for X, another for console, and bunch of other library specific drivers that do or do not follow whatever the distro tells them to do with custom keybindings. So even when changing everything that I could in rasbian, it still isn't enough.
Having multi-key in Pegasus will save me a lot of hassle of trying to build my own keyboard controller.
-
@fluffypillow I'm in the middle of sorting arcade games and threw them all in the
.../roms/arcade/fba/
and.../roms/arcade/mame-libretro
folders and screenshots and logos aren't showing up. The box art does show up since that's dependent on thegamelist.xml
. Putting games in.../roms/arcade/
also doesn't make the screenshots/logo art show. This is odd because my custom system folders have no issues.All of my scraped arcade art is in
/opt/retropie/configs/all/emulationstation/downloaded_images/arcade
.
The same screenshot and logo art will show up if I put it in.../downloaded_images/fba/
or.../downloaded_images/mame-libretro/
but I'd need to put games in the...roms/fba
and...roms/mame-libretro/
rom folders again. This verifies the art is good.Also, will you be providing a non-internal version of the default theme? I wish to add/replace some of the system logos. I already did that to the simple theme. While the simple theme has bugs displaying some system logos, replacing the
.svg
does work.Also, this overlapping box art bug has existed for the longest but wonder if anything can be done. Going to the next or previous system and then back to this one causes it and fixes it.
This is buildalpha9-55-gfb13c3d. 2018-10-08
-
@Darksavior this is partly a bug and also an interesting case. When looking for assets, it was assumed that the games were stored as
/path/to/<systemname>/game
, and assets as/path/to/downloaded_images/<systemname>/game
. The bug is that the case when the<systemname>
part in these two differs was not handled, I'll fix it. Other than that, assets for systemx
are always searched underdownloaded_images/x/
, as it cannot be guessed that they should be searched in some other directory.Also, will you be providing a non-internal version of the default theme?
Yes, I'll likely move it into a separate repo, for license reasons too (ie. no company logos in the main repo).
Also, this overlapping box art bug has existed for the longest but wonder if anything can be done.
Yeah, the main theme would need some love too. It will be fixed, along with the portrait/landscape ugliness eventually.
-
As for this week's update, there have been a bunch of bugfixes:
- Fixed console apps not reacting to keyboard input (eg. Retropie menu)
- Fixed after-process scripts called too soon
- Fixed an issue where changing the theme didn't work after a theme loading error
- Fixed asset searching in ES2's
downloaded_images
when the name of the game directory didn't match the system name - Fixed the data source settings panel not reacting properly to keyboard input
Key combination support is in the works, it seems I can add support for it.
Also updated the changelog in the first post. -
Hi there! First of all, i love the new media detection way! Already reorganized my media directory, but my question is, how do i handle in Pegasus multi-disc games? (w/o using ES2) ...in ES2 i had same "problem" first, used there a subfolder and <folder> node in the gamelist.xml to add boxArt to the folder etc
Is there a way to add smth like a "sub-collection", inside a collection ? -
@purg-derren hmm not sure how to deal with that case, it feels kind of halfway between the frontend and the emulator's territory. I've heard some emulators can handle M3U files where you list the disk files, that'd be an ideal solution I think. Or if the emulator can't handle it, maybe a small launcher app that'd read and present it with some simple UI instead.
-
HI @fluffypillow - I’ve been keeping an eye on this project for some time and finally had a chance to install it on a Windows PC to check it out. It really is great! I love the clean UI and how smooth and fast it runs, and you’ve taken a lot of steps to make this a super flexible front end as well.
Can your parser support reading additional data from ES2 files if for example I added “launch” as a node there to set up per game launch commands, or added additional custom metadata using the x-prefix as you support in the regular metdata files?
-
@msheehan79 well the ES2 support is there mainly for compatibility, so I'd rather not add new features to the files that ES2 itself doesn't support. If a new node type becomes official on their side though, then yeah, support could be added after that.
-
@fluffypillow yes that does make sense, thanks for replying. Just so I am not missing anything, is there any supported method to set per game launch commands while still using the ES2 metadata or is the only option to switch to the metadata.txt format and add there?
I’m sure I can convert my files, just want to make sure I haven’t missed an option before I go that route.
Thanks!
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.