{"id":42558167,"url":"https://github.com/Nenkai/XbxDeTool","last_synced_at":"2026-06-21T22:00:36.105Z","repository":{"id":283399414,"uuid":"951255803","full_name":"Nenkai/XbxDeTool","owner":"Nenkai","description":"Xenoblade Chronicles X: Definitive Edition ARD/ARH2 Extractor.","archived":false,"fork":false,"pushed_at":"2025-04-28T13:09:55.000Z","size":8201,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-03-09T08:20:35.613Z","etag":null,"topics":["ard","arh","xbxde","xenoblade"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nenkai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-19T11:55:30.000Z","updated_at":"2026-03-02T21:27:20.000Z","dependencies_parsed_at":"2025-04-06T23:22:29.069Z","dependency_job_id":"4773d0f0-8f24-4716-943b-40712801a6a4","html_url":"https://github.com/Nenkai/XbxDeTool","commit_stats":null,"previous_names":["nenkai/xbxdetool"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Nenkai/XbxDeTool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenkai%2FXbxDeTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenkai%2FXbxDeTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenkai%2FXbxDeTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenkai%2FXbxDeTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nenkai","download_url":"https://codeload.github.com/Nenkai/XbxDeTool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenkai%2FXbxDeTool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34627170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ard","arh","xbxde","xenoblade"],"created_at":"2026-01-28T20:00:26.605Z","updated_at":"2026-06-21T22:00:36.100Z","avatar_url":"https://github.com/Nenkai.png","language":"C#","funding_links":[],"categories":["Game \u0026 Studio Tools"],"sub_categories":["Microsoft Studios / Bungie / Turn 10"],"readme":"# XbxDeTool\n\nXenoblade Chronicles X: Definitive Edition ARD/ARH2 Extractor.\n\n## Usage\n\nDownload the latest version from [Releases](https://github.com/Nenkai/XbxDeTool/releases).\n\n* Extract all files in the archive: `XbxDeTool.exe extract-all -i \u003cpath to .arh\u003e [-o output dir]`\n* Extract a known file in the archive: `XbxDeTool.exe extract-file -i \u003cpath to .arh\u003e -f \u003cgame path\u003e [-o output dir]`\n* Extract a file by hash in the archive: `XbxDeTool.exe extract-hash -i \u003cpath to .arh\u003e -h \u003c16 character hash\u003e [-o output dir]`\n* List all known hashes in the archive: `XbxDeTool.exe hash-list -i \u003cpath to .arh\u003e`\n* Decompress file wrapped in Xbc1 layer: `XbxDeTool.exe extract-xbc -i \u003cpath to file\u003e`\n\n\u003e [!NOTE]  \n\u003e Arguments wrapped in `\u003c\u003e` are required and `[]` are optional.\n\u003e\n\u003e When extracting files, files that are externally compressed with a `Xbc1` header are also automatically decompressed to keep all assets in a consistent state. Use the `--no-extract-xbc` to override this behavior. (Technically the game supports loading raw files aswell, it just checks if the `Xbc1` magic exists).\n\n## Research Notes\n\nUnlike previous Xenoblade games, Monolith has transitioned to a hashed file system - no paths are present. Paths have to be found manually.\n\nCurrently, `104382` out of `104824` hashes are known (99.58%) for 1.0.1. Please contribute!\n\nAdditionally, the file system has been dumbed down compared to XB3. The header is essentially a list of:\n\n```c\nstruct\n{\n    uint64 PathHash; // XXHash64 - example: XXHash64(\"/bdat/common.bdat\".ToLower())\n    uint32 DiskSize; // Size in the archive\n    uint32 ExpandedSize; // Size when decompressed, if compressed. Note that even if this isn't set, the file may still be wrapped in a 'Xbc1' header.\n} FileInfo;\n```\n\nFile offsets are calculated during file system initialization by accumulating disk sizes and aligning them using an alignment value in the main header.\n\n## Building\n\n.NET 9.0 SDK, Visual Studio 2022.\n\n## Credits\n\n* [roccodev](https://github.com/roccodev) - Research, hashes\n* [ScanMountGoat](https://github.com/ScanMountGoat) - hashes\n* [phkotte](https://github.com/phkotte) - Many remaining hashes\n\n## License\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNenkai%2FXbxDeTool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNenkai%2FXbxDeTool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNenkai%2FXbxDeTool/lists"}