Loose Windows game folder scanner for Steam - shared prefix, auto-add via Steam debugger
- Python 99.5%
- Shell 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| icons | ||
| .gitignore | ||
| core.py | ||
| gui.py | ||
| huskygamemanager.py | ||
| install.sh | ||
| LICENSE | ||
| mangohud.conf.default | ||
| README.md | ||
| requirements.txt | ||
| SUGGESTIONS.md | ||
| theme.py | ||
🎮 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.confand the Steam shortcut is renamed too when Steam is reachable hgm.confpinning — 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 folderbutton), per-game Protons still allowed - Online-fix auto-options — games with
OnlineFix64.dll/winmm.dll/dlllist.txtautomatically get theWINEDLLOVERRIDESlaunch 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=1on the Steam launcher (Vulkan implicit layer, covers Vulkan/DXVK/VKD3D games). Deliberately noLD_PRELOADshim:gameoverlayrenderer.so+ the shim deadlock indlopenand 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.mdfor 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
Binary (recommended)
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 viaSteamClient.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.pyentry,core.pylogic (scanner, Steam client, updates),gui.py(PySide6)- Release flow: bump
APP_VERSION→ tag → PyInstaller build → Gitea release withHuskyGameManager_binV<ver>-linux-x86_64asset - Binary updates:
Settings → Check for updates(git tags for source installs, releases API for binaries)
License
MIT