Loose Windows game folder scanner for Steam - shared prefix, auto-add via Steam debugger
  • Python 99.5%
  • Shell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-20 11:05:10 +02:00
icons v1.2.0: quiet UI, safe editing, clearer details 2026-10-20 00:05:14 +02:00
.gitignore Add Local Games Steam Auto-Add: shared-prefix scanner with PySide6 GUI 2026-08-03 19:47:57 +02:00
core.py v1.2.3: bounded fallback scan for nested OnlineFix markers 2026-10-20 10:46:22 +02:00
gui.py v1.2.3: bounded fallback scan for nested OnlineFix markers 2026-10-20 10:46:22 +02:00
huskygamemanager.py Rename project to HuskyGameManager 2026-08-03 20:37:45 +02:00
install.sh Public distribution: install.sh, binary-aware self-update (Gitea releases), APP_VERSION v0.3.0 2026-08-04 13:02:30 +02:00
LICENSE Add Local Games Steam Auto-Add: shared-prefix scanner with PySide6 GUI 2026-08-03 19:47:57 +02:00
mangohud.conf.default Bundle MangoHud default config; restore-default button in Overlay (v1.0.36) 2026-08-09 12:23:53 +02:00
README.md docs: add prioritized follow-up suggestions 2026-10-20 11:05:10 +02:00
requirements.txt Add requirements.txt for self-update dependency refresh 2026-08-04 12:57:39 +02:00
SUGGESTIONS.md docs: add prioritized follow-up suggestions 2026-10-20 11:05:10 +02:00
theme.py v1.2.1: denser layout, non-scrolling dropdowns 2026-10-20 00:21:08 +02:00

🎮 HuskyGameManager

HuskyGameManager turns loose Windows game folders into Steam library entries — automatically, with one shared Proton prefix so saves live in one place. Built for Fedora KDE (works on any modern Linux desktop), distributed as a self-installing single binary.


Features

Games

  • Auto-detection — point at a folder; every subfolder is treated as a game and scanned recursively for its .exe
  • Exe chooser — when multiple exes are found (repacks, tool dirs), pick the right one; an exact name match is picked automatically; single candidates need no interaction
  • Safe editing — inline cell editing is disabled; click a row to check it, double-click a game name to rename it, or its path to choose another .exe (discovered or browsed). The choice is stored in hgm.conf and the Steam shortcut is renamed too when Steam is reachable
  • hgm.conf pinning — the chosen exe, launch args and Proton are stored inside the game folder, so choices survive app reinstall and machine migration
  • One shared prefix (HuskyGameManager) — all games run through the same Wine prefix; saves are in one easy place (Open saves folder button), per-game Protons still allowed
  • Online-fix auto-options — games with OnlineFix64.dll/winmm.dll/dlllist.txt automatically get the WINEDLLOVERRIDES launch line. Markers are checked in every discovered exe directory, plus a bounded recursive fallback for markers in subfolders that contain no exe (asset/cache dirs are skipped; Rescan clears the cache)
  • Icons from the .exe — extracted (PE resources) and set as Steam grid icons; queued and applied at Steam restart
  • Filters — toggleable In Steam / OnlineFix / No .exe, combinable (AND), with one Invert switch
  • Select-all — click the "Add" column header to check/uncheck all visible (filtered) rows
  • Manual add — optional "Add .exe manually..." button (toggle in Settings); dedup prevents exact duplicates (same name + args + Proton)
  • Removed-game blacklist — games removed via the app never get re-added by the watcher

