KYRANDIA BOOK ONE AMIGA MEDIA RECOVERY - 2026-11-05

All work is under D:/Game Preservation/work/kyrandia-book-one/tools/media/
and research/media/. Source disk/media archives were not changed.

RESULTS
117 CPS bitmap representations decoded; all 64000-index buffers match direct
upstream C++ decoding.94 have embedded original32-color Amiga palettes;
23 remain clearly marked diagnostic grayscale because context is unresolved.
117 WSA animation representations /4824 frame positions decoded;
every frame index buffer matches direct upstream C++.78 use an inherited
same-container scene palette;39 are grayscale diagnostics. No timing/FPS is
invented; original script-driven timing/palette/placement remains runtime scope.
The title composite uses original TOP.CPS, INTRO.PAL palette 1, and KYRANDIA.WSA
frame 29 with native source copy rectangles. It is source-composed artwork,
not an emulator screenshot or generated illustration.

29 game-mapped scores rendered (26 music cues + 3 score-backed SFX) from original MaxTrax sequences/sample banks
with the pinned ScummVM MaxTrax/Paula implementation.9 looped cues retain three
END events. Each pair of continuing cycles 2/3 has equal frame length and
byte-identical PCM, proving that recorded loop region for this driver/rate.
No fades, normalization or seam edits were applied.30 source score representations
have29 unique event-byte hashes; unused FINALESCR score 2 duplicates KYRAMUSIC
score 21 sequence bytes. Alternate sample/tempo context is not invented.

160 source sound-command entries retained:80 audible source-command renders (77 playNote + 3 score-backed SFX),
1 rendered silent command, 79 silent/unused control entries. 53 separate dry source
instrument/sample auditions preserve the raw banks/all octaves; they are not
claimed as complete in-game effects. Source cue names and possible voice
content remain unverified. Sound commands are rendered with ScummVM playNote
at exact source table note/patch/duration/volume/pan, outside music/context.
Every music/SFX FLAC was independently decoded and matched native WAV PCM.

OUTPUTS AND INTEGRATION
output/image-manifest.json - images[] relative src/thumbnail/raw/indices,
container offset/hash mappings, palette notes and verified source indices.
output/animation-manifest.json - animations[] relative frames[] in native order,
frame hashes, palette context and unverified timing.
output/music-manifest.json - tracks[] relative Ogg src, FLAC lossless, localWAV
master; loop startFrame/endFrame/programEndFrame/sampleRate. Top-level
programEndFrame/programDuration excludes only post-release silent master tail
for finite cues. RepeatOff/All finite programme: intro/prefix +two native loops.
RepeatTrack: prefix once and repeat [loop.startFrame,loop.endFrame) with WebAudio.
Manual Next, Shuffle and queue/end behavior are parent UI work and need tests.
output/sound-manifest.json - sounds[] contains sound_effect and instrument
separately; commands[] retains controls/aliases/silent results outside playlist.
output/title-composite.json - exact title source, palette and rectangle evidence.
output/media-coverage.json - factual counts, aliases, unresolved families/limits.
output/native-image-verification.json / native-animation-verification.json.
output/maxtrax-source-inventory.json - score/sample offsets, envelopes and hashes.

PUBLIC PAYLOAD
Keep music/*.wav and sounds/*.wav masters private; samples/*.wav are required public auditions. Keep masters private (about 725 MiB). Ogg+FLAC copies totalabout 312 MiB and PNG
about 15 MiB. Raw resources are about 6 MiB. If public WAV is omitted, remove or
replace master links; relative manifest master paths currently document private
WAV retention. No credentials, user saves or private disk9save was read/copied.
Use an explicit allowlist. Do not upload compiler/native diagnostic binaries,
test-intro files, private native buffers or the entire tools directory.

REPRODUCE FROM PRESERVED EXTRACTED GAME DATA
Python 3.15stdlib is sufficient. Place the original extracted merged game-data
beside this project and retain research/media/upstream source pins.
Run build_native.py to construct the isolated renderer using official portable
Zig 0.15.2. recover_images.py accepts sourceDirectory outputDirectory.
recover_audio.py accepts the same; it uses the retained FFmpeg 7.1 path recorded
in source-provenance.json. Adjust that tool path in a new copy when moving.
recover_animations.py accepts outputDirectory. compose_title.py makes source
title. verify_native_images.py and verify_native_animations.py compile direct
upstream fixtures and compare every output index buffer. Full source pins,
compiler checksum, source changes and original notices are retained.

The compiler ZIP is SHA-256verified against official ziglang download index.
The audio renderer uses ScummVM's compatible MaxTrax/Paula implementation,
not original Amiga machine code or a MIDI conversion. Fidelity claims are to
that pinned implementation; browser output and original hardware are separate.
Native image fixtures validate the Python port, not original hardware or every
dynamic palette/composition. An entire campaign, runtime saving, original
cutscene timeline and audio/controls acceptance are parent game integration work.

LICENSES / PROVENANCE
ScummVM commit 996783298b2192fcdd5e6524208352c2b4ab70b4.
ScummVM/recovery code is GPL-3.0-or-later, notices/source preserved.
Original game data/art/audio ownership is separate; no new rights inferred.
source-provenance.json retains URLs, full source hashes, compiler pin and exact
source diagnostic/adapter changes. Native mixer/sequence synthesis is unchanged.

ADDITIONAL RESOURCE AUDIT (same source pin)
See AUXILIARY-RESOURCE-AUDIT.txt and output/auxiliary-manifest.json.
Decoded native font, 85 masks, 882 source-defined sprite rectangles and 15 palette
swatches; all supported native fixture comparisons passed. These counts stay
separate from CPS/WSA bitmaps/animations. Four legacyglobal DAT formats remain
explicitly unresolved; raw bytes retained. Source/public allowlists refreshed.
