Skip to content

HDR and ARK Tools

Gabriel edited this page Nov 30, 2026 · 9 revisions

HDR and ARK Tools

HDR files describe archive volumes and records. ARK files contain the corresponding payload data. RB4PC supports read-only inspection of validated version-10 PC HDR/ARK sets and deterministic generation for supported custom data.

Inspection

The inspector validates:

  • HDR version and platform naming;
  • declared ARK volumes and sizes;
  • record boundaries across archive volumes;
  • Murmur hash buckets and collision chains;
  • record locations and readable payload ranges.

Generation

The clean-room archive builder can generate:

<shortname>_pc.hdr
<shortname>_pc_0.ark
<shortname>_pc_1.ark
...

Records are never split across volumes. A record larger than the configured volume limit is rejected. Generated archives are reopened and structurally validated before success is reported.

Corpus audit

Use the complete corpus audit to inventory assets without extracting them. The operation is read-only with respect to the selected source and publishes only aggregate reports.

Limitations

Structural compatibility does not mean every native game format is decoded or usable by the runtime. Native song metadata, RBMID, character, animation, scene, script, and UI semantics remain under active research.

Generated-package verification

Version 0.5200.0 remounts generated version-10 PC packages and verifies every internal path, record size, and direct ARK-range SHA-256 against the source tree. A changed ARK byte is rejected. The command also reports coverage against the v0.5160.0 observed asset-family census; that comparison is a gap report and does not turn corpus prevalence into a native-format requirement.

Forge custom-package contract

The v0.5240.0 report separates the broad installed-song census from the pinned ForgeTool con2rbvr composition path. The latter has six unconditional record families plus conditional artwork. Current schema-17 RB4PC output contains five of six; its only required-source gap is the compiled <shortname>.mogg.dta_dta_pc. Official/DLC Fusion, licks, and compiled-MIDI families are not promoted to custom-package requirements.

Version 0.5320.0 closes the compiled-mix composition gap. A real schema-33 transaction produces 15 source records, remounts and hash-verifies all 15 from the generated HDR/ARK, and reports all 6/6 pinned Forge custom required families present. Artwork remains conditional, and independent target-consumer/install proof remains pending.

Version 0.5360.0 adds collision-refusing transactional installation for core-complete custom packages. Files are hash-verified in staging and at their destinations, the installed catalog must retain all six core families, and every HDR record must remount to a bounded ARK location. The real 15-record package retained its exact HDR/ARK hashes; a repeat install was rejected without mutation.

Version 0.5400.0 independently opens the installed HDR with ForgeTool/LibForge 0.1.19. ForgeTool emits all 15 arkorder records, and library readers accept every required native family; a one-byte compiled-DTB mutation fails the gate. This remains tool-reader evidence rather than original-game acceptance.

Version 0.5440.0 introduces the production allowlist. The real output contains eight game-facing records rather than 15 development records, retains 6/6 required families plus two optional CSVs, verifies every payload hash, installs core-complete, and is enumerated identically as eight records by ForgeTool. Provenance remains outside the ARK.

Version 0.5480.0 aligns production HDR metadata with a measured ForgeTool custom package: x86-32 flat buckets, sentinel flags, native-family order, unmasked encryption, and per-song deterministic GUID. The decoder now labels Forge-flat and official chained-x64 layouts and accepts both real examples.

Version 0.5520.0 passes each HDR-declared logical volume size into protected-ARK detection. This prevents an unprotected production ARK from being misclassified when ordinary payload bytes happen to resemble a footer descriptor. Full selective extraction is now covered by per-record source/extracted SHA-256 equality.

Clone this wiki locally