Added Games management

  • Per-game Proton (persisted via Steam's CompatToolMapping), launch arguments (live), rename shortcut, set icon, remove shortcut; shows the selected shortcut's executable and Steam app ID
  • Multi-select bulk mode — select several games and apply one Proton to all
  • Select-all button

Proton manager

  • Browse and install GE-Proton and CachyOS Proton releases (x86_64), with progress; per-row Install/Remove buttons
  • Manage Steam's built-in Protons and Linux runtimes (install/remove via Steam itself, steam:// URIs)
  • Release lists work even under GitHub API rate limits (atom-feed fallback) and are fetched once per app run
  • Summary of everything installed

MangoHud overlay

  • Overlay tab — detects MangoHud, edits hotkeys/FPS caps in ~/.config/MangoHud/MangoHud.conf, and imports/exports/restores the config
  • MangoHud for Steam — sets MANGOHUD=1 on the Steam launcher (Vulkan implicit layer, covers Vulkan/DXVK/VKD3D games). Deliberately no LD_PRELOAD shim: gameoverlayrenderer.so + the shim deadlock in dlopen and hang game launches

Planned

  • Set Steam default Proton — pick any installed tool (GE/CachyOS/Steam) as the Steam-wide default (was tried in v1.0.11, didn't work reliably; to be revisited)
  • See SUGGESTIONS.md for the current follow-up list (shortcut migration, update verification, tests, robustness)

Saves & migration

  • Prefix backup/import (tar.gz) — move saves between machines easily
  • Together with hgm.conf, a full library migration is: copy game folders + one backup file

Updates & lifecycle

  • Self-installing binary — first run copies itself to ~/.local/bin/HuskyGameManager, creates a KDE menu entry (+ gamepad icon), and offers to delete the downloaded installer
  • Self-updates — in-place, atomic (never overwrites a running exe), versioned release assets; works anonymously against the public Gitea repo
  • Uninstaller — Settings → Uninstall, with a "keep config" toggle (default kept)

Install

curl -L -o ~/.local/bin/HuskyGameManager https://hgm.huskyspace.com
chmod +x ~/.local/bin/HuskyGameManager
~/.local/bin/HuskyGameManager

First run installs it properly: menu entry + icon, then the app opens.

Requirements: Steam (non-Flatpak), a Linux desktop (KDE recommended). The binary is self-contained.

Source

git clone https://git.huskyspace.com/Last_Husky/HuskyGameManager.git
cd HuskyGameManager && ./install.sh

Tabs

Tab Purpose
Games Discovered game folders: filters, exe chooser, add/remove, select-all
Added Games Manage Steam shortcuts: Proton, args, rename, icon, remove, bulk Proton
Proton Install/remove GE-Proton, CachyOS and Steam's built-ins + Linux runtimes
Settings Folders, prefix, compat defaults, toggles (icons, online-fix, manual add), backup/import, updates, uninstall

Top bar (always visible): Steam connection status, Reset Steam, Open saves folder.


How it works

  • Steam's CEF debugger (localhost:8080, marker file .cef-enable-remote-debugging) is used to add shortcuts live via SteamClient.Apps.
  • Launch options carry STEAM_COMPAT_DATA_PATH=".../compatdata/HuskyGameManager/" so every game shares one prefix.
  • Per-game settings are persisted safely: icons, compat mappings and removals are queued and applied while Steam is down (on Reset Steam) — writing Steam's files while it runs corrupts them, so the app never does.
  • Steam mirrors shortcuts to multiple userdata/ dirs — the app reads and writes all of them.
  • Updates: compare Gitea release tags → download → atomic in-place replace → restart.

Configuration

~/.config/huskygamemanager/config (managed via Settings):

Key Default Meaning
LOCAL_GAMES_DIRS (empty — chosen via folder dialog on first run) Folders to scan/watch
PREFIX_NAME HuskyGameManager Shared prefix name
COMPAT_TOOL newest installed (GE first) Default Proton
DEFAULT_LAUNCH_OPTIONS (empty) Extra args for all games
CREATE_DESKTOP_ENTRIES 0 Per-game .desktop launchers
AUTO_ONLINE_FIX 1 Auto WINEDLLOVERRIDES for online-fix games
EXTRACT_ICONS 1 Icon extraction on add
SHOW_MANUAL_ADD 0 Show the manual-add button

Per-game overrides: hgm.conf in each game folder (exe=, args=, proton=).


Development

  • Repo: https://git.huskyspace.com/Last_Husky/HuskyGameManager (public)
  • huskygamemanager.py entry, core.py logic (scanner, Steam client, updates), gui.py (PySide6)
  • Release flow: bump APP_VERSION → tag → PyInstaller build → Gitea release with HuskyGameManager_binV<ver>-linux-x86_64 asset
  • Binary updates: Settings → Check for updates (git tags for source installs, releases API for binaries)

License

MIT