Add forge9 diff command #5
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/nineforge0--forge9#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@nineforge0 on GitHub · 2026-11-24 07:34 UTC · original
Compare two archives entry by entry, e.g. a game update vs the previous version, or a modded archive vs the original.
Scope
forge9 diff a.rpf b.rpfreports entries that were added, removed or changed (size or content). Compare inflated content (Archive::read_entry), not raw bytes, so recompression alone doesn't count as a change.N same, N changed, N added, N removed.--json.Notes
Done when
forge9 mod applyoutput shows exactly the replaced entries as changed.See CONTRIBUTING.md for build, test and style notes. Please don't attach game files to the PR; build test data in memory.
@nineforge0 on GitHub · 2026-11-24 21:55 UTC · original · edited 2026-11-24 23:07 UTC
Added
forge9 diff(text and--json): matches entries by inflated payload digest, then path; reports added, removed, changed (with size delta) and moved entries. Exit 0 when identical, 1 when they differ, 2 on error.Landed in
8defb65.