mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #95] [MERGED] fix(scan): find Steam installed outside Program Files #117
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/95
Author: @AltDoug
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/6/2026
Merged by: @rehan-remade
Base:
main← Head:fix/steam-custom-install📝 Commits (1)
f93fc2cfix(scan): find Steam installed outside Program Files📊 Changes
2 files changed (+34 additions, -0 deletions)
View changed files
📝
tests/test_um.py(+8 -0)📝
um/scan.py(+26 -0)📄 Description
um scan --listonly looks for Steam inProgram Files (x86)\SteamandProgram Files\Steam. A lot of people install Steam somewhere else (C:\Steam,D:\Steam). Thenlibraryfolders.vdfis never read, so every Steam library is missed, including the extra ones on other drives. On my machine (Steam inC:\Steam, libraries on C:, E: and F:) the list showed one Epic game and zero Steam games.Fix:
steam_registry_root()reads where Steam says it lives (HKCU\Software\Valve\Steam\SteamPath, then HKLMWOW6432Node\Valve\Steam\InstallPath;reg.exe queryunder WSL) andsteam_roots()checks it before the default folders. Nothing changes when Steam is in a default folder.Tests: new
test_steam_root_from_registry(fails before, passes after); full suite 59 passed on Windows 11, Python 3.12. By hand:um scan --listwent from 0 to 43 Steam games (9 on C:, 24 on E:, 11 on F:).Found and fixed with AI assistance (Claude Code); the repro and the fix were run by hand on Windows 11.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.