xcl run: the launcher menu can pick the game's folder #607
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!607
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/607/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?
@simnJS on GitHub · 2026-11-24 02:24 UTC · original
launcher-folder-picker→main· +33 −5 · 3 files · 1 commits · closed without mergingOpened from Explorer, xcl.exe offered a file dialog for the game's exe or
MicrosoftGame.configonly, whilexcl runitself takes the game's folder. The menu now has "Add a game folder…" (the default when there is no last game): the standard Windows folder picker (IFileOpenDialogwithFOS_PICKFOLDERS, through COM – no dialog library is imported by xcl.exe), and the folder runs asxcl run <folder>does.Ported from theaustinayers' modified build (theaustinayers/xcl,
v0.1.0-mod.10); credited withCo-authored-byin the commit.What is in it
xcl run: the launcher menu can pick the game's folder(+33 / -5):crates/xcl/src/main.rs(Choice::Folder, the menu button,pick_game_folder),crates/xcl/Cargo.toml(thewindowscrate'sWin32_UI_Shell/Win32_UI_Shell_Commonfeatures forIFileOpenDialog; no new dependency),README.md(the menu).Tested
scripts/test.ps1(debug) onffb5f47: 684 passed, 0 failed, 41 ignored (a first run had 1 failure inreal::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state, lib code this PR does not touch, while other GPU tests ran on the machine; it passed in 3 runs after).gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware.last-game.txtholds the folder and the title started from it (game: …\game_scarlett_master.exe).Regression run
Same title for 60 s,
XCL_NETWORK=0(xcl runfrom the command line: the menu is not shown in these runs).Not tested
AI use
@futurepro62 on GitHub · 2026-11-24 03:47 UTC · original
Tested exact head
ffb5f47(on its base9ce2070).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 684 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.Not tested
scripts/smoke.ps1(no title on this machine), AMD, a release build.AI use
@MesshM on GitHub · 2026-11-24 04:00 UTC · original
Test run of
ffb5f47894611e9eff04066e352c0d26820f5d6eon AMD RDNA4. I merged it onto currentmainf4ce27clocally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 657 passed, 3 failed, 21 ignored, exit code 101; 0SKIPPEDplaced_title_textures_share_vram_and_preserve_pixels,transitions_apply_when_their_list_is_submitted,d32s8_targets_take_their_own_size_of_video_memory. These three also fail onmainf4ce27cwith no PR applied (cargo test -p xcl --lib -- --test-threads=4: 657 passed, 3 failed), so they are not from this change. The first isplaced_title_textures_share_vram_and_preserve_pixelsatcubemap extra_pages must be reused at same va; the other two arePoisonErrors from the lock it poisons (#673 addresses the cascade, #447 the cubemap check). It is intermittent: alone it passes 3 of 3, and in the parallel lib run it failed on 6 of 7 runs atf4ce27c, 2 of 6 atd852f9aand 1 of 3 at1387b4bon this machine.Review:
IFileOpenDialogwithFOS_PICKFOLDERSneeds COM on the thread;main.rsalready callsCoInitializeEx(COINIT_APARTMENTTHREADED)before the menu, so the call has its apartment. I found nothing to change.Not tested: no retail title or regression run (I have no unpacked game), no
XCL_SAMPLE_*tests, release build; the PR's head on its old base was not run, only its merge ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
Pull request closed