fix: find MicrosoftGame.config whatever the case of its name (Linux) #237
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!237
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/237/head"
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?
@lcg007xd-c on GitHub · 2026-11-25 20:44 UTC · original
lcg007xd-c:fix/manifest-name-case→main· +43 −5 · 3 files · 1 commits · merged 2026-11-25 21:07 UTCChange
read_package()(emu/config.py) and the two package-folder probes ofscarlett.pyonly looked forMicrosoftGame.Config. Microsoft Learn and the GDK name the fileMicrosoftGame.config(lower-casec). Windows ignores the difference; a case-sensitive file system (Linux, the Proton path of #228) does not, so a real package folder was refused there withErreur : Le dossier choisi ne contient pas MicrosoftGame.Config.Evidence on
main(4f2cf5c), Linux, Python 3.14: two existing tests whose fixtures writeMicrosoftGame.configfail for exactly this reason:Now
emu.config.manifest_path(folder)returns the exact name if present, else the first file of the folder whose lowered name ismicrosoftgame.config(a directory with that name is not taken).read_package()andscarlett.py(App.__init__,find_package_folder) use it. Nothing changes on Windows.Linked issue: none.
Verification
Linux (Arch, Python 3.14.10, no C++ runtime, no GPU — the runtime and GPU tests skip):
The 4 remaining failures are in
tests/test_rdna2_exec_fma.pyand are unrelated (NaN quieting on Python 3.14, fixed separately). Before this change the same run had 6 failures: the twotest_jour_j.pytests above now pass.Not run: the Windows CI job (C++ runtime, Rust, WARP); no C++ or Rust is touched.
Oracle and test data
tests/test_config.py: the manifest is found asMicrosoftGame.configandmicrosoftgame.CONFIG, the exact name wins when both exist, and a directory named like the manifest is still refused. They fail without the change (on Linux; on Windows the first one passes either way since NTFS ignores case).Checklist
E_NOTIMPL), never a fake success.test_readme_sync.pychecks it). (No README change; the suite still counts1300+.)Made with AI assistance (Claude Code).
🤖 Generated with Claude Code
read_package() and scarlett.py looked only for "MicrosoftGame.Config". Microsoft Learn and the GDK name the file "MicrosoftGame.config"; Windows ignores the difference, a case-sensitive file system (Linux, Proton) does not, so a real package folder was refused there ("Le dossier choisi ne contient pas MicrosoftGame.Config."). That is also why test_jour_j.py::test_missing_executable_is_reported and test_native_report_inventories_only_psos_from_the_current_run fail on Linux: their fixtures write "MicrosoftGame.config". manifest_path() keeps the exact name first, then takes the first file of the folder whose lowered name matches; read_package() and the two folder probes of scarlett.py use it. Co-Authored-By: Claude Opus 5.5 <[email protected]>