Skip to content

amstelchen/GameInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Status Python package

GameInfo

What is or does GameInfo do?

A system info tool, primarily for gamers. It displays a wide range of gaming-related information, like libraries and tools.

What is it not?

GameInfo is no a runner, not an emulator, or yet another game library. It simply displays what is installed on our system.

Supported tools

Emulators/Runners
✔️ Wine ✔️ Proton ✔️ DOSBox ✔️ ScummVM
✔️ Lutris ✔️ Minigalaxy ✔️ PlayOnLinux ✔️ Heroic Launcher
✔️ GameHub ✔️ Rare ✔️ itch.io App ✔️ SamRewritten
CLI tools Streaming/Video Audio / Mixers Perf tuning
✔️ steamcmd ✔️ Discord ✔️ pavucontrol ✔️ MangoHud
✔️ steam-cli ✔️ Twitch ✔️ pipewire ✔️ CoreCtrl
✔️ legendary-gl ✔️ obs-studio ✔️ pulseffects ✔️ cpupower-gui
✔️ truckersmp-cli ✔️ Kdenlive ✔️ easyeffects*
Graphics Modding Helpers Containers
✔️ dxvk ✔️ OpenRGB ✔️ winetricks ✔️ Flatpak
✔️ vkd3d ✔️ vibrantLinux ✔️ protontricks

(*) might replace pulseeffects

Planned:

  • Redshift / Blueshift

Installation

Steps assume that python (>= 3.8) and pip are already installed.

Install dependencies (see sections below)

Then, run:

$ pip install GameInfo

Install directly from github:

$ pip install git+https://github.com/amstelchen/GameInfo#egg=GameInfo

When completed, run it with:

$ GameInfo

Dependencies

On Debian-based distributions (Mint, Ubuntu, MX, Zorin, Pop!_OS, etc.), installation of the packages tk, python3-tk, libcairo2-dev, and libgirepository1.0-dev may be necessary.

$ sudo apt install python3-tk tk libcairo2-dev libgirepository1.0-dev

On Arch based distributions, only tk needs to be installed.

$ sudo pacman -S tk

On Void Linux, installation of the packages python3-tkinter, python3-gobject and others (see below) is necessary instead.

$ sudo xbps-install python3-tkinter python3-gobject libgirepository-devel

Anyways, it often helps to keep your python installation updated:

$ python -m pip install --upgrade pip wheel setuptools

System requirements

GameInfo is tested to work on the following distributions:

  • Arch Linux (or any Arch based distribution like Manjaro, ArcoLinux, ...) (1.0.16)
  • Debian 11 or newer (1.0.16) (Debian 10 now unsupported, latest Python 3.7)
  • Ubuntu, Kubuntu, Xubuntu 20.04 or newer, Pop!_OS 20.04 or newer (1.0.16)
  • Manjaro 20 (1.0.16)
  • Linux Mint 20 or newer (1.0.16) (19.3 lacks support for Python 3.7/3.8, only has 3.6.9)
  • MX Linux 21 or newer (1.0.16) (19.1 likely needs to run pip install --upgrade pip setuptools wheel )
  • Zorin OS 16.2 (1.0.16) (15.3 lacks support for Python 3.7, only has 3.6.9, plus misses a lot of libraries)
  • Fedora 37 Workstation or newer (1.0.16) (needs some of the libraries above, plus more)
  • Void Linux (1.0.16)
  • Garuda Linux (1.0.16)
  • Artix Linux (1.0.16)
  • openSUSE Tumbleweed and Leap 15.2 or newer (1.0.16) (needs some of the libraries above, plus more)
  • Slackware 64 14.2 and 15.0 (1.0.16)
  • EndeavourOS (1.0.16) (tested since 22.1)

thus, GameInfo supports various package managers, i.e.

  • pacman/yay (Arch),
  • apt/dpkg (Debian),
  • yum/dnf (Fedora),
  • and even xbps (Void)
  • and slackpkg (Slackware).

Tests underway:

  • FreeBSD 13.1
  • Gentoo Linux (my portage is broken currently)
  • Haiku (just for fun, you probably won't play games on Haiku)
  • NixOS 22.05 (probably never going to work)

Reporting bugs

If you encounter any bugs or incompatibilities, please report them here.

Enabling logging/debugging

$ GAMEINFO_DEBUG=1 GameInfo
2022-06-09 01:42:43.612974 DEBUG: GameInfo 1.0.16
2022-06-09 01:42:43.613849 DEBUG: DistributionId: arch
2022-06-09 01:42:43.613883 DEBUG: DistributionKind: arch
2022-06-09 01:42:43.677696 DEBUG: Themes loaded: cosmo flatly litera minty lumen sandstone yeti pulse united morph journal darkly superhero solar cyborg vapor simplex cerculean 
2022-06-09 01:42:44.184135 DEBUG: Fetching system info, this can take a second...
2022-06-09 01:42:44.185443 DEBUG: Checking for wine... Time elapsed: 4.60ms

Troubleshooting

✔️ No distribution logo in Slackware:

echo "LOGO=slackware-logo" | sudo tee -a /etc/os-release
wget -O slackware-logo.svg https://upload.wikimedia.org/wikipedia/commons/3/34/Slackware_logo.svg
sudo mv slackware-logo.svg /usr/share/pixmaps

✔️ No distribution logo in FreeBSD:

echo "LOGO=freebsd-logo" | sudo tee -a /etc/os-release
wget -O freebsd-logo.png https://secure.gravatar.com/avatar/2257994974dfde8a9f5412eff259cecb?s=256
sudo mv freebsd-logo.png /usr/local/share/pixmaps

✔️ No distribution logo in elementary OS:

echo "LOGO=elementaryos-logo" | sudo tee -a /etc/os-release
wget -O elementaryos-logo.svg https://elementary.io/images/icons/places/128/distributor-logo.svg
sudo mv elementaryos-logo.svg /usr/share/pixmaps

✔️ Similar to Xubuntu:

echo LOGO=xubuntu | sudo tee -a /etc/os-release

✔️ GameInfo is not on the user's PATH.

$ echo "# Add ~/.local/ to PATH
export PATH=$HOME/.local/bin:$PATH" >> ~/.bashrc

Set accordingly when using another shell.

✔️ Up to lutris-0.5.9, a progressbar was shown even when GameInfo was running lutris --version: This has been changed with lutris-0.5.10 onwards.

✔️ dosbox (dosbox-staging) on openSUSE has a differently formatted version-string. This has been fixed in GameInfo.

Screenshots

(always outdated)

https://imgur.com/giemgCF.png

Future plans / TODO

(see TODO.md)

Licences

GameInfo is licensed under the GPLv2 license.

Computer Icons created by Freepik - Flaticon