startup: document the storage path as a drive root #2817

Merged
lambirou merged 1 commit from upstream-pr/2825 into main 2026-11-26 12:12:29 +00:00
lambirou commented 2026-11-26 12:02:31 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-26T12:02:31Z.


X2W_STORAGE_PATH is the root of the drive the title sees. The title appends
x2w-gamesave itself, so the run that passed S:\x2w-gamesave wrote its profile under
S:\x2w-gamesave\x2w-gamesave. The table entry, the game-save section and the run.ps1
parameter comment now say so, with the exact nesting example and the migration advice.

No runtime code changes. The fixture is startup_storage_root (existing separator and
overflow cases); the launcher dry-run resolves both S:\ and the old nested path without
mounting, building or launching anything.

Verified with the Python docs link check: 27 Markdown files, 541 links, self-test passed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5509664766 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2825). Originally posted by [lambirou](https://github.com/lambirou) on 2026-11-26T12:02:31Z. --- `X2W_STORAGE_PATH` is the root of the drive the title sees. The title appends `x2w-gamesave` itself, so the run that passed `S:\x2w-gamesave` wrote its profile under `S:\x2w-gamesave\x2w-gamesave`. The table entry, the game-save section and the `run.ps1` parameter comment now say so, with the exact nesting example and the migration advice. No runtime code changes. The fixture is `startup_storage_root` (existing separator and overflow cases); the launcher dry-run resolves both `S:\` and the old nested path without mounting, building or launching anything. Verified with the Python docs link check: 27 Markdown files, 541 links, self-test passed.
tedin7 commented 2026-11-26 12:07:05 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T12:07:05Z.

Review: COMMENTED


Review of head ec0a9dc1: docs plus one comment line in tools/startup/run.ps1. No runtime code changes.

Checked:

  • The claim is right. src/startup_stubs/runtime_proxy.cpp:798 and save_read.inl:30 build the save folder as storage_path()/x2w-gamesave, so S:\x2w-gamesave nests as S:\x2w-gamesave\x2w-gamesave.
  • The run.ps1 change is a comment only. No parameter, default or code path moves.
  • No sibling place still describes the path as a save folder (rg x2w-gamesave src docs tools).

Commands run:

  • python3 tests/startup_run_ps1_check.py -> exit 0 (Linux: text-only mode)
  • python3 tests/docs_links_check.py -> 27 files, 541 links, self-test passed
  • python3 tests/bidi_controls_check.py -> no bidirectional controls
  • git diff --check origin/main...HEAD -> clean
  • Win2025: x2w_pipe.py win2025 2825 --py-checks tests/startup_run_ps1_check.py -> PYCHECK rc=0, executed with PowerShell on Windows. There are no C++ targets to build or run for this diff (scope: 0 downstream tests).

Notes: docs/comment only, so no new test is needed. Real-GPU run not available (RunPod stopped), and not relevant here. CI on this head is green.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6073855525 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2825#pullrequestreview-6073855525). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T12:07:05Z. **Review:** COMMENTED --- Review of head `ec0a9dc1`: docs plus one comment line in `tools/startup/run.ps1`. No runtime code changes. Checked: - The claim is right. `src/startup_stubs/runtime_proxy.cpp:798` and `save_read.inl:30` build the save folder as `storage_path()/x2w-gamesave`, so `S:\x2w-gamesave` nests as `S:\x2w-gamesave\x2w-gamesave`. - The `run.ps1` change is a comment only. No parameter, default or code path moves. - No sibling place still describes the path as a save folder (`rg x2w-gamesave src docs tools`). Commands run: - `python3 tests/startup_run_ps1_check.py` -> exit 0 (Linux: text-only mode) - `python3 tests/docs_links_check.py` -> 27 files, 541 links, self-test passed - `python3 tests/bidi_controls_check.py` -> no bidirectional controls - `git diff --check origin/main...HEAD` -> clean - Win2025: `x2w_pipe.py win2025 2825 --py-checks tests/startup_run_ps1_check.py` -> PYCHECK rc=0, executed with PowerShell on Windows. There are no C++ targets to build or run for this diff (scope: 0 downstream tests). Notes: docs/comment only, so no new test is needed. Real-GPU run not available (RunPod stopped), and not relevant here. CI on this head is green. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-26 13:03:05 +00:00
tedin7 commented 2026-11-26 13:03:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T12:07:06Z.


Win2025 WARP receipt for head ec0a9dc1 (updated: dev and release added).
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit ec0a9dc1432c31f96c92c1bd19f8d7779aef89b0:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev -- -j 2): 22.81s (configure 1.88s)
    • Test (ctest --preset dev -R '^startup_storage_root' --parallel 3 --no-tests=error --output-on-failure): 2/2 passed (0.16s: startup_storage_root 0.01s, startup_storage_root_separator_control 0.01s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release -- -j 2): 23.43s (configure 1.87s)
    • Test (ctest --preset release -R '^startup_storage_root' --parallel 3 --no-tests=error --output-on-failure): 2/2 passed (0.23s: startup_storage_root 0.01s, startup_storage_root_separator_control 0.01s)
  • Windows Python checks: tests/startup_run_ps1_check.py ok (11.8s)
  • sccache: 95/118 hits; wall 67.4s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7191588039 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2825#issuecomment-7191588039). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T12:07:06Z. --- Win2025 WARP receipt for head ec0a9dc1 (updated: dev and release added). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `ec0a9dc1432c31f96c92c1bd19f8d7779aef89b0`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev -- -j 2`): `22.81s` (configure `1.88s`) - Test (`ctest --preset dev -R '^startup_storage_root' --parallel 3 --no-tests=error --output-on-failure`): **2/2 passed** (`0.16s`: `startup_storage_root` `0.01s`, `startup_storage_root_separator_control` `0.01s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release -- -j 2`): `23.43s` (configure `1.87s`) - Test (`ctest --preset release -R '^startup_storage_root' --parallel 3 --no-tests=error --output-on-failure`): **2/2 passed** (`0.23s`: `startup_storage_root` `0.01s`, `startup_storage_root_separator_control` `0.01s`) - **Windows Python checks**: `tests/startup_run_ps1_check.py` ok (`11.8s`) - `sccache`: 95/118 hits; wall `67.4s` AI-assisted; commands listed were executed locally.
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
R0Y00/Xbox2Windows!2817
No description provided.