Skip to content

bell07/lutris-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lutris-ui

Simple pygame based Lutris frontend.

Main goal is to launch Lutris games using joypad or touchscreen on portable gaming devices. Using SDL2 based pygame library the frontend works on Xorg and on Wayland. Lutris-UI is written in Python, the same scripting language as Lutris.

License: Code: GPL-v3 - Same as Lutris; lutris-ui.png: Generated by AI (MS Copilot)

Project status: "Works-for-me". No warranty it does work for you. But any contribution is welcome

Screenshot Left site is the Lutris window, right site is the Lutris-UI window.

Dependencies

Dependency Reason
Python 3 The interpreter
Pygame 2.6 Main UI library
lutris Games manager and runner
psutil Track running game
pyxdg Get the config file path

Configuration

The repository provides config.ini.example that can be placed and adjusted in XDG path /etc/xdg/lutris-ui/config.ini system-wide or ~/.config/lutris-ui/config.ini for user. In short: you can set

  • game_widget: game widget/tile size and distance
  • gamelist: games order
  • play: enable "hide on launch"
  • input: Repeat times for arrow buttons
  • window: Fullscreen, borderless window (noframe), or window size

Usage

The launcher can be controlled by Keyboard, Joypad, Mouse or Touchscreen.

Show all Controls

Keyboard

Key Action
arrow keys change selection left / right / above / bellow
Enter Run game
Backspace Cancel running game
Left-ALT + Enter Toggle Fullscreen
Right-ALT + Enter Toggle Borderless-Window-Fullscreen
Escape Exit Lutris-UI
K Reload games

Joystick

Key Action
D-Pad change selection left / right / above / bellow
Left Joystick move change selection left / right / above / bellow
A / Start Run game
B / Back Cancel running game
Y Reload games

Mouse

Mouse action Action
Left click to tile Run game
Left click to "Cancel" button Cancel running game
Right / Middle click to tile Select game
Wheel Scroll

Touchscreen

Touchscreen action Action
Tap game Select game. If selected,run the game
Tap to "Cancel" button Cancel running game
Drag vertical Scroll

For developers

For Lutris-UI I wrote a new Widgets API with intention to release it separately later. I know, they are some other pygame based API already. This Widget-API allow relative coordinates, so window resizing is handled properly from beginning.

About

Additional Lutris launcher, based on pygame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages