Skip to content
WabfallPublic

About

Interface de salon façon Apple TV pour émulateurs et jeux PC (Tauri, Rust, Svelte)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

704 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GameUnite

CI License: GPL-3.0-or-later Platform: Windows 10/11 · macOS 13+ · Linux · Android

A couch-friendly game launcher for emulators and PC games, built for a controller.

GameUnite is a standalone launcher designed to be used from the couch: a full-screen backdrop of whatever has the focus, video previews, horizontal rows and rich game pages. It launches emulated games and PC games (Steam, Epic, Ubisoft Connect) and works on a TV, a desktop monitor or over game streaming (Moonlight with Sunshine or Apollo).

It has its own library database, scraper, collections, themes and launcher. Already using ES-DE? GameUnite can import your library (metadata, media, collections, play statistics) and keep it in sync if you want.

Status: beta (0.5). Windows 10/11 x64, macOS 13+ (Apple Silicon and Intel, one universal app), Linux (AppImage, Steam Deck) and Android (arm64). What changed: CHANGELOG.md.

The home screen: the game in focus fills the screen, rows of covers below

Game page Consoles Settings
A game page: play, favorite, emulator and quality The consoles, grouped by maker Settings: theme and home

Every game in these screenshots is made up, with art drawn for them: npm run readme:shots takes them again (headless, see e2e/readme/).

Features

  • Controller first: Xbox, PlayStation and Switch Pro controllers, read in the Rust core (also in the background), with matching button glyphs. Keyboard and mouse work too.
  • Fast: 3,000 games at 60 fps, start-up under 2 s with a warm cache.
  • PC games: Steam, Epic Games, GOG, Ubisoft Connect, EA app, Battle.net and Xbox app games, installed or owned (Steam account, GOG Galaxy, Heroic).
  • Emulation: per-system and per-game emulator choice, multi-disc .m3u, folder games (PS3, Wii U…), play time tracking, a controller combo to quit any emulator.
  • Emulator setup: installs open-source emulators and RetroArch cores from a catalogue with pinned SHA-256 hashes (guided download for emulators whose license forbids redistribution, configure-only for Switch), checks BIOS files by MD5 without ever downloading them. Before each launch it sets up the connected controllers (players 1 to 4, the same shortcuts in every emulator), the graphics quality for your GPU and screen (resolution scale, 60 fps and widescreen patches) and RetroAchievements; every key it writes is tracked, a value you change by hand is left alone, and --release puts the original files back.
  • Library tools: favorites, quick filters and sorts, saved filters, jump to letter, "Surprise me", automatic and custom collections, a metadata editor with field locks, hidden games, PDF manuals.
  • Scraper: ScreenScraper, LaunchBox and libretro thumbnails, with quota handling and resume.
  • Customizable: a composable home screen (home.json), themes, display density and overscan, remappable controls, kiosk and kid modes, a screensaver.
  • Scriptable: event scripts (game-start, game-end…) and a command line for external tools.
  • ES-DE import (optional): gamelists, media, collections and play statistics, with optional write-back so both frontends stay in sync.
  • 14 languages: English, French, German, Spanish, Italian, Portuguese, Dutch, Polish, Russian, Ukrainian, Turkish, Japanese, Korean and Chinese. All but English and French were translated by agents and say "beta" in the language list until a native speaker has read them.

Emulated systems: for now, the list of systems and the emulator rules use the ES-DE file format (es_systems.xml, es_find_rules.xml), read from an ES-DE install or from your own custom_systems folder. PC games need nothing else.

Getting started

Install

Download GameUnite_<version>_x64-setup.exe from the latest release. It is a per-user NSIS installer and needs no administrator rights. The installer is not code-signed yet: Windows SmartScreen may say "Windows protected your PC"; choose "More info", then "Run anyway".

GameUnite checks for a new version at startup and offers to install it (signed with the project's updater key, verified before installing). Switch it off in Settings › About (updates.enabled).

A release is made by pushing a v<version> tag: .github/workflows/release.yml builds Windows, macOS, Linux and Android, attaches them to the release, and writes one latest.json for the updater of every desktop platform.

Without GitHub Actions, scripts/release-local.mjs does the same from the maintainer's machines. With the tag pushed and checked out, and the signing keys in the environment (the list is at the top of the script), each machine adds its platform to a draft release, one after the other; nothing is offered to installed copies until the draft is published:

npm run release:local -- v0.5.0                     # this machine's desktop platform
npm run release:local -- v0.5.0 --platform windows  # also from a Mac or Linux, cross-compiled
npm run release:local -- v0.5.0 --platform android  # the signed APK, from any of them
scripts/docker/linux-release.sh v0.5.0               # the AppImage from Docker, on a machine without Linux
npm run release:local -- v0.5.0 --publish           # once every platform is on the draft

Windows builds natively on Windows, or cross-compiled from macOS / Linux with cargo-xwin (cargo install --locked cargo-xwin, brew install nsis llvm, rustup target add x86_64-pc-windows-msvc; it downloads the MSVC CRT and the Windows SDK under their license): install a cross-compiled installer on a Windows PC before publishing. --dry-run builds and checks without uploading; --publish refuses while a platform is missing (--allow-missing to publish anyway). Before uploading, the script checks that the updater signature matches the public key in tauri.conf.json: a release signed with another key would offer every installed copy an update it refuses. A version with a suffix (0.5.0-rc.1) is published as a pre-release, which the updater does not offer.

Android

Every tagged release carries GameUnite-<version>-arm64.apk for handhelds (Retroid, AYN, Anbernic), phones and Android TV boxes; its SHA-256 is in the release notes.

  • Obtainium (recommended: it offers each new release): add https://github.com/Wabfall/GameUnite as an app source, keep the default APK filter and pick the file whose name ends in -arm64.apk if Obtainium asks.
  • By hand: download the APK from the release, open it, and allow GameUnite to install unknown apps when Android asks.
  • From GameUnite: Settings > About > "Check for an update" reads the latest GitHub release, downloads the APK and opens Android's own installer (on Android, updates cannot use the desktop updater).

Native Android games (listed automatically with their icons, optional "every app" mode) and PC games through GameNative (Steam and GOG keys, .steam/.gog shortcut files) are described in docs/manual-tests/android-apps.md.

The APK is signed with the project's release key: losing that key means installed copies can no longer update (the maintainer keeps two copies in a password manager). Build it locally with npm run tauri android build -- --apk --target aarch64; the release job in .github/workflows/release.yml writes keystore.properties from the ANDROID_KEYSTORE_* and ANDROID_KEY_* secrets.

macOS

Download GameUnite_<version>_universal.dmg from the release, open it and drag GameUnite to Applications. The app is signed ad hoc, not notarized: the first time, macOS refuses to open it; open System Settings › Privacy & Security and choose "Open Anyway" (once).

  • Emulators are found in /Applications, ~/Applications and Homebrew's Caskroom, ROM folders in ~/ROMs, ~/Games, ~/Documents and every volume under /Volumes (NAS shares included). An existing ES-DE for macOS (ES-DE.app and ~/ES-DE) is imported like on Windows.
  • RetroArch must match its cores: an Intel RetroArch (running under Rosetta) cannot load Apple Silicon cores. GameUnite says so before launching and offers the other emulators of the system; the RetroArch it installs is the universal build.
  • Store games: Steam (~/Library/Application Support/Steam), Epic through Heroic/Legendary or the Epic launcher, GOG Galaxy. Ubisoft, EA, Battle.net and the Xbox app do not exist on macOS.
  • Secrets go to the Keychain; "Start with macOS" uses a Login Item.

Build from source

Requirements: Windows 10/11 or macOS 13+, Rust stable (MSVC toolchain on Windows), Node.js 24, and the WebView2 runtime on Windows (preinstalled on Windows 11). Clone with --recursive (crates/gu-cheevos/rcheevos is a submodule: without it the app does not link).

npm ci && npm ci --prefix ui   # once
npm run tauri dev              # development build with hot reload
npm run tauri build            # release build and installer (target/release/bundle/nsis/)
# macOS: the universal app and DMG of the release job
npm run tauri build -- --target universal-apple-darwin

On macOS, run the Rust tests with HOME pointing to an empty folder (HOME=$(mktemp -d) cargo test --workspace, keeping RUSTUP_HOME and CARGO_HOME): emulator data roots live in the home folder there, and a test that forgets gu_emu::SandboxDirs would otherwise write into your own emulators' settings.

The TypeScript types shared with the UI (ui/src/lib/bindings/) are regenerated by cargo test --workspace.

A headless CLI is available for the core:

cargo run -p gu-app --bin gameunite-cli -- import | stats | check-systems | resolve <system>/<file> | launch <game> | list favorites

Architecture

┌──────────────────────── GameUnite.exe ────────────────────────┐
│  UI (WebView2, Svelte 5)                                      │
│   views · focus engine · themes · i18n                        │
│        ▲ typed Tauri commands        │ events                 │
│        │ (request → response)        ▼ (core → UI)            │
│  Rust core (src-tauri)                                        │
│   app ─┬─ library (SQLite)        ┌─ input (gilrs, combos)    │
│        ├─ pcgames (Steam, Epic,   ├─ media (cache, protocol)  │
│        │   Ubisoft)               ├─ scraper                  │
│        ├─ launcher (commands,     ├─ events (scripts)         │
│        │   processes, play time)  └─ settings, i18n, logs     │
│        └─ esde (optional import / sync)                       │
└───────────────────────────────────────────────────────────────┘
        │ launches                            │ imports (optional)
   emulators, Steam,                    an ES-DE library
   Epic, Ubisoft

Stack: Tauri 2 (Rust core, WebView2), Svelte 5 + TypeScript (Vite), SQLite.

Crate Role
gu-core Shared types (GameId, System, Game, MediaKind…), errors, configuration paths
gu-library SQLite database: schema, migrations, queries (lists, filters, full-text search, home rows)
gu-esde Optional ES-DE import and sync (gamelists, media, collections, system and emulator rules)
gu-pcgames Steam, Epic and Ubisoft game detection
gu-launcher Command resolution, launching, process monitoring, forced quit
gu-media Thumbnails, disk cache, image and video path resolution
gu-scraper ScreenScraper, LaunchBox, libretro thumbnails; work queue and quota
gu-input Controllers (gilrs), key repeat, combos, remapping, glyphs
gu-events Event scripts
gu-app Application services shared by the app and the CLI
gameunite (src-tauri) The Tauri application: commands, events, window, command line

The domain crates do not depend on Tauri, so they can be tested and reused on their own. The full design is in docs/design.md.

Usage

Command line

  • gameunite: opens the UI (single instance).
  • gameunite --continue: relaunches the last game played; the UI shows up when it ends.
  • gameunite --launch <system>/<file> or --launch steam:<appid> (epic:…, ubisoft:…).
  • gameunite --resolve <game>: prints the command, emulator and rule without launching.
  • gameunite --import: refreshes the library (PC games, ROM folders, and ES-DE if you use it) without the UI.
  • gameunite --scrape all|system:<id>|<system>/<file> [--overwrite]: runs the scraper without the UI.
  • gameunite --scraper-login [--dev]: stores a ScreenScraper account (user name, then password, on two lines); --dev for developer credentials.
  • gameunite --list recent|favorites|collection:<name>|search:<text> [--limit N] --json: for external tools (launch is the argument for --launch, cover the box art).

GameUnite is a windowed program, so from cmd.exe its output appears after the prompt: use PowerShell, a redirection or start /wait.

Event scripts

Scripts live in %APPDATA%\GameUnite\scripts\<event>\*.bat|.cmd|.ps1|.py|.exe. They run in alphabetical order, without a window, for at most 10 s (events.timeoutS).

  • Events: startup, quit, game-start, game-end, library-updated, screensaver-start, screensaver-end.
  • Game scripts receive the game path, name, system and full system name as arguments, and the variables GU_GAME_ID, GU_SYSTEM, GU_EMULATOR and GU_PLAYTIME_S (at game end).
  • A line gameunite-toast: <message> is shown in the UI. A game-start script that exits with code 2 cancels the launch.

Collections, filters and modes

  • Automatic collections: All games, Favorites, Recently played (50) and Multiplayer (3+ players). They can be hidden and always come first.
  • Custom collections and filters: the quick menu (Menu button) adds a game to a collection and creates, renames, moves, groups, hides or deletes collections; "Save as a custom filter…" is in the filter panel. A home row is added with {"type":"collection","collection":"<name>"} in home.json.
  • With ES-DE sync on, and only while ES-DE is closed, GameUnite rewrites collections/custom-<name>.cfg and CollectionSystemsCustom in settings/es_settings.xml (backups as .bak-gameunite). Nothing is written while ES-DE is running.
  • Modes in settings.json: interface.mode (full, kiosk, kid) and interface.code (4 buttons). kid.maxAge and kid.collections restrict Kid mode. Edits are refused in Kiosk and Kid modes, and leaving them asks for the code (3 wrong attempts lock input for 30 s).
  • Screensaver: screensaver.delayMin (10; 0 = never), kind (video or slideshow) and source (all, favorites, collection:<name>).
  • Controls: Menu (options), Select (Surprise me), LT / RT (jump by letter). Keyboard: F10, R, Page Up / Page Down.

Library management

  • Metadata editor: Menu → "Edit the sheet…" on a game. Name, genre, players, rating (half stars), date (DD MM YYYY or a year), developer, publisher, description, kid-friendly and hidden. An edited field is locked (✎): re-imports and the scraper leave it alone; X restores it.
  • Hidden games: "Hide this game" in the quick menu or the editor. "Show hidden games" shows them greyed out, with a "Hidden" label on their page. Never available in Kiosk or Kid mode.
  • Box art: "Change the cover…" copies a screenshot, title screen, artwork… or "Fetch from the scraper" (box art only, overwriting). The previous image is kept as .bak-gameunite.
  • Scraper: Menu → "Scraper…" or "Fetch info (scraper)" on a game, "Fetch info: " on a system. Sources scraper.sources (default screenscraper, launchbox, libretro), regions scraper.regions (fr, eu, us, wor, jp), languages scraper.languages (fr, en), fields and media scraper.fields / scraper.media, scraper.overwrite, scraper.duringGame, scraper.retryDays (30). The ScreenScraper quota is respected (it stops 15 requests before the limit) and scraping resumes the next day; the queue also resumes after a game.
  • ScreenScraper account: Scraper screen or gameunite --scraper-login (user), --scraper-login --dev (developer credentials). Stored in the Windows Credential Manager or the macOS Keychain, never in settings.json or the log.
  • Media: written to %APPDATA%\GameUnite\media\, or to ES-DE's downloaded_media when ES-DE sync is on (store games always stay in GameUnite's folder).
  • Manuals: a "Manual" button appears when the game has a PDF. LB / RB and ← → turn pages, LT / RT zoom (1 to 3), A toggles full page / full width, the directions scroll and B closes. Keyboard: arrows, Page Up / Page Down, + / -, Enter, Esc.

