How it works · write-up
Runtime JSON packs
Working notes, rendered as they are: they were written while building the game, so expect ROM addresses, register names and references to source files that are not published.
npm run build keeps the extracted JSON intact and generates two compact files in
ignored assets/arcade/: runtime-game.json for the playable pages and
runtime-world3d.json when any 3D view opens. game-bundle.js keeps the same
entry URL and page interface. The lab, recordings page, tests and other explorers
continue to load the original JSON. The lists below are the omissions proved safe
for the playable pages; fields not listed remain in the pack.
Game pack: omitted source fields
| Source JSON | Omitted fields |
|---|---|
player_movement.json |
sourceRoutines, inputDirectionTableAddress, velocityTableAddress, inputMaskBits, notes |
player_shot_rules.json |
sourceRoutines, muzzleOffsetTableAddress, shotPoolAddress, shotVelocityTableAddress, notes |
enemy_shot_rules.json |
sourceRoutines, shotPoolAddress, speedTableAddress, coreSpeedTableAddress, earlyArea1SpeedTableAddress, sharedActorMuzzleOffsetTableAddress, soldierSpawner2fMuzzleOffsetTableAddress, areaOneShotDifficultyTableAddress, laterShotDifficultyTableAddress, actor17MuzzleOffsetTableAddress, bridgeProjectileSpeedTableAddress, core05ShotSpeedTableAddress, core05MuzzleOffsetTableAddress, headingOctantTableAddress, diagonalHeadingTableAddress, notes |
area1_hud.json |
source, scope |
area1_collision.json |
sourceRoutines, categoryLookupAddress, shapeMaskTableAddress, columnMajor, sampling |
area1_triggers.json |
sourceRoutines, sceneryEventTableAddress, scriptedActorTableAddress, eligibility, scope |
object_catalog.json |
source, sourceRoutines, scriptedTableAddress, scriptedTableEndExclusive, sceneryTableAddress, sceneryTableEndExclusive, dispatchClassTableAddress, initDispatchTableAddress, updateDispatchTableAddress, scope, systemObjects, actorTypes, sceneryTypes |
manifest.json |
Everything except sourceSha256, which recordings use to verify assets |
video_commands.json |
None: its nested command data and source addresses remain intact |
The pack excludes player_animation.json, enemy_soldier_animation.json,
projectile_animation.json, secondary_objects.json and
object_animations.json entirely. The playable pages draw from canonical
sprite commands and semantic objects; the research pages and tests still use
these extracted tables, including descriptions such as sourceRoutine,
frameSelection, directionSectors and selection.
3D pack: omitted source fields
| Source JSON | Omitted fields |
|---|---|
area1_background.json, area2_background.json |
sourceRoutines, streamStartAddress, streamEndAddressExclusive, macroTileTableAddress, columnMajor, macroIds, scope |
area2_collision.json |
sourceRoutines, categoryLookupAddress, shapeMaskTableAddress, cameraBase, columns, rows, columnMajor, mirror, sampling |
docs/area1-structures.json, docs/area2-structures.json |
Top-level area, source, units; structure entries remain intact |
docs/area1-tile-classes.json, docs/area2-tile-classes.json |
Each labels.*.note; class, face split and structure identity remain |
palette.json and area relief, light and Toy art manifests |
None |
The 3D pack reuses Area 1 collision from the game pack instead of storing it twice. Relief bake fingerprints now include the data that affects the ground, excluding source descriptions. The build recomputes the relief, light and Toy art bakes against this same projection, so the runtime still rejects stale data.
These are conservative omissions. In particular, nested video_commands.json
and placement records are left intact because their addresses and identities
can be part of gameplay or diagnostics. Add a field to this list only after its
runtime consumers and bake dependencies have been checked.