Repository navigation
Tags
Tags
fix: correct inverted zone-actor yaw sign across all placement paths Zone-actor yaw was applied with the wrong sign, mirroring every directional prop ~2x its heading. Confirmed via the Freeport river bridge; negated in the single shared convention (static/animated/collision/placeholder/emitter).
v0.1.3 — fix video export The movie was being copied onto itself and emptied. Both conversion routes materialize the .PSS into the output directory so ffmpeg has a path to open, then pass that path to convertPSSFile, which copied it to the same location. copyFile opens the destination with os.Create, truncating it before io.Copy reads anything, so the file emptied itself and ffmpeg received nothing. Video output had been silently producing a zero-byte .PSS and no .mp4. The 96 MB movie now survives and transcodes to 22.5 MB of h264 640x448 with the PS2 SShd/SSbd audio muxed in, 96.5 seconds. Tests pin both the guard and the truncation shape behind it.
v0.1.2 — attachment records and node identity
Adds the two ESF formats that say where an attached item goes, neither of which was
parsed before.
0x2500 HSpriteAttachments — attachments on HSprites (items, scene objects):
count, then {type, dictID, nodeIndex} per record.
0x2920 CSpriteASlotList — the attach-slot table on characters: count, then
{slotIndex, nodeIndex} pairs, written to the same table VICSprite::AttachItem
reads back. This is what places a weapon in a character's hand.
Both are emitted as a sidecar beside the model. Joints now carry extras.node_index and
skin.joints is index-aligned with the 0x2400 hierarchy, so a nodeIndex resolves to a
glTF node; without that the records could not be used.
Validated against retail and beta discs: every 0x2920 body is exactly 4 + 8n across 568
objects with no slack and no parse errors, and every node index lands inside its own
hierarchy. A full conversion of both discs produced 111 attachment and 415 attach-slot
sidecars, with the node references checked against the GLBs they point at.
The VICSpriteAttachSlot enumerator names are not recoverable from the shipped binary,
so slots are emitted as raw indices rather than guessed labels.
Also present but hidden: --apply-appearance, whose body-slot mapping is known wrong.
It is opt-in and does not affect the default export.
v0.1.1 Zone-export internals: decompose + deterministic output. - Decompose the 777-line convertZoneESFData into a zoneConverter (per-file context) and zoneBuildState (per-zone accumulators); output-neutral restructure verified via structural fingerprint on ARENA and ZONE0107. - Make zone GLB export deterministic: sort fallback surface embedding so the same zone assembles to byte-identical output run-to-run (adds a regression test).
v0.1.0 — zone & asset export fixes Windmill/banner rigid members (#2), glass/translucent BLEND (#3), full Euler zone-actor rotation (#4), spawn-actor markers via --mark-spawns (#6), translucent aura materials (#7), and intra-file progress for large ESFs (#1). Known open: audio skipping in disc→XM (#5).