Settings, themes and installation

Settings open from Menu → Settings… (Full mode only): Interface, Home, Theme and display, Controls, Launching, Library, Scraper, Screensaver, Modes and parental controls, Events and About. LB / RB switch sections, A edits, B goes back. Everything is saved to settings.json.

settings.json and home.json live in %APPDATA%\GameUnite\ (or in data\ next to the executable in portable mode, enabled by a portable.txt file). home.json can be edited by hand and the home screen reloads it within 2 seconds. A rejected file is reported and the previous home screen stays; home.json.bak keeps the previous version.

Sounds, previews and sleep

  • UI sounds: small synthesized sound effects (move, end of row, confirm, back, tab, menu, favorite, launch, error). interface.uiSounds (on by default) and interface.uiSoundVolume (0 to 100, default 60).
  • Preview carried into the game page: pressing A on a game whose video is playing on the home screen opens its page without stopping or restarting the video; the video also keeps playing when you go back home.
  • Window in the background: when another window comes to the front, GameUnite mutes its previews and sound effects (no double audio with a game).
  • Sleep during a game (with launch.pauseInterface): 1.5 s after the game comes to the front, the WebView2 engine is suspended (no scripts, video or sound; less memory), the process switches to efficiency mode (EcoQoS) and the controller is only polled at 20 Hz, which is enough for the exit combo. Switching back to GameUnite during the game wakes it up, and so does the end of the game, before the window reappears.
  • Quitting: B (circle) on the home screen goes up to the tab bar, then asks "Quit GameUnite?" (Cancel first); also Menu → Quit GameUnite.
  • Exit combo (Select + Start twice within 3 s): tracked button by button, so a short press counts; a Windows beep on the first press during a game. The game gets a close request, is killed after launch.killAfterS seconds, and GameUnite comes back to the front. Back in GameUnite during a game, Menu → "Close the game" does the same.

