README: document xcl disasm flags #2340
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!2340
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2340"
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?
@romeawayfromhome-rgb on GitHub · 2026-11-25 15:42 UTC · original
romeawayfromhome-rgb:docs/disasm-flags-readme→main· +1 −1 · 1 files · 1 commits · openDocuments the existing
xcl disasmflags in the README command list, which showed only--hex.What is in it
xcl disasmexample line now lists--offset N,--length N,--all,--hex, and--fssm FILE.Source check:
crates/xcl/src/main.rsHELP listsxcl disasm <file> [--offset N] [--length N] [--all] [--hex] [--fssm FILE], andcrates/xcl/src/disasm.rsparses--offset/--length(byte range to decode),--all,--hex, and--fssm(saves the unpacked FSSM for console containers).Tested
082944135c. No code changed, so no test run applies (CONTRIBUTING.md: docs need no test).Not tested
AI use
@fromthemoonx on GitHub · 2026-11-25 16:02 UTC · original
Checked on Windows: the new README line matches the built CLI.
xcl.exe(debug,main0829441, which this PR's README hunk applies to unchanged) printsxcl disasm <file> [--offset N] [--length N] [--all] [--hex] [--fssm FILE]in its usage, the same flags in the same order.On a 12-byte raw code file (
… s_nop 0,s_endpgm):--offset 4decodes from byte 4:s_nop 0x0,s_endpgm.--offset 4 --length 4decodes onlys_nop 0x0.--all,--hexand--fssm FILEare accepted.--alland--fssmonly change the output for console containers (disasm.rs:120,:144), and I had no container to try them on.Not part of this PR, but worth knowing: an unknown flag such as
--bogusis ignored silently (exit 0), so a typo in one of these flags gives no error.Windows 11 Pro 26300, Rust 1.100.0 MSVC. AI use: Claude Code (Claude Opus 5.5) ran the checks and wrote this comment.
@DavidM1911 on GitHub · 2026-11-25 18:25 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@luckyteagirl on GitHub · 2026-11-26 05:42 UTC · original · reviewed
Could the README separate raw-slice options from console-container options, or note that they cannot be combined? The command exits on
--offsetor--lengthbefore it processes--fssmor container-aware--hex. With a synthetic Xbox-native container,--fssm out.binwrote the requested file, while adding--offset 0returned success without creating it. This single optional-flag list suggests the combination works. The exact-head source confirms the early return; the local debug binary used for the focused run had an unverified build SHA. Reviewed atd43f78803cc89ffff775ee470826240e1b6f4853; no retail title or GPU test. AI-assisted review with Codex.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.