README: explain how to clear the Run again entry #2725

Open
luckyteagirl wants to merge 2 commits from upstream-pr/2735 into main
luckyteagirl commented 2026-11-26 09:14:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T09:14:09Z.


The Explorer launcher remembers the last selected title. Give users a way to clear the Run again entry.

What is in it

  • README names the file the menu reads and explains where to find it. The normal Windows location is %LOCALAPPDATA%\XCL. If LOCALAPPDATA is unset, XCL uses an XCL folder under the temporary directory. XCL_DATA_ROOT overrides both locations.

Tested

  • Checked the launcher source on Windows. The menu reads last-game.txt from launcher::data_root(), which resolves the override, the normal Windows location, and the temporary directory fallback.
  • git diff --check passed.
  • Windows no-GPU CI and PR description checks passed at this head.
  • On Windows 11 26200.9711 with an RX 6800M (driver 30.0.13002.13003), with XCL_ADAPTER=6800M and XCL_REQUIRE_GPU=1, cargo test --workspace -- --test-threads=4 exited 0xc0000005 in the first library test binary after 83 logged passes and 1 ignored. No library summary or later target results were produced. A separate clean-main serial run reproduced this access violation in raw_loads_in_root_windows_respect_exec_and_bounds; the exact four-thread failing test is unproven.

Not tested

  • Explorer launch or retail-title smoke. The full GPU suite was attempted but did not complete because of the library access violation; the change is README-only.

AI use

  • OpenAI Codex (GPT-6.2 Sol) checked the launcher source, updated the README, ran the workspace test, and drafted this description.
<!-- greyfinch-sync:ivall/xcl:issue:5507212932 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2735). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T09:14:09Z. --- The Explorer launcher remembers the last selected title. Give users a way to clear the Run again entry. **What is in it** - README names the file the menu reads and explains where to find it. The normal Windows location is `%LOCALAPPDATA%\XCL`. If `LOCALAPPDATA` is unset, XCL uses an `XCL` folder under the temporary directory. `XCL_DATA_ROOT` overrides both locations. **Tested** - Checked the launcher source on Windows. The menu reads `last-game.txt` from `launcher::data_root()`, which resolves the override, the normal Windows location, and the temporary directory fallback. - `git diff --check` passed. - Windows no-GPU CI and PR description checks passed at this head. - On Windows 11 26200.9711 with an RX 6800M (driver 30.0.13002.13003), with `XCL_ADAPTER=6800M` and `XCL_REQUIRE_GPU=1`, `cargo test --workspace -- --test-threads=4` exited `0xc0000005` in the first library test binary after 83 logged passes and 1 ignored. No library summary or later target results were produced. A separate clean-`main` serial run reproduced this access violation in `raw_loads_in_root_windows_respect_exec_and_bounds`; the exact four-thread failing test is unproven. **Not tested** - Explorer launch or retail-title smoke. The full GPU suite was attempted but did not complete because of the library access violation; the change is README-only. **AI use** - OpenAI Codex (GPT-6.2 Sol) checked the launcher source, updated the README, ran the workspace test, and drafted this description.
github-actions[bot] commented 2026-12-01 02:33:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:33:37Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7298747008 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2735#issuecomment-7298747008). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T02:33:37Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:50:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:50:41Z.


Triage (#1607) – head 055ffa5

No open or merged PR documents clearing Run again. The text matches the code: main.rs keeps launcher::data_root().join("last-game.txt"), and data_root() is XCL_DATA_ROOT, then %LOCALAPPDATA%\XCL, then <temp>\XCL. No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305859696 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2735#issuecomment-7305859696). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:50:41Z. --- **Triage (#1607)** – head 055ffa5 No open or merged PR documents clearing *Run again*. The text matches the code: `main.rs` keeps `launcher::data_root().join("last-game.txt")`, and `data_root()` is `XCL_DATA_ROOT`, then `%LOCALAPPDATA%\XCL`, then `<temp>\XCL`. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2735:upstream-pr/2735'
git switch 'upstream-pr/2735'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2735'
git switch 'upstream-pr/2735'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2735'
git switch 'upstream-pr/2735'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2735'
git switch 'main'
git merge --squash 'upstream-pr/2735'
git switch 'main'
git merge --ff-only 'upstream-pr/2735'
git switch 'main'
git merge 'upstream-pr/2735'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2725
No description provided.