README: document xcl disasm flags #2330
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-25T15:42:42Z.
Documents 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
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-25T16:02:40Z.
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.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T18:25:21Z.
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!
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:42:42Z.
Review: COMMENTED
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.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:32:56Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:52:04Z.
Triage (#1607) – head
d43f788The same author's other README PRs (#2627, #3072, #2236, #2240, #2382, #2450, #2596, #3088) each document a different command or flag, so they do not overlap with this one. On main the
xcl disasmline still shows only[--hex], anddisasm::rundoes take--offset,--length,--all,--hexand--fssm FILE. 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.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.