Announcing Pegasus Frontend
-
Is there an easy way to invert a single axis for the analog sticks? I'm trying to map my arcade stick within Pegasus and the Y-axis is fine, but the X-axis is inverted.
-
Sorry for the late replies,
@NeoBi hmm there's no builtin way yet to detect whether the theme was loaded the first time or relaunched. Could be added in the future though.
@RauTheLegendary this should work through the controller settings screen in Pegasus, do you run into some issues there? Or are you on Android? Alternatively you can manually edit the
sdl_controllers.txt
file in your config directory, I think you'll need to swap theleftx
andrightx
values of the controller. -
I'm on the most recent version available in the RetroPie package, so Linux. When I try to map the stick in the settings screen I can only map the X-axis of the left stick by hitting it to the left. It doesn't register any mapping if I try to hit the stick to the right, the same goes for the Y-axis where it only registers me hitting down. After mapping through the settings screen the Y-axis works fine in menu's and the X-axis is inverted. This is what my sdl_controllers looks like after mapping through the settings screen:
03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b1,b:b0,back:b11,dpleft:h0.8,dpright:h0.2,leftshoulder:b5,leftx:a1,lefty:a0,rightshoulder:b2,righttrigger:b7,righty:a4,start:b10,x:b3,y:b4,platform:Linux,
For some reason the rightx isn't even there. I've tried adding it like this:
03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b1,b:b0,back:b11,dpleft:h0.8,dpright:h0.2,leftshoulder:b5,leftx:a1,lefty:a0,rightshoulder:b2,righttrigger:b7,rightx:a3,righty:a4,start:b10,x:b3,y:b4,platform:Linux,
With no result. I've tried to swap the values, and just a lot of different aN numbers in general, of both the leftx and rightx, but nothing seems to work. It either straight up doesn't work or the X-axis remains inverted. The strangest one is putting the leftx value at -a1. In that case the inversion works, except after the first input it starts inputting permanently to the left (even if I'm not touching the stick at all) which makes the menu unusable. These controllers work well in Emulationstation so it shouldn't be due to faulty hardware.
-
@RauTheLegendary Hm could you try setting
leftx
to~a1
(tilde +a1
)? That should be the invert setting in theory. (Also ignore therightx
part, that refers to the right stick's X, sorry).You could also try
evdev-joystick
orevtest
(not sure which one is available) which should print something out on every input event. Pegasus uses the same gamepad handling library as ES, so I'm not really sure why some devices work different here. -
@fluffypillow It is ok Fluffy !^^ Thank you for your answer ! I can find a way to resolve that for the moment with autohotkey ! But I think it is not really clean.
-
Hi @fluffypillow I have some questions/suggestions :
- Is it possible within the future update to have a "last played" section or is there a script I can use (in the metadata text file) to make it happend ?
- A battery indicator would be a very nice addition for portable device in my opinion (I use Pegasus on my GPD WIN 2)
Thanks in advance and keep up the good work !!
-
@Seya16 ah sorry for the late reply, somehow I missed the forum notification...
- This depends on the themes: Pegasus can tell the themes when were the games launched so theme makers can add such feature. Maybe in the future there could be support for it in the default theme too.
- Not sure if that's possible on every platform, but will look into it!
-
@fluffypillow Is there a way to view more than 20 systems? There is a grey area on the top right for more systems to fit there.
-
@Darksavior There was a plan originally to have a clock there, but it wasn't added yet. You can change the number of items and the width of the bar around here in the theme's code.
-
Is there a way to customize the auto-added libraries (Steam, GOG, etc) - with custom images and custom collections via a metadata.pegasus file? Couldn't seem to find an answer anywhere I looked. Thank you!
-
@C-Drive not yet, but I'd like to add support for that eventually!
-
@fluffypillow Thanks for letting me know - I look forward to it! I love this frontend and the simplicity and customizing it provides. Thanks for developing it.
-
@fluffypillow Question - is there any way a theme could modify the contents of a collection through the frontend?
I've been thinking it would be a nice feature to have a "Games in Progress" type collection that I could "tag" games to as I am using the system, sort of the same logic as "Favorites" use now but I would envision it to be more temporary, only having a handful of games I am currently in the middle of stored there and that would be updated regularly as I finish or start games.
I am pretty sure the API doesn't support writing back to collection data but wanted to confirm that is the case. I know I could repurpose "Favorites" for this but I do use favorites already so I wanted to see if there was any current support for similar functionality, or even if there was any other writable fields on the game or collection object I could use for this idea.
-
@msheehan79 At the moment the only writable field is the
favorite
for games. However, if you don't mind it being theme-specific, you can useapi.memory
to store arbitrary data like this too. Creating "virtual" collections is also possible with some JavaScript magic; I haven't made yet a theme that'd use this, but if I remember correctly it came up with the gpiOS theme. -
@fluffypillow Ah right! For some reason in my head I was thinking api.memory would not persist between sessions, I forgot it stores the data in a file. That would definitely work for what I have in mind.
Indeed the virtual collections works well; I am using a customized version of the fantastic gameOS theme that includes Last Played and Favorites as virtual collections, I would intend to add this as a third virtual collection along the same lines.
Thanks!
-
Was there a change to asset names? I can't for the life of me get my boxart to show.
-
Nevermind.
-
Sorry for the lack of replies and updates. Lately my schedule is a mess, but I'm still alive and will see if I can continue the development soon.
-
@fluffypillow thank you for your work!
I have tons of nfo files. each rom has it's own matching nfo file in the same directory. the nfo files are laid out
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<game>
<title>My Game</title>
<description>My Game</description>
<year>2020</year>
<genre>Strategy</genre>
<nplayers>2 player</nplayers>
<esrb>esrb - t (teen)</esrb>
<rating>3.5</rating>
<developer />
<plot>...</plot>
</game>This is the output from Advanced Emulator Launcher
Is there a way to convert these or a way for Pegasus Fe to read these files? -
@bhakta You could import them into Skyscraper, and then use Skyscraper to generate the gamelist for Pegasus afterwards. That should work: https://github.com/muldjord/skyscraper/blob/master/docs/IMPORT.md
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.