diff_content_trees
Compare two Unreal Content folders on disk or mount paths to report assets added, removed, or changed by path, size, and MD5 hash—verifying migrations or fork audits without loading the editor.
Instructions
Compare two Content folders (project vs external, fork vs source) WITHOUT loading the editor: reports assets added/removed/changed keyed by relative path, using file size and (optionally) a whole-file MD5 content hash. Verifies a Migrate or audits a fork on disk. Each tree may be a disk directory OR a /Game|/Engine mount path.
Returns: { tree_a: string, tree_b: string, dir_a: string, dir_b: string, only_in_a: [string], only_in_b: [string], changed: [{rel, size_a, size_b, hash_a, hash_b, reason}], identical_count: int, only_in_a_count: int, only_in_b_count: int, changed_count: int, message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | Optional bool (default true). When true, same-size files are compared by MD5 to detect content changes; when false, only size is compared. | |
| tree_a | Yes | First Content folder: absolute disk dir or /Game|/Engine mount path. | |
| tree_b | Yes | Second Content folder: absolute disk dir or /Game|/Engine mount path. |