README: document xcl rpf --top and --find #2560

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/2570 into main
romeawayfromhome-rgb commented 2026-11-25 23:17:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-25T23:17:28Z.


What is in it

  • README only: the Building and usage example now shows xcl rpf D:\data\shaders.rpf [--top N] [--find NAME] [--extract NAME --out folder], matching the rpf usage in the HELP text in crates/xcl/src/main.rs and the header in crates/xcl/src/rpf.rs at 08db8020d3. No code changes.

Tested

  • Verified against crates/xcl/src/main.rs HELP (xcl rpf <package.rpf> [--top N] [--find NAME] [--extract NAME --out DIR]) and crates/xcl/src/rpf.rs at the current head, 08db8020d3. Not built or tested locally because this VM is Linux and XCL is Windows-only, relying on CI.

Regression run

  • Not needed because this is a README-only change with no change under crates/xcl/src.

Not tested

  • No Windows/GPU test run.

AI use

  • Muse Spark assisted Alexander Lerbakken (romeawayfromhome-rgb) with candidate verification and PR drafting under his standing authorization for small docs contributions.
<!-- greyfinch-sync:ivall/xcl:issue:5500849163 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2570). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-25T23:17:28Z. --- **What is in it** - README only: the Building and usage example now shows `xcl rpf D:\data\shaders.rpf [--top N] [--find NAME] [--extract NAME --out folder]`, matching the rpf usage in the HELP text in `crates/xcl/src/main.rs` and the header in `crates/xcl/src/rpf.rs` at 08db8020d323bf478964fcc586152cce54959cfc. No code changes. **Tested** - Verified against `crates/xcl/src/main.rs` HELP (`xcl rpf <package.rpf> [--top N] [--find NAME] [--extract NAME --out DIR]`) and `crates/xcl/src/rpf.rs` at the current head, 08db8020d323bf478964fcc586152cce54959cfc. Not built or tested locally because this VM is Linux and XCL is Windows-only, relying on CI. **Regression run** - Not needed because this is a README-only change with no change under `crates/xcl/src`. **Not tested** - No Windows/GPU test run. **AI use** - Muse Spark assisted Alexander Lerbakken (romeawayfromhome-rgb) with candidate verification and PR drafting under his standing authorization for small docs contributions.
DavidM1911 commented 2026-11-26 00:05:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T23:28:48Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7177616778 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2570#issuecomment-7177616778). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T23:28:48Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 26 ignored. Thanks! — Devin
luckyteagirl commented 2026-11-26 06:35:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T06:35:10Z.

Review: COMMENTED


The new synopsis lists --find and --extract without the size condition: rpf::run exits 2 for either detailed option on an archive larger than 1 GB unless --full is also supplied. The size check runs before parsing archive contents, so the displayed command is not usable for a large shader archive as written. Could this line mention --full for detailed scans above 1 GB, and coordinate the wording with #2596, which edits the same README line? An ordinary invocation can still omit it for smaller archives.

Exact-head source review of 9e1e0eb8f3a8ca8cebd9186ff1bfa5dde007e6ef; no archive was extracted. AI-assisted review with Codex.

<!-- greyfinch-sync:ivall/xcl:review:6069558526 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2570#pullrequestreview-6069558526). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T06:35:10Z. **Review:** COMMENTED --- The new synopsis lists `--find` and `--extract` without the size condition: `rpf::run` exits 2 for either detailed option on an archive larger than 1 GB unless `--full` is also supplied. The size check runs before parsing archive contents, so the displayed command is not usable for a large shader archive as written. Could this line mention `--full` for detailed scans above 1 GB, and coordinate the wording with #2596, which edits the same README line? An ordinary invocation can still omit it for smaller archives. Exact-head source review of `9e1e0eb8f3a8ca8cebd9186ff1bfa5dde007e6ef`; no archive was extracted. AI-assisted review with Codex.
github-actions[bot] commented 2026-11-30 08:43:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:43:27Z.


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:7273263164 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2570#issuecomment-7273263164). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:43:27Z. --- 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:23:40 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 9e1e0eb

No other PR documents --top / --find. The new line matches the usage string in main.rs (xcl rpf <package.rpf> [--top N] [--find NAME] [--extract NAME --out DIR]). #2596 (--full), #3065 (--extract defaults) and #2240 (--probe) edit or add to the same README line, so whichever merges first will make the others conflict; combining them into one README PR would avoid that. 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:7305258604 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2570#issuecomment-7305258604). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:23:40Z. --- **Triage (#1607)** – head 9e1e0eb No other PR documents `--top` / `--find`. The new line matches the usage string in `main.rs` (`xcl rpf <package.rpf> [--top N] [--find NAME] [--extract NAME --out DIR]`). #2596 (`--full`), #3065 (`--extract` defaults) and #2240 (`--probe`) edit or add to the same README line, so whichever merges first will make the others conflict; combining them into one README PR would avoid that. 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/2570:upstream-pr/2570'
git switch 'upstream-pr/2570'

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/2570'
git switch 'upstream-pr/2570'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2570'
git switch 'upstream-pr/2570'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2570'
git switch 'main'
git merge --squash 'upstream-pr/2570'
git switch 'main'
git merge --ff-only 'upstream-pr/2570'
git switch 'main'
git merge 'upstream-pr/2570'
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!2560
No description provided.