Themes

A theme is a folder themes\<id>\ (in the configuration folder) containing:

  • theme.json: name, version, author, colors (#rgb or #rrggbb), fonts, sizes in percent, corner radius, backdrop blur and dimming, row anchor, videos and animations;
  • theme.css (optional), loaded after the base style;
  • .woff2, .woff, .ttf or .otf fonts referenced by fonts.display / fonts.text (file names without spaces).

Minimal example:

{
  "name": "My theme",
  "version": "1.0",
  "author": "Me",
  "colors": { "background": "#0b1426", "surface": "#15171d", "glass": "#2a2c36", "glassOpacity": 0.55, "text": "#f4f5f7", "accent": "#4da3ff", "accentText": "#0b0c10", "favorite": "#ff5a6e" },
  "fonts": { "display": null, "text": null },
  "sizes": { "tile": 100, "poster": 100, "system": 100 },
  "shapes": {},
  "radius": 100,
  "backdrop": { "blur": 18, "dim": 0.75 },
  "anchor": 55,
  "videos": true,
  "animations": "normal"
}

The built-in Salon theme can be duplicated from Settings › Theme and display to customize it. Deleting a theme only renames it (<id>.deleted-<date>); an unreadable theme is replaced by Salon with a message.

Installer and updates

npm run tauri build produces a per-user NSIS installer (no administrator rights) in target\release\bundle\nsis\. CI publishes it as the gameunite-setup artifact.

Updates are on by default (updates.enabled): at startup GameUnite reads the latest.json of the latest GitHub release (updates.endpoint empty) or the https:// address set in updates.endpoint. The release workflow builds the updater artifacts, signs them with TAURI_SIGNING_PRIVATE_KEY (kept out of the repository) and merges one latest.json for Windows, macOS and Linux.

The installers carry THIRD-PARTY-LICENSES.txt, the license texts of every library built into GameUnite. npm run tauri build regenerates it (npm run licenses, scripts/third-party-licenses.mjs).

Testing

Layer Command
Rust (unit and integration) cargo test --workspace
Lints cargo fmt --all --check and cargo clippy --workspace --all-targets -- -D warnings
UI (Vitest, svelte-check) npm --prefix ui test and npm --prefix ui run check
End-to-end (Playwright) npm run e2e:build then npm run e2e (macOS / Linux: npm run e2e:build:bridge then npm run e2e)
Performance bench npm run perf:build then npm run perf (macOS / Linux: npm run perf:build:bridge then npm run perf)

e2e/ drives the real gameunite.exe (Rust core and WebView2) with Playwright, attached to the WebView2 debugging port. Each test generates a test library in ES-DE format (systems, metadata, box art, a collection, a manual, multi-disc games, and fake emulators that play, crash or are missing) and starts GameUnite on it, isolated by GAMEUNITE_DATA_DIR (it shares no single instance, start-with-Windows entry or WebView2 profile with your normal install). Controller input goes through the nav event emitted by the core; keyboard and mouse are Playwright's. The end-to-end suite runs the UI in French.

  • npm run e2e:build: test executable (target\debug\gameunite.exe, UI embedded);
  • npm run e2e: all tests (npm run e2e -- tests/launch.spec.ts -g "Play" for one); GU_EXE points to another executable (CI tests the release build).

On failure, Playwright screenshots and traces are in target\e2e-results\ and the data folder is kept (log in gameunite\logs). Test windows open on screen while the tests run.

macOS and Linux. WKWebView and WebKitGTK have no debugging port, so the suite drives the same core through its end-to-end bridge instead: npm run e2e:build:bridge builds the interface (ui/dist) and target/debug/gameunite with the e2e-bridge cargo feature (never in a release). With GAMEUNITE_E2E_BRIDGE=<port> the core serves the interface, its media and its commands and events on 127.0.0.1, keeps its own window hidden and, on macOS, stays out of the Dock and never takes the focus; Playwright's headless Chromium loads the interface from it, e2e/bridge-shim.js standing in for Tauri's internals. Each test also gets its own HOME, so no emulator setting under ~/Library is touched. GU_HEADED=1 shows the browser. Windows-only tests (WebView2 suspension, an emulator install that would write to /Applications) are skipped there; screenshots compare to their own -darwin references. The browser engine differs from the app's (Chromium, not WebKit): layout and WebKit-only behaviour still need a look in the real app.

Performance bench. e2e/perf/ generates a library of 3,000 games over 30 systems (GU_PERF_GAMES for another size) with media at real sizes, starts an optimised build on it twice (empty, then filled thumbnail cache) and browses it at the controller's repeat rate: every home row, the 1,000-game grid of the biggest system to the end and back. It writes startup times, frame times, long tasks, main-thread time, composited layers, DOM size and the memory of the core and of the webview's processes to target/perf/<date>-<platform>.json. Results and how to read them: docs/performance.md. It is not part of CI.

CI runs all of the above (except the performance bench) on windows-latest for every push to main and every pull request, and builds and checks the code on macOS and Linux.

Privacy

GameUnite has no account, no telemetry and no analytics. It connects to the network only for what you use:

  • GitHub: the update check at startup (Settings › About to switch it off), and on Android the latest release;
  • Scraper sources (ScreenScraper, LaunchBox, libretro thumbnails): the name, system and checksum of the games you scrape, with your ScreenScraper account if you entered one; GameTDB and PCSX2's game list (title lists downloaded whole, nothing sent) to name disc games;
  • Stores and accounts: the Steam store (images and descriptions of your Steam games), the Steam Web API (your SteamID and Web API key) for owned games, RetroAchievements for achievements, Epic and GOG through Legendary / gogdl when you install their games;
  • Emulator downloads: each emulator's own release page, only when you install or update one;
  • Remote play: the PCs you pair, on your local network.

Passwords and keys are kept in the system's credential store (Windows Credential Manager, macOS Keychain, Secret Service on Linux, Android Keystore), never in settings.json or in the log. The log stays on your machine (Settings › About › Open the logs).

Documentation

  • Design: goals, architecture, data model, launching, UI, scraper and the decision log.
  • Manual test checklists: what to check by hand for each milestone.
  • Mockups: v1 screens and the interactive prototype.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md and the Code of Conduct first. To report a security issue, see SECURITY.md.

GameUnite does not download, provide or manage games, ROMs or BIOS files. It only launches what you already own.

License

Copyright © 2026 Wabfall and the GameUnite contributors.

GameUnite is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE.

GameUnite is, and will stay, free and non-commercial: no paid tier, no ads, no tracking.

GameUnite is not affiliated with ES-DE, Valve, Epic Games, Ubisoft, ScreenScraper, LaunchBox or libretro. All trademarks belong to their respective owners.

About

Interface de salon façon Apple TV pour émulateurs et jeux PC (Tauri, Rust, Svelte)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages