Announcing Pegasus Frontend
-
@fluffypillow
Is there any way of brightening up the dark look of Pegasus, e.g. by changing the black background to white, perhaps? Or will this result in antialiasing "borders"? -
@AndersHP you mean the main menus? Sure, I think a light theme could be added for it eventually.
-
@fluffypillow yeah, the grid view. I was just thinking that a white background instead of black could make it seem a bit friendlier :) If it was just a matter of changing hex color codes, I could try myself. I guess the text should be black and the backgrounds white.
-
@AndersHP ah the grid view? Yes you can just tweak the numbers, here's the source: https://github.com/mmatyas/pegasus-theme-grid, look for
color
values. -
@fluffypillow Hi fluffy ! I hope you are well, I am working at this moment on an opening video and I want to know if there is a way to prevent pegasus to relaunch it when I leave a game. I tried api.memory, It works when I leave a Game, but when I restart Pegasus the opening video doesn't play.
-
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!
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.