chore: version Zelda 1 port and engineering records

This commit is contained in:
2026-11-16 15:22:13 +00:00
commit b46318a679
4282 changed files with 822198 additions and 0 deletions
@@ -0,0 +1,5 @@
import { GraphicsFixture } from @zelda1:enemies/octorok;
[Init]
fn init() -> void {}
[Frame]
fn frame() -> void { GraphicsFixture.draw(); }
@@ -0,0 +1,19 @@
import { Scene } from @zelda1:scene;
declare global graphic_actor: Octorok = new Octorok(new Rock(0,0,0,0,0),40,96,2,0,0,0,0,0,0,1,0,false);
declare global graphic_rock: Rock = new Rock(112,184,1,0,0);
declare service GraphicsFixture {
fn draw() -> void {
if !Scene.bind_ui(13) { return; }
for phase: int from 0 until 2 {
graphic_actor.clock=phase*6;
graphic_actor.y=96+phase*48;
for col: int from 0 until 4 {
graphic_actor.x=40+col*48;
graphic_actor.direction=if col==0 { 2 } else if col==1 { 8 } else if col==2 { 4 } else { 1 };
graphic_actor.draw();
}
}
graphic_rock.draw();
Scene.draw_frame();
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,90 @@
{
"visual_comparisons": [
{
"capture": "cloud_visible",
"native_sprites": [
{
"x": 80,
"y": 94,
"frame": "cloud_0"
},
{
"x": 96,
"y": 126,
"frame": "cloud_0"
},
{
"x": 128,
"y": 142,
"frame": "cloud_0"
},
{
"x": 80,
"y": 158,
"frame": "cloud_0"
}
],
"different_pixels": 0
},
{
"capture": "north_actors_final",
"native_sprites": [
{
"x": 64,
"y": 105,
"frame": "down_0"
},
{
"x": 128,
"y": 144,
"frame": "down_0"
},
{
"x": 64,
"y": 161,
"frame": "down_0"
},
{
"x": 86,
"y": 126,
"frame": "left_1"
}
],
"different_pixels": 0
},
{
"capture": "encounter_4",
"native_sprites": [
{
"x": 75,
"y": 190,
"frame": "right_0"
},
{
"x": 64,
"y": 99,
"frame": "up_1"
},
{
"x": 112,
"y": 160,
"frame": "down_1"
},
{
"x": 128,
"y": 204,
"frame": "down_1"
}
],
"different_pixels": 0
}
],
"room_id": 103,
"collision_probes": {
"player": 1836,
"enemy": 1836
},
"mismatches": 0,
"guest_assertions": 32,
"scope": "Leaf collision routine, raw room data and saved guest fixture; not full-game lockstep equivalence."
}
@@ -0,0 +1,175 @@
{
"descriptor_entry_cpu": "0x77db",
"stop_before_sprite_emission_cpu": "0x7868",
"method": "Bounded original 6502 descriptor execution, including INY, native per-frame attributes, horizontal/vertical flips and half-width handling. All eight poses and an actually visible rock are rendered in the Studio fixture.",
"poses": [
{
"direction": "left",
"phase": 0,
"descriptor": {
"tiles": [
180,
182
],
"attributes": [
2,
2
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 0
},
"different_pixels": 0
},
{
"direction": "up",
"phase": 0,
"descriptor": {
"tiles": [
176,
176
],
"attributes": [
130,
194
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 1
},
"different_pixels": 0
},
{
"direction": "down",
"phase": 0,
"descriptor": {
"tiles": [
176,
176
],
"attributes": [
2,
66
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 2
},
"different_pixels": 0
},
{
"direction": "right",
"phase": 0,
"descriptor": {
"tiles": [
182,
180
],
"attributes": [
66,
66
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 0
},
"different_pixels": 0
},
{
"direction": "left",
"phase": 1,
"descriptor": {
"tiles": [
184,
186
],
"attributes": [
2,
2
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 3
},
"different_pixels": 0
},
{
"direction": "up",
"phase": 1,
"descriptor": {
"tiles": [
178,
178
],
"attributes": [
130,
194
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 4
},
"different_pixels": 0
},
{
"direction": "down",
"phase": 1,
"descriptor": {
"tiles": [
178,
178
],
"attributes": [
2,
66
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 5
},
"different_pixels": 0
},
{
"direction": "right",
"phase": 1,
"descriptor": {
"tiles": [
186,
184
],
"attributes": [
66,
66
],
"sides": 2,
"x_separation": 8,
"animation_index": 8,
"frame": 3
},
"different_pixels": 0
}
],
"rock": {
"tiles": [
158,
160
],
"attributes": [
0,
0
],
"sides": 1,
"x_separation": 8,
"animation_index": 84,
"frame": 0
},
"asset_comparisons": 9,
"runtime_different_pixels": 0
}
@@ -0,0 +1,81 @@
{
"fixtureBuild": "61d6c1a0-d1d0-409c-aa74-59a9a0314671",
"productionBuild": "d3e12b1d-7dd5-48b4-b891-f51f86e87ab4",
"frames": [
[
"fixed_start",
1,
{
"start": true
}
],
[
"fixed_ready",
76,
{}
],
[
"fixed_scroll_mid",
76,
{
"up": true
}
],
[
"fixed_north_entry",
24,
{}
],
[
"fixed_north_actors",
100,
{}
],
[
"fixed_south_return",
45,
{
"down": true
}
],
[
"fixed_north_return",
45,
{
"up": true
}
],
[
"fixed_cloud_visible",
5,
{}
],
[
"fixed_encounter_0",
60,
{}
],
[
"fixed_encounter_1",
60,
{}
],
[
"fixed_encounter_2",
60,
{}
],
[
"fixed_encounter_3",
60,
{}
],
[
"fixed_encounter_4",
60,
{}
]
],
"descriptorOracle": "tools/nes_object_graphics.py",
"validation": "All 8 Octorok poses and a visible rock compared to original 6502 descriptor output. Temporary fixture removed; production entrypoint restored."
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB