diff --git a/docs/runtime/fg3/media/REQUEST_LEDGER.md b/docs/runtime/fg3/media/REQUEST_LEDGER.md new file mode 100644 index 00000000..3236b671 --- /dev/null +++ b/docs/runtime/fg3/media/REQUEST_LEDGER.md @@ -0,0 +1,62 @@ +# FG-3 Image Request Ledger + +> Provider: API Mart `gpt-image-2` +> Goal ceiling: four paid calls and USD 5 equivalent total +> Paid calls used: four +> Total cost: USD `0.056` / `0.56` credits +> Status: `CALL_CEILING_REACHED` + +## Dynamic Slice Boundary + +The fixed `844x390` Drowned Bell runtime frame showed the earliest presentation +failure: the accepted Windglass composition still works, but RG-02 uses the +wrong environment and both Bosses collapse to generic fallback blocks. + +The bounded request set is: + +1. one Siltwake three-band environment source; +2. one two-cell Boss identity anchor source; +3. one Boss motion-row source only after both anchors pass identity lock; +4. one party/RG-02 enemy anchor sheet only after the Boss slice passes. + +Calls three and four remain conditional. Paid failures and retries count toward +the four-call and USD 5 ceilings. + +## Production Contract + +- Runtime target: Godot landscape `844x390`, logical world `422x195@2x`. +- First focal read: the active Boss or route threat on the right lane. +- Second focal read: the surviving Company and disclosed linked/safe positions. +- Third focal read: one primary action in the lower HUD. +- Environment output is opaque/three-band source; actor sources use solid + magenta and require deterministic alpha, low-grid, palette and anchor work. +- No text, labels, borders, UI, logos, watermarks, third-party characters or + detached VFX may enter a generated source. +- Generation is only the raw-source state. Imported, integrated, runtime-seen + and agent/human review remain separate evidence levels. + +## Planned Calls + + + +| Call | Prompt | Reference | Size | Resolution | Planned output | Status | +| --- | --- | --- | --- | --- | --- | --- | +| `FG3-IMG-01` | `prompts/siltwake-layers.prompt.txt` | accepted Windglass source layout/style | `3:4` | `2k` | three separable Siltwake environment plates | `ACCEPTED_SOURCE` | +| `FG3-IMG-02` | `prompts/rg02-boss-anchors.prompt.txt` | accepted FG-2 enemy pixel language | `16:9` | `2k` | Sluiceback Mother and Drowned Bell identity anchors | `IDENTITY_LOCKED` | +| `FG3-IMG-03` | `prompts/rg02-boss-actions.prompt.txt` | locked `FG3-IMG-02` anchors | `16:9` | `2k` | two four-frame Boss action rows | `ACCEPTED_SOURCE` | +| `FG3-IMG-04` | `prompts/rg02-company-enemy-identities.prompt.txt` | accepted FG-2 actor and FG-3 Boss style | `1:1` | `2k` | Coilsmith, Kindhand and twelve RG-02 identity anchors | `ACCEPTED_SOURCE` | + + + +## Completed Requests + +- `FG3-IMG-01`: task `task_01M056E56CNT64A0M3VB617Z9R`, USD `0.014`; + accepted as a separable Siltwake environment source. +- `FG3-IMG-02`: task `task_01M056H19DE2EQDR3DS0YJQ7MA`, USD `0.014`; + both full-body cells pass the base identity lock and may control action rows. +- `FG3-IMG-03`: task `task_01M056P0CCPYVFS2GXD91GK7KZ`, USD `0.014`; + both four-pose rows preserve identity and motion continuity after deterministic + extraction; the detached Sluiceback streak is excluded from runtime frames. +- `FG3-IMG-04`: task `task_01M058059WFB3F4G96SC9SDRWD`, USD `0.014`; + all fourteen occupied cells preserve the requested Company/enemy identity + order and the final two cells remain empty. No paid call remains in scope. diff --git a/docs/runtime/fg3/media/prompts/rg02-boss-actions.prompt.txt b/docs/runtime/fg3/media/prompts/rg02-boss-actions.prompt.txt new file mode 100644 index 00000000..f19b705c --- /dev/null +++ b/docs/runtime/fg3/media/prompts/rg02-boss-actions.prompt.txt @@ -0,0 +1,31 @@ +Create one two-row combat animation source sheet using the attached locked identity anchors for Sluiceback Mother and The Drowned Bell. + +IDENTITY LOCK: +- Every top-row frame is the EXACT SAME Sluiceback Mother as the attached left anchor: same low amphibious body, teal plated hide, ivory jaw and claws, bronze sluice-gate shell, two protected egg sacs and rust-red tide marker. +- Every bottom-row frame is the EXACT SAME Drowned Bell as the attached right anchor: same cracked oxidized bell body, three grounded chain limbs, indigo cloth, cyan bell-mouth light and pendulum-heart clapper. +- Preserve exact scale, proportions, material, colors, screen-left orientation and ground baseline across each row. Only the pose changes. + +PIXEL ART CONTRACT: +- Authentic low-resolution Japanese 16-bit fantasy RPG pixel art designed on a true 48x48 to 64x64 logical grid. +- Hard square clusters, crisp one-logical-pixel outline, flat stepped shading and maximum 18 colors per Boss. +- No antialiasing, gradients, painterly texture, blur, bloom, smooth vector edges or high-resolution pseudo-pixel detail. + +LAYOUT: +- EXACTLY TWO ROWS BY FOUR COLUMNS: eight equal cells. +- Invisible equal cell boundaries; no visible grid, line, label or frame. +- Solid pure magenta #FF00FF background across the whole image. +- One complete Boss in every cell, centered inside the middle 64 percent with generous padding. Nothing touches or crosses a cell edge. + +TOP ROW - SLUICEBACK MOTHER, FOUR CONTINUOUS POSES: +1. locked low idle, jaw closed and shell steady; +2. anticipation, front claws brace and sluice shell lifts slightly while attached eggs remain protected; +3. decisive body-and-shell slam toward screen-left, no detached splash or egg; +4. recoil and controlled return toward the locked idle. + +BOTTOM ROW - THE DROWNED BELL, FOUR CONTINUOUS POSES: +1. locked grounded idle, chain limbs spread and clapper centered; +2. pulse anticipation, bell leans back and chain limbs tense inward; +3. decisive toll, body swings toward screen-left and clapper crosses inside the bell mouth; +4. damped recoil returning toward the locked idle. + +Do NOT draw opponents, heroes, extra creatures, duplicates, detached eggs, detached chains, spell rings, impact effects, scenery, floor, ground shadows, text, letters, numbers, labels, logos, watermarks or borders. diff --git a/docs/runtime/fg3/media/prompts/rg02-boss-anchors.prompt.txt b/docs/runtime/fg3/media/prompts/rg02-boss-anchors.prompt.txt new file mode 100644 index 00000000..6dd1d236 --- /dev/null +++ b/docs/runtime/fg3/media/prompts/rg02-boss-anchors.prompt.txt @@ -0,0 +1,26 @@ +Create one two-character identity anchor sheet in authentic low-resolution Japanese 16-bit fantasy RPG pixel art. + +PIXEL ART CONTRACT: +- Each Boss is designed on a true 48x48 to 64x64 logical pixel grid. +- Hard square pixel clusters, crisp one-logical-pixel outline, flat stepped shading, maximum 18 colors per Boss. +- Strong readable silhouette at 44 to 54 logical pixels tall in a side-view battle lane. +- No antialiasing, gradients, painterly texture, blur, bloom, smooth vector edges or high-resolution pseudo-pixel detail. + +LAYOUT: +- EXACTLY ONE ROW BY TWO EQUAL CELLS. +- Invisible equal cell boundary; no visible divider or frame. +- Solid pure magenta #FF00FF background across the entire image. +- One complete Boss centered in each cell, full body and every appendage visible, generous padding, stable ground baseline, both facing screen-left. +- Neutral readable idle pose only. These are identity anchors, not animation rows. + +LEFT CELL - SLUICEBACK MOTHER: +- A massive low amphibious brood beast, wider than tall. +- Dark teal plated hide, ivory jaw and claws, oxidized bronze sluice-gate shell across its back, two visible pale egg sacs protected under the shell, one rust-red tide marker plate. +- Silhouette reads as armored mother-beast plus floodgate, not a dragon, turtle or ordinary frog. + +RIGHT CELL - THE DROWNED BELL: +- A haunted bronze bell construct, taller than the left Boss but still compact and grounded. +- Cracked oxidized bell body, three heavy chain limbs touching the ground, drowned indigo ritual cloth, cyan light leaking from the bell mouth, one off-center clapper like a pendulum heart. +- Silhouette reads as mobile cursed bell and linked-chain machine, not a humanoid wearing a bell helmet. + +No heroes, extra creatures, duplicates, eggs outside the Mother, detached chains, spell effects, ground shadows, scenery, floor, text, letters, numbers, labels, logo, watermark or border. diff --git a/docs/runtime/fg3/media/prompts/rg02-company-enemy-identities.prompt.txt b/docs/runtime/fg3/media/prompts/rg02-company-enemy-identities.prompt.txt new file mode 100644 index 00000000..8f30c0df --- /dev/null +++ b/docs/runtime/fg3/media/prompts/rg02-company-enemy-identities.prompt.txt @@ -0,0 +1,43 @@ +Create ONE REGULAR 4x4 GRID with SIXTEEN EQUAL CELLS and invisible fixed boundaries. Draw exactly FOURTEEN distinct full-body identity sprites and leave the final TWO cells completely empty. + +STYLE AND SCALE LOCK: +- Match the attached Aetherbound Guild references only for original low-grid pixel language, hard outline clusters, limited palette and Siltwake material language. Do not copy or repeat any attached subject. +- Authentic Japanese 16-bit fantasy RPG pixel art designed on a true 32x48 to 48x48 logical grid. +- Hard square clusters, crisp one-logical-pixel dark outline, flat stepped shading, maximum 16 colors per identity. +- Every subject has one readable silhouette and one obvious profession or enemy prop at actual 32x40 pixel play size. +- No antialiasing, gradients, painterly texture, blur, bloom, smooth vector edges or high-resolution pseudo-pixel detail. + +LAYOUT CONTRACT: +- Canvas is exactly four rows by four columns. Every cell is identical in size. +- Solid pure magenta #FF00FF background across the whole canvas. +- One complete full-body subject per occupied cell, centered inside the middle 66 percent with generous padding. +- Uniform ground baseline and comparable apparent body scale. Nothing touches or crosses a cell edge. +- No visible grid, frame, label, letter, number, icon, logo, watermark, scenery, floor or ground shadow. +- Company members in cells 1-2 face screen-right. All enemies in cells 3-14 face screen-left. +- Draw identity anchors only: neutral combat-ready pose, no attack effect, projectile, spell ring, loose debris or detached accessory. + +ROW 1: +1. Coilsmith, Company profession: compact human mechanic in teal-and-brass field coat, leather tool rig, square backpack forge, short tuning hammer and visible copper coil; practical silhouette; faces screen-right. +2. Kindhand, Company profession: calm human field healer in pale reed-green coat, amber hand-lamp, medicine satchel, rolled bandages and open supporting hand; faces screen-right. +3. Reed Hook: tall hooked reed-stalk marsh creature with bent bronze pull-hook arms and narrow wader legs; built to drag a rear target; faces screen-left. +4. Mudlamp Leech: squat black-teal lamprey with one glowing amber mud lantern organ and gripping sucker mouth; faces screen-left. + +ROW 2: +5. Silt Mimic: low silt chest creature with false latch-jaw, mirrored glass plate and two short mud legs; faces screen-left. +6. Bank Tortoise: compact stone-shelled marsh tortoise with a numbered mud marker embedded in its shell rim; faces screen-left. +7. Fen Piper: thin masked bog musician with reed-pipe bundle, patched wader cloak and one raised conducting hand; faces screen-left. +8. Brackwater Wisp: small hovering cyan marsh flame inside a broken dark reed cage, with a clear hour-notch core; faces screen-left. + +ROW 3: +9. Ferry Crab: broad rust-red marsh crab carrying a tiny rope ferry deck across its shell, one claw forward and one anchor claw back; faces screen-left. +10. Drownseed Pod: round waterlogged seed pod on root legs, with a visible two-notch teal countdown seam; faces screen-left. +11. Mire Medic: hunched bog apothecary creature with moss hood, crooked remedy staff and one glowing green bottle; faces screen-left. +12. Fogjaw: low pale-jawed fog predator with dark teal body, closed mist gills and a guarded center-facing snout; faces screen-left. + +ROW 4: +13. Channel Widow, elite: tall reed-and-chain widow construct with two cyan thread spools, four narrow stilt legs and a taut linking strand held close to the body; faces screen-left. +14. Sluice Elder, elite: aged armored newt-priest carrying a numbered tide ruler and three wet-stack beads, oxidized bronze shell plates and reed mantle; faces screen-left. +15. COMPLETELY EMPTY pure magenta cell. +16. COMPLETELY EMPTY pure magenta cell. + +Do NOT merge subjects, repeat subjects, add a fifteenth creature, place anything in cells 15-16, create detached VFX, write text, or use any third-party character. diff --git a/docs/runtime/fg3/media/prompts/siltwake-layers.prompt.txt b/docs/runtime/fg3/media/prompts/siltwake-layers.prompt.txt new file mode 100644 index 00000000..b630cc27 --- /dev/null +++ b/docs/runtime/fg3/media/prompts/siltwake-layers.prompt.txt @@ -0,0 +1,28 @@ +Create one production environment source sheet for a side-view Japanese fantasy pixel-art battle stage called Siltwake Fens. + +VISUAL IDENTITY: +- A flooded fantasy route rebuilt through a luminous marsh: deep teal water, slate-green reeds, pale cyan will-o-wisps, oxidized bronze flood machinery, dark plum mud and small warm-gold route lamps. +- The route is a raised timber-and-stone causeway with drowned bell ruins and broken sluice arches in the distance. +- Authentic low-resolution 16-bit Japanese RPG environment art with hard square pixel clusters, one-logical-pixel edges, flat stepped shading and a limited shared palette. +- Keep the stage readable and moderately bright at mobile play size. Danger, path and water must not collapse into one blue hue. +- No antialiasing, gradients, painterly texture, blur, bloom, smooth vector shapes or high-resolution pseudo-pixel noise. + +LAYOUT: +- ONE VERTICAL COLUMN OF EXACTLY THREE EQUAL WIDE CELLS, read top to bottom. +- Each cell contains one complete wide stage plate with the same horizon, camera, lighting, palette and 16:9 composition. +- Each wide plate is centered inside its cell with generous pure magenta #FF00FF matte around it. No visible cell borders, labels or separators. +- No actor, enemy, NPC, UI, text, number, logo or watermark in any cell. + +TOP CELL - BACKGROUND FOUNDATION: +- Full-width connected plate: open storm-cleared dusk sky, distant flooded terraces, low reed silhouettes, two far broken bell towers and tiny cyan marsh lights only. +- No playable route floor, foreground bridge, gate, character or creature. + +MIDDLE CELL - MIDGROUND FENS: +- Transparent-layer source on magenta: one full-width connected drowned-stone bank, a broken bronze sluice arch left of center, half-submerged bell ruins to the right and sparse reed clusters. +- Preserve a clear empty battle lane through the center. No playable floor edge, character, foreground grass or UI. + +BOTTOM CELL - FOREGROUND CAUSEWAY: +- Transparent-layer source on magenta: one full-width connected raised timber-and-stone causeway, wet posts, a few low purple mud clumps and small warm-gold route lamps. +- Keep the center and both actor lanes visually clear; no tall occluder, gate, character or enemy. + +All three plates must be cleanly separable after cropping. Nothing crosses between cells. diff --git a/docs/runtime/fg3/media/raw/rg02-boss-actions.png b/docs/runtime/fg3/media/raw/rg02-boss-actions.png new file mode 100644 index 00000000..0975d0b0 Binary files /dev/null and b/docs/runtime/fg3/media/raw/rg02-boss-actions.png differ diff --git a/docs/runtime/fg3/media/raw/rg02-boss-anchors.png b/docs/runtime/fg3/media/raw/rg02-boss-anchors.png new file mode 100644 index 00000000..931c9dd6 Binary files /dev/null and b/docs/runtime/fg3/media/raw/rg02-boss-anchors.png differ diff --git a/docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png b/docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png new file mode 100644 index 00000000..aee3c3b5 Binary files /dev/null and b/docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png differ diff --git a/docs/runtime/fg3/media/raw/siltwake-layers.png b/docs/runtime/fg3/media/raw/siltwake-layers.png new file mode 100644 index 00000000..86729ca3 Binary files /dev/null and b/docs/runtime/fg3/media/raw/siltwake-layers.png differ diff --git a/docs/runtime/fg3/media/reports/rg02-boss-actions.json b/docs/runtime/fg3/media/reports/rg02-boss-actions.json new file mode 100644 index 00000000..b1f8bc47 --- /dev/null +++ b/docs/runtime/fg3/media/reports/rg02-boss-actions.json @@ -0,0 +1,17 @@ +{ + "mode": "execute", + "model": "gpt-image-2", + "size": "16:9", + "resolution": "2k", + "output": "docs/runtime/fg3/media/raw/rg02-boss-actions.png", + "local_references": [ + "docs/runtime/fg3/media/raw/rg02-boss-anchors.png" + ], + "remote_reference_count": 0, + "prompt_chars": 2323, + "task_id": "task_01M056P0CCPYVFS2GXD91GK7KZ", + "status": "completed", + "bytes": 3047489, + "cost": 0.014, + "credits_cost": 0.14 +} diff --git a/docs/runtime/fg3/media/reports/rg02-boss-anchors.json b/docs/runtime/fg3/media/reports/rg02-boss-anchors.json new file mode 100644 index 00000000..54cd95b5 --- /dev/null +++ b/docs/runtime/fg3/media/reports/rg02-boss-anchors.json @@ -0,0 +1,17 @@ +{ + "mode": "execute", + "model": "gpt-image-2", + "size": "16:9", + "resolution": "2k", + "output": "docs/runtime/fg3/media/raw/rg02-boss-anchors.png", + "local_references": [ + "docs/runtime/fg2/media/raw/enemy-identities.png" + ], + "remote_reference_count": 0, + "prompt_chars": 1911, + "task_id": "task_01M056H19DE2EQDR3DS0YJQ7MA", + "status": "completed", + "bytes": 2791874, + "cost": 0.014, + "credits_cost": 0.14 +} diff --git a/docs/runtime/fg3/media/reports/rg02-company-enemy-identities.json b/docs/runtime/fg3/media/reports/rg02-company-enemy-identities.json new file mode 100644 index 00000000..ded22ae2 --- /dev/null +++ b/docs/runtime/fg3/media/reports/rg02-company-enemy-identities.json @@ -0,0 +1,18 @@ +{ + "mode": "execute", + "model": "gpt-image-2", + "size": "1:1", + "resolution": "2k", + "output": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "local_references": [ + "docs/runtime/fg2/media/raw/enemy-identities.png", + "docs/runtime/fg3/media/raw/rg02-boss-anchors.png" + ], + "remote_reference_count": 0, + "prompt_chars": 3963, + "task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "status": "completed", + "bytes": 5028858, + "cost": 0.014, + "credits_cost": 0.14 +} diff --git a/docs/runtime/fg3/media/reports/siltwake-layers.json b/docs/runtime/fg3/media/reports/siltwake-layers.json new file mode 100644 index 00000000..378ae723 --- /dev/null +++ b/docs/runtime/fg3/media/reports/siltwake-layers.json @@ -0,0 +1,17 @@ +{ + "mode": "execute", + "model": "gpt-image-2", + "size": "3:4", + "resolution": "2k", + "output": "docs/runtime/fg3/media/raw/siltwake-layers.png", + "local_references": [ + "docs/runtime/fg2/media/raw/windglass-layers.png" + ], + "remote_reference_count": 0, + "prompt_chars": 2320, + "task_id": "task_01M056E56CNT64A0M3VB617Z9R", + "status": "completed", + "bytes": 3529689, + "cost": 0.014, + "credits_cost": 0.14 +} diff --git a/docs/runtime/fg3/media/runs/boss-action-rows.json b/docs/runtime/fg3/media/runs/boss-action-rows.json new file mode 100644 index 00000000..dc5453c9 --- /dev/null +++ b/docs/runtime/fg3/media/runs/boss-action-rows.json @@ -0,0 +1,35 @@ +{ + "kind": "abg-fg3-boss-action-rows", + "rows": [ + { + "identity_id": "BO-R2-01", + "path": "docs/runtime/fg3/media/runs/sluiceback_mother/raw/boss_action.png", + "sha256": "ed3874938857fdfbf97d1e664ee9d50d53ae8a127daf90dcb46ae0b254905916", + "source_rect": [ + 0, + 0, + 2048, + 576 + ], + "source_row": 0 + }, + { + "identity_id": "BO-R2-02", + "path": "docs/runtime/fg3/media/runs/drowned_bell/raw/boss_action.png", + "sha256": "8f4cafe30d7634f1f13cbf5b9ee96d0c29d0aa8bbf29b9b4b3304b13d6a91eed", + "source_rect": [ + 0, + 576, + 2048, + 576 + ], + "source_row": 1 + } + ], + "source": "docs/runtime/fg3/media/raw/rg02-boss-actions.png", + "source_dimensions": [ + 2048, + 1152 + ], + "source_sha256": "83673b9e61be6e4e89fd61675512934fafdacb9f709f64f52b06bee9fafdb6c1" +} diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.plain.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.plain.png new file mode 100644 index 00000000..9b6ceaa9 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.plain.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.png new file mode 100644 index 00000000..c507032f Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-0.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.plain.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.plain.png new file mode 100644 index 00000000..0533335a Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.plain.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.png new file mode 100644 index 00000000..eb9facef Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-1.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.plain.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.plain.png new file mode 100644 index 00000000..759c7182 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.plain.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.png new file mode 100644 index 00000000..e8aed5e8 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-2.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.plain.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.plain.png new file mode 100644 index 00000000..c7218eee Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.plain.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.png new file mode 100644 index 00000000..20f657a4 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/frame-3.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-0.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-0.png new file mode 100644 index 00000000..ff59ba59 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-0.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-1.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-1.png new file mode 100644 index 00000000..a5805155 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-1.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-2.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-2.png new file mode 100644 index 00000000..7ff219c2 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-2.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-3.png b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-3.png new file mode 100644 index 00000000..bd5334a5 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/frames/boss_action/orig/frame-3.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/frames/frames-manifest.json b/docs/runtime/fg3/media/runs/drowned_bell/frames/frames-manifest.json new file mode 100644 index 00000000..51125a9e --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/frames/frames-manifest.json @@ -0,0 +1,110 @@ +{ + "ok": true, + "engine": "component-row", + "engine_revision": "7cf852184bff", + "extract_args": {}, + "run_dir": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-runtime-foundation/docs/runtime/fg3/media/runs/drowned_bell", + "cell": { + "shape": "square", + "width": 96, + "height": 96, + "safe_margin_x": 9, + "safe_margin_y": 9, + "size": 96, + "safe_margin": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "rows": [ + { + "state": "boss_action", + "frames": 4, + "method": "components", + "files": [ + "frames/boss_action/frame-0.png", + "frames/boss_action/frame-1.png", + "frames/boss_action/frame-2.png", + "frames/boss_action/frame-3.png" + ], + "frame_records": [ + { + "index": 0, + "nontransparent_pixels": 3336, + "bbox": [ + 14, + 1, + 92, + 87 + ], + "edge_pixels": 6, + "chroma_adjacent_pixels": 0 + }, + { + "index": 1, + "nontransparent_pixels": 3320, + "bbox": [ + 22, + 1, + 94, + 87 + ], + "edge_pixels": 6, + "chroma_adjacent_pixels": 0 + }, + { + "index": 2, + "nontransparent_pixels": 3948, + "bbox": [ + 4, + 3, + 94, + 87 + ], + "edge_pixels": 0, + "chroma_adjacent_pixels": 0 + }, + { + "index": 3, + "nontransparent_pixels": 3324, + "bbox": [ + 14, + 1, + 92, + 87 + ], + "edge_pixels": 6, + "chroma_adjacent_pixels": 0 + } + ], + "ok": true, + "engine_revision": "7cf852184bff", + "plain_files": [ + "frames/boss_action/frame-0.plain.png", + "frames/boss_action/frame-1.plain.png", + "frames/boss_action/frame-2.plain.png", + "frames/boss_action/frame-3.plain.png" + ], + "orig_files": [ + "frames/boss_action/orig/frame-0.png", + "frames/boss_action/orig/frame-1.png", + "frames/boss_action/orig/frame-2.png", + "frames/boss_action/orig/frame-3.png" + ] + } + ], + "errors": [], + "warnings": [ + "boss_action: pitch disagreement — detect 1.00x1.00 (uniformity 118.9) vs runlen 2.37x2.37 (29.0); detect kept. large gap usually means the raw was drawn finer than the cell contract — reroll with a block-count hint", + "boss_action: native logical exceeds the physical cap 48x43 — capped frames (reroll candidates): 0:383x422, 1:355x422, 2:437x414, 3:383x422", + "palette: rebuilt+pinned (18 colors → palette.lock.json)", + "pixel-perfect: pitch=1.0 scale=2x logical<=48x48 palette=18" + ] +} diff --git a/docs/runtime/fg3/media/runs/drowned_bell/manifest.json b/docs/runtime/fg3/media/runs/drowned_bell/manifest.json new file mode 100644 index 00000000..e26c222e --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/manifest.json @@ -0,0 +1,84 @@ +{ + "characterId": "fg3-drowned-bell", + "engine": "component-row", + "game_input": "sprite-sheet-alpha.png", + "degraded_static_fallback": false, + "curation_applied": false, + "frame_variant": "pixel", + "sprite_sheet_alpha": "sprite-sheet-alpha.png", + "sprite_sheet_alpha_report": "sprite-sheet-alpha.report.json", + "base_image": null, + "cell": { + "shape": "square", + "width": 96, + "height": 96, + "safe_margin_x": 9, + "safe_margin_y": 9, + "size": 96, + "safe_margin": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "animation": { + "cellWidth": 96, + "cellHeight": 96, + "columns": 4, + "rows": { + "boss_action": { + "row": 0, + "frames": 4, + "fps": 8, + "durations_ms": [ + 125, + 125, + 125, + 125 + ], + "loop": false, + "frame_variant": "pixel" + } + } + }, + "frame_layout": { + "sheetWidth": 384, + "sheetHeight": 96, + "cellWidth": 96, + "cellHeight": 96, + "rows": { + "boss_action": [ + { + "x": 0, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 96, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 192, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 288, + "y": 0, + "w": 96, + "h": 96 + } + ] + } + } +} diff --git a/docs/runtime/fg3/media/runs/drowned_bell/palette.lock.json b/docs/runtime/fg3/media/runs/drowned_bell/palette.lock.json new file mode 100644 index 00000000..a0f078e2 --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/palette.lock.json @@ -0,0 +1,96 @@ +{ + "kind": "sprite-gen-palette-lock", + "source": "batch:boss_action", + "colors": [ + [ + 35, + 29, + 17 + ], + [ + 34, + 44, + 63 + ], + [ + 96, + 88, + 55 + ], + [ + 36, + 79, + 82 + ], + [ + 79, + 82, + 105 + ], + [ + 58, + 65, + 117 + ], + [ + 157, + 133, + 84 + ], + [ + 126, + 123, + 85 + ], + [ + 25, + 221, + 192 + ], + [ + 168, + 153, + 109 + ], + [ + 116, + 130, + 102 + ], + [ + 104, + 246, + 244 + ], + [ + 111, + 150, + 129 + ], + [ + 94, + 239, + 233 + ], + [ + 210, + 196, + 151 + ], + [ + 183, + 235, + 223 + ], + [ + 15, + 130, + 118 + ], + [ + 6, + 181, + 147 + ] + ] +} diff --git a/docs/runtime/fg3/media/runs/drowned_bell/prompts/boss_action.txt b/docs/runtime/fg3/media/runs/drowned_bell/prompts/boss_action.txt new file mode 100644 index 00000000..3d9a7d0a --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/prompts/boss_action.txt @@ -0,0 +1,46 @@ +Create a single horizontal sprite strip for the game character `fg3-drowned-bell` in the state `boss_action`. + +Use the attached accepted idle/direction anchor as the canonical character design for this row. If a state anchor is attached for a non-locomotion state, treat it as approved state vocabulary only. Use the attached layout guide image only for frame count, slot spacing, centering, and safe padding. If an additional generated row strip is attached, use it only as a motion reference, never as a replacement identity source. Do not simply copy the still reference pose. Generate distinct animation poses that create a readable cycle or action. + +Character: BO-R2-02 Drowned Bell locked walking bronze bell identity. +Style contract: true low-grid Japanese fantasy pixel art; walking cracked bronze bell with chains, iron feet and violet tide banners. + +Use this prompt as an authoritative sprite-production spec. Do not expand it into a polished illustration, painterly character image, anime key art, 3D render, vector mascot, glossy app icon, realistic portrait, or marketing artwork. + +Animation action: idle, anticipate, decisive action, recover. + +Anchor lock: +- Accepted idle/direction anchors own character identity, outfit details, colors, face design, asymmetric markings, and side-specific accessories for final action rows. +- Base character images and original character sheets are pre-idle sources only. Do not reinterpret or reintroduce base-character details inside a direction-anchor action row. +- This row owns motion only. Spend the variation budget on limb contacts, arm counter-swing, body height, torso lean, head bob, hair bounce, and loop continuity. +- Do not redesign or reinterpret identity details while animating. Keep face, hair shape, markings, palette, outline weight, body proportions, outfit, props, and silhouette copied from the approved anchors. +- Preserve side-specific features exactly as the approved anchors show them. Do not solve hairpin side, earring side, logos, handed props, scars, one-sided markings, asymmetric clothing, or lighting cues from scratch inside the row. +- When generating a paired left/right row, use the paired row reference only for timing, scale, and animation intensity. Rotate the body, feet, shoulders, face angle, and gaze to the target facing, but keep identity details attached according to the accepted target-direction anchor. +- For cyclic locomotion, do not let a single running/walking pose anchor determine every frame's leg phase. Use multi-pose motion references and the layout phase guide for foot contacts. +- Prefer a subtler animation over any change that mutates the character identity. + + + +Transparency and artifact rules: +- Prefer pose, expression, and silhouette changes over decorative effects. +- Effects are allowed only when state-relevant, opaque, hard-edged, sprite-like, fully inside the same frame slot, and physically touching or overlapping the character silhouette. +- Do not draw detached effects: floating stars, loose sparkles, floating punctuation, floating icons, separated smoke clouds, loose dust, disconnected outline bits, or stray pixels. +- Do not draw wave marks, motion arcs, speed lines, action streaks, afterimages, blur, smears, halos, glows, auras, floor patches, cast shadows, contact shadows, drop shadows, oval floor shadows, landing marks, or impact bursts. +- Do not include text, labels, frame numbers, visible grids, guide marks, speech bubbles, thought bubbles, UI panels, code snippets, scenery, checkerboard transparency, white backgrounds, or black backgrounds. +- Reject any pose that is cropped, overlaps another pose, crosses into a neighboring frame slot, or creates a separate disconnected component that is not attached to the character. + +Layout requirements: +- Exactly 4 full-body frames, left to right, in one horizontal row. +- The attached layout guide shows the 4 frame boxes, inner safe area, and optional motion phase hints for this row. Follow its slot count, spacing, centering, padding, and phase timing. +- Do not reproduce the layout guide itself: no visible boxes, guide lines, center marks, labels, stick figures, guide colors, or guide background may appear in the output. +- Treat the image as 4 equal-width invisible 96x96 frame slots. Fill every slot: each requested slot must contain exactly one complete full-body pose. +- Spread the 4 poses evenly across the whole image width. Do not leave any requested slot blank or create large empty gaps between poses. +- Center one complete pose in each slot. No pose may cross into the neighboring slot. +- Use a perfectly flat pure magenta #FF00FF chroma-key background across the whole image. +- Do not use #FF00FF, pure magenta, or chroma-adjacent colors in the character, highlights, props, shadows, or effects. +- Keep the rendering faithful to the attached reference sprite: same outline weight, same palette, same detail level — do not restyle it. +- Keep every frame self-contained with at least 9 px horizontal and 9 px vertical safe padding. No character body part should be clipped by the frame slot. +- Avoid motion blur. Use clear pose changes readable at 96x96. +- Preserve the same silhouette, face, proportions, palette, material, and props across every frame. + +Output only the sprite strip image. diff --git a/docs/runtime/fg3/media/runs/drowned_bell/qa-notes.md b/docs/runtime/fg3/media/runs/drowned_bell/qa-notes.md new file mode 100644 index 00000000..43be6db1 --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/qa-notes.md @@ -0,0 +1,9 @@ +# Drowned Bell Motion QA + +- Identity lock: PASS. Cracked bronze bell, indigo cloth, cyan mouth, pendulum + and grounded chain limbs remain stable in all four poses. +- Motion continuity: PASS. Idle, backward tension, decisive toll and damped + recovery read in order at 8 FPS with a stable ground baseline. +- Cleanup: PASS. Frames contain no detached chain, effect, chroma residue or + edge contact in the `96x96` cell. +- Human visual acceptance remains open. diff --git a/docs/runtime/fg3/media/runs/drowned_bell/qa/all-contact.png b/docs/runtime/fg3/media/runs/drowned_bell/qa/all-contact.png new file mode 100644 index 00000000..6a07346b Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/qa/all-contact.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action-contact.png b/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action-contact.png new file mode 100644 index 00000000..642f5e3a Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action-contact.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action.gif b/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action.gif new file mode 100644 index 00000000..a46f6262 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/qa/boss_action.gif differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/raw/boss_action.png b/docs/runtime/fg3/media/runs/drowned_bell/raw/boss_action.png new file mode 100644 index 00000000..34322fbd Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/raw/boss_action.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/references/layout-guides/boss_action.png b/docs/runtime/fg3/media/runs/drowned_bell/references/layout-guides/boss_action.png new file mode 100644 index 00000000..e0eec5de Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/references/layout-guides/boss_action.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/sprite-request.json b/docs/runtime/fg3/media/runs/drowned_bell/sprite-request.json new file mode 100644 index 00000000..d7e39ab5 --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/sprite-request.json @@ -0,0 +1,53 @@ +{ + "version": 1, + "kind": "sprite-gen-request", + "engine": "component-row", + "character": { + "id": "fg3-drowned-bell", + "description": "BO-R2-02 Drowned Bell locked walking bronze bell identity", + "base_image": null + }, + "cell": { + "shape": "square", + "width": 96, + "height": 96, + "safe_margin_x": 9, + "safe_margin_y": 9, + "size": 96, + "safe_margin": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "states": { + "boss_action": { + "frames": 4, + "fps": 8, + "loop": false, + "action": "idle, anticipate, decisive action, recover" + } + }, + "style": "true low-grid Japanese fantasy pixel art; walking cracked bronze bell with chains, iron feet and violet tide banners", + "motion_phase_guides": false, + "layout": "taxonomy/v1", + "fit": { + "resample": "kcentroid", + "align_x": "foot-centroid", + "align_y": "bottom", + "pixel_perfect": true, + "logical_height": 48, + "palette_size": 18 + }, + "chroma": { + "mode": "rgb", + "unmix_reach": 4, + "spill_max_fraction": 0.005 + } +} diff --git a/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.png b/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.png new file mode 100644 index 00000000..370755e4 Binary files /dev/null and b/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.png differ diff --git a/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.report.json b/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.report.json new file mode 100644 index 00000000..17cace2c --- /dev/null +++ b/docs/runtime/fg3/media/runs/drowned_bell/sprite-sheet-alpha.report.json @@ -0,0 +1,93 @@ +{ + "ok": true, + "engine": "component-row", + "curation_applied": false, + "frame_variant": "pixel", + "errors": [], + "atlas": "sprite-sheet-alpha.png", + "manifest": "manifest.json", + "cell": { + "shape": "square", + "width": 96, + "height": 96, + "safe_margin_x": 9, + "safe_margin_y": 9, + "size": 96, + "safe_margin": 9 + }, + "states": [ + "boss_action" + ], + "cells": [ + { + "state": "boss_action", + "frame": 0, + "nontransparent_pixels": 3336, + "x": 0, + "y": 0, + "w": 96, + "h": 96 + }, + { + "state": "boss_action", + "frame": 1, + "nontransparent_pixels": 3320, + "x": 96, + "y": 0, + "w": 96, + "h": 96 + }, + { + "state": "boss_action", + "frame": 2, + "nontransparent_pixels": 3948, + "x": 192, + "y": 0, + "w": 96, + "h": 96 + }, + { + "state": "boss_action", + "frame": 3, + "nontransparent_pixels": 3324, + "x": 288, + "y": 0, + "w": 96, + "h": 96 + } + ], + "frame_layout": { + "sheetWidth": 384, + "sheetHeight": 96, + "cellWidth": 96, + "cellHeight": 96, + "rows": { + "boss_action": [ + { + "x": 0, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 96, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 192, + "y": 0, + "w": 96, + "h": 96 + }, + { + "x": 288, + "y": 0, + "w": 96, + "h": 96 + } + ] + } + } +} diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.plain.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.plain.png new file mode 100644 index 00000000..6538fb85 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.plain.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.png new file mode 100644 index 00000000..571fa76c Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-0.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.plain.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.plain.png new file mode 100644 index 00000000..ee35ecee Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.plain.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.png new file mode 100644 index 00000000..64da1984 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-1.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.plain.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.plain.png new file mode 100644 index 00000000..91afe6e3 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.plain.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.png new file mode 100644 index 00000000..feb2b89f Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-2.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.plain.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.plain.png new file mode 100644 index 00000000..ce36a007 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.plain.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.png new file mode 100644 index 00000000..a8ea99c8 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/frame-3.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-0.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-0.png new file mode 100644 index 00000000..d7c34cc3 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-0.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-1.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-1.png new file mode 100644 index 00000000..7990b915 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-1.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-2.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-2.png new file mode 100644 index 00000000..3031db52 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-2.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-3.png b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-3.png new file mode 100644 index 00000000..dc8b9fab Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/boss_action/orig/frame-3.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/frames/frames-manifest.json b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/frames-manifest.json new file mode 100644 index 00000000..a6f49223 --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/frames/frames-manifest.json @@ -0,0 +1,108 @@ +{ + "ok": true, + "engine": "component-row", + "engine_revision": "7cf852184bff", + "extract_args": {}, + "run_dir": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-runtime-foundation/docs/runtime/fg3/media/runs/sluiceback_mother", + "cell": { + "shape": "rect", + "width": 128, + "height": 96, + "safe_margin_x": 12, + "safe_margin_y": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "rows": [ + { + "state": "boss_action", + "frames": 4, + "method": "components", + "files": [ + "frames/boss_action/frame-0.png", + "frames/boss_action/frame-1.png", + "frames/boss_action/frame-2.png", + "frames/boss_action/frame-3.png" + ], + "frame_records": [ + { + "index": 0, + "nontransparent_pixels": 6384, + "bbox": [ + 2, + 7, + 116, + 87 + ], + "edge_pixels": 0, + "chroma_adjacent_pixels": 0 + }, + { + "index": 1, + "nontransparent_pixels": 6432, + "bbox": [ + 6, + 1, + 112, + 87 + ], + "edge_pixels": 4, + "chroma_adjacent_pixels": 0 + }, + { + "index": 2, + "nontransparent_pixels": 6116, + "bbox": [ + 14, + 1, + 124, + 87 + ], + "edge_pixels": 4, + "chroma_adjacent_pixels": 0 + }, + { + "index": 3, + "nontransparent_pixels": 6228, + "bbox": [ + 4, + 7, + 116, + 87 + ], + "edge_pixels": 0, + "chroma_adjacent_pixels": 0 + } + ], + "ok": true, + "engine_revision": "7cf852184bff", + "plain_files": [ + "frames/boss_action/frame-0.plain.png", + "frames/boss_action/frame-1.plain.png", + "frames/boss_action/frame-2.plain.png", + "frames/boss_action/frame-3.plain.png" + ], + "orig_files": [ + "frames/boss_action/orig/frame-0.png", + "frames/boss_action/orig/frame-1.png", + "frames/boss_action/orig/frame-2.png", + "frames/boss_action/orig/frame-3.png" + ] + } + ], + "errors": [], + "warnings": [ + "boss_action: pitch disagreement — detect 1.00x1.00 (uniformity 132.4) vs runlen 2.35x2.37 (31.2); detect kept. large gap usually means the raw was drawn finer than the cell contract — reroll with a block-count hint", + "boss_action: native logical exceeds the physical cap 64x43 — capped frames (reroll candidates): 0:467x329, 1:437x354, 2:455x354, 3:465x328", + "palette: pinned (18 colors, palette.lock.json)", + "pixel-perfect: pitch=1.0 scale=2x logical<=64x48 palette=18" + ] +} diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/manifest.json b/docs/runtime/fg3/media/runs/sluiceback_mother/manifest.json new file mode 100644 index 00000000..1b195b2b --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/manifest.json @@ -0,0 +1,82 @@ +{ + "characterId": "fg3-sluiceback-mother", + "engine": "component-row", + "game_input": "sprite-sheet-alpha.png", + "degraded_static_fallback": false, + "curation_applied": false, + "frame_variant": "pixel", + "sprite_sheet_alpha": "sprite-sheet-alpha.png", + "sprite_sheet_alpha_report": "sprite-sheet-alpha.report.json", + "base_image": null, + "cell": { + "shape": "rect", + "width": 128, + "height": 96, + "safe_margin_x": 12, + "safe_margin_y": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "animation": { + "cellWidth": 128, + "cellHeight": 96, + "columns": 4, + "rows": { + "boss_action": { + "row": 0, + "frames": 4, + "fps": 8, + "durations_ms": [ + 125, + 125, + 125, + 125 + ], + "loop": false, + "frame_variant": "pixel" + } + } + }, + "frame_layout": { + "sheetWidth": 512, + "sheetHeight": 96, + "cellWidth": 128, + "cellHeight": 96, + "rows": { + "boss_action": [ + { + "x": 0, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 128, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 256, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 384, + "y": 0, + "w": 128, + "h": 96 + } + ] + } + } +} diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/palette.lock.json b/docs/runtime/fg3/media/runs/sluiceback_mother/palette.lock.json new file mode 100644 index 00000000..27daf515 --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/palette.lock.json @@ -0,0 +1,96 @@ +{ + "kind": "sprite-gen-palette-lock", + "source": "batch:boss_action", + "colors": [ + [ + 204, + 181, + 132 + ], + [ + 20, + 17, + 11 + ], + [ + 61, + 46, + 23 + ], + [ + 225, + 205, + 159 + ], + [ + 63, + 87, + 75 + ], + [ + 119, + 103, + 66 + ], + [ + 20, + 41, + 38 + ], + [ + 34, + 73, + 72 + ], + [ + 219, + 198, + 151 + ], + [ + 232, + 216, + 176 + ], + [ + 248, + 242, + 223 + ], + [ + 216, + 196, + 150 + ], + [ + 145, + 123, + 80 + ], + [ + 180, + 155, + 107 + ], + [ + 180, + 184, + 157 + ], + [ + 213, + 194, + 150 + ], + [ + 82, + 59, + 28 + ], + [ + 106, + 67, + 25 + ] + ] +} diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/prompts/boss_action.txt b/docs/runtime/fg3/media/runs/sluiceback_mother/prompts/boss_action.txt new file mode 100644 index 00000000..c4e09317 --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/prompts/boss_action.txt @@ -0,0 +1,46 @@ +Create a single horizontal sprite strip for the game character `fg3-sluiceback-mother` in the state `boss_action`. + +Use the attached accepted idle/direction anchor as the canonical character design for this row. If a state anchor is attached for a non-locomotion state, treat it as approved state vocabulary only. Use the attached layout guide image only for frame count, slot spacing, centering, and safe padding. If an additional generated row strip is attached, use it only as a motion reference, never as a replacement identity source. Do not simply copy the still reference pose. Generate distinct animation poses that create a readable cycle or action. + +Character: BO-R2-01 Sluiceback Mother locked amphibious siege-beast identity. +Style contract: true low-grid Japanese fantasy pixel art; armored teal amphibious siege-beast carrying pale eggs and a broken sluice frame. + +Use this prompt as an authoritative sprite-production spec. Do not expand it into a polished illustration, painterly character image, anime key art, 3D render, vector mascot, glossy app icon, realistic portrait, or marketing artwork. + +Animation action: idle, anticipate, decisive action, recover. + +Anchor lock: +- Accepted idle/direction anchors own character identity, outfit details, colors, face design, asymmetric markings, and side-specific accessories for final action rows. +- Base character images and original character sheets are pre-idle sources only. Do not reinterpret or reintroduce base-character details inside a direction-anchor action row. +- This row owns motion only. Spend the variation budget on limb contacts, arm counter-swing, body height, torso lean, head bob, hair bounce, and loop continuity. +- Do not redesign or reinterpret identity details while animating. Keep face, hair shape, markings, palette, outline weight, body proportions, outfit, props, and silhouette copied from the approved anchors. +- Preserve side-specific features exactly as the approved anchors show them. Do not solve hairpin side, earring side, logos, handed props, scars, one-sided markings, asymmetric clothing, or lighting cues from scratch inside the row. +- When generating a paired left/right row, use the paired row reference only for timing, scale, and animation intensity. Rotate the body, feet, shoulders, face angle, and gaze to the target facing, but keep identity details attached according to the accepted target-direction anchor. +- For cyclic locomotion, do not let a single running/walking pose anchor determine every frame's leg phase. Use multi-pose motion references and the layout phase guide for foot contacts. +- Prefer a subtler animation over any change that mutates the character identity. + + + +Transparency and artifact rules: +- Prefer pose, expression, and silhouette changes over decorative effects. +- Effects are allowed only when state-relevant, opaque, hard-edged, sprite-like, fully inside the same frame slot, and physically touching or overlapping the character silhouette. +- Do not draw detached effects: floating stars, loose sparkles, floating punctuation, floating icons, separated smoke clouds, loose dust, disconnected outline bits, or stray pixels. +- Do not draw wave marks, motion arcs, speed lines, action streaks, afterimages, blur, smears, halos, glows, auras, floor patches, cast shadows, contact shadows, drop shadows, oval floor shadows, landing marks, or impact bursts. +- Do not include text, labels, frame numbers, visible grids, guide marks, speech bubbles, thought bubbles, UI panels, code snippets, scenery, checkerboard transparency, white backgrounds, or black backgrounds. +- Reject any pose that is cropped, overlaps another pose, crosses into a neighboring frame slot, or creates a separate disconnected component that is not attached to the character. + +Layout requirements: +- Exactly 4 full-body frames, left to right, in one horizontal row. +- The attached layout guide shows the 4 frame boxes, inner safe area, and optional motion phase hints for this row. Follow its slot count, spacing, centering, padding, and phase timing. +- Do not reproduce the layout guide itself: no visible boxes, guide lines, center marks, labels, stick figures, guide colors, or guide background may appear in the output. +- Treat the image as 4 equal-width invisible 128x96 frame slots. Fill every slot: each requested slot must contain exactly one complete full-body pose. +- Spread the 4 poses evenly across the whole image width. Do not leave any requested slot blank or create large empty gaps between poses. +- Center one complete pose in each slot. No pose may cross into the neighboring slot. +- Use a perfectly flat pure magenta #FF00FF chroma-key background across the whole image. +- Do not use #FF00FF, pure magenta, or chroma-adjacent colors in the character, highlights, props, shadows, or effects. +- Keep the rendering faithful to the attached reference sprite: same outline weight, same palette, same detail level — do not restyle it. +- Keep every frame self-contained with at least 12 px horizontal and 9 px vertical safe padding. No character body part should be clipped by the frame slot. +- Avoid motion blur. Use clear pose changes readable at 128x96. +- Preserve the same silhouette, face, proportions, palette, material, and props across every frame. + +Output only the sprite strip image. diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/qa-notes.md b/docs/runtime/fg3/media/runs/sluiceback_mother/qa-notes.md new file mode 100644 index 00000000..ac6567d1 --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/qa-notes.md @@ -0,0 +1,9 @@ +# Sluiceback Mother Motion QA + +- Identity lock: PASS. Teal amphibious body, ivory jaw, sluice shell and two + protected eggs remain stable in all four poses. +- Motion continuity: PASS. Idle, brace, open-jaw lunge and controlled recovery + read in order at 8 FPS without a teleport or reversed phase. +- Cleanup: PASS. The detached purple streak behind source pose three is absent + from all extracted frames; the `128x96` cell keeps every frame off the edge. +- Human visual acceptance remains open. diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/qa/all-contact.png b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/all-contact.png new file mode 100644 index 00000000..d5849230 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/all-contact.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action-contact.png b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action-contact.png new file mode 100644 index 00000000..81b1c990 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action-contact.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action.gif b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action.gif new file mode 100644 index 00000000..869b03a1 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/qa/boss_action.gif differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/raw/boss_action.png b/docs/runtime/fg3/media/runs/sluiceback_mother/raw/boss_action.png new file mode 100644 index 00000000..75e2aaa3 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/raw/boss_action.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/references/layout-guides/boss_action.png b/docs/runtime/fg3/media/runs/sluiceback_mother/references/layout-guides/boss_action.png new file mode 100644 index 00000000..ad991bf5 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/references/layout-guides/boss_action.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-request.json b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-request.json new file mode 100644 index 00000000..f555868b --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-request.json @@ -0,0 +1,51 @@ +{ + "version": 1, + "kind": "sprite-gen-request", + "engine": "component-row", + "character": { + "id": "fg3-sluiceback-mother", + "description": "BO-R2-01 Sluiceback Mother locked amphibious siege-beast identity", + "base_image": null + }, + "cell": { + "shape": "rect", + "width": 128, + "height": 96, + "safe_margin_x": 12, + "safe_margin_y": 9 + }, + "chroma_key": { + "name": "magenta", + "hex": "#FF00FF", + "rgb": [ + 255, + 0, + 255 + ], + "selection": "manual" + }, + "states": { + "boss_action": { + "frames": 4, + "fps": 8, + "loop": false, + "action": "idle, anticipate, decisive action, recover" + } + }, + "style": "true low-grid Japanese fantasy pixel art; armored teal amphibious siege-beast carrying pale eggs and a broken sluice frame", + "motion_phase_guides": false, + "layout": "taxonomy/v1", + "fit": { + "resample": "kcentroid", + "align_x": "foot-centroid", + "align_y": "bottom", + "pixel_perfect": true, + "logical_height": 48, + "palette_size": 18 + }, + "chroma": { + "mode": "rgb", + "unmix_reach": 4, + "spill_max_fraction": 0.005 + } +} diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.png b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.png new file mode 100644 index 00000000..15ab5df8 Binary files /dev/null and b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.png differ diff --git a/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.report.json b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.report.json new file mode 100644 index 00000000..d7913a1d --- /dev/null +++ b/docs/runtime/fg3/media/runs/sluiceback_mother/sprite-sheet-alpha.report.json @@ -0,0 +1,91 @@ +{ + "ok": true, + "engine": "component-row", + "curation_applied": false, + "frame_variant": "pixel", + "errors": [], + "atlas": "sprite-sheet-alpha.png", + "manifest": "manifest.json", + "cell": { + "shape": "rect", + "width": 128, + "height": 96, + "safe_margin_x": 12, + "safe_margin_y": 9 + }, + "states": [ + "boss_action" + ], + "cells": [ + { + "state": "boss_action", + "frame": 0, + "nontransparent_pixels": 6384, + "x": 0, + "y": 0, + "w": 128, + "h": 96 + }, + { + "state": "boss_action", + "frame": 1, + "nontransparent_pixels": 6432, + "x": 128, + "y": 0, + "w": 128, + "h": 96 + }, + { + "state": "boss_action", + "frame": 2, + "nontransparent_pixels": 6116, + "x": 256, + "y": 0, + "w": 128, + "h": 96 + }, + { + "state": "boss_action", + "frame": 3, + "nontransparent_pixels": 6228, + "x": 384, + "y": 0, + "w": 128, + "h": 96 + } + ], + "frame_layout": { + "sheetWidth": 512, + "sheetHeight": 96, + "cellWidth": 128, + "cellHeight": 96, + "rows": { + "boss_action": [ + { + "x": 0, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 128, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 256, + "y": 0, + "w": 128, + "h": 96 + }, + { + "x": 384, + "y": 0, + "w": 128, + "h": 96 + } + ] + } + } +} diff --git a/runtime/assets/fg2/audio-manifest.json b/runtime/assets/fg2/audio-manifest.json index 7ee0708d..45015ad6 100644 --- a/runtime/assets/fg2/audio-manifest.json +++ b/runtime/assets/fg2/audio-manifest.json @@ -30,7 +30,19 @@ ], "events": { "route_committed": {"asset_id": "FG2-SFX-COMMIT", "priority": 2, "cooldown_seconds": 0.18, "duck": true}, + "plan_committed": {"asset_id": "FG2-SFX-COMMIT", "priority": 2, "cooldown_seconds": 0.18, "duck": true}, + "allied_basic": {"asset_id": "FG2-SFX-IMPACT", "priority": 4, "cooldown_seconds": 0.09, "duck": false}, "wave_arrived": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "pulse_linked": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "pulse_family_forecast": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "linked_positions_disclosed": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "third_pulse_link": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "safe_index_forecast": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "egg_positions_disclosed": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "safe_index_reversed": {"asset_id": "FG2-SFX-FORECAST", "priority": 1, "cooldown_seconds": 0.22, "duck": true}, + "plan_response": {"asset_id": "FG2-SFX-COMMIT", "priority": 2, "cooldown_seconds": 0.18, "duck": true}, + "pulse_family_interrupted": {"asset_id": "FG2-SFX-COMMIT", "priority": 2, "cooldown_seconds": 0.18, "duck": true}, + "linked_actions_staggered": {"asset_id": "FG2-SFX-COMMIT", "priority": 2, "cooldown_seconds": 0.18, "duck": true}, "damage": {"asset_id": "FG2-SFX-IMPACT", "guard_asset_id": "FG2-SFX-GUARD", "priority": 4, "guard_priority": 3, "cooldown_seconds": 0.09, "duck": false}, "fallen": {"asset_id": "FG2-SFX-CASUALTY", "priority": 0, "cooldown_seconds": 0.40, "duck": true}, "outcome": {"asset_id": "FG2-SFX-VICTORY", "priority": 2, "cooldown_seconds": 0.60, "duck": true}, diff --git a/runtime/assets/fg2/motion-manifest.json b/runtime/assets/fg2/motion-manifest.json index 6b186b84..6fc1898b 100644 --- a/runtime/assets/fg2/motion-manifest.json +++ b/runtime/assets/fg2/motion-manifest.json @@ -8,6 +8,16 @@ "shake_pixels": 2, "casualty_delay_max": 0.12 }, + "static_actor": { + "idle_frame": 0, + "motions": { + "entry": {"duration": 0.40, "frames": [0]}, + "attack": {"duration": 0.38, "frames": [0]}, + "guard": {"duration": 0.32, "frames": [0]}, + "hit": {"duration": 0.28, "frames": [0]}, + "fallen": {"duration": 0.65, "frames": [0]} + } + }, "actors": { "PF-B01": { "idle_frame": 0, @@ -36,9 +46,28 @@ "hit": {"duration": 0.32, "frames": [2, 3]}, "fallen": {"duration": 0.7, "frames": [2, 3]} } + }, + "BO-R2-01": { + "idle_frame": 0, + "motions": { + "entry": {"duration": 0.52, "frames": [0, 1]}, + "attack": {"duration": 0.48, "frames": [1, 2, 3]}, + "hit": {"duration": 0.32, "frames": [2, 3]}, + "fallen": {"duration": 0.72, "frames": [2, 3]} + } + }, + "BO-R2-02": { + "idle_frame": 0, + "motions": { + "entry": {"duration": 0.52, "frames": [0, 1]}, + "attack": {"duration": 0.48, "frames": [1, 2, 3]}, + "hit": {"duration": 0.32, "frames": [2, 3]}, + "fallen": {"duration": 0.72, "frames": [2, 3]} + } } }, "events": { + "allied_basic": {"source_motion": "attack", "vfx": "impact"}, "wave_arrived": {"source_motion": "entry", "vfx": "arrival"}, "damage": {"source_motion": "attack", "target_motion": "hit", "vfx": "impact", "value_field": "effective", "hit_pause": 0.055}, "heal": {"target_motion": "guard", "vfx": "heal", "value_field": "amount"}, @@ -50,6 +79,11 @@ "hinder": {"source_motion": "attack", "target_motion": "hit", "vfx": "hinder", "value_field": "amount"}, "fallen": {"target_motion": "fallen", "vfx": "fallen"}, "outcome": {"vfx": "result"}, + "plan_response": {"vfx": "result"}, + "pulse_family_interrupted": {"vfx": "guard"}, + "linked_actions_staggered": {"vfx": "guard"}, + "eggs_cleared_on_index": {"vfx": "guard"}, + "index_shifted_to_area": {"vfx": "guard"}, "recovery": {"vfx": "recovery"} } } diff --git a/runtime/assets/fg3/actors/bank_tortoise/atlas.png b/runtime/assets/fg3/actors/bank_tortoise/atlas.png new file mode 100644 index 00000000..e9ec73b5 Binary files /dev/null and b/runtime/assets/fg3/actors/bank_tortoise/atlas.png differ diff --git a/runtime/assets/fg3/actors/bank_tortoise/atlas.png.import b/runtime/assets/fg3/actors/bank_tortoise/atlas.png.import new file mode 100644 index 00000000..57794d8c --- /dev/null +++ b/runtime/assets/fg3/actors/bank_tortoise/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bllijgdcp2uuh" +path="res://.godot/imported/atlas.png-296f5c076568e6f68c865e2d23de56d7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/bank_tortoise/atlas.png" +dest_files=["res://.godot/imported/atlas.png-296f5c076568e6f68c865e2d23de56d7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png b/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png new file mode 100644 index 00000000..e9ec73b5 Binary files /dev/null and b/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png.import b/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png.import new file mode 100644 index 00000000..4d078efd --- /dev/null +++ b/runtime/assets/fg3/actors/bank_tortoise/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cw4bgs0ssig17" +path="res://.godot/imported/frame-0.png-90315dbcdab10a33f23bc55b1cde1966.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/bank_tortoise/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-90315dbcdab10a33f23bc55b1cde1966.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/brackwater_wisp/atlas.png b/runtime/assets/fg3/actors/brackwater_wisp/atlas.png new file mode 100644 index 00000000..18fa2b0f Binary files /dev/null and b/runtime/assets/fg3/actors/brackwater_wisp/atlas.png differ diff --git a/runtime/assets/fg3/actors/brackwater_wisp/atlas.png.import b/runtime/assets/fg3/actors/brackwater_wisp/atlas.png.import new file mode 100644 index 00000000..dc7955f4 --- /dev/null +++ b/runtime/assets/fg3/actors/brackwater_wisp/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqqbbc6ebpjbt" +path="res://.godot/imported/atlas.png-b290629925b6ce8debda4c633de95090.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/brackwater_wisp/atlas.png" +dest_files=["res://.godot/imported/atlas.png-b290629925b6ce8debda4c633de95090.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png b/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png new file mode 100644 index 00000000..18fa2b0f Binary files /dev/null and b/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png.import b/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png.import new file mode 100644 index 00000000..daace1d3 --- /dev/null +++ b/runtime/assets/fg3/actors/brackwater_wisp/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dpoext33t0hse" +path="res://.godot/imported/frame-0.png-eee8370daab892f7fee748745f3ff0b3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/brackwater_wisp/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-eee8370daab892f7fee748745f3ff0b3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/channel_widow/atlas.png b/runtime/assets/fg3/actors/channel_widow/atlas.png new file mode 100644 index 00000000..5f37d137 Binary files /dev/null and b/runtime/assets/fg3/actors/channel_widow/atlas.png differ diff --git a/runtime/assets/fg3/actors/channel_widow/atlas.png.import b/runtime/assets/fg3/actors/channel_widow/atlas.png.import new file mode 100644 index 00000000..e01d54a6 --- /dev/null +++ b/runtime/assets/fg3/actors/channel_widow/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j54qpv0hjv5w" +path="res://.godot/imported/atlas.png-18e87abf3aa8f2fee3d71857a52b0512.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/channel_widow/atlas.png" +dest_files=["res://.godot/imported/atlas.png-18e87abf3aa8f2fee3d71857a52b0512.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png b/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png new file mode 100644 index 00000000..5f37d137 Binary files /dev/null and b/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png.import b/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png.import new file mode 100644 index 00000000..1736c567 --- /dev/null +++ b/runtime/assets/fg3/actors/channel_widow/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d14aoqriksq0j" +path="res://.godot/imported/frame-0.png-48e565e934e269ae33f85b1d158e73fb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/channel_widow/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-48e565e934e269ae33f85b1d158e73fb.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/coilsmith/atlas.png b/runtime/assets/fg3/actors/coilsmith/atlas.png new file mode 100644 index 00000000..d8ec6779 Binary files /dev/null and b/runtime/assets/fg3/actors/coilsmith/atlas.png differ diff --git a/runtime/assets/fg3/actors/coilsmith/atlas.png.import b/runtime/assets/fg3/actors/coilsmith/atlas.png.import new file mode 100644 index 00000000..c475d324 --- /dev/null +++ b/runtime/assets/fg3/actors/coilsmith/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8d4mp0lukb7y" +path="res://.godot/imported/atlas.png-587e934aa7b74546c46a3e7a1ad1a521.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/coilsmith/atlas.png" +dest_files=["res://.godot/imported/atlas.png-587e934aa7b74546c46a3e7a1ad1a521.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png b/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png new file mode 100644 index 00000000..d8ec6779 Binary files /dev/null and b/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png.import b/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png.import new file mode 100644 index 00000000..68d5fb8c --- /dev/null +++ b/runtime/assets/fg3/actors/coilsmith/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dqex54m1p5l5h" +path="res://.godot/imported/frame-0.png-9914e25b3d04c119b79527245740cabc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/coilsmith/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-9914e25b3d04c119b79527245740cabc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/drownseed_pod/atlas.png b/runtime/assets/fg3/actors/drownseed_pod/atlas.png new file mode 100644 index 00000000..1a0a65a5 Binary files /dev/null and b/runtime/assets/fg3/actors/drownseed_pod/atlas.png differ diff --git a/runtime/assets/fg3/actors/drownseed_pod/atlas.png.import b/runtime/assets/fg3/actors/drownseed_pod/atlas.png.import new file mode 100644 index 00000000..20d80569 --- /dev/null +++ b/runtime/assets/fg3/actors/drownseed_pod/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cvqxga7cmlf2q" +path="res://.godot/imported/atlas.png-26e0ee2c64cd971c3c386634ae381e12.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/drownseed_pod/atlas.png" +dest_files=["res://.godot/imported/atlas.png-26e0ee2c64cd971c3c386634ae381e12.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png b/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png new file mode 100644 index 00000000..1a0a65a5 Binary files /dev/null and b/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png.import b/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png.import new file mode 100644 index 00000000..067010dd --- /dev/null +++ b/runtime/assets/fg3/actors/drownseed_pod/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0xyp0mqxkydf" +path="res://.godot/imported/frame-0.png-7307b346a2077b7082548fcecccd2f7a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/drownseed_pod/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-7307b346a2077b7082548fcecccd2f7a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/fen_piper/atlas.png b/runtime/assets/fg3/actors/fen_piper/atlas.png new file mode 100644 index 00000000..168cc98c Binary files /dev/null and b/runtime/assets/fg3/actors/fen_piper/atlas.png differ diff --git a/runtime/assets/fg3/actors/fen_piper/atlas.png.import b/runtime/assets/fg3/actors/fen_piper/atlas.png.import new file mode 100644 index 00000000..c158fcff --- /dev/null +++ b/runtime/assets/fg3/actors/fen_piper/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqdtvxv1qsqcm" +path="res://.godot/imported/atlas.png-c526389e3c7b7b451c00b1db9c57f533.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/fen_piper/atlas.png" +dest_files=["res://.godot/imported/atlas.png-c526389e3c7b7b451c00b1db9c57f533.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png b/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png new file mode 100644 index 00000000..168cc98c Binary files /dev/null and b/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png.import b/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png.import new file mode 100644 index 00000000..2a08e735 --- /dev/null +++ b/runtime/assets/fg3/actors/fen_piper/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://durs62o3a8h2k" +path="res://.godot/imported/frame-0.png-a0ff9179220e04c3225e5b310e49e227.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/fen_piper/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-a0ff9179220e04c3225e5b310e49e227.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/ferry_crab/atlas.png b/runtime/assets/fg3/actors/ferry_crab/atlas.png new file mode 100644 index 00000000..40ac9b0f Binary files /dev/null and b/runtime/assets/fg3/actors/ferry_crab/atlas.png differ diff --git a/runtime/assets/fg3/actors/ferry_crab/atlas.png.import b/runtime/assets/fg3/actors/ferry_crab/atlas.png.import new file mode 100644 index 00000000..e619ba32 --- /dev/null +++ b/runtime/assets/fg3/actors/ferry_crab/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c3l46ibjkokgq" +path="res://.godot/imported/atlas.png-e1c4441e46af455fe1c650a93b989c08.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/ferry_crab/atlas.png" +dest_files=["res://.godot/imported/atlas.png-e1c4441e46af455fe1c650a93b989c08.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png b/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png new file mode 100644 index 00000000..40ac9b0f Binary files /dev/null and b/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png.import b/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png.import new file mode 100644 index 00000000..294a6366 --- /dev/null +++ b/runtime/assets/fg3/actors/ferry_crab/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bc33lr2nnrme3" +path="res://.godot/imported/frame-0.png-6bde13c7bd5a098b4410d766f10945f8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/ferry_crab/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-6bde13c7bd5a098b4410d766f10945f8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/fogjaw/atlas.png b/runtime/assets/fg3/actors/fogjaw/atlas.png new file mode 100644 index 00000000..c53aaf40 Binary files /dev/null and b/runtime/assets/fg3/actors/fogjaw/atlas.png differ diff --git a/runtime/assets/fg3/actors/fogjaw/atlas.png.import b/runtime/assets/fg3/actors/fogjaw/atlas.png.import new file mode 100644 index 00000000..f31759b6 --- /dev/null +++ b/runtime/assets/fg3/actors/fogjaw/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dpoq2pi3uc5x7" +path="res://.godot/imported/atlas.png-2419be96195e612fc2a90ad3f1f697bc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/fogjaw/atlas.png" +dest_files=["res://.godot/imported/atlas.png-2419be96195e612fc2a90ad3f1f697bc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png b/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png new file mode 100644 index 00000000..c53aaf40 Binary files /dev/null and b/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png.import b/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png.import new file mode 100644 index 00000000..35606440 --- /dev/null +++ b/runtime/assets/fg3/actors/fogjaw/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://wbk1hjyb0m24" +path="res://.godot/imported/frame-0.png-112c2365bd58a6b6ec0df9ae9e25c89b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/fogjaw/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-112c2365bd58a6b6ec0df9ae9e25c89b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/kindhand/atlas.png b/runtime/assets/fg3/actors/kindhand/atlas.png new file mode 100644 index 00000000..c71888b5 Binary files /dev/null and b/runtime/assets/fg3/actors/kindhand/atlas.png differ diff --git a/runtime/assets/fg3/actors/kindhand/atlas.png.import b/runtime/assets/fg3/actors/kindhand/atlas.png.import new file mode 100644 index 00000000..81182587 --- /dev/null +++ b/runtime/assets/fg3/actors/kindhand/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b0gqoolldca28" +path="res://.godot/imported/atlas.png-3a8b27f44980e9191eb900fd1b094fb2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/kindhand/atlas.png" +dest_files=["res://.godot/imported/atlas.png-3a8b27f44980e9191eb900fd1b094fb2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/kindhand/idle/frame-0.png b/runtime/assets/fg3/actors/kindhand/idle/frame-0.png new file mode 100644 index 00000000..c71888b5 Binary files /dev/null and b/runtime/assets/fg3/actors/kindhand/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/kindhand/idle/frame-0.png.import b/runtime/assets/fg3/actors/kindhand/idle/frame-0.png.import new file mode 100644 index 00000000..37678d20 --- /dev/null +++ b/runtime/assets/fg3/actors/kindhand/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dkiry67ercsc4" +path="res://.godot/imported/frame-0.png-15257f6141eac85f0d9037e9e1aba227.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/kindhand/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-15257f6141eac85f0d9037e9e1aba227.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/mire_medic/atlas.png b/runtime/assets/fg3/actors/mire_medic/atlas.png new file mode 100644 index 00000000..393eadd6 Binary files /dev/null and b/runtime/assets/fg3/actors/mire_medic/atlas.png differ diff --git a/runtime/assets/fg3/actors/mire_medic/atlas.png.import b/runtime/assets/fg3/actors/mire_medic/atlas.png.import new file mode 100644 index 00000000..44e82a5f --- /dev/null +++ b/runtime/assets/fg3/actors/mire_medic/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j5gb4pd6cupq" +path="res://.godot/imported/atlas.png-dc691bbcf8cb691b2bf9f6c8c3b7cfb0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/mire_medic/atlas.png" +dest_files=["res://.godot/imported/atlas.png-dc691bbcf8cb691b2bf9f6c8c3b7cfb0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png b/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png new file mode 100644 index 00000000..393eadd6 Binary files /dev/null and b/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png.import b/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png.import new file mode 100644 index 00000000..dec56975 --- /dev/null +++ b/runtime/assets/fg3/actors/mire_medic/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dblosthh1qp6l" +path="res://.godot/imported/frame-0.png-73d1ef4a90b2d73aa5d8e6bc2a47e308.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/mire_medic/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-73d1ef4a90b2d73aa5d8e6bc2a47e308.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/mudlamp_leech/atlas.png b/runtime/assets/fg3/actors/mudlamp_leech/atlas.png new file mode 100644 index 00000000..aa008e74 Binary files /dev/null and b/runtime/assets/fg3/actors/mudlamp_leech/atlas.png differ diff --git a/runtime/assets/fg3/actors/mudlamp_leech/atlas.png.import b/runtime/assets/fg3/actors/mudlamp_leech/atlas.png.import new file mode 100644 index 00000000..93e3faeb --- /dev/null +++ b/runtime/assets/fg3/actors/mudlamp_leech/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bk3sn2g4ugyu5" +path="res://.godot/imported/atlas.png-d1b67db71f8ef5dbf8147b83bab7c06e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/mudlamp_leech/atlas.png" +dest_files=["res://.godot/imported/atlas.png-d1b67db71f8ef5dbf8147b83bab7c06e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png b/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png new file mode 100644 index 00000000..aa008e74 Binary files /dev/null and b/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png.import b/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png.import new file mode 100644 index 00000000..bc652a23 --- /dev/null +++ b/runtime/assets/fg3/actors/mudlamp_leech/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0dyohurdvt5e" +path="res://.godot/imported/frame-0.png-494dc8b21c5c2cea64fe2b369db8d737.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/mudlamp_leech/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-494dc8b21c5c2cea64fe2b369db8d737.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/reed_hook/atlas.png b/runtime/assets/fg3/actors/reed_hook/atlas.png new file mode 100644 index 00000000..a7083972 Binary files /dev/null and b/runtime/assets/fg3/actors/reed_hook/atlas.png differ diff --git a/runtime/assets/fg3/actors/reed_hook/atlas.png.import b/runtime/assets/fg3/actors/reed_hook/atlas.png.import new file mode 100644 index 00000000..e01d3672 --- /dev/null +++ b/runtime/assets/fg3/actors/reed_hook/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwyand17mpby3" +path="res://.godot/imported/atlas.png-37d75abb62185d7f068bf607f1de1722.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/reed_hook/atlas.png" +dest_files=["res://.godot/imported/atlas.png-37d75abb62185d7f068bf607f1de1722.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png b/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png new file mode 100644 index 00000000..a7083972 Binary files /dev/null and b/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png.import b/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png.import new file mode 100644 index 00000000..d4243471 --- /dev/null +++ b/runtime/assets/fg3/actors/reed_hook/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xh43uwy8ui3g" +path="res://.godot/imported/frame-0.png-243308c82fe0fb377c624e9114eaa3b1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/reed_hook/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-243308c82fe0fb377c624e9114eaa3b1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/silt_mimic/atlas.png b/runtime/assets/fg3/actors/silt_mimic/atlas.png new file mode 100644 index 00000000..09528b05 Binary files /dev/null and b/runtime/assets/fg3/actors/silt_mimic/atlas.png differ diff --git a/runtime/assets/fg3/actors/silt_mimic/atlas.png.import b/runtime/assets/fg3/actors/silt_mimic/atlas.png.import new file mode 100644 index 00000000..fd38a786 --- /dev/null +++ b/runtime/assets/fg3/actors/silt_mimic/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b8qqqq04t1qba" +path="res://.godot/imported/atlas.png-a06dc8a2fcd501d64fe6ca28d24df5cd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/silt_mimic/atlas.png" +dest_files=["res://.godot/imported/atlas.png-a06dc8a2fcd501d64fe6ca28d24df5cd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png b/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png new file mode 100644 index 00000000..09528b05 Binary files /dev/null and b/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png.import b/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png.import new file mode 100644 index 00000000..c53f728c --- /dev/null +++ b/runtime/assets/fg3/actors/silt_mimic/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dydpa0xdcjfih" +path="res://.godot/imported/frame-0.png-f4b5f9789569b0ba7bbc26291c936766.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/silt_mimic/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-f4b5f9789569b0ba7bbc26291c936766.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/sluice_elder/atlas.png b/runtime/assets/fg3/actors/sluice_elder/atlas.png new file mode 100644 index 00000000..f07753d0 Binary files /dev/null and b/runtime/assets/fg3/actors/sluice_elder/atlas.png differ diff --git a/runtime/assets/fg3/actors/sluice_elder/atlas.png.import b/runtime/assets/fg3/actors/sluice_elder/atlas.png.import new file mode 100644 index 00000000..56606a27 --- /dev/null +++ b/runtime/assets/fg3/actors/sluice_elder/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0uk6c7q15vso" +path="res://.godot/imported/atlas.png-30f9019d15f0c0ebbb5c35d16e438077.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/sluice_elder/atlas.png" +dest_files=["res://.godot/imported/atlas.png-30f9019d15f0c0ebbb5c35d16e438077.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png b/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png new file mode 100644 index 00000000..f07753d0 Binary files /dev/null and b/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png differ diff --git a/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png.import b/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png.import new file mode 100644 index 00000000..833a73ff --- /dev/null +++ b/runtime/assets/fg3/actors/sluice_elder/idle/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bvgfh1ytbhhq3" +path="res://.godot/imported/frame-0.png-69546417bbdcd679168968b2ddd83e7f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/actors/sluice_elder/idle/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-69546417bbdcd679168968b2ddd83e7f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/asset-manifest.json b/runtime/assets/fg3/asset-manifest.json new file mode 100644 index 00000000..c8387d24 --- /dev/null +++ b/runtime/assets/fg3/asset-manifest.json @@ -0,0 +1,999 @@ +{ + "actors": { + "EN-R2-01": { + "asset_id": "FG3-ACTOR-ENR201-01", + "atlas": "assets/fg3/actors/reed_hook/atlas.png", + "atlas_sha256": "11e939bb138e033256bcd15a1d858232f8e1e7275c129b652d3fe56111dbd82e", + "colors": 13, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/reed_hook/idle/frame-0.png", + "sha256": "11e939bb138e033256bcd15a1d858232f8e1e7275c129b652d3fe56111dbd82e" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 17, + 38 + ], + "play_size": [ + 34, + 40 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 2, + "source_rect": [ + 1024, + 0, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-02": { + "asset_id": "FG3-ACTOR-ENR202-01", + "atlas": "assets/fg3/actors/mudlamp_leech/atlas.png", + "atlas_sha256": "5b52276703264f1cef4661d333c47132ae207ffd07589fd8c45ad9f0d775fa7a", + "colors": 15, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/mudlamp_leech/idle/frame-0.png", + "sha256": "5b52276703264f1cef4661d333c47132ae207ffd07589fd8c45ad9f0d775fa7a" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 19, + 30 + ], + "play_size": [ + 38, + 32 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 3, + "source_rect": [ + 1536, + 0, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-03": { + "asset_id": "FG3-ACTOR-ENR203-01", + "atlas": "assets/fg3/actors/silt_mimic/atlas.png", + "atlas_sha256": "6d97e30319d98678e559a99ca23d6374ba6e57548d83c75d0ebd7f462af76951", + "colors": 15, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/silt_mimic/idle/frame-0.png", + "sha256": "6d97e30319d98678e559a99ca23d6374ba6e57548d83c75d0ebd7f462af76951" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 18, + 32 + ], + "play_size": [ + 36, + 34 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 4, + "source_rect": [ + 0, + 512, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-04": { + "asset_id": "FG3-ACTOR-ENR204-01", + "atlas": "assets/fg3/actors/bank_tortoise/atlas.png", + "atlas_sha256": "eb0106f9c4d9d5a5ef8439934fb9157952d14ae751a6597d463ee133cfc0cb38", + "colors": 13, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/bank_tortoise/idle/frame-0.png", + "sha256": "eb0106f9c4d9d5a5ef8439934fb9157952d14ae751a6597d463ee133cfc0cb38" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 19, + 30 + ], + "play_size": [ + 38, + 32 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 5, + "source_rect": [ + 512, + 512, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-05": { + "asset_id": "FG3-ACTOR-ENR205-01", + "atlas": "assets/fg3/actors/fen_piper/atlas.png", + "atlas_sha256": "17c5243caa9353094d463e2c423d3cb7a04fb1628f3f22ac233a97ece3458422", + "colors": 14, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/fen_piper/idle/frame-0.png", + "sha256": "17c5243caa9353094d463e2c423d3cb7a04fb1628f3f22ac233a97ece3458422" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 17, + 38 + ], + "play_size": [ + 34, + 40 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 6, + "source_rect": [ + 1024, + 512, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-06": { + "asset_id": "FG3-ACTOR-ENR206-01", + "atlas": "assets/fg3/actors/brackwater_wisp/atlas.png", + "atlas_sha256": "b6a384190e72c4692f06f156fcd5aa7eaaca34daffcf158da36cdedcde135e5e", + "colors": 12, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/brackwater_wisp/idle/frame-0.png", + "sha256": "b6a384190e72c4692f06f156fcd5aa7eaaca34daffcf158da36cdedcde135e5e" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 16, + 36 + ], + "play_size": [ + 32, + 38 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 7, + "source_rect": [ + 1536, + 512, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-07": { + "asset_id": "FG3-ACTOR-ENR207-01", + "atlas": "assets/fg3/actors/ferry_crab/atlas.png", + "atlas_sha256": "dc026eb3fe1a7d173f484040cb1f53d6ea18de98bc81a7f2f9aa590580d45432", + "colors": 14, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/ferry_crab/idle/frame-0.png", + "sha256": "dc026eb3fe1a7d173f484040cb1f53d6ea18de98bc81a7f2f9aa590580d45432" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 20, + 30 + ], + "play_size": [ + 40, + 32 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 8, + "source_rect": [ + 0, + 1024, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-08": { + "asset_id": "FG3-ACTOR-ENR208-01", + "atlas": "assets/fg3/actors/drownseed_pod/atlas.png", + "atlas_sha256": "db022b355921cf45986bb21223b93554a28ad727f2b4d818517993cd1fc64906", + "colors": 15, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/drownseed_pod/idle/frame-0.png", + "sha256": "db022b355921cf45986bb21223b93554a28ad727f2b4d818517993cd1fc64906" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 17, + 34 + ], + "play_size": [ + 34, + 36 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 9, + "source_rect": [ + 512, + 1024, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-09": { + "asset_id": "FG3-ACTOR-ENR209-01", + "atlas": "assets/fg3/actors/mire_medic/atlas.png", + "atlas_sha256": "65546f2ecd8d60584143acf5b431460cff1f3de56e3c7d9e1915172767c37227", + "colors": 16, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/mire_medic/idle/frame-0.png", + "sha256": "65546f2ecd8d60584143acf5b431460cff1f3de56e3c7d9e1915172767c37227" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 17, + 38 + ], + "play_size": [ + 34, + 40 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 10, + "source_rect": [ + 1024, + 1024, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-10": { + "asset_id": "FG3-ACTOR-ENR210-01", + "atlas": "assets/fg3/actors/fogjaw/atlas.png", + "atlas_sha256": "ff85c6bd819fda25aaef6e2e7a647b4161b11b826557d0b9ce22bf3d46d4d0b2", + "colors": 15, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/fogjaw/idle/frame-0.png", + "sha256": "ff85c6bd819fda25aaef6e2e7a647b4161b11b826557d0b9ce22bf3d46d4d0b2" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 20, + 30 + ], + "play_size": [ + 40, + 32 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 11, + "source_rect": [ + 1536, + 1024, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-11": { + "asset_id": "FG3-ACTOR-ENR211-01", + "atlas": "assets/fg3/actors/channel_widow/atlas.png", + "atlas_sha256": "4b081f844082697314665b60f25d94ee01949754ed82d917d0cf0ec40589ed15", + "colors": 14, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/channel_widow/idle/frame-0.png", + "sha256": "4b081f844082697314665b60f25d94ee01949754ed82d917d0cf0ec40589ed15" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 18, + 40 + ], + "play_size": [ + 36, + 42 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 12, + "source_rect": [ + 0, + 1536, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "EN-R2-12": { + "asset_id": "FG3-ACTOR-ENR212-01", + "atlas": "assets/fg3/actors/sluice_elder/atlas.png", + "atlas_sha256": "8dc5c979da74c61ddf2cafb763cb18f9f14c0e8af3849410b9ed131cb365e954", + "colors": 16, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/sluice_elder/idle/frame-0.png", + "sha256": "8dc5c979da74c61ddf2cafb763cb18f9f14c0e8af3849410b9ed131cb365e954" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 18, + 40 + ], + "play_size": [ + 36, + 42 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 13, + "source_rect": [ + 512, + 1536, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "PF-B07": { + "asset_id": "FG3-ACTOR-PFB07-01", + "atlas": "assets/fg3/actors/kindhand/atlas.png", + "atlas_sha256": "65fe3035eca5c9af34571a217c2b21417a4627d89ce115204d7164cf9eae29c1", + "colors": 14, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/kindhand/idle/frame-0.png", + "sha256": "65fe3035eca5c9af34571a217c2b21417a4627d89ce115204d7164cf9eae29c1" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 17, + 38 + ], + "play_size": [ + 34, + 40 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 1, + "source_rect": [ + 512, + 0, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + }, + "PF-B09": { + "asset_id": "FG3-ACTOR-PFB09-01", + "atlas": "assets/fg3/actors/coilsmith/atlas.png", + "atlas_sha256": "d47e50555be36313bfb81f241a1ffaebd19c3a017737d9db24da8067b908171b", + "colors": 14, + "fps": 1, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 72, + 72 + ], + "dimensions": [ + 72, + 72 + ], + "path": "assets/fg3/actors/coilsmith/idle/frame-0.png", + "sha256": "d47e50555be36313bfb81f241a1ffaebd19c3a017737d9db24da8067b908171b" + } + ], + "logical_grid": [ + 36, + 36 + ], + "loop": true, + "palette_size": 16, + "pivot": [ + 18, + 38 + ], + "play_size": [ + 36, + 40 + ], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "source": "docs/runtime/fg3/media/raw/rg02-company-enemy-identities.png", + "source_cell": 0, + "source_rect": [ + 0, + 0, + 512, + 512 + ], + "source_sha256": "ad87c32a9a10833e46c643f5bd3e674d55a185f6a56d43454c5d6e189b7f896a", + "state": "idle" + } + }, + "bosses": { + "BO-R2-01": { + "asset_id": "FG3-BOSS-BOR201-01", + "atlas": "assets/fg3/bosses/sluiceback_mother/atlas.png", + "atlas_sha256": "59bd4130f8312bdeb9924a0c912b16eb7796bb0bdd5d8b33ec345181abab652d", + "fps": 8, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 128, + 96 + ], + "dimensions": [ + 128, + 96 + ], + "path": "assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png", + "sha256": "7b4d908b692b0006d58129d2a689eac1d76ed369d8d049a15b562cf66bbfc700" + }, + { + "atlas_rect": [ + 128, + 0, + 128, + 96 + ], + "dimensions": [ + 128, + 96 + ], + "path": "assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png", + "sha256": "dffab279ae13c795223bb510ce94cdcb06242142357bfa466918150e1dda1fb6" + }, + { + "atlas_rect": [ + 256, + 0, + 128, + 96 + ], + "dimensions": [ + 128, + 96 + ], + "path": "assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png", + "sha256": "b67374f8bad2890311c412b796db600e7c959b1a5569c4a7518ac16ca40d71b2" + }, + { + "atlas_rect": [ + 384, + 0, + 128, + 96 + ], + "dimensions": [ + 128, + 96 + ], + "path": "assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png", + "sha256": "e1334af2cc3fe1489f31fff633659711b2a4a51f3995060811e8b561d31df67b" + } + ], + "loop": false, + "pivot": [ + 39, + 56 + ], + "play_size": [ + 78, + 58 + ], + "provider_task_id": "task_01M056P0CCPYVFS2GXD91GK7KZ", + "raw_row": "docs/runtime/fg3/media/runs/sluiceback_mother/raw/boss_action.png", + "raw_row_sha256": "ed3874938857fdfbf97d1e664ee9d50d53ae8a127daf90dcb46ae0b254905916", + "source": "docs/runtime/fg3/media/raw/rg02-boss-actions.png", + "source_row": 0, + "source_sha256": "83673b9e61be6e4e89fd61675512934fafdacb9f709f64f52b06bee9fafdb6c1", + "sprite_manifest": "docs/runtime/fg3/media/runs/sluiceback_mother/manifest.json", + "sprite_manifest_sha256": "df8240ce30e2876c0ef23d2f22e34eb34dc08b961b227a3c0edfaafd724eb80b", + "state": "boss_action" + }, + "BO-R2-02": { + "asset_id": "FG3-BOSS-BOR202-01", + "atlas": "assets/fg3/bosses/drowned_bell/atlas.png", + "atlas_sha256": "7effde6995deb22b02d9ee8e7a1f33c53840e9f68e72b0aed7fb4453320f70d2", + "fps": 8, + "frames": [ + { + "atlas_rect": [ + 0, + 0, + 96, + 96 + ], + "dimensions": [ + 96, + 96 + ], + "path": "assets/fg3/bosses/drowned_bell/boss_action/frame-0.png", + "sha256": "b823dfbb0802d78f47149be6be5fe608b2542d4652188228b2ec179e101abb17" + }, + { + "atlas_rect": [ + 96, + 0, + 96, + 96 + ], + "dimensions": [ + 96, + 96 + ], + "path": "assets/fg3/bosses/drowned_bell/boss_action/frame-1.png", + "sha256": "beaf3833d3c057b1d4e40976c58258ec3c95c94bf25d888ade160dbf1ff91cea" + }, + { + "atlas_rect": [ + 192, + 0, + 96, + 96 + ], + "dimensions": [ + 96, + 96 + ], + "path": "assets/fg3/bosses/drowned_bell/boss_action/frame-2.png", + "sha256": "1defdd06b14a857bfd42053161addf1c0e9837123760f3d5bad8b84eb390ddf2" + }, + { + "atlas_rect": [ + 288, + 0, + 96, + 96 + ], + "dimensions": [ + 96, + 96 + ], + "path": "assets/fg3/bosses/drowned_bell/boss_action/frame-3.png", + "sha256": "37ee3891f4c2c13a0993ab8e3493f95497f9a32d6f9c476102524779f5391db6" + } + ], + "loop": false, + "pivot": [ + 31, + 70 + ], + "play_size": [ + 62, + 72 + ], + "provider_task_id": "task_01M056P0CCPYVFS2GXD91GK7KZ", + "raw_row": "docs/runtime/fg3/media/runs/drowned_bell/raw/boss_action.png", + "raw_row_sha256": "8f4cafe30d7634f1f13cbf5b9ee96d0c29d0aa8bbf29b9b4b3304b13d6a91eed", + "source": "docs/runtime/fg3/media/raw/rg02-boss-actions.png", + "source_row": 1, + "source_sha256": "83673b9e61be6e4e89fd61675512934fafdacb9f709f64f52b06bee9fafdb6c1", + "sprite_manifest": "docs/runtime/fg3/media/runs/drowned_bell/manifest.json", + "sprite_manifest_sha256": "a67550ca269e97598234d667bdeff25a491a2350844c3f5141ae28bf89847659", + "state": "boss_action" + } + }, + "environment": { + "asset_id": "FG3-BG-SILTWAKE-01", + "layers": { + "background": { + "320x180": { + "cluster_pitch": 2, + "colors": 27, + "dimensions": [ + 320, + 180 + ], + "logical_source_dimensions": [ + 160, + 90 + ], + "path": "assets/fg3/environment/320x180/background.png", + "sha256": "9ca142c3191b5222a965c9b47cdb6869cc00133c1e20069a26a7cbe3718ae178" + }, + "380x180": { + "cluster_pitch": 2, + "colors": 27, + "dimensions": [ + 380, + 180 + ], + "logical_source_dimensions": [ + 190, + 90 + ], + "path": "assets/fg3/environment/380x180/background.png", + "sha256": "957df2d119fed6feab6ff56415411cdd554a5f3687e32d13b9ead679296c0e58" + }, + "422x195": { + "cluster_pitch": 2, + "colors": 28, + "dimensions": [ + 422, + 195 + ], + "logical_source_dimensions": [ + 211, + 98 + ], + "path": "assets/fg3/environment/422x195/background.png", + "sha256": "a651baaf2a4754a79e62fa93015bec0a8848988ba7431b3d7def668bea91f68a" + } + }, + "foreground": { + "320x180": { + "cluster_pitch": 2, + "colors": 24, + "dimensions": [ + 320, + 180 + ], + "logical_source_dimensions": [ + 160, + 90 + ], + "path": "assets/fg3/environment/320x180/foreground.png", + "sha256": "e0e47f4ff756004b20b7f1b49aeaf4ff1e6296686722ac1f57345c3b9685b2b9" + }, + "380x180": { + "cluster_pitch": 2, + "colors": 24, + "dimensions": [ + 380, + 180 + ], + "logical_source_dimensions": [ + 190, + 90 + ], + "path": "assets/fg3/environment/380x180/foreground.png", + "sha256": "e7cb83a8ae852fae7b84f3db6340b63add635469ccc8bb699524390a707fd930" + }, + "422x195": { + "cluster_pitch": 2, + "colors": 21, + "dimensions": [ + 422, + 195 + ], + "logical_source_dimensions": [ + 211, + 98 + ], + "path": "assets/fg3/environment/422x195/foreground.png", + "sha256": "87650ceec4c49993fd6ac1831f4e273c221fc74a011a4af539327a884350107e" + } + }, + "midground": { + "320x180": { + "cluster_pitch": 2, + "colors": 32, + "dimensions": [ + 320, + 180 + ], + "logical_source_dimensions": [ + 160, + 90 + ], + "path": "assets/fg3/environment/320x180/midground.png", + "sha256": "ed0f351651d17c575f3be4fd7dcd9537f7734fcddb8a598ec0bdccfceef07b6b" + }, + "380x180": { + "cluster_pitch": 2, + "colors": 32, + "dimensions": [ + 380, + 180 + ], + "logical_source_dimensions": [ + 190, + 90 + ], + "path": "assets/fg3/environment/380x180/midground.png", + "sha256": "7b7d4965db91a34c623439036d22b9cd2b29bc8a12d066780877215f239dbd14" + }, + "422x195": { + "cluster_pitch": 2, + "colors": 32, + "dimensions": [ + 422, + 195 + ], + "logical_source_dimensions": [ + 211, + 98 + ], + "path": "assets/fg3/environment/422x195/midground.png", + "sha256": "79ec88bdc0919393de1e329dbb6aa93966a0889c4d500f12f79c54e048d08ac8" + } + } + }, + "palette_size": 32, + "provider_task_id": "task_01M056E56CNT64A0M3VB617Z9R", + "region_id": "RG-02", + "source": "docs/runtime/fg3/media/raw/siltwake-layers.png", + "source_band_cuts": [ + 0, + 682, + 1365, + 2048 + ], + "source_dimensions": [ + 1536, + 2048 + ], + "source_sha256": "a97d4165811243391a74e65c26509c032ea0f63e7e58c8998d9f2e1ad39593e0" + }, + "filter": "nearest", + "integer_placement": true, + "kind": "abg-fg3-runtime-media", + "license": "owner-authorized original generation for Aetherbound Guild", + "version": 1 +} diff --git a/runtime/assets/fg3/bosses/drowned_bell/atlas.png b/runtime/assets/fg3/bosses/drowned_bell/atlas.png new file mode 100644 index 00000000..34242a1f Binary files /dev/null and b/runtime/assets/fg3/bosses/drowned_bell/atlas.png differ diff --git a/runtime/assets/fg3/bosses/drowned_bell/atlas.png.import b/runtime/assets/fg3/bosses/drowned_bell/atlas.png.import new file mode 100644 index 00000000..9bfe88a9 --- /dev/null +++ b/runtime/assets/fg3/bosses/drowned_bell/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dnj6fywo8otew" +path="res://.godot/imported/atlas.png-ce0bb79137360816cc27554e79aa751f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/drowned_bell/atlas.png" +dest_files=["res://.godot/imported/atlas.png-ce0bb79137360816cc27554e79aa751f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png new file mode 100644 index 00000000..b1a2d81e Binary files /dev/null and b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png differ diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png.import b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png.import new file mode 100644 index 00000000..8393daed --- /dev/null +++ b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dit3ac7ocja33" +path="res://.godot/imported/frame-0.png-1947789aa1d2c441815d08b4471faefb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/drowned_bell/boss_action/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-1947789aa1d2c441815d08b4471faefb.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png new file mode 100644 index 00000000..c3d0955d Binary files /dev/null and b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png differ diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png.import b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png.import new file mode 100644 index 00000000..682a83bd --- /dev/null +++ b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-1.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://233ca8e1c7ls" +path="res://.godot/imported/frame-1.png-b0f4911be60f13362684d6b806a7f811.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/drowned_bell/boss_action/frame-1.png" +dest_files=["res://.godot/imported/frame-1.png-b0f4911be60f13362684d6b806a7f811.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png new file mode 100644 index 00000000..603bdc25 Binary files /dev/null and b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png differ diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png.import b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png.import new file mode 100644 index 00000000..7e9618d7 --- /dev/null +++ b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-2.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cregw0os0tva0" +path="res://.godot/imported/frame-2.png-fd08a17015583b684238c3d5f4acf250.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/drowned_bell/boss_action/frame-2.png" +dest_files=["res://.godot/imported/frame-2.png-fd08a17015583b684238c3d5f4acf250.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png new file mode 100644 index 00000000..1a39854e Binary files /dev/null and b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png differ diff --git a/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png.import b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png.import new file mode 100644 index 00000000..7783a303 --- /dev/null +++ b/runtime/assets/fg3/bosses/drowned_bell/boss_action/frame-3.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://tpm4yye53sqa" +path="res://.godot/imported/frame-3.png-9032539889a34bf20b5a7f29d439d899.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/drowned_bell/boss_action/frame-3.png" +dest_files=["res://.godot/imported/frame-3.png-9032539889a34bf20b5a7f29d439d899.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png b/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png new file mode 100644 index 00000000..b095e271 Binary files /dev/null and b/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png differ diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png.import b/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png.import new file mode 100644 index 00000000..cbc74812 --- /dev/null +++ b/runtime/assets/fg3/bosses/sluiceback_mother/atlas.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dt6dp5aewt7tx" +path="res://.godot/imported/atlas.png-676bed25aa3e0688c6038d5286069870.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/sluiceback_mother/atlas.png" +dest_files=["res://.godot/imported/atlas.png-676bed25aa3e0688c6038d5286069870.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png new file mode 100644 index 00000000..fc09dac8 Binary files /dev/null and b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png differ diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png.import b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png.import new file mode 100644 index 00000000..350d08e3 --- /dev/null +++ b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpl63udcif4o8" +path="res://.godot/imported/frame-0.png-9533795943b59a88f3d409e2532ca692.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/sluiceback_mother/boss_action/frame-0.png" +dest_files=["res://.godot/imported/frame-0.png-9533795943b59a88f3d409e2532ca692.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png new file mode 100644 index 00000000..900dd0f7 Binary files /dev/null and b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png differ diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png.import b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png.import new file mode 100644 index 00000000..1093ba18 --- /dev/null +++ b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ttvi1xgo027t" +path="res://.godot/imported/frame-1.png-aa79c91d6385a103eceda5bd6b8de03d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/sluiceback_mother/boss_action/frame-1.png" +dest_files=["res://.godot/imported/frame-1.png-aa79c91d6385a103eceda5bd6b8de03d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png new file mode 100644 index 00000000..60c01456 Binary files /dev/null and b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png differ diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png.import b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png.import new file mode 100644 index 00000000..6c21c1f9 --- /dev/null +++ b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cf0xwy2nq1ba" +path="res://.godot/imported/frame-2.png-001e2e7f532cc6bfcf8f7bcb6919ce12.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/sluiceback_mother/boss_action/frame-2.png" +dest_files=["res://.godot/imported/frame-2.png-001e2e7f532cc6bfcf8f7bcb6919ce12.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png new file mode 100644 index 00000000..b3de119e Binary files /dev/null and b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png differ diff --git a/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png.import b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png.import new file mode 100644 index 00000000..7ccc2d27 --- /dev/null +++ b/runtime/assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bxgg6ha750q0f" +path="res://.godot/imported/frame-3.png-80cc8ae70b0f882ea2e6b6aa386cad45.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/bosses/sluiceback_mother/boss_action/frame-3.png" +dest_files=["res://.godot/imported/frame-3.png-80cc8ae70b0f882ea2e6b6aa386cad45.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/320x180/background.png b/runtime/assets/fg3/environment/320x180/background.png new file mode 100644 index 00000000..4aefeccf Binary files /dev/null and b/runtime/assets/fg3/environment/320x180/background.png differ diff --git a/runtime/assets/fg3/environment/320x180/background.png.import b/runtime/assets/fg3/environment/320x180/background.png.import new file mode 100644 index 00000000..0fb086e0 --- /dev/null +++ b/runtime/assets/fg3/environment/320x180/background.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bx8nf0s0fnh3m" +path="res://.godot/imported/background.png-9ebc829356a4e9eb268e08b564635b4b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/320x180/background.png" +dest_files=["res://.godot/imported/background.png-9ebc829356a4e9eb268e08b564635b4b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/320x180/foreground.png b/runtime/assets/fg3/environment/320x180/foreground.png new file mode 100644 index 00000000..0520d9e6 Binary files /dev/null and b/runtime/assets/fg3/environment/320x180/foreground.png differ diff --git a/runtime/assets/fg3/environment/320x180/foreground.png.import b/runtime/assets/fg3/environment/320x180/foreground.png.import new file mode 100644 index 00000000..16298060 --- /dev/null +++ b/runtime/assets/fg3/environment/320x180/foreground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8aa34m2cnli4" +path="res://.godot/imported/foreground.png-44999e1bdb9a35ec6a4db23857957bfb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/320x180/foreground.png" +dest_files=["res://.godot/imported/foreground.png-44999e1bdb9a35ec6a4db23857957bfb.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/320x180/midground.png b/runtime/assets/fg3/environment/320x180/midground.png new file mode 100644 index 00000000..1afb2065 Binary files /dev/null and b/runtime/assets/fg3/environment/320x180/midground.png differ diff --git a/runtime/assets/fg3/environment/320x180/midground.png.import b/runtime/assets/fg3/environment/320x180/midground.png.import new file mode 100644 index 00000000..29aa14fa --- /dev/null +++ b/runtime/assets/fg3/environment/320x180/midground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cbamejecf0lqy" +path="res://.godot/imported/midground.png-74cba7daa5bb86d7b751a2d55cceec3c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/320x180/midground.png" +dest_files=["res://.godot/imported/midground.png-74cba7daa5bb86d7b751a2d55cceec3c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/380x180/background.png b/runtime/assets/fg3/environment/380x180/background.png new file mode 100644 index 00000000..d8b8e4b9 Binary files /dev/null and b/runtime/assets/fg3/environment/380x180/background.png differ diff --git a/runtime/assets/fg3/environment/380x180/background.png.import b/runtime/assets/fg3/environment/380x180/background.png.import new file mode 100644 index 00000000..edeff421 --- /dev/null +++ b/runtime/assets/fg3/environment/380x180/background.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cv28b7e2n4cac" +path="res://.godot/imported/background.png-144f72edcdff8ef319f9f2be602445b9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/380x180/background.png" +dest_files=["res://.godot/imported/background.png-144f72edcdff8ef319f9f2be602445b9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/380x180/foreground.png b/runtime/assets/fg3/environment/380x180/foreground.png new file mode 100644 index 00000000..64ed1061 Binary files /dev/null and b/runtime/assets/fg3/environment/380x180/foreground.png differ diff --git a/runtime/assets/fg3/environment/380x180/foreground.png.import b/runtime/assets/fg3/environment/380x180/foreground.png.import new file mode 100644 index 00000000..634c2c13 --- /dev/null +++ b/runtime/assets/fg3/environment/380x180/foreground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cuqosgrx6cxb5" +path="res://.godot/imported/foreground.png-fed59c17d1c5d327ad5e3b4c94608ef0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/380x180/foreground.png" +dest_files=["res://.godot/imported/foreground.png-fed59c17d1c5d327ad5e3b4c94608ef0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/380x180/midground.png b/runtime/assets/fg3/environment/380x180/midground.png new file mode 100644 index 00000000..d89537dd Binary files /dev/null and b/runtime/assets/fg3/environment/380x180/midground.png differ diff --git a/runtime/assets/fg3/environment/380x180/midground.png.import b/runtime/assets/fg3/environment/380x180/midground.png.import new file mode 100644 index 00000000..d9009026 --- /dev/null +++ b/runtime/assets/fg3/environment/380x180/midground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cakwwqv6bm3e3" +path="res://.godot/imported/midground.png-becaf2e16aad1bc22287a931f6ee7160.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/380x180/midground.png" +dest_files=["res://.godot/imported/midground.png-becaf2e16aad1bc22287a931f6ee7160.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/422x195/background.png b/runtime/assets/fg3/environment/422x195/background.png new file mode 100644 index 00000000..2af2fd46 Binary files /dev/null and b/runtime/assets/fg3/environment/422x195/background.png differ diff --git a/runtime/assets/fg3/environment/422x195/background.png.import b/runtime/assets/fg3/environment/422x195/background.png.import new file mode 100644 index 00000000..56066c75 --- /dev/null +++ b/runtime/assets/fg3/environment/422x195/background.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cb8t4xecmp76c" +path="res://.godot/imported/background.png-d75ee73e8aa52873249d71679219ebc6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/422x195/background.png" +dest_files=["res://.godot/imported/background.png-d75ee73e8aa52873249d71679219ebc6.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/422x195/foreground.png b/runtime/assets/fg3/environment/422x195/foreground.png new file mode 100644 index 00000000..f5632de2 Binary files /dev/null and b/runtime/assets/fg3/environment/422x195/foreground.png differ diff --git a/runtime/assets/fg3/environment/422x195/foreground.png.import b/runtime/assets/fg3/environment/422x195/foreground.png.import new file mode 100644 index 00000000..3feae2c4 --- /dev/null +++ b/runtime/assets/fg3/environment/422x195/foreground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cjf2kkn2jwucu" +path="res://.godot/imported/foreground.png-ee24c86d9c56fda5c91e682af0d43be0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/422x195/foreground.png" +dest_files=["res://.godot/imported/foreground.png-ee24c86d9c56fda5c91e682af0d43be0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/assets/fg3/environment/422x195/midground.png b/runtime/assets/fg3/environment/422x195/midground.png new file mode 100644 index 00000000..ff2e2ece Binary files /dev/null and b/runtime/assets/fg3/environment/422x195/midground.png differ diff --git a/runtime/assets/fg3/environment/422x195/midground.png.import b/runtime/assets/fg3/environment/422x195/midground.png.import new file mode 100644 index 00000000..dab01be1 --- /dev/null +++ b/runtime/assets/fg3/environment/422x195/midground.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ceoidt70wqy58" +path="res://.godot/imported/midground.png-1ed2c4b972517a2e182c5d1535c161dc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/fg3/environment/422x195/midground.png" +dest_files=["res://.godot/imported/midground.png-1ed2c4b972517a2e182c5d1535c161dc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/runtime/campaign/fg2_asset_registry.gd b/runtime/campaign/fg2_asset_registry.gd index ad41e169..3d50525c 100644 --- a/runtime/campaign/fg2_asset_registry.gd +++ b/runtime/campaign/fg2_asset_registry.gd @@ -2,8 +2,10 @@ class_name ABGFG2AssetRegistry extends RefCounted const MANIFEST_PATH := "res://assets/fg2/asset-manifest.json" +const FG3_MANIFEST_PATH := "res://assets/fg3/asset-manifest.json" var manifest: Dictionary = {} +var fg3_manifest: Dictionary = {} var error_code := "" var texture_cache: Dictionary = {} @@ -20,15 +22,23 @@ func _init() -> void: manifest = parsed if String(manifest.get("kind", "")) != "abg-fg2-runtime-media": error_code = "manifest_kind_invalid" + var fg3_file := FileAccess.open(FG3_MANIFEST_PATH, FileAccess.READ) + if fg3_file != null: + var fg3_parsed = JSON.parse_string(fg3_file.get_as_text()) + if fg3_parsed is Dictionary and String(fg3_parsed.get("kind", "")) == "abg-fg3-runtime-media": + fg3_manifest = fg3_parsed func is_valid() -> bool: return error_code.is_empty() and not manifest.is_empty() -func environment_texture(layer_name: String, logical_size: Vector2i) -> Texture2D: +func environment_texture(layer_name: String, logical_size: Vector2i, region_id := "") -> Texture2D: var key := "%dx%d" % [logical_size.x, logical_size.y] var environment: Dictionary = manifest.get("environment", {}) + var fg3_environment: Dictionary = fg3_manifest.get("environment", {}) + if region_id == String(fg3_environment.get("region_id", "")): + environment = fg3_environment var layers: Dictionary = environment.get("layers", {}) var records: Dictionary = layers.get(layer_name, {}) var record: Dictionary = records.get(key, {}) @@ -36,6 +46,12 @@ func environment_texture(layer_name: String, logical_size: Vector2i) -> Texture2 func actor_record(identity_id: String) -> Dictionary: + var boss: Dictionary = Dictionary(fg3_manifest.get("bosses", {})).get(identity_id, {}) + if not boss.is_empty(): + return boss + var fg3_actor: Dictionary = Dictionary(fg3_manifest.get("actors", {})).get(identity_id, {}) + if not fg3_actor.is_empty(): + return fg3_actor return Dictionary(manifest.get("actors", {})).get(identity_id, {}) diff --git a/runtime/campaign/fg2_event_presenter.gd b/runtime/campaign/fg2_event_presenter.gd index c505edd3..6feb8ed1 100644 --- a/runtime/campaign/fg2_event_presenter.gd +++ b/runtime/campaign/fg2_event_presenter.gd @@ -171,6 +171,8 @@ func _start_motion(actor_id: String, motion: String, event_id: String) -> void: return var identity_id := String(actor_identities[actor_id]) var actor_rule: Dictionary = manifest.get("actors", {}).get(identity_id, {}) + if actor_rule.is_empty(): + actor_rule = manifest.get("static_actor", {}) var motion_rule: Dictionary = actor_rule.get("motions", {}).get(motion, {}) if motion_rule.is_empty(): return diff --git a/runtime/campaign/fg2_graybox_layer.gd b/runtime/campaign/fg2_graybox_layer.gd index 8a4e3de5..75ed9271 100644 --- a/runtime/campaign/fg2_graybox_layer.gd +++ b/runtime/campaign/fg2_graybox_layer.gd @@ -59,7 +59,9 @@ func _draw() -> void: func _draw_background() -> void: - var texture := assets.environment_texture("background", Vector2i(size)) + var region_id := String(view.get("region_id", "")) + var texture := assets.environment_texture("background", Vector2i(size), region_id) + set_meta("environment_region_id", region_id if texture != null else "fallback") if texture != null: draw_texture_rect(texture, Rect2(Vector2.ZERO, size), false) return @@ -89,7 +91,7 @@ func _draw_background() -> void: func _draw_midground() -> void: var lane_y := int(size.y * 0.69) - var texture := assets.environment_texture("midground", Vector2i(size)) + var texture := assets.environment_texture("midground", Vector2i(size), String(view.get("region_id", ""))) if texture != null: draw_texture_rect(texture, Rect2(Vector2.ZERO, size), false) else: @@ -110,6 +112,7 @@ func _draw_midground() -> void: func _draw_actors() -> void: var fallen_ghosts := 0 + set_meta("authored_actor_ids", []) if screen == "battle": var battle: Dictionary = view.get("battle", {}) var allies: Array = battle.get("allies", []) @@ -168,6 +171,10 @@ func _draw_actor(at: Vector2, actor: Dictionary, enemy: bool, index: int, reserv at += _motion_offset(motion, progress, enemy) var authored := assets.actor_frame(identity_id, int(cue.get("frame_index", _identity_frame(identity_id)))) if authored != null: + var authored_ids: Array = get_meta("authored_actor_ids", []) + if identity_id not in authored_ids: + authored_ids.append(identity_id) + set_meta("authored_actor_ids", authored_ids) var play_size := assets.actor_play_size(identity_id) var tint := Color(1, 1, 1, 0.45 if reserve else 1.0) if motion == "hit" and not bool(presentation.get("reduced_flashes", false)): @@ -196,7 +203,7 @@ func _draw_actor(at: Vector2, actor: Dictionary, enemy: bool, index: int, reserv func _draw_foreground() -> void: var lane_y := int(size.y * 0.69) - var texture := assets.environment_texture("foreground", Vector2i(size)) + var texture := assets.environment_texture("foreground", Vector2i(size), String(view.get("region_id", ""))) if texture != null: draw_texture_rect(texture, Rect2(Vector2.ZERO, size), false) else: @@ -210,9 +217,11 @@ func _draw_vfx() -> void: set_meta("active_vfx_count", 0) set_meta("result_vfx_visible", false) set_meta("recovery_vfx_visible", false) + set_meta("fg3_disclosure_vfx_count", 0) var battle: Dictionary = view.get("battle", {}) var allies: Array = battle.get("allies", []) var enemies: Array = battle.get("enemies", []) + _draw_fg3_disclosures(allies, enemies) for transient in presentation.get("transients", []): var vfx := String(transient.get("vfx", "")) if screen != "battle" and vfx != "recovery": @@ -253,6 +262,50 @@ func _draw_vfx() -> void: draw_line(target + Vector2(0, -30), target + Vector2(0, -4), GOLD * Color(1, 1, 1, fade), 2.0) +func _draw_fg3_disclosures(allies: Array, enemies: Array) -> void: + if screen != "battle" or allies.is_empty(): + return + for event in recent_events: + var kind := String(event.get("kind", "")) + var detail: Dictionary = event.get("detail", {}) + if kind in ["pulse_linked", "linked_positions_disclosed", "third_pulse_link"]: + var indices: Array = detail.get("indices", []) + if indices.size() < 2: + continue + var points: PackedVector2Array = [] + for index_value in indices: + var actor_index := clampi(int(index_value) - 1, 0, allies.size() - 1) + points.append(_battle_position(actor_index, allies.size(), false) + Vector2(0, -28)) + for point_index in range(points.size() - 1): + draw_line(points[point_index], points[point_index + 1], GOLD if kind == "third_pulse_link" else GLASS, 2.0) + for point in points: + draw_arc(point, 5, 0, TAU, 16, GOLD if kind == "third_pulse_link" else GLASS, 1.5) + _increment_fg3_vfx() + elif kind == "safe_index_forecast": + var current_index := clampi(int(detail.get("current", 1)) - 1, 0, allies.size() - 1) + var next_index := clampi(int(detail.get("next", 1)) - 1, 0, allies.size() - 1) + var current_point := _battle_position(current_index, allies.size(), false) + var next_point := _battle_position(next_index, allies.size(), false) + draw_line(current_point + Vector2(0, -38), current_point + Vector2(0, 3), GLASS, 2.0) + draw_line(current_point + Vector2(0, -34), next_point + Vector2(0, -34), GOLD, 1.5) + _increment_fg3_vfx() + elif kind == "egg_positions_disclosed": + for index_value in detail.get("positions", []): + var actor_index := clampi(int(index_value) - 1, 0, allies.size() - 1) + var point := _battle_position(actor_index, allies.size(), false) + draw_circle(point + Vector2(0, 2), 4, ENEMY.lightened(0.25)) + _increment_fg3_vfx() + elif kind in ["plan_response", "pulse_family_interrupted", "linked_actions_staggered", "eggs_cleared_on_index", "index_shifted_to_area"] and not enemies.is_empty(): + var start := _battle_position(0, allies.size(), false) + Vector2(0, -18) + var finish := _battle_position(0, enemies.size(), true) + Vector2(0, -18) + draw_line(start, finish, GOLD, 2.0) + _increment_fg3_vfx() + + +func _increment_fg3_vfx() -> void: + set_meta("fg3_disclosure_vfx_count", int(get_meta("fg3_disclosure_vfx_count", 0)) + 1) + + func _battle_position(index: int, count: int, enemy: bool) -> Vector2: var lane_y := size.y * 0.69 if enemy: diff --git a/runtime/campaign/fg3_adapter.gd b/runtime/campaign/fg3_adapter.gd new file mode 100644 index 00000000..451566cf --- /dev/null +++ b/runtime/campaign/fg3_adapter.gd @@ -0,0 +1,574 @@ +class_name ABGFG3CampaignAdapter +extends RefCounted + +const Contract1Battle = preload("res://fg3/contract1_battle_service.gd") +const Contract1Service = preload("res://fg3/contract1_service.gd") +const Contract2Activation = preload("res://fg3/contract2_service.gd") +const Contract2Battle = preload("res://fg3/contract2_battle_service.gd") +const Contract2Execution = preload("res://fg3/contract2_execution_service.gd") +const FG3Content = preload("res://fg3/content_registry.gd") +const P100Content = preload("res://p10_0/content_registry.gd") +const P103Content = preload("res://p10_3/content_registry.gd") +const State = preload("res://fg3/run_state.gd") + +const CONTRACT1_PHASES := [ + "market", "prepared", "recovery", "boss_muster", "boss_prepared", + "boss_recovery", "contract_result", +] +const CONTRACT2_PHASES := [ + "contract2_market", "contract2_prepared", "contract2_recovery", + "contract2_boss_muster", "contract2_boss_prepared", + "contract2_boss_recovery", "region_result", "region_closed", +] +const PLAN_COPY := { + "hold_line": ["稳住战线", "HOLD LINE"], + "follow_tide": ["随潮换位", "FOLLOW TIDE"], + "focus_source": ["集火源头", "FOCUS SOURCE"], + "guard_center": ["护住中段", "GUARD CENTER"], + "follow_index_clear_eggs": ["跟随安全位并清卵", "FOLLOW INDEX & CLEAR EGGS"], + "shift_hatch_area": ["引导孵化进入预备区", "SHIFT HATCH INTO AREA"], + "interrupt_pulse": ["打断脉冲", "INTERRUPT PULSE"], + "fortify_links": ["加固链接位", "FORTIFY LINKS"], + "stagger_actions": ["错开行动", "STAGGER ACTIONS"], + "reorder_line": ["重排战线", "REORDER LINE"], + "interrupt_pulse_family": ["打断一组脉冲", "INTERRUPT PULSE FAMILY"], + "durable_links_stagger": ["耐受链接并错峰行动", "DURABLE LINKS & STAGGER"], +} + +var service +var market +var valid := false +var error_code := "adapter_not_configured" +var current_battle: Dictionary = {} +var event_cursor := 0 +var operation_serial := 0 +var fg3_catalog: Dictionary = FG3Content.snapshot() +var p100_catalog: Dictionary = P100Content.snapshot() +var p103_catalog: Dictionary = P103Content.snapshot() +var profession_rows: Dictionary = P100Content.rows_by_id(p100_catalog, "professions") +var enemy_rows: Dictionary = P103Content.rows_by_id(p103_catalog, "enemies") +var boss_rows: Dictionary = FG3Content.rows_by_id(fg3_catalog, "bosses") + + +func configure(snapshot_value: Dictionary) -> Dictionary: + current_battle = {} + event_cursor = 0 + operation_serial = 0 + if not _bind(snapshot_value): + return _reject(error_code) + return { + "ok": true, + "code": "fg3_adapter_configured", + "snapshot_hash": snapshot_hash(), + "view": view_state(), + } + + +func snapshot() -> Dictionary: + return service.state.snapshot() if valid else {} + + +func snapshot_hash() -> String: + return hash_value(snapshot()) + + +func view_state(locale := "zh_CN") -> Dictionary: + if not valid: + return {} + var run: Dictionary = service.state.current_run + var phase := String(run.phase) + return { + "region_id": String(run.region_id), + "contract_id": String(run.contract_id), + "phase": phase, + "mode": _mode(phase), + "market_index": int(run.market_index), + "round_index": int(run.round_index), + "cleared_rounds": int(run.cleared_rounds), + "coin": int(run.coin), + "replacement_credit": int(run.replacement_credit), + "line_capacity": int(run.line_capacity), + "company": _company_view(run, locale), + "routes": _route_view(run, locale), + "plans": _plan_view(run, locale), + "battle": _battle_view(run, locale), + "reward": _result_view(run, locale), + "recovery_required": bool(run.recovery_required), + "recovery_cost": int(run.recovery_cost), + "boss_id": String(run.boss_muster.get("boss_id", "")), + "records_count": service.state.guild_profile.company_records.size(), + "persistent_renown": int(service.state.guild_profile.persistent_renown), + "unlocked_region_ids": Array(service.state.guild_profile.unlocked_region_ids).duplicate(), + "source_revision": int(service.state.revision), + "source_snapshot_hash": snapshot_hash(), + } + + +func prepare_route(offer_id: String, locale := "zh_CN") -> Dictionary: + if not valid: + return _reject(error_code) + var phase := String(service.state.current_run.phase) + if phase not in ["market", "contract2_market"]: + return _reject("market_required") + var result: Dictionary = service.commit_route( + _operation("prepare", offer_id), + service.state.revision, + offer_id, + String(service.state.current_run.market_board.board_hash) + ) + return _replace_from_result(result, locale) + + +func start_plan(plan_id: String, locale := "zh_CN") -> Dictionary: + if not valid: + return _reject(error_code) + var phase := String(service.state.current_run.phase) + if phase in ["boss_muster", "contract2_boss_muster"]: + var prepared: Dictionary = service.commit_boss_plan( + _operation("boss-plan", plan_id), + service.state.revision, + String(service.state.current_run.boss_muster.muster_hash), + plan_id + ) + if not prepared.ok: + return prepared + if not _bind(prepared.snapshot): + return _reject(error_code) + phase = String(service.state.current_run.phase) + if phase not in ["prepared", "contract2_prepared", "boss_prepared", "contract2_boss_prepared"]: + return _reject("prepared_state_required") + var battle_service = ( + Contract2Battle.new(snapshot()) + if phase.begins_with("contract2_") + else Contract1Battle.new(snapshot()) + ) + var battle: Dictionary = battle_service.run_to_terminal(plan_id) + if not battle.ok: + return battle + current_battle = Dictionary(battle.snapshot).duplicate(true) + event_cursor = 0 + return { + "ok": true, + "code": "fg3_battle_started", + "plan_id": plan_id, + "event_log_hash": String(current_battle.event_log_hash), + "view": view_state(locale), + } + + +func advance_battle_ticks(count: int, locale := "zh_CN") -> Dictionary: + if current_battle.is_empty(): + return _reject("battle_required") + var events: Array = current_battle.event_log + var next_cursor := mini(events.size(), event_cursor + maxi(1, count)) + var fresh: Array = events.slice(event_cursor, next_cursor) + event_cursor = next_cursor + return { + "ok": true, + "code": "fg3_battle_terminal" if event_cursor == events.size() else "fg3_battle_advanced", + "events": normalize_events(fresh), + "event_log_hash": String(current_battle.event_log_hash), + "view": view_state(locale), + } + + +func run_battle_to_terminal(locale := "zh_CN") -> Dictionary: + if current_battle.is_empty(): + return _reject("battle_required") + return advance_battle_ticks(current_battle.event_log.size() - event_cursor + 1, locale) + + +func settle_terminal(locale := "zh_CN") -> Dictionary: + if current_battle.is_empty() or event_cursor < current_battle.event_log.size(): + return _reject("visible_terminal_required") + var operation_id := _operation("settle", String(current_battle.snapshot_hash)) + var result: Dictionary + if String(current_battle.kind) in ["fg3_contract1_boss", "fg3_contract2_boss"]: + result = service.settle_boss(operation_id, service.state.revision, current_battle) + else: + result = service.settle_route(operation_id, service.state.revision, current_battle) + if not result.ok: + return result + current_battle = {} + event_cursor = 0 + return _replace_from_result(result, locale) + + +func continue_result(locale := "zh_CN") -> Dictionary: + if not valid: + return _reject(error_code) + var phase := String(service.state.current_run.phase) + var result: Dictionary + if phase == "contract_result": + result = service.close_contract( + _operation("close-contract1", "CLEAR-RG02-C01"), + service.state.revision, + String(service.state.current_run.pending_boss_result.close_id) + ) + elif phase == "contract2_handoff": + result = service.activate_contract( + _operation("activate-contract2", "CTR-R2-02"), + service.state.revision, + String(service.state.current_run.market_board.handoff_hash) + ) + elif phase == "region_result": + result = service.close_region( + _operation("close-region", "RG-02"), + service.state.revision, + String(service.state.current_run.pending_boss_result.close_id) + ) + else: + return _reject("result_state_required") + return _replace_from_result(result, locale) + + +func recover(locale := "zh_CN") -> Dictionary: + if not valid: + return _reject(error_code) + var run: Dictionary = service.state.current_run + var phase := String(run.phase) + var result: Dictionary + if phase in ["recovery", "contract2_recovery"]: + result = service.recover_route( + _operation("recover-route", String(run.last_battle_report.battle_hash)), + service.state.revision, + String(run.last_battle_report.battle_hash), + int(run.recovery_cost) + ) + elif phase in ["boss_recovery", "contract2_boss_recovery"]: + result = service.recover_boss( + _operation("recover-boss", String(run.pending_boss_result.battle_hash)), + service.state.revision, + String(run.pending_boss_result.battle_hash), + int(run.recovery_cost) + ) + else: + return _reject("recovery_state_required") + return _replace_from_result(result, locale) + + +func commit_order(_ordered_recruit_ids: Array) -> Dictionary: + return _reject("formation_authority_frozen") + + +func normalize_events(events: Array) -> Array[Dictionary]: + var normalized: Array[Dictionary] = [] + for raw_event in events: + if not raw_event is Dictionary: + continue + var event: Dictionary = raw_event + var authority_kind := String(event.get("kind", "")) + var kind: String = String({ + "wave_entered": "wave_arrived", + "authoritative_damage": "damage", + "battle_terminal": "outcome", + "boss_terminal": "outcome", + }.get(authority_kind, authority_kind)) + var detail: Dictionary = Dictionary(event.get("payload", {})).duplicate(true) + detail["authority_kind"] = authority_kind + if kind == "damage": + detail["raw"] = int(detail.get("amount", 0)) + detail["effective"] = int(detail.get("amount", 0)) + if kind == "outcome": + detail["outcome"] = String(detail.get("outcome", current_battle.get("outcome", ""))) + normalized.append({ + "event_id": String(event.get("event_id", "")), + "tick": int(event.get("tick", 0)), + "kind": String(kind), + "source_id": String(event.get("source_id", "")), + "target_id": String(event.get("target_id", "")), + "detail": detail, + }) + return normalized + + +static func hash_value(value) -> String: + return JSON.stringify(_canonical(value)).sha256_text() + + +func _bind(snapshot_value: Dictionary) -> bool: + var probe := State.new() + if not probe.restore_snapshot(snapshot_value): + valid = false + error_code = "invalid_fg3_snapshot" + return false + var phase := String(probe.current_run.phase) + if phase == "contract2_handoff": + service = Contract2Activation.new(snapshot_value) + elif phase in CONTRACT2_PHASES: + service = Contract2Execution.new(snapshot_value) + elif phase in CONTRACT1_PHASES: + service = Contract1Service.new(snapshot_value) + else: + valid = false + error_code = "unsupported_fg3_phase:%s" % phase + return false + market = service + valid = bool(service.valid) + error_code = "" if valid else String(service.error_code) + return valid + + +func _replace_from_result(result: Dictionary, locale: String) -> Dictionary: + if not bool(result.get("ok", false)): + return result + if not _bind(Dictionary(result.snapshot)): + return _reject(error_code) + var forwarded := result.duplicate(true) + forwarded["view"] = view_state(locale) + return forwarded + + +func _mode(phase: String) -> String: + if phase in ["market", "contract2_market"]: + return "market" + if phase in ["prepared", "contract2_prepared"]: + return "plan" + if phase in ["boss_muster", "contract2_boss_muster"]: + return "boss_muster" + if phase in ["boss_prepared", "contract2_boss_prepared"]: + return "boss_plan" + if phase in ["recovery", "contract2_recovery", "boss_recovery", "contract2_boss_recovery"]: + return "recovery" + if phase == "contract_result": + return "contract_record" + if phase == "contract2_handoff": + return "contract_handoff" + if phase == "region_result": + return "region_record" + if phase == "region_closed": + return "region_closed" + return "battle" if not current_battle.is_empty() else "unknown" + + +func _company_view(run: Dictionary, locale: String) -> Array[Dictionary]: + var rows: Array[Dictionary] = [] + for recruit_id_value in run.company: + var recruit_id := String(recruit_id_value) + var record: Dictionary = run.recruit_records[recruit_id] + var profession_id := String(record.profession_id) + var profession: Dictionary = profession_rows.get(profession_id, {}) + rows.append({ + "recruit_id": recruit_id, + "actor_id": recruit_id, + "identity_id": profession_id, + "profession_id": profession_id, + "profession_name": String(profession.get("name", profession_id)), + "trait_id": String(record.trait_id), + "level": int(record.level), + "hp": int(record.current_hp), + "max_hp": int(record.max_hp), + "guard": 0, + "deployed": recruit_id in run.deployed_recruit_ids, + "locale": locale, + }) + return rows + + +func _route_view(run: Dictionary, locale: String) -> Array[Dictionary]: + if String(run.phase) not in ["market", "contract2_market"]: + return [] + var rows: Array[Dictionary] = [] + for offer_value in run.market_board.battle_offers: + var offer: Dictionary = offer_value + var enemy_names: Array[String] = [] + for enemy_id in offer.enemy_ids: + var enemy: Dictionary = enemy_rows.get(String(enemy_id), {}) + enemy_names.append(_localized(enemy, locale, String(enemy_id))) + rows.append({ + "offer_id": String(offer.offer_id), + "route_id": String(offer.route_id), + "name": _localized(offer, locale, String(offer.route_id)), + "risk": int(offer.risk), + "wave_count": offer.enemy_ids.size(), + "enemy_ids": Array(offer.enemy_ids).duplicate(), + "enemy_names": enemy_names, + "preview": String(offer.get("preview", "")), + "failure_cause": String(offer.get("failure_cause", "")), + "reward_coin": int(offer.reward_coin), + "recovery_coin": int(offer.recovery_coin), + }) + return rows + + +func _plan_view(run: Dictionary, locale: String) -> Array[Dictionary]: + var phase := String(run.phase) + var ids: Array = [] + var primary := "" + var secondary := "" + if phase in ["prepared", "contract2_prepared"]: + if phase == "prepared": + ids = Array(Contract1Battle.PLAN_IDS).duplicate() + primary = String(Contract1Battle.PREFERRED_PLAN.get(String(run.pending_encounter.route_id), "")) + else: + ids = Array(Contract2Battle.PLAN_IDS).duplicate() + var market_index := int(run.pending_encounter.round_index) + primary = String(Contract2Battle.PRIMARY_PLAN[market_index]) + secondary = String(Contract2Battle.SECONDARY_PLAN[market_index]) + elif phase in ["boss_muster", "contract2_boss_muster"]: + ids = Array(run.boss_muster.plan_ids).duplicate() + else: + return [] + var rows: Array[Dictionary] = [] + for plan_id_value in ids: + var plan_id := String(plan_id_value) + var copy: Array = PLAN_COPY.get(plan_id, [plan_id, plan_id]) + rows.append({ + "plan_id": plan_id, + "offer_id": plan_id, + "name": String(copy[1] if locale == "en" else copy[0]), + "primary": plan_id == primary, + "secondary": plan_id == secondary, + }) + return rows + + +func _battle_view(run: Dictionary, locale: String) -> Dictionary: + if current_battle.is_empty(): + return {} + var allies: Array[Dictionary] = [] + var hp_by_actor := {} + for recruit_id_value in current_battle.final_order: + var recruit_id := String(recruit_id_value) + var actor: Dictionary = current_battle.actors[recruit_id] + hp_by_actor[recruit_id] = int(actor.hp_before) + for event in Array(current_battle.event_log).slice(0, event_cursor): + if String(event.get("kind", "")) == "authoritative_damage": + hp_by_actor[String(event.target_id)] = int(event.payload.hp_after) + for index in range(current_battle.final_order.size()): + var recruit_id := String(current_battle.final_order[index]) + var actor: Dictionary = current_battle.actors[recruit_id] + var profession_id := String(actor.profession_id) + var profession: Dictionary = profession_rows.get(profession_id, {}) + allies.append({ + "actor_id": recruit_id, + "identity_id": profession_id, + "profession_id": profession_id, + "profession_name": String(profession.get("name", profession_id)), + "hp": int(hp_by_actor[recruit_id]), + "max_hp": int(actor.max_hp), + "guard": 0, + "slot_index": index, + }) + var enemy_ids: Array = [] + if String(current_battle.get("boss_id", "")).is_empty(): + enemy_ids = Array(run.pending_encounter.enemy_ids).duplicate() + else: + enemy_ids = [String(current_battle.boss_id)] + var enemies: Array[Dictionary] = [] + for index in range(enemy_ids.size()): + var enemy_id := String(enemy_ids[index]) + var row: Dictionary = boss_rows.get(enemy_id, enemy_rows.get(enemy_id, {})) + enemies.append({ + "actor_id": enemy_id, + "identity_id": enemy_id, + "name": _localized(row, locale, enemy_id), + "hp": 1, + "max_hp": 1, + "guard": 0, + "slot_index": index, + }) + var revealed: Array = Array(current_battle.event_log).slice(0, event_cursor) + var terminal: bool = event_cursor >= current_battle.event_log.size() + var decisive: Dictionary = {} + for event in normalize_events(revealed): + if bool(event.detail.get("decisive", false)) or String(event.kind) in ["outcome", "plan_response"]: + decisive = event + break + return { + "allies": allies, + "enemies": enemies, + "terminal": terminal, + "outcome": String(current_battle.outcome) if terminal else "", + "cause": String(current_battle.cause) if terminal else "", + "next_wave": mini(enemy_ids.size(), _event_count(revealed, "wave_entered") + 1), + "wave_count": enemy_ids.size(), + "first_decisive_event": decisive, + "fallen_recruit_ids": Array(current_battle.fallen_recruit_ids).duplicate() if terminal else [], + "event_count": event_cursor, + "event_log_hash": String(current_battle.event_log_hash), + "plan_id": String(current_battle.plan_id), + "boss_id": String(current_battle.get("boss_id", "")), + } + + +func _result_view(run: Dictionary, locale: String) -> Dictionary: + var phase := String(run.phase) + if phase == "contract_result": + return { + "kind": "contract_record", + "title": _text(locale, "第一份沼泽契约已记录", "FIRST SILTWAKE CONTRACT RECORDED"), + "body": _text(locale, "幸存队伍继续进入第二份契约。", "THE SURVIVING COMPANY CONTINUES INTO CONTRACT TWO."), + "renown": 16, + "action": _text(locale, "写入第一份记录", "WRITE FIRST RECORD"), + } + if phase == "contract2_handoff": + return { + "kind": "contract_handoff", + "title": _text(locale, "第二份契约已开放", "CONTRACT TWO IS OPEN"), + "body": _text(locale, "保留当前成员、生命、装备与神器,进入十二轮钟潮战线。", "KEEP COMPANY, HP, EQUIPMENT AND ARTIFACT FOR TWELVE BELL-TIDE ROUNDS."), + "action": _text(locale, "进入第二份契约", "ENTER CONTRACT TWO"), + } + if phase == "region_result": + return { + "kind": "region_record", + "title": _text(locale, "溺钟已沉默", "THE DROWNED BELL IS SILENT"), + "body": _text(locale, "第二份记录与 20 声望等待写入。", "THE SECOND RECORD AND 20 RENOWN ARE READY."), + "renown": 20, + "action": _text(locale, "完成淤潮沼泽", "COMPLETE SILTWAKE"), + } + if phase == "region_closed": + return { + "kind": "region_closed", + "title": _text(locale, "淤潮沼泽已修复", "SILTWAKE RESTORED"), + "body": _text(locale, "两份队伍记录已保存,余烬织境 RG-03 已开放。", "TWO COMPANY RECORDS SAVED; EMBERLOOM RG-03 UNLOCKED."), + "action": "", + } + return {} + + +func _operation(kind: String, target: String) -> String: + operation_serial += 1 + return "fg3-runtime-%s-%d-%s" % [kind, operation_serial, target.sha256_text().substr(0, 8)] + + +func _localized(row: Dictionary, locale: String, fallback: String) -> String: + return String(row.get("name_en", fallback)) if locale == "en" else String(row.get("name_zh", fallback)) + + +func _text(locale: String, zh: String, en: String) -> String: + return en if locale == "en" else zh + + +func _event_count(events: Array, kind: String) -> int: + var count := 0 + for event in events: + if String(event.get("kind", "")) == kind: + count += 1 + return count + + +func _reject(code: String) -> Dictionary: + return { + "ok": false, + "code": code, + "view": view_state() if valid else {}, + } + + +static func _canonical(value): + if value is float and is_equal_approx(value, round(value)): + return int(round(value)) + if value is Dictionary: + var result := {} + var keys: Array = value.keys() + keys.sort_custom(func(left, right): return String(left) < String(right)) + for key in keys: + result[key] = _canonical(value[key]) + return result + if value is Array: + var result: Array = [] + for item in value: + result.append(_canonical(item)) + return result + return value diff --git a/runtime/campaign/fg3_adapter.gd.uid b/runtime/campaign/fg3_adapter.gd.uid new file mode 100644 index 00000000..d289d286 --- /dev/null +++ b/runtime/campaign/fg3_adapter.gd.uid @@ -0,0 +1 @@ +uid://drgngj7w3a4ne diff --git a/runtime/campaign/fg3_runtime_controller.gd b/runtime/campaign/fg3_runtime_controller.gd new file mode 100644 index 00000000..a26b2f32 --- /dev/null +++ b/runtime/campaign/fg3_runtime_controller.gd @@ -0,0 +1,266 @@ +class_name ABGFG3RuntimeController +extends ABGFG2GrayboxController + +const FG3Adapter = preload("res://campaign/fg3_adapter.gd") + + +func _init() -> void: + adapter = FG3Adapter.new() + + +func _initialize_entry() -> void: + var source := pending_snapshot + if source.is_empty(): + last_code = "fg3_snapshot_required" + return + var result: Dictionary = adapter.configure(source) + last_code = String(result.get("code", "configure_failed")) + if not bool(result.get("ok", false)): + return + view = adapter.view_state(locale) + _sync_screen_from_view() + selected_route_id = _default_selection() + battle_result_visible = bool(view.get("battle", {}).get("terminal", false)) + persistent_change_visible = int(view.get("cleared_rounds", 0)) >= 12 + last_events.clear() + presented_event_counts.clear() + event_presenter.reset(view, reduced_motion, reduced_flashes, low_power) + audio_router.reset(muted, low_power, screen == SCREEN_BATTLE) + _build_world() + _request_render() + + +func _depart_pressed() -> void: + var mode := String(view.get("mode", "")) + if mode == "market": + if selected_route_id.is_empty(): + last_code = "route_required" + _update_status() + return + var prepared: Dictionary = adapter.prepare_route(selected_route_id, locale) + last_code = String(prepared.get("code", "route_prepare_failed")) + if not bool(prepared.get("ok", false)): + _update_status() + return + var receipt: Dictionary = prepared.get("receipt", {}) + var operation_id := String(receipt.get("operation_id", "")) + if not operation_id.is_empty(): + _consume_events([{ + "event_id": operation_id, + "kind": "route_committed", + "source_id": selected_route_id, + "target_id": String(view.get("contract_id", "")), + "detail": {"offer_id": selected_route_id}, + }]) + view = adapter.view_state(locale) + selected_route_id = _default_selection() + _sync_screen_from_view() + _request_render() + return + if mode not in ["plan", "boss_muster"]: + last_code = "plan_state_required" + _update_status() + return + if selected_route_id.is_empty(): + last_code = "plan_required" + _update_status() + return + var started: Dictionary = adapter.start_plan(selected_route_id, locale) + last_code = String(started.get("code", "battle_start_failed")) + if not bool(started.get("ok", false)): + _update_status() + return + view = adapter.view_state(locale) + screen = SCREEN_BATTLE + battle_result_visible = false + battle_paused = false + battle_accumulator = 0.0 + last_events.clear() + presented_event_counts.clear() + event_presenter.reset(view, reduced_motion, reduced_flashes, low_power) + event_presenter.begin_battle(view) + audio_router.set_scene(true) + var plan_event_id := String(started.get("event_log_hash", "")) + if not plan_event_id.is_empty(): + _consume_events([{ + "event_id": "plan-%s" % plan_event_id, + "kind": "plan_committed", + "source_id": selected_route_id, + "target_id": String(view.get("boss_id", view.get("contract_id", ""))), + "detail": {"plan_id": selected_route_id}, + }]) + _request_render() + + +func _reward_pressed() -> void: + var result: Dictionary = adapter.continue_result(locale) + last_code = String(result.get("code", "result_continue_failed")) + if not bool(result.get("ok", false)): + _update_status() + return + view = adapter.view_state(locale) + _sync_screen_from_view() + selected_route_id = _default_selection() + event_presenter.reset(view, reduced_motion, reduced_flashes, low_power) + audio_router.set_scene(false) + _request_render() + + +func _recovery_pressed() -> void: + var result: Dictionary = adapter.recover(locale) + last_code = String(result.get("code", "recovery_failed")) + if not bool(result.get("ok", false)): + _update_status() + return + view = adapter.view_state(locale) + _sync_screen_from_view() + selected_route_id = _default_selection() + event_presenter.reset(view, reduced_motion, reduced_flashes, low_power) + var receipt: Dictionary = result.get("receipt", {}) + var operation_id := String(receipt.get("operation_id", "")) + var company: Array = view.get("company", []) + var target_id := String(company[0].get("recruit_id", "")) if not company.is_empty() else "line" + if not operation_id.is_empty(): + _consume_events([{ + "event_id": operation_id, + "kind": "recovery", + "source_id": "system", + "target_id": target_id, + "detail": {"coin_cost": int(receipt.get("coin_cost", 0))}, + }]) + _request_render() + + +func _commit_drag_order(_source_id: String, _target_id: String) -> void: + last_code = "formation_authority_frozen" + _update_status() + + +func _render_market_controls() -> void: + var mode := String(view.get("mode", "")) + if mode == "region_closed": + var result: Dictionary = view.get("reward", {}) + _label("FG3ClosedTitle", String(result.get("title", "")), Vector2(size.x * 0.16, size.y * 0.22), Vector2(size.x * 0.68, 42), 24, GOLD, HORIZONTAL_ALIGNMENT_CENTER) + _label("FG3ClosedBody", String(result.get("body", "")), Vector2(size.x * 0.14, size.y * 0.36), Vector2(size.x * 0.72, 52), 15, TEXT, HORIZONTAL_ALIGNMENT_CENTER) + return + var options: Array = view.get("routes", []) if mode == "market" else view.get("plans", []) + var count := maxi(1, options.size()) + var button_width := clampf((size.x - 32.0 - 8.0 * float(count - 1)) / float(count), 112.0, 196.0) + var total_width := button_width * options.size() + 8.0 * maxi(0, options.size() - 1) + var start_x := maxf(16.0, (size.x - total_width) * 0.5) + for index in range(options.size()): + var option: Dictionary = options[index] + var offer_id := String(option.get("offer_id", option.get("plan_id", ""))) + var text := String(option.get("name", offer_id)) + var danger := mode == "market" and int(option.get("risk", 0)) == 2 + var selected := offer_id == selected_route_id + var button := _button( + "FG3Option_%s" % offer_id, + text, + Rect2(start_x + index * (button_width + 8), size.y - 122, button_width, 52), + _route_pressed.bind(offer_id), + selected, + danger + ) + button.tooltip_text = ( + ", ".join(option.get("enemy_names", [])) + if mode == "market" + else _tr("主响应" if bool(option.get("primary", false)) else "备选响应", "PRIMARY" if bool(option.get("primary", false)) else "ALTERNATE") + ) + var action_text := _tr("确认路线", "CONFIRM ROUTE") if mode == "market" else _tr("执行方案", "EXECUTE PLAN") + if mode == "boss_muster": + action_text = _tr("迎战首领", "FACE THE BOSS") + _button("FG3ContinueButton", action_text, Rect2(size.x - 198, size.y - 62, 182, 52), _depart_pressed, true) + _button("FG3InspectButton", _tr("查看队伍", "INSPECT COMPANY"), Rect2(16, size.y - 60, 148, 48), _inspect_pressed) + + +func _render_reward_controls() -> void: + var result: Dictionary = view.get("reward", {}) + _label("FG3RecordHeadline", String(result.get("title", "")), Vector2(size.x * 0.16, size.y * 0.22), Vector2(size.x * 0.68, 42), 24, GOLD, HORIZONTAL_ALIGNMENT_CENTER) + _label("FG3RecordBody", String(result.get("body", "")), Vector2(size.x * 0.13, size.y * 0.35), Vector2(size.x * 0.74, 54), 14, TEXT, HORIZONTAL_ALIGNMENT_CENTER) + var action := String(result.get("action", "")) + if not action.is_empty(): + _button("FG3RecordButton", action, Rect2(size.x * 0.5 - 125, size.y - 92, 250, 56), _reward_pressed, true) + + +func _render_recovery_controls() -> void: + _label("FG3RecoveryHeadline", _tr("战线出现永久缺口", "THE LINE HAS A PERMANENT GAP"), Vector2(size.x * 0.18, size.y * 0.22), Vector2(size.x * 0.64, 38), 22, DANGER, HORIZONTAL_ALIGNMENT_CENTER) + _label("FG3RecoveryCause", _tr("阵亡成员不会复活。支付 %d 金币后,以相同情报重新部署幸存者。" % int(view.get("recovery_cost", 0)), "FALLEN RECRUITS DO NOT RETURN. PAY %d COIN TO REDEPLOY SURVIVORS WITH THE SAME INTEL." % int(view.get("recovery_cost", 0))), Vector2(size.x * 0.12, size.y * 0.34), Vector2(size.x * 0.76, 54), 14, TEXT, HORIZONTAL_ALIGNMENT_CENTER) + _button("FG3RecoveryButton", _tr("支付并重新部署", "PAY & REDEPLOY"), Rect2(size.x * 0.5 - 120, size.y - 92, 240, 56), _recovery_pressed, true) + + +func _title_text() -> String: + var mode := String(view.get("mode", "")) + var contract_label := _tr("第一契约", "CONTRACT ONE") if String(view.get("contract_id", "")) == "CTR-R2-01" else _tr("第二契约", "CONTRACT TWO") + if screen == SCREEN_BATTLE: + var boss_id := String(view.get("battle", {}).get("boss_id", "")) + if boss_id == "BO-R2-01": + return _tr("水闸背母兽 · 自动交战", "SLUICEBACK MOTHER · AUTO BATTLE") + if boss_id == "BO-R2-02": + return _tr("溺水钟 · 自动交战", "THE DROWNED BELL · AUTO BATTLE") + return _tr("淤潮沼泽 · 自动交战", "SILTWAKE FENS · AUTO BATTLE") + if screen == SCREEN_RECOVERY: + return _tr("淤潮战线恢复", "SILTWAKE LINE RECOVERY") + if screen == SCREEN_REWARD: + return _tr("队伍记录", "COMPANY RECORD") + if mode == "region_closed": + return _tr("淤潮沼泽 · 区域完成", "SILTWAKE FENS · REGION COMPLETE") + if mode == "boss_muster": + return _tr("%s · 首领集结" % contract_label, "%s · BOSS MUSTER" % contract_label) + if mode == "plan": + return _tr("%s · 选择应对方案" % contract_label, "%s · CHOOSE RESPONSE" % contract_label) + return _tr("淤潮沼泽 %s · 市场 %d" % [contract_label, int(view.get("market_index", 1))], "SILTWAKE %s · MARKET %d" % [contract_label, int(view.get("market_index", 1))]) + + +func _status_text() -> String: + var mode := String(view.get("mode", "")) + if screen == SCREEN_BATTLE: + var battle: Dictionary = view.get("battle", {}) + if bool(battle.get("terminal", false)): + return _tr("结果:%s · 决定性因果已记录" % _outcome_label(String(battle.get("outcome", ""))), "RESULT: %s · DECISIVE CAUSE RECORDED" % _outcome_label(String(battle.get("outcome", "")))) + return _tr("事件 %d · 自动战斗 · 可暂停检查" % int(battle.get("event_count", 0)), "EVENT %d · AUTO BATTLE · PAUSE TO INSPECT" % int(battle.get("event_count", 0))) + if screen == SCREEN_RECOVERY: + return _tr("幸存 %d 人 · 金币 %d · 恢复花费 %d" % [view.get("company", []).size(), int(view.get("coin", 0)), int(view.get("recovery_cost", 0))], "%d SURVIVORS · %d COIN · RECOVERY COST %d" % [view.get("company", []).size(), int(view.get("coin", 0)), int(view.get("recovery_cost", 0))]) + if screen == SCREEN_REWARD: + return _tr("记录、声望与区域开放只写入一次", "RECORD, RENOWN AND REGION UNLOCK COMMIT ONCE") + if mode == "region_closed": + return _tr("两份记录已保存 · RG-03 已开放", "TWO RECORDS SAVED · RG-03 UNLOCKED") + var selected := _selected_option() + if selected.is_empty(): + return _tr("选择一个可见路线或应对方案", "CHOOSE A VISIBLE ROUTE OR RESPONSE") + if mode == "market": + return _tr("风险 %d · %d 波 · 奖励 %d 金币" % [int(selected.get("risk", 0)), int(selected.get("wave_count", 0)), int(selected.get("reward_coin", 0))], "RISK %d · %d WAVES · %d COIN" % [int(selected.get("risk", 0)), int(selected.get("wave_count", 0)), int(selected.get("reward_coin", 0))]) + return _tr("已选方案:%s" % String(selected.get("name", "")), "SELECTED PLAN: %s" % String(selected.get("name", ""))) + + +func _sync_screen_from_view() -> void: + match String(view.get("mode", "")): + "battle": + screen = SCREEN_BATTLE + "recovery": + screen = SCREEN_RECOVERY + "contract_record", "contract_handoff", "region_record": + screen = SCREEN_REWARD + _: + screen = SCREEN_MARKET + + +func _default_selection() -> String: + var mode := String(view.get("mode", "")) + var options: Array = view.get("routes", []) if mode == "market" else view.get("plans", []) + if options.is_empty(): + return "" + for option in options: + if int(option.get("risk", -1)) == 0 or bool(option.get("primary", false)): + return String(option.get("offer_id", option.get("plan_id", ""))) + return String(options[0].get("offer_id", options[0].get("plan_id", ""))) + + +func _selected_option() -> Dictionary: + for option in view.get("routes", []): + if String(option.get("offer_id", "")) == selected_route_id: + return option + for option in view.get("plans", []): + if String(option.get("plan_id", "")) == selected_route_id: + return option + return {} diff --git a/runtime/campaign/fg3_runtime_controller.gd.uid b/runtime/campaign/fg3_runtime_controller.gd.uid new file mode 100644 index 00000000..b9fea625 --- /dev/null +++ b/runtime/campaign/fg3_runtime_controller.gd.uid @@ -0,0 +1 @@ +uid://bhf8nwa76oc5g diff --git a/runtime/tests/fg3/campaign_adapter_test.gd b/runtime/tests/fg3/campaign_adapter_test.gd new file mode 100644 index 00000000..ae90f5b0 --- /dev/null +++ b/runtime/tests/fg3/campaign_adapter_test.gd @@ -0,0 +1,108 @@ +extends SceneTree + +const Adapter = preload("res://campaign/fg3_adapter.gd") +const Contract1Battle = preload("res://fg3/contract1_battle_service.gd") +const Contract2Battle = preload("res://fg3/contract2_battle_service.gd") +const Fixture = preload("res://tests/fg3/contract1_fixture.gd") + +var failures: Array[String] = [] + + +func _initialize() -> void: + call_deferred("run_test") + + +func run_test() -> void: + verify_complete_region_flow() + verify_recovery_flow() + if failures.is_empty(): + print("ABG_FG3_CAMPAIGN_ADAPTER_OK market8_to_rg03=true rounds=17 bosses=2 records=2 modes=market,plan,battle,recovery,record,handoff,closed events=source_bound save_authority=unchanged") + quit(0) + else: + for failure in failures: + push_error(failure) + quit(1) + + +func verify_complete_region_flow() -> void: + var source := Fixture.new().fg3_market_8_snapshot() + var source_hash := Adapter.hash_value(source) + var adapter := Adapter.new() + var configured := adapter.configure(source) + expect(configured.ok and configured.view.mode == "market" and configured.view.market_index == 8, "real saved Market 8 configures") + expect(Adapter.hash_value(source) == source_hash, "adapter never mutates caller snapshot") + if not configured.ok: + return + for market_index in [8, 9, 10, 11, 12]: + var route: Dictionary = adapter.view_state().routes[0] + var prepared := adapter.prepare_route(String(route.offer_id)) + expect(prepared.ok and prepared.view.mode == "plan", "Contract 1 Market %d opens response plans" % market_index) + var plan_id := String(Contract1Battle.PREFERRED_PLAN[String(route.route_id)]) + var started := adapter.start_plan(plan_id) + expect(started.ok, "Contract 1 Market %d starts authoritative battle" % market_index) + var terminal := adapter.run_battle_to_terminal() + expect(terminal.ok and terminal.view.battle.terminal and terminal.view.battle.outcome == "victory", "Contract 1 Market %d reaches visible victory" % market_index) + expect(has_kind(terminal.events, "wave_arrived") and has_kind(terminal.events, "damage") and has_kind(terminal.events, "outcome"), "Contract 1 Market %d forwards event-bound presentation" % market_index) + var settled := adapter.settle_terminal() + expect(settled.ok, "Contract 1 Market %d settles" % market_index) + expect(adapter.view_state().mode == "boss_muster" and adapter.view_state().plans.size() == 2, "Sluiceback Muster exposes two plans") + expect(adapter.start_plan("follow_index_clear_eggs").ok, "first Boss plan starts") + expect(adapter.run_battle_to_terminal().view.battle.outcome == "victory", "Sluiceback reaches visible victory") + expect(adapter.settle_terminal().view.mode == "contract_record", "first Boss opens first Record") + expect(adapter.continue_result().view.mode == "contract_handoff", "first Record closes into explicit handoff") + expect(adapter.continue_result().view.mode == "market", "handoff opens Contract-2 Market 1") + for market_index in range(1, 13): + var route: Dictionary = adapter.view_state().routes[0] + expect(adapter.prepare_route(String(route.offer_id)).ok, "Contract 2 Market %d prepares" % market_index) + var plan_id := String(Contract2Battle.PRIMARY_PLAN[market_index]) + expect(adapter.start_plan(plan_id).ok, "Contract 2 Market %d starts" % market_index) + var terminal := adapter.run_battle_to_terminal() + expect(terminal.view.battle.outcome == "victory", "Contract 2 Market %d reaches visible victory" % market_index) + expect(adapter.settle_terminal().ok, "Contract 2 Market %d settles" % market_index) + expect(adapter.view_state().mode == "boss_muster" and adapter.view_state().boss_id == "BO-R2-02", "Drowned Bell Muster is distinct") + expect(adapter.start_plan("interrupt_pulse_family").ok, "Drowned Bell interrupt plan starts") + var bell_terminal := adapter.run_battle_to_terminal() + expect(bell_terminal.view.battle.outcome == "victory", "Drowned Bell reaches visible victory") + expect(has_kind(bell_terminal.events, "linked_positions_disclosed") and has_kind(bell_terminal.events, "third_pulse_link"), "Drowned Bell forwards pair and triple disclosures") + expect(adapter.settle_terminal().view.mode == "region_record", "Drowned Bell opens second Record") + var closed := adapter.continue_result() + expect(closed.ok and closed.view.mode == "region_closed", "Region result closes visibly") + expect(closed.view.records_count == 2 and closed.view.unlocked_region_ids.count("RG-03") == 1, "two Records and RG-03 persist exactly once") + + +func verify_recovery_flow() -> void: + var snapshot := Fixture.new().fg3_market_8_snapshot() + var company: Array = Array(snapshot.current_run.company).duplicate() + var deployed_count := mini(4, company.size()) + snapshot.current_run.deployed_recruit_ids = company.slice(0, deployed_count) + snapshot.current_run.reserve_recruit_ids = company.slice(deployed_count) + snapshot.current_run.formation_proposal = company.slice(0, deployed_count) + var adapter := Adapter.new() + expect(adapter.configure(snapshot).ok, "bounded recovery snapshot configures") + var route: Dictionary = adapter.view_state().routes[2] + expect(adapter.prepare_route(String(route.offer_id)).ok, "risk-two recovery route prepares") + var preferred := String(Contract1Battle.PREFERRED_PLAN[String(route.route_id)]) + var wrong_plan := "hold_line" + if wrong_plan == preferred: + wrong_plan = "guard_center" + expect(adapter.start_plan(wrong_plan).ok, "nonpreferred response starts") + var terminal := adapter.run_battle_to_terminal() + expect(terminal.view.battle.outcome == "defeat" and terminal.view.battle.fallen_recruit_ids.size() == 1, "visible defeat names one Fallen Recruit") + var settled := adapter.settle_terminal() + expect(settled.ok and settled.view.mode == "recovery", "defeat opens recovery presentation") + var survivors: int = settled.view.company.size() + var recovered := adapter.recover() + expect(recovered.ok and recovered.view.mode == "market", "recovery returns to the same Market") + expect(recovered.view.company.size() == survivors, "recovery never resurrects or auto-substitutes") + + +func has_kind(events: Array, kind: String) -> bool: + for event in events: + if String(event.get("kind", "")) == kind: + return true + return false + + +func expect(condition: bool, message: String) -> void: + if not condition: + failures.append("FG-3 campaign adapter: %s" % message) diff --git a/runtime/tests/fg3/campaign_adapter_test.gd.uid b/runtime/tests/fg3/campaign_adapter_test.gd.uid new file mode 100644 index 00000000..373451d2 --- /dev/null +++ b/runtime/tests/fg3/campaign_adapter_test.gd.uid @@ -0,0 +1 @@ +uid://cxr15oubwdiqo diff --git a/runtime/tests/fg3/campaign_runtime_capture.gd b/runtime/tests/fg3/campaign_runtime_capture.gd new file mode 100644 index 00000000..576b4990 --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_capture.gd @@ -0,0 +1,134 @@ +extends SceneTree + +const Controller = preload("res://campaign/fg3_runtime_controller.gd") +const Fixture = preload("res://tests/fg3/contract1_fixture.gd") + +const VIEWPORT := Vector2i(844, 390) + +var failures: Array[String] = [] +var experience +var output_dir := "" +var captures: Array[Dictionary] = [] + + +func _initialize() -> void: + call_deferred("run_capture") + + +func run_capture() -> void: + output_dir = OS.get_environment("ABG_FG3_CAPTURE_DIR") + if output_dir.is_empty(): + output_dir = ProjectSettings.globalize_path("user://fg3-captures") + DirAccess.make_dir_recursive_absolute(output_dir) + root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS + root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND + root.content_scale_size = VIEWPORT + root.size = VIEWPORT + await capture_market_plan_and_battle() + await capture_first_boss_and_record() + await capture_second_boss_and_close() + if is_instance_valid(experience): + experience.queue_free() + for _index in 45: + await process_frame + if failures.is_empty(): + var manifest := { + "kind": "abg-fg3-development-captures", + "viewport": [VIEWPORT.x, VIEWPORT.y], + "captures": captures, + } + var file := FileAccess.open(output_dir.path_join("capture-manifest.json"), FileAccess.WRITE) + file.store_string(JSON.stringify(manifest, " ") + "\n") + file.close() + print("ABG_FG3_CAMPAIGN_CAPTURE_OK frames=%d viewport=844x390 root=%s" % [captures.size(), output_dir]) + quit(0) + else: + for failure in failures: + push_error(failure) + quit(1) + + +func capture_market_plan_and_battle() -> void: + await mount(Fixture.new().fg3_market_8_snapshot()) + await capture("01-market8") + experience._depart_pressed() + await settle_frames() + await capture("02-route-plan") + experience._depart_pressed() + await settle_frames() + experience.advance_battle_ticks(5) + await settle_frames() + await capture("03-ordinary-battle") + + +func capture_first_boss_and_record() -> void: + await mount(Fixture.new().boss_muster_snapshot()) + await capture("04-boss1-muster") + experience._depart_pressed() + await settle_frames() + experience.advance_battle_ticks(3) + await settle_frames() + await capture("05-boss1-disclosure") + while not experience.battle_result_visible: + experience.advance_battle_ticks(8) + await process_frame + experience._settle_pressed() + await settle_frames() + await capture("06-contract1-record") + + +func capture_second_boss_and_close() -> void: + await mount(Fixture.new().contract2_boss_muster_snapshot()) + await capture("07-boss2-muster") + experience._depart_pressed() + await settle_frames() + experience.advance_battle_ticks(4) + await settle_frames() + await capture("08-boss2-disclosure") + while not experience.battle_result_visible: + experience.advance_battle_ticks(8) + await process_frame + experience._settle_pressed() + await settle_frames() + await capture("09-region-record") + experience._reward_pressed() + await settle_frames() + await capture("10-rg03-unlocked") + + +func mount(snapshot_value: Dictionary) -> void: + if is_instance_valid(experience): + experience.queue_free() + await settle_frames(12) + experience = Controller.new() + experience.battle_auto_advance = false + experience.locale = "zh_CN" + experience.text_scale = 1.0 + experience.muted = true + experience.size = Vector2(VIEWPORT) + experience.configure_entry(snapshot_value) + root.add_child(experience) + await settle_frames(10) + + +func capture(capture_id: String) -> void: + await RenderingServer.frame_post_draw + var image := root.get_texture().get_image() + var path := output_dir.path_join("%s.png" % capture_id) + var error := image.save_png(path) + if error != OK: + failures.append("capture %s failed: %s" % [capture_id, error]) + return + captures.append({ + "id": capture_id, + "path": path, + "width": image.get_width(), + "height": image.get_height(), + "mode": String(experience.view.get("mode", "")), + "screen": String(experience.screen), + }) + + +func settle_frames(count := 6) -> void: + for _index in count: + await process_frame diff --git a/runtime/tests/fg3/campaign_runtime_capture.gd.uid b/runtime/tests/fg3/campaign_runtime_capture.gd.uid new file mode 100644 index 00000000..b6f7e37b --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_capture.gd.uid @@ -0,0 +1 @@ +uid://d00vbc23lf13l diff --git a/runtime/tests/fg3/campaign_runtime_matrix_test.gd b/runtime/tests/fg3/campaign_runtime_matrix_test.gd new file mode 100644 index 00000000..11eb3af3 --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_matrix_test.gd @@ -0,0 +1,201 @@ +extends SceneTree + +const Adapter = preload("res://campaign/fg3_adapter.gd") +const BattleService = preload("res://fg3/contract1_battle_service.gd") +const ContractService = preload("res://fg3/contract1_service.gd") +const Controller = preload("res://campaign/fg3_runtime_controller.gd") +const Fixture = preload("res://tests/fg3/contract1_fixture.gd") + +var failures: Array[String] = [] +var experience +var capture_root := "" +var captures := 0 + + +func _initialize() -> void: + call_deferred("run_test") + + +func run_test() -> void: + capture_root = OS.get_environment("ABG_FG3_MATRIX_CAPTURE_ROOT") + if not capture_root.is_empty(): + DirAccess.make_dir_recursive_absolute(capture_root) + await fixture("01-market8-small-zh", Fixture.new().fg3_market_8_snapshot(), Vector2i(760, 360), "zh_CN", 1.0, false, false, Controller.SCREEN_MARKET, "market") + await plan_fixture("02-plan-reference-en130", Vector2i(844, 390), "en", 1.3) + await ordinary_victory_fixture("03-ordinary-victory-large-zh", Vector2i(1280, 720), "zh_CN", 1.0) + await fixture("04-recovery-small-en130", recovery_snapshot(), Vector2i(760, 360), "en", 1.3, false, false, Controller.SCREEN_RECOVERY, "recovery") + await boss_fixture("05-boss1-reduced-low-power", Fixture.new().boss_muster_snapshot(), "BO-R2-01", Vector2i(844, 390), "zh_CN", 1.0, true, true) + await fixture("06-record1-reference-en", first_record_snapshot(), Vector2i(844, 390), "en", 1.0, false, false, Controller.SCREEN_REWARD, "contract_record") + await fixture("07-contract2-market-large-zh130", Fixture.new().contract2_market_1_snapshot(), Vector2i(1280, 720), "zh_CN", 1.3, false, false, Controller.SCREEN_MARKET, "market") + await boss_fixture("08-boss2-reference-en", Fixture.new().contract2_boss_muster_snapshot(), "BO-R2-02", Vector2i(844, 390), "en", 1.0, false, false) + await fixture("09-record2-small-zh", region_record_snapshot(), Vector2i(760, 360), "zh_CN", 1.0, false, false, Controller.SCREEN_REWARD, "region_record") + await fixture("10-rg03-large-en-reduced", region_closed_snapshot(), Vector2i(1280, 720), "en", 1.0, true, true, Controller.SCREEN_MARKET, "region_closed") + if is_instance_valid(experience): + experience.queue_free() + await settle_frames(45) + if failures.is_empty(): + print("ABG_FG3_CAMPAIGN_RUNTIME_MATRIX_OK fixtures=10 states=market8,plan,ordinary_victory,recovery,boss1,record1,contract2_market,boss2,record2,rg03 viewports=760x360,844x390,1280x720 locales=zh_CN,en text_130=true reduced_motion=true reduced_flashes=true muted=true low_power=true controls=48 panels=0 cards=0 environment=RG-02 authored=company+12_enemies+2_bosses captures=%d" % captures) + quit(0) + else: + for failure in failures: + push_error(failure) + quit(1) + + +func fixture(label: String, snapshot_value: Dictionary, viewport: Vector2i, locale_value: String, scale_value: float, reduced: bool, low_power_value: bool, expected_screen: String, expected_mode: String) -> void: + await mount(snapshot_value, viewport, locale_value, scale_value, reduced, low_power_value) + expect(experience.screen == expected_screen, "%s restores %s" % [label, expected_screen]) + expect(String(experience.view.get("mode", "")) == expected_mode, "%s restores mode %s" % [label, expected_mode]) + verify_current(label, viewport, locale_value, scale_value, reduced, low_power_value) + await capture(label) + + +func plan_fixture(label: String, viewport: Vector2i, locale_value: String, scale_value: float) -> void: + await mount(Fixture.new().fg3_market_8_snapshot(), viewport, locale_value, scale_value, false, false) + experience._depart_pressed() + await settle_frames() + expect(experience.screen == Controller.SCREEN_MARKET and experience.view.mode == "plan", "%s shows four response plans" % label) + expect(experience.view.plans.size() == 4, "%s keeps all four state-dependent responses" % label) + verify_current(label, viewport, locale_value, scale_value, false, false) + await capture(label) + + +func ordinary_victory_fixture(label: String, viewport: Vector2i, locale_value: String, scale_value: float) -> void: + await mount(Fixture.new().fg3_market_8_snapshot(), viewport, locale_value, scale_value, false, false) + experience._depart_pressed() + experience._depart_pressed() + while not experience.battle_result_visible: + experience.advance_battle_ticks(8) + await process_frame + await settle_frames() + expect(experience.screen == Controller.SCREEN_BATTLE and experience.view.battle.outcome == "victory", "%s shows the authoritative terminal victory" % label) + var actors = experience.find_child("ActorsLayer", true, false) + var authored := Array(actors.get_meta("authored_actor_ids", [])) + for identity_id in ["PF-B09", "PF-B07", "EN-R2-01"]: + expect(identity_id in authored, "%s renders authored %s" % [label, identity_id]) + verify_current(label, viewport, locale_value, scale_value, false, false) + await capture(label) + + +func boss_fixture(label: String, snapshot_value: Dictionary, boss_id: String, viewport: Vector2i, locale_value: String, scale_value: float, reduced: bool, low_power_value: bool) -> void: + await mount(snapshot_value, viewport, locale_value, scale_value, reduced, low_power_value) + experience._depart_pressed() + experience.advance_battle_ticks(4) + await settle_frames() + expect(experience.screen == Controller.SCREEN_BATTLE and String(experience.view.battle.boss_id) == boss_id, "%s shows %s in battle" % [label, boss_id]) + var actors = experience.find_child("ActorsLayer", true, false) + expect(boss_id in Array(actors.get_meta("authored_actor_ids", [])), "%s renders the authored Boss atlas" % label) + verify_current(label, viewport, locale_value, scale_value, reduced, low_power_value) + await capture(label) + + +func recovery_snapshot() -> Dictionary: + var service := ContractService.new(Fixture.new().fg3_market_8_snapshot()) + var route: Dictionary = service.state.current_run.market_board.battle_offers[2] + var prepared := service.commit_route("fg3-matrix-defeat-prepare", service.state.revision, String(route.offer_id), String(service.state.current_run.market_board.board_hash)) + if not prepared.ok: + return {} + var battle := BattleService.new(service.state.snapshot()).run_to_terminal("hold_line") + if not battle.ok or String(battle.snapshot.outcome) != "defeat": + return {} + var settled := service.settle_route("fg3-matrix-defeat-settle", service.state.revision, battle.snapshot) + return service.state.snapshot() if settled.ok else {} + + +func first_record_snapshot() -> Dictionary: + var adapter = Adapter.new() + if not bool(adapter.configure(Fixture.new().boss_muster_snapshot()).ok): + return {} + if not bool(adapter.start_plan("follow_index_clear_eggs").ok): + return {} + adapter.run_battle_to_terminal() + var result: Dictionary = adapter.settle_terminal() + return adapter.snapshot() if bool(result.get("ok", false)) else {} + + +func region_record_snapshot() -> Dictionary: + var adapter = Adapter.new() + if not bool(adapter.configure(Fixture.new().contract2_boss_muster_snapshot()).ok): + return {} + if not bool(adapter.start_plan("interrupt_pulse_family").ok): + return {} + adapter.run_battle_to_terminal() + var result: Dictionary = adapter.settle_terminal() + return adapter.snapshot() if bool(result.get("ok", false)) else {} + + +func region_closed_snapshot() -> Dictionary: + var adapter = Adapter.new() + var record := region_record_snapshot() + if record.is_empty() or not bool(adapter.configure(record).ok): + return {} + var result: Dictionary = adapter.continue_result() + return adapter.snapshot() if bool(result.get("ok", false)) else {} + + +func mount(snapshot_value: Dictionary, viewport: Vector2i, locale_value: String, scale_value: float, reduced: bool, low_power_value: bool) -> void: + if is_instance_valid(experience): + experience.queue_free() + await settle_frames(12) + root.size = viewport + root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS + root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND + root.content_scale_size = viewport + experience = Controller.new() + experience.battle_auto_advance = false + experience.locale = locale_value + experience.text_scale = scale_value + experience.reduced_motion = reduced + experience.reduced_flashes = reduced + experience.muted = true + experience.low_power = low_power_value + experience.size = Vector2(viewport) + experience.configure_entry(snapshot_value) + root.add_child(experience) + await settle_frames(8) + + +func verify_current(label: String, viewport: Vector2i, locale_value: String, scale_value: float, reduced: bool, low_power_value: bool) -> void: + var bounds := Rect2(Vector2.ZERO, Vector2(viewport)) + var expected_grid := "380x180@2x" if viewport == Vector2i(760, 360) else "320x180@4x" if viewport == Vector2i(1280, 720) else "422x195@2x" + expect(String(experience.get_meta("logical_grid", "")) == expected_grid, "%s uses %s" % [label, expected_grid]) + expect(experience.locale == locale_value and is_equal_approx(experience.text_scale, scale_value), "%s preserves locale and text scale" % label) + expect(experience.reduced_motion == reduced and experience.reduced_flashes == reduced, "%s preserves reduced motion/flashes" % label) + expect(experience.low_power == low_power_value and experience.muted, "%s preserves low power and mute" % label) + expect(float(experience.get_meta("visible_world_ratio", 0.0)) >= 0.80, "%s keeps the world-first composition" % label) + expect(experience.find_children("*", "Panel", true, false).is_empty(), "%s adds no app Panel surfaces" % label) + for layer_name in ["BackgroundLayer", "MidgroundLayer", "ActorsLayer", "ForegroundLayer", "VfxLayer"]: + expect(experience.find_child(layer_name, true, false) != null, "%s retains %s" % [label, layer_name]) + var background = experience.find_child("BackgroundLayer", true, false) + expect(String(background.get_meta("environment_region_id", "")) == "RG-02", "%s uses the Siltwake environment" % label) + for node in experience.find_children("*", "Button", true, false): + var button := node as Button + if not button.visible or button.is_queued_for_deletion(): + continue + expect(button.size.x >= 48 and button.size.y >= 48, "%s target %s is at least 48px" % [label, button.name]) + expect(bounds.encloses(button.get_global_rect()), "%s target %s stays inside %s" % [label, button.name, viewport]) + expect(not button.text.strip_edges().is_empty(), "%s target %s has readable copy" % [label, button.name]) + for node in experience.find_children("*", "Control", true, false): + var lowered := String(node.name).to_lower() + expect("card" not in lowered and "modal" not in lowered and "dialog" not in lowered, "%s has no card/modal surface: %s" % [label, node.name]) + + +func capture(label: String) -> void: + if capture_root.is_empty(): + return + await RenderingServer.frame_post_draw + var error := root.get_texture().get_image().save_png(capture_root.path_join(label + ".png")) + expect(error == OK, "%s capture writes" % label) + if error == OK: + captures += 1 + await process_frame + + +func settle_frames(count := 5) -> void: + for _index in count: + await process_frame + + +func expect(condition: bool, message: String) -> void: + if not condition: + failures.append("FG-3 campaign runtime matrix: %s" % message) diff --git a/runtime/tests/fg3/campaign_runtime_matrix_test.gd.uid b/runtime/tests/fg3/campaign_runtime_matrix_test.gd.uid new file mode 100644 index 00000000..04713216 --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_matrix_test.gd.uid @@ -0,0 +1 @@ +uid://cvrfekqqugg2n diff --git a/runtime/tests/fg3/campaign_runtime_touch_test.gd b/runtime/tests/fg3/campaign_runtime_touch_test.gd new file mode 100644 index 00000000..a618b077 --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_touch_test.gd @@ -0,0 +1,204 @@ +extends SceneTree + +const Contract1Battle = preload("res://fg3/contract1_battle_service.gd") +const Controller = preload("res://campaign/fg3_runtime_controller.gd") +const Fixture = preload("res://tests/fg3/contract1_fixture.gd") + +const VIEWPORT := Vector2i(844, 390) + +var failures: Array[String] = [] +var experience +var parsed_touches := 0 +var parsed_drags := 0 +var observed_touches := 0 +var observed_drags := 0 + + +func _initialize() -> void: + call_deferred("run_test") + + +func run_test() -> void: + root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS + root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND + root.content_scale_size = VIEWPORT + root.size = VIEWPORT + await verify_market_plan_battle() + await verify_first_boss_record_handoff() + await verify_second_boss_region_close() + if is_instance_valid(experience): + experience.queue_free() + for _index in 45: + await process_frame + if failures.is_empty(): + print("ABG_FG3_CAMPAIGN_RUNTIME_TOUCH_OK viewport=844x390 states=market8,plan,battle,boss1,record1,handoff,contract2,boss2,record2,rg03 touch=%d drag=%d fallback=0 direct=0 world_layers=5" % [parsed_touches, parsed_drags]) + quit(0) + else: + for failure in failures: + push_error(failure) + quit(1) + + +func verify_market_plan_battle() -> void: + await mount(Fixture.new().fg3_market_8_snapshot()) + expect(experience.screen == Controller.SCREEN_MARKET and experience.view.mode == "market", "saved Market 8 opens in world-first layout") + expect(String(experience.get_meta("logical_grid", "")) == "422x195@2x", "reference viewport preserves accepted logical grid") + for layer_name in ["BackgroundLayer", "MidgroundLayer", "ActorsLayer", "ForegroundLayer", "VfxLayer"]: + expect(experience.find_child(layer_name, true, false) != null, "%s remains present" % layer_name) + var background = experience.find_child("BackgroundLayer", true, false) + expect(String(background.get_meta("environment_region_id", "")) == "RG-02", "Market 8 uses the Siltwake environment binding") + var first_company := String(experience.view.company[0].recruit_id) + var second_company := String(experience.view.company[1].recruit_id) + await drag("FG2CompanyTarget_%s" % first_company, "FG2CompanyTarget_%s" % second_company) + expect(experience.last_code == "formation_authority_frozen", "parsed drag never forges a formation transaction") + var route: Dictionary = experience.view.routes[0] + await tap("FG3Option_%s" % String(route.offer_id)) + await tap("FG3ContinueButton") + expect(experience.view.mode == "plan" and experience.view.plans.size() == 4, "route confirmation opens four response plans") + var plan_id := String(Contract1Battle.PREFERRED_PLAN[String(route.route_id)]) + await tap("FG3Option_%s" % plan_id) + await tap("FG3ContinueButton") + expect(experience.screen == Controller.SCREEN_BATTLE, "plan confirmation enters automatic battle") + await process_frame + var actors = experience.find_child("ActorsLayer", true, false) + var authored_ids := Array(actors.get_meta("authored_actor_ids", [])) + for identity_id in ["PF-B09", "PF-B07", "EN-R2-01"]: + expect(identity_id in authored_ids, "%s uses its authored RG-02 identity" % identity_id) + experience.advance_battle_ticks(5) + await process_frame + var motion_state: Dictionary = experience.event_presenter.snapshot() + expect(not Dictionary(motion_state.actor_cues).is_empty(), "single-frame Company and enemies receive event-bound motion cues") + var guard := 0 + while not experience.battle_result_visible and guard < 80: + experience.advance_battle_ticks(4) + guard += 1 + await process_frame + expect(guard < 80 and experience.view.battle.outcome == "victory", "real Market-8 battle reaches visible victory") + for kind in ["wave_arrived", "damage", "outcome"]: + expect(int(experience.presented_event_counts.get(kind, 0)) > 0, "runtime consumes %s" % kind) + await tap("FG2SettleButton") + expect(experience.view.mode == "market" and experience.view.market_index == 9, "settlement returns to changed Market 9") + + +func verify_first_boss_record_handoff() -> void: + await mount(Fixture.new().boss_muster_snapshot()) + expect(experience.view.mode == "boss_muster" and experience.view.plans.size() == 2, "first Boss Muster renders two plans") + await tap("FG3Option_follow_index_clear_eggs") + await tap("FG3ContinueButton") + await process_frame + var actors = experience.find_child("ActorsLayer", true, false) + expect("BO-R2-01" in Array(actors.get_meta("authored_actor_ids", [])), "Sluiceback Mother uses the authored action atlas") + while not experience.battle_result_visible: + experience.advance_battle_ticks(8) + await process_frame + await tap("FG2SettleButton") + expect(experience.screen == Controller.SCREEN_REWARD and experience.view.mode == "contract_record", "first Boss opens first Record screen") + await tap("FG3RecordButton") + expect(experience.view.mode == "contract_handoff", "first Record advances to explicit handoff") + await tap("FG3RecordButton") + expect(experience.view.mode == "market" and experience.view.contract_id == "CTR-R2-02", "handoff opens second Contract Market") + + +func verify_second_boss_region_close() -> void: + await mount(Fixture.new().contract2_boss_muster_snapshot()) + expect(experience.view.mode == "boss_muster" and experience.view.boss_id == "BO-R2-02", "Drowned Bell Muster is visible") + await tap("FG3Option_interrupt_pulse_family") + await tap("FG3ContinueButton") + await process_frame + var actors = experience.find_child("ActorsLayer", true, false) + expect("BO-R2-02" in Array(actors.get_meta("authored_actor_ids", [])), "Drowned Bell uses the authored action atlas") + while not experience.battle_result_visible: + experience.advance_battle_ticks(8) + await process_frame + expect(int(experience.presented_event_counts.get("linked_positions_disclosed", 0)) == 1 and int(experience.presented_event_counts.get("third_pulse_link", 0)) == 1, "pair and third-pulse facts reach presentation") + var presenter_state: Dictionary = experience.event_presenter.snapshot() + for kind in ["linked_positions_disclosed", "third_pulse_link", "pulse_family_interrupted"]: + expect(int(presenter_state.event_counts.get(kind, 0)) == 1, "%s reaches the event-bound presenter" % kind) + var audio_state: Dictionary = experience.audio_router.snapshot() + for kind in ["linked_positions_disclosed", "third_pulse_link", "pulse_family_interrupted"]: + expect(int(audio_state.event_counts.get(kind, 0)) == 1, "%s reaches the semantic audio router" % kind) + expect(Array(audio_state.playback_log).any(func(row): return String(row.get("kind", "")) == kind and String(row.get("result", "")) != "unmapped"), "%s owns a mapped audio decision" % kind) + var vfx = experience.find_child("VfxLayer", true, false) + expect(int(vfx.get_meta("fg3_disclosure_vfx_count", 0)) > 0, "linked-pulse disclosure owns visible world VFX") + await tap("FG2SettleButton") + expect(experience.view.mode == "region_record", "Drowned Bell opens second Record") + await tap("FG3RecordButton") + expect(experience.view.mode == "region_closed" and experience.view.unlocked_region_ids.count("RG-03") == 1, "final touch reveals stable RG-03 unlock") + expect(observed_touches + experience.input_touch_count == parsed_touches and observed_drags + experience.input_drag_count == parsed_drags, "all input is accounted as parsed touch/drag") + expect(experience.fallback_input_count == 0 and experience.direct_command_count == 0, "no fallback or direct player command path runs") + + +func mount(snapshot_value: Dictionary) -> void: + if is_instance_valid(experience): + observed_touches += int(experience.input_touch_count) + observed_drags += int(experience.input_drag_count) + experience.queue_free() + for _index in 12: + await process_frame + experience = Controller.new() + experience.battle_auto_advance = false + experience.locale = "zh_CN" + experience.text_scale = 1.0 + experience.size = Vector2(VIEWPORT) + experience.configure_entry(snapshot_value) + root.add_child(experience) + for _index in 8: + await process_frame + + +func tap(node_name: String) -> void: + var control := experience.find_child(node_name, true, false) as Control + expect(control != null, "%s exists before parsed touch" % node_name) + if control == null: + return + var point := root.get_final_transform() * control.get_global_rect().get_center() + var down := InputEventScreenTouch.new() + down.index = 0 + down.position = point + down.pressed = true + Input.parse_input_event(down) + parsed_touches += 1 + await process_frame + var up := InputEventScreenTouch.new() + up.index = 0 + up.position = point + up.pressed = false + Input.parse_input_event(up) + for _index in 5: + await process_frame + + +func drag(source_name: String, target_name: String) -> void: + var source := experience.find_child(source_name, true, false) as Control + var target := experience.find_child(target_name, true, false) as Control + expect(source != null and target != null, "company drag targets exist") + if source == null or target == null: + return + var start := root.get_final_transform() * source.get_global_rect().get_center() + var finish := root.get_final_transform() * target.get_global_rect().get_center() + var down := InputEventScreenTouch.new() + down.index = 1 + down.position = start + down.pressed = true + Input.parse_input_event(down) + parsed_touches += 1 + await process_frame + var motion := InputEventScreenDrag.new() + motion.index = 1 + motion.position = finish + motion.relative = finish - start + Input.parse_input_event(motion) + parsed_drags += 1 + await process_frame + var up := InputEventScreenTouch.new() + up.index = 1 + up.position = finish + up.pressed = false + Input.parse_input_event(up) + for _index in 5: + await process_frame + + +func expect(condition: bool, message: String) -> void: + if not condition: + failures.append("FG-3 campaign runtime touch: %s" % message) diff --git a/runtime/tests/fg3/campaign_runtime_touch_test.gd.uid b/runtime/tests/fg3/campaign_runtime_touch_test.gd.uid new file mode 100644 index 00000000..99c5f537 --- /dev/null +++ b/runtime/tests/fg3/campaign_runtime_touch_test.gd.uid @@ -0,0 +1 @@ +uid://c3gxap2uohvf4 diff --git a/tools/process_fg3_media.py b/tools/process_fg3_media.py new file mode 100644 index 00000000..018ea492 --- /dev/null +++ b/tools/process_fg3_media.py @@ -0,0 +1,505 @@ +#!/usr/bin/env python3 +"""Build the bounded FG-3 Siltwake runtime art package from retained media.""" + +from __future__ import annotations + +import argparse +from collections import deque +import hashlib +import json +from pathlib import Path + +from PIL import Image + + +ROOT = Path(__file__).resolve().parents[1] +MEDIA_ROOT = ROOT / "docs/runtime/fg3/media" +RUNTIME_ROOT = ROOT / "runtime/assets/fg3" +ENVIRONMENT_SOURCE = MEDIA_ROOT / "raw/siltwake-layers.png" +BOSS_ACTION_SOURCE = MEDIA_ROOT / "raw/rg02-boss-actions.png" +IDENTITY_SOURCE = MEDIA_ROOT / "raw/rg02-company-enemy-identities.png" +TARGET_SIZES = ((380, 180), (422, 195), (320, 180)) +LAYER_NAMES = ("background", "midground", "foreground") +PALETTE_SIZE = 32 +IDENTITY_LOGICAL_SIZE = 36 +IDENTITY_CELL_SIZE = 72 +IDENTITY_PALETTE_SIZE = 16 +BOSSES = ( + { + "identity_id": "BO-R2-01", + "slug": "sluiceback_mother", + "source_row": 0, + "state": "boss_action", + "fps": 8, + "loop": False, + "play_size": [78, 58], + "pivot": [39, 56], + "cell_size": [128, 96], + "provider_task_id": "task_01M056P0CCPYVFS2GXD91GK7KZ", + }, + { + "identity_id": "BO-R2-02", + "slug": "drowned_bell", + "source_row": 1, + "state": "boss_action", + "fps": 8, + "loop": False, + "play_size": [62, 72], + "pivot": [31, 70], + "cell_size": [96, 96], + "provider_task_id": "task_01M056P0CCPYVFS2GXD91GK7KZ", + }, +) + +IDENTITIES = ( + {"identity_id": "PF-B09", "slug": "coilsmith", "source_cell": 0, "play_size": [36, 40]}, + {"identity_id": "PF-B07", "slug": "kindhand", "source_cell": 1, "play_size": [34, 40]}, + {"identity_id": "EN-R2-01", "slug": "reed_hook", "source_cell": 2, "play_size": [34, 40]}, + {"identity_id": "EN-R2-02", "slug": "mudlamp_leech", "source_cell": 3, "play_size": [38, 32]}, + {"identity_id": "EN-R2-03", "slug": "silt_mimic", "source_cell": 4, "play_size": [36, 34]}, + {"identity_id": "EN-R2-04", "slug": "bank_tortoise", "source_cell": 5, "play_size": [38, 32]}, + {"identity_id": "EN-R2-05", "slug": "fen_piper", "source_cell": 6, "play_size": [34, 40]}, + {"identity_id": "EN-R2-06", "slug": "brackwater_wisp", "source_cell": 7, "play_size": [32, 38]}, + {"identity_id": "EN-R2-07", "slug": "ferry_crab", "source_cell": 8, "play_size": [40, 32]}, + {"identity_id": "EN-R2-08", "slug": "drownseed_pod", "source_cell": 9, "play_size": [34, 36]}, + {"identity_id": "EN-R2-09", "slug": "mire_medic", "source_cell": 10, "play_size": [34, 40]}, + {"identity_id": "EN-R2-10", "slug": "fogjaw", "source_cell": 11, "play_size": [40, 32]}, + {"identity_id": "EN-R2-11", "slug": "channel_widow", "source_cell": 12, "play_size": [36, 42]}, + {"identity_id": "EN-R2-12", "slug": "sluice_elder", "source_cell": 13, "play_size": [36, 42]}, +) + + +def parse_args() -> argparse.Namespace: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument( + "--rows-only", + action="store_true", + help="write the two deterministic raw action rows, then stop", + ) + return parser.parse_args() + + +def sha256(path: Path) -> str: + digest = hashlib.sha256() + with path.open("rb") as handle: + for chunk in iter(lambda: handle.read(1024 * 1024), b""): + digest.update(chunk) + return digest.hexdigest() + + +def remove_magenta(image: Image.Image) -> Image.Image: + rgba = image.convert("RGBA") + cleaned = [] + for red, green, blue, alpha in rgba.getdata(): + magenta = ( + red >= 140 + and blue >= 140 + and green <= 165 + and min(red, blue) - green >= 45 + and abs(red - blue) <= 110 + ) + cleaned.append((red, green, blue, 0 if magenta else alpha)) + rgba.putdata(cleaned) + return rgba + + +def crop_visible(image: Image.Image) -> Image.Image: + bounds = image.getchannel("A").getbbox() + if bounds is None: + raise ValueError("FG-3 source layer has no non-key pixels") + return image.crop(bounds) + + +def resized_cover(image: Image.Image, size: tuple[int, int]) -> Image.Image: + scale = max(size[0] / image.width, size[1] / image.height) + resized = image.resize( + (max(1, round(image.width * scale)), max(1, round(image.height * scale))), + Image.Resampling.BOX, + ) + left = max(0, (resized.width - size[0]) // 2) + top = max(0, (resized.height - size[1]) // 2) + return resized.crop((left, top, left + size[0], top + size[1])) + + +def resized_contain(image: Image.Image, size: tuple[int, int]) -> Image.Image: + scale = min(size[0] / image.width, size[1] / image.height) + return image.resize( + (max(1, round(image.width * scale)), max(1, round(image.height * scale))), + Image.Resampling.BOX, + ) + + +def build_base_layers(size: tuple[int, int], bands: list[Image.Image]) -> dict[str, Image.Image]: + base_size = (size[0] // 2, (size[1] + 1) // 2) + background = Image.new("RGBA", base_size, (7, 26, 44, 255)) + background.alpha_composite(resized_cover(bands[0], base_size)) + + midground = Image.new("RGBA", base_size, (0, 0, 0, 0)) + middle = resized_contain(bands[1], base_size) + midground.alpha_composite( + middle, + ((base_size[0] - middle.width) // 2, base_size[1] - middle.height), + ) + + foreground = Image.new("RGBA", base_size, (0, 0, 0, 0)) + front = resized_contain(bands[2], base_size) + foreground.alpha_composite( + front, + ((base_size[0] - front.width) // 2, base_size[1] - front.height), + ) + return {"background": background, "midground": midground, "foreground": foreground} + + +def make_shared_palette(layers: dict[str, Image.Image]) -> Image.Image: + samples: list[tuple[int, int, int]] = [] + for layer in layers.values(): + samples.extend((r, g, b) for r, g, b, a in layer.getdata() if a > 0) + stride = max(1, len(samples) // 100000) + selected = samples[::stride] + source = Image.new("RGB", (len(selected), 1)) + source.putdata(selected) + return source.quantize( + colors=PALETTE_SIZE, + method=Image.Quantize.MEDIANCUT, + dither=Image.Dither.NONE, + ) + + +def apply_palette(image: Image.Image, palette: Image.Image) -> Image.Image: + alpha = image.getchannel("A").point(lambda value: 255 if value >= 128 else 0) + limited = image.convert("RGB").quantize( + palette=palette, + dither=Image.Dither.NONE, + ).convert("RGBA") + limited.putalpha(alpha) + return limited + + +def unique_colors(image: Image.Image) -> int: + return len({pixel for pixel in image.getdata() if pixel[3] > 0}) + + +def remove_tiny_components(image: Image.Image, min_area: int = 4) -> Image.Image: + rgba = image.convert("RGBA") + alpha = list(rgba.getchannel("A").getdata()) + width, height = rgba.size + visited = bytearray(width * height) + retained = bytearray(alpha) + for start, value in enumerate(alpha): + if value == 0 or visited[start]: + continue + visited[start] = 1 + queue: deque[int] = deque([start]) + component: list[int] = [] + while queue: + current = queue.popleft() + component.append(current) + x, y = current % width, current // width + for next_y in range(max(0, y - 1), min(height, y + 2)): + row_start = next_y * width + for next_x in range(max(0, x - 1), min(width, x + 2)): + neighbor = row_start + next_x + if alpha[neighbor] and not visited[neighbor]: + visited[neighbor] = 1 + queue.append(neighbor) + if len(component) < min_area: + for pixel in component: + retained[pixel] = 0 + cleaned_alpha = Image.new("L", rgba.size) + cleaned_alpha.putdata(retained) + rgba.putalpha(cleaned_alpha) + return rgba + + +def fit_identity(image: Image.Image) -> Image.Image: + visible = crop_visible(remove_magenta(image)) + content_limit = IDENTITY_LOGICAL_SIZE - 6 + scale = min(content_limit / visible.width, content_limit / visible.height) + resized = visible.resize( + (max(1, round(visible.width * scale)), max(1, round(visible.height * scale))), + Image.Resampling.BOX, + ) + alpha = resized.getchannel("A").point(lambda value: 255 if value >= 128 else 0) + limited = resized.convert("RGB").quantize( + colors=IDENTITY_PALETTE_SIZE, + method=Image.Quantize.MEDIANCUT, + dither=Image.Dither.NONE, + ).convert("RGBA") + limited.putalpha(alpha) + logical = Image.new( + "RGBA", + (IDENTITY_LOGICAL_SIZE, IDENTITY_LOGICAL_SIZE), + (0, 0, 0, 0), + ) + left = (IDENTITY_LOGICAL_SIZE - limited.width) // 2 + top = IDENTITY_LOGICAL_SIZE - 3 - limited.height + logical.alpha_composite(limited, (left, top)) + logical = remove_tiny_components(logical) + return logical.resize( + (IDENTITY_CELL_SIZE, IDENTITY_CELL_SIZE), + Image.Resampling.NEAREST, + ) + + +def prepare_boss_rows() -> list[dict[str, object]]: + source = Image.open(BOSS_ACTION_SOURCE).convert("RGBA") + records: list[dict[str, object]] = [] + for boss in BOSSES: + row_index = int(boss["source_row"]) + top = round(row_index * source.height / len(BOSSES)) + bottom = round((row_index + 1) * source.height / len(BOSSES)) + run_dir = MEDIA_ROOT / "runs" / str(boss["slug"]) + output = run_dir / "raw" / f"{boss['state']}.png" + output.parent.mkdir(parents=True, exist_ok=True) + source.crop((0, top, source.width, bottom)).save( + output, + format="PNG", + optimize=False, + compress_level=9, + ) + records.append( + { + "identity_id": boss["identity_id"], + "source_row": row_index, + "source_rect": [0, top, source.width, bottom - top], + "path": output.relative_to(ROOT).as_posix(), + "sha256": sha256(output), + } + ) + rows_manifest = MEDIA_ROOT / "runs/boss-action-rows.json" + rows_manifest.write_text( + json.dumps( + { + "kind": "abg-fg3-boss-action-rows", + "source": BOSS_ACTION_SOURCE.relative_to(ROOT).as_posix(), + "source_sha256": sha256(BOSS_ACTION_SOURCE), + "source_dimensions": list(source.size), + "rows": records, + }, + ensure_ascii=True, + indent=2, + sort_keys=True, + ) + + "\n", + encoding="utf-8", + ) + return records + + +def process_environment() -> dict[str, object]: + source = Image.open(ENVIRONMENT_SOURCE).convert("RGBA") + cuts = (0, source.height // 3, (source.height * 2) // 3, source.height) + bands = [ + crop_visible( + remove_magenta( + source.crop((0, cuts[index], source.width, cuts[index + 1])) + ) + ) + for index in range(3) + ] + reference_layers = build_base_layers((422, 195), bands) + palette = make_shared_palette(reference_layers) + records: dict[str, dict[str, object]] = {name: {} for name in LAYER_NAMES} + + for width, height in TARGET_SIZES: + size_key = f"{width}x{height}" + base_layers = build_base_layers((width, height), bands) + output_dir = RUNTIME_ROOT / "environment" / size_key + output_dir.mkdir(parents=True, exist_ok=True) + for name in LAYER_NAMES: + limited = apply_palette(base_layers[name], palette) + rendered = limited.resize( + (width, limited.height * 2), + Image.Resampling.NEAREST, + ).crop((0, 0, width, height)) + output = output_dir / f"{name}.png" + rendered.save(output, format="PNG", optimize=False, compress_level=9) + records[name][size_key] = { + "path": output.relative_to(ROOT / "runtime").as_posix(), + "dimensions": [width, height], + "logical_source_dimensions": list(limited.size), + "cluster_pitch": 2, + "colors": unique_colors(rendered), + "sha256": sha256(output), + } + + return { + "asset_id": "FG3-BG-SILTWAKE-01", + "region_id": "RG-02", + "source": ENVIRONMENT_SOURCE.relative_to(ROOT).as_posix(), + "source_sha256": sha256(ENVIRONMENT_SOURCE), + "source_dimensions": list(source.size), + "source_band_cuts": list(cuts), + "provider_task_id": "task_01M056E56CNT64A0M3VB617Z9R", + "palette_size": PALETTE_SIZE, + "layers": records, + } + + +def process_bosses() -> dict[str, dict[str, object]]: + records: dict[str, dict[str, object]] = {} + for boss in BOSSES: + run_dir = MEDIA_ROOT / "runs" / str(boss["slug"]) + manifest_path = run_dir / "manifest.json" + if not manifest_path.is_file(): + raise FileNotFoundError(f"sprite-gen manifest missing: {manifest_path}") + source_manifest = json.loads(manifest_path.read_text(encoding="utf-8")) + state = str(boss["state"]) + frame_rects = source_manifest["frame_layout"]["rows"][state] + cell_width, cell_height = (int(value) for value in boss["cell_size"]) + if len(frame_rects) != 4: + raise ValueError(f"{boss['identity_id']} must have four action frames") + + output_dir = RUNTIME_ROOT / "bosses" / str(boss["slug"]) + frame_dir = output_dir / state + frame_dir.mkdir(parents=True, exist_ok=True) + rendered_frames: list[Image.Image] = [] + runtime_frames: list[dict[str, object]] = [] + for index, _frame_rect in enumerate(frame_rects): + source_frame = run_dir / "frames" / state / f"frame-{index}.png" + with Image.open(source_frame) as opened: + frame = opened.convert("RGBA") + if frame.size != (cell_width, cell_height): + raise ValueError(f"unexpected Boss frame size: {source_frame} {frame.size}") + alpha = frame.getchannel("A").point(lambda value: 255 if value >= 128 else 0) + frame.putalpha(alpha) + output_frame = frame_dir / f"frame-{index}.png" + frame.save(output_frame, format="PNG", optimize=False, compress_level=9) + rendered_frames.append(frame) + runtime_frames.append( + { + "path": output_frame.relative_to(ROOT / "runtime").as_posix(), + "dimensions": list(frame.size), + "atlas_rect": [index * cell_width, 0, cell_width, cell_height], + "sha256": sha256(output_frame), + } + ) + + atlas_output = output_dir / "atlas.png" + atlas = Image.new( + "RGBA", + (cell_width * len(rendered_frames), cell_height), + (0, 0, 0, 0), + ) + for index, frame in enumerate(rendered_frames): + atlas.alpha_composite(frame, (index * cell_width, 0)) + atlas.save(atlas_output, format="PNG", optimize=False, compress_level=9) + + raw_row = run_dir / "raw" / f"{state}.png" + records[str(boss["identity_id"])] = { + "asset_id": f"FG3-BOSS-{str(boss['identity_id']).replace('-', '')}-01", + "source": BOSS_ACTION_SOURCE.relative_to(ROOT).as_posix(), + "source_sha256": sha256(BOSS_ACTION_SOURCE), + "source_row": int(boss["source_row"]), + "raw_row": raw_row.relative_to(ROOT).as_posix(), + "raw_row_sha256": sha256(raw_row), + "sprite_manifest": manifest_path.relative_to(ROOT).as_posix(), + "sprite_manifest_sha256": sha256(manifest_path), + "provider_task_id": boss["provider_task_id"], + "state": state, + "fps": int(boss["fps"]), + "loop": bool(boss["loop"]), + "pivot": list(boss["pivot"]), + "play_size": list(boss["play_size"]), + "atlas": atlas_output.relative_to(ROOT / "runtime").as_posix(), + "atlas_sha256": sha256(atlas_output), + "frames": runtime_frames, + } + return records + + +def process_identities() -> dict[str, dict[str, object]]: + source = Image.open(IDENTITY_SOURCE).convert("RGBA") + records: dict[str, dict[str, object]] = {} + for identity in IDENTITIES: + source_cell = int(identity["source_cell"]) + row, column = divmod(source_cell, 4) + bounds = ( + round(column * source.width / 4), + round(row * source.height / 4), + round((column + 1) * source.width / 4), + round((row + 1) * source.height / 4), + ) + frame = fit_identity(source.crop(bounds)) + output_dir = RUNTIME_ROOT / "actors" / str(identity["slug"]) + frame_dir = output_dir / "idle" + frame_dir.mkdir(parents=True, exist_ok=True) + output_frame = frame_dir / "frame-0.png" + atlas_output = output_dir / "atlas.png" + frame.save(output_frame, format="PNG", optimize=False, compress_level=9) + frame.save(atlas_output, format="PNG", optimize=False, compress_level=9) + identity_id = str(identity["identity_id"]) + records[identity_id] = { + "asset_id": f"FG3-ACTOR-{identity_id.replace('-', '')}-01", + "source": IDENTITY_SOURCE.relative_to(ROOT).as_posix(), + "source_sha256": sha256(IDENTITY_SOURCE), + "source_cell": source_cell, + "source_rect": [bounds[0], bounds[1], bounds[2] - bounds[0], bounds[3] - bounds[1]], + "provider_task_id": "task_01M058059WFB3F4G96SC9SDRWD", + "state": "idle", + "fps": 1, + "loop": True, + "pivot": [int(identity["play_size"][0]) // 2, int(identity["play_size"][1]) - 2], + "play_size": list(identity["play_size"]), + "logical_grid": [IDENTITY_LOGICAL_SIZE, IDENTITY_LOGICAL_SIZE], + "palette_size": IDENTITY_PALETTE_SIZE, + "colors": unique_colors(frame), + "atlas": atlas_output.relative_to(ROOT / "runtime").as_posix(), + "atlas_sha256": sha256(atlas_output), + "frames": [ + { + "path": output_frame.relative_to(ROOT / "runtime").as_posix(), + "dimensions": list(frame.size), + "atlas_rect": [0, 0, IDENTITY_CELL_SIZE, IDENTITY_CELL_SIZE], + "sha256": sha256(output_frame), + } + ], + } + return records + + +def main() -> int: + args = parse_args() + rows = prepare_boss_rows() + if args.rows_only: + print( + json.dumps( + {"ok": True, "rows": len(rows), "mode": "rows-only"}, + sort_keys=True, + ) + ) + return 0 + + RUNTIME_ROOT.mkdir(parents=True, exist_ok=True) + manifest = { + "version": 1, + "kind": "abg-fg3-runtime-media", + "license": "owner-authorized original generation for Aetherbound Guild", + "filter": "nearest", + "integer_placement": True, + "environment": process_environment(), + "actors": process_identities(), + "bosses": process_bosses(), + } + manifest_path = RUNTIME_ROOT / "asset-manifest.json" + manifest_path.write_text( + json.dumps(manifest, ensure_ascii=True, indent=2, sort_keys=True) + "\n", + encoding="utf-8", + ) + print( + json.dumps( + { + "ok": True, + "manifest": str(manifest_path), + "bosses": len(manifest["bosses"]), + "actors": len(manifest["actors"]), + "environment_sizes": len(TARGET_SIZES), + }, + sort_keys=True, + ) + ) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tools/verify_fg3_media.py b/tools/verify_fg3_media.py new file mode 100644 index 00000000..63004ef4 --- /dev/null +++ b/tools/verify_fg3_media.py @@ -0,0 +1,244 @@ +#!/usr/bin/env python3 +"""Validate FG-3 media provenance and deterministic runtime outputs.""" + +from __future__ import annotations + +from collections import deque +import hashlib +import json +from pathlib import Path + +from PIL import Image + + +ROOT = Path(__file__).resolve().parents[1] +MEDIA_ROOT = ROOT / "docs/runtime/fg3/media" +MANIFEST_PATH = ROOT / "runtime/assets/fg3/asset-manifest.json" +EXPECTED_SIZES = {(380, 180), (422, 195), (320, 180)} +EXPECTED_BOSSES = { + "BO-R2-01": {"frames": 4, "cell": (128, 96)}, + "BO-R2-02": {"frames": 4, "cell": (96, 96)}, +} +EXPECTED_ACTORS = { + "PF-B09", "PF-B07", + "EN-R2-01", "EN-R2-02", "EN-R2-03", "EN-R2-04", "EN-R2-05", "EN-R2-06", + "EN-R2-07", "EN-R2-08", "EN-R2-09", "EN-R2-10", "EN-R2-11", "EN-R2-12", +} +EXPECTED_TASKS = { + "task_01M056E56CNT64A0M3VB617Z9R", + "task_01M056H19DE2EQDR3DS0YJQ7MA", + "task_01M056P0CCPYVFS2GXD91GK7KZ", + "task_01M058059WFB3F4G96SC9SDRWD", +} + + +def sha256(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def require(condition: bool, message: str) -> None: + if not condition: + raise AssertionError(message) + + +def runtime_path(relative: str) -> Path: + return ROOT / "runtime" / relative + + +def verify_provider_reports() -> None: + tasks = set() + total_cost = 0.0 + for report_path in sorted((MEDIA_ROOT / "reports").glob("*.json")): + report = json.loads(report_path.read_text(encoding="utf-8")) + require(report.get("status") == "completed", f"incomplete report: {report_path}") + tasks.add(report["task_id"]) + total_cost += float(report["cost"]) + output = ROOT / report["output"] + require(output.is_file(), f"missing provider output: {output}") + require(output.stat().st_size == int(report["bytes"]), f"provider byte mismatch: {output}") + require(float(report["credits_cost"]) == 0.14, f"credit mismatch: {report_path}") + require(tasks == EXPECTED_TASKS, "provider task inventory mismatch") + require(abs(total_cost - 0.056) < 0.000001, "provider cost must be exactly USD 0.056") + + +def verify_cluster_pitch(image: Image.Image) -> None: + pixels = image.load() + for top in range(0, image.height - 1, 2): + for left in range(0, image.width - 1, 2): + block = { + pixels[left, top], + pixels[left + 1, top], + pixels[left, top + 1], + pixels[left + 1, top + 1], + } + require(len(block) == 1, f"non-integer environment cluster at {left},{top}") + + +def verify_environment(manifest: dict) -> int: + environment = manifest["environment"] + require(environment["region_id"] == "RG-02", "environment region changed") + require(environment["source_band_cuts"] == [0, 682, 1365, 2048], "source thirds changed") + require(environment["palette_size"] == 32, "environment palette contract changed") + seen_sizes = set() + checked = 0 + for layer_name in ("background", "midground", "foreground"): + records = environment["layers"][layer_name] + for size_key, record in records.items(): + width, height = (int(value) for value in size_key.split("x")) + seen_sizes.add((width, height)) + path = runtime_path(record["path"]) + require(path.is_file(), f"missing environment layer: {path}") + require(sha256(path) == record["sha256"], f"environment hash mismatch: {path}") + with Image.open(path) as opened: + rgba = opened.convert("RGBA") + require(rgba.size == (width, height), f"environment size mismatch: {path}") + require(record["cluster_pitch"] == 2, f"cluster pitch mismatch: {path}") + require(int(record["colors"]) <= 32, f"palette exceeds 32 colors: {path}") + alphas = {pixel[3] for pixel in rgba.getdata()} + require(alphas <= {0, 255}, f"soft alpha found: {path}") + if layer_name == "background": + require(alphas == {255}, f"background must be opaque: {path}") + else: + require(alphas == {0, 255}, f"overlay alpha missing: {path}") + key_pixels = sum( + 1 + for red, green, blue, alpha in rgba.getdata() + if alpha and red >= 240 and blue >= 240 and green <= 24 + ) + require(key_pixels == 0, f"magenta residue found: {path}") + verify_cluster_pitch(rgba) + checked += 1 + require(seen_sizes == EXPECTED_SIZES, "environment target-size inventory mismatch") + return checked + + +def component_areas(alpha: Image.Image) -> list[int]: + width, height = alpha.size + pixels = list(alpha.getdata()) + visited = bytearray(width * height) + areas: list[int] = [] + for start, value in enumerate(pixels): + if value == 0 or visited[start]: + continue + visited[start] = 1 + queue: deque[int] = deque([start]) + area = 0 + while queue: + current = queue.popleft() + area += 1 + x, y = current % width, current // width + for next_y in range(max(0, y - 1), min(height, y + 2)): + row_start = next_y * width + for next_x in range(max(0, x - 1), min(width, x + 2)): + neighbor = row_start + next_x + if pixels[neighbor] and not visited[neighbor]: + visited[neighbor] = 1 + queue.append(neighbor) + areas.append(area) + return areas + + +def significant_component_count(alpha: Image.Image) -> int: + return sum(1 for area in component_areas(alpha) if area >= 10) + + +def verify_bosses(manifest: dict) -> int: + require(set(manifest["bosses"]) == set(EXPECTED_BOSSES), "Boss identity inventory mismatch") + checked = 0 + for identity_id, expected in EXPECTED_BOSSES.items(): + boss = manifest["bosses"][identity_id] + require(boss["state"] == "boss_action", f"Boss state mismatch: {identity_id}") + require(boss["fps"] == 8 and boss["loop"] is False, f"Boss timing mismatch: {identity_id}") + require(len(boss["frames"]) == expected["frames"], f"Boss frame count mismatch: {identity_id}") + atlas = runtime_path(boss["atlas"]) + require(atlas.is_file(), f"Boss atlas missing: {identity_id}") + require(sha256(atlas) == boss["atlas_sha256"], f"Boss atlas mismatch: {identity_id}") + for index, frame in enumerate(boss["frames"]): + path = runtime_path(frame["path"]) + require(path.is_file(), f"Boss frame missing: {path}") + require(sha256(path) == frame["sha256"], f"Boss frame hash mismatch: {path}") + with Image.open(path) as opened: + rgba = opened.convert("RGBA") + require(rgba.size == expected["cell"], f"Boss cell mismatch: {path}") + alpha = rgba.getchannel("A") + bounds = alpha.getbbox() + require(bounds is not None, f"empty Boss frame: {path}") + left, top, right, bottom = bounds + require( + left > 0 + and top > 0 + and right < expected["cell"][0] + and bottom < expected["cell"][1], + f"Boss touches edge: {path}", + ) + require(set(alpha.getdata()) <= {0, 255}, f"soft Boss alpha found: {path}") + key_pixels = sum( + 1 + for red, green, blue, value in rgba.getdata() + if value and red >= 240 and blue >= 240 and green <= 24 + ) + require(key_pixels == 0, f"magenta residue found: {path}") + if identity_id == "BO-R2-01" and index == 2: + require( + significant_component_count(alpha) <= 5, + "Sluiceback action frame retains detached streak/debris", + ) + checked += 1 + return checked + + +def verify_actors(manifest: dict) -> int: + require(set(manifest["actors"]) == EXPECTED_ACTORS, "FG-3 actor identity inventory mismatch") + checked = 0 + for identity_id, actor in manifest["actors"].items(): + require(actor["logical_grid"] == [36, 36], f"actor logical grid mismatch: {identity_id}") + require(actor["palette_size"] == 16, f"actor palette contract mismatch: {identity_id}") + require(int(actor["colors"]) <= 16, f"actor palette exceeds 16 colors: {identity_id}") + require(len(actor["frames"]) == 1, f"actor anchor count mismatch: {identity_id}") + atlas = runtime_path(actor["atlas"]) + require(atlas.is_file(), f"actor atlas missing: {identity_id}") + require(sha256(atlas) == actor["atlas_sha256"], f"actor atlas mismatch: {identity_id}") + frame = actor["frames"][0] + path = runtime_path(frame["path"]) + require(path.is_file(), f"actor frame missing: {path}") + require(sha256(path) == frame["sha256"], f"actor frame mismatch: {path}") + with Image.open(path) as opened: + rgba = opened.convert("RGBA") + require(rgba.size == (72, 72), f"actor cell mismatch: {path}") + alpha = rgba.getchannel("A") + bounds = alpha.getbbox() + require(bounds is not None, f"empty actor frame: {path}") + left, top, right, bottom = bounds + require(left > 0 and top > 0 and right < 72 and bottom < 72, f"actor touches edge: {path}") + require(set(alpha.getdata()) <= {0, 255}, f"soft actor alpha found: {path}") + require(min(component_areas(alpha)) >= 16, f"tiny detached actor debris found: {path}") + key_pixels = sum( + 1 + for red, green, blue, value in rgba.getdata() + if value and red >= 240 and blue >= 240 and green <= 24 + ) + require(key_pixels == 0, f"magenta residue found: {path}") + verify_cluster_pitch(rgba) + checked += 1 + return checked + + +def main() -> int: + verify_provider_reports() + manifest = json.loads(MANIFEST_PATH.read_text(encoding="utf-8")) + require(manifest.get("kind") == "abg-fg3-runtime-media", "runtime manifest kind mismatch") + require(manifest.get("filter") == "nearest", "runtime filter must be nearest") + require(manifest.get("integer_placement") is True, "integer placement must be true") + environment_count = verify_environment(manifest) + actor_count = verify_actors(manifest) + boss_count = verify_bosses(manifest) + print( + "ABG_FG3_MEDIA_OK " + f"tasks=4 cost_usd=0.056 environment={environment_count} actors={actor_count} boss_frames={boss_count} " + "palette_max=32 cluster_pitch=2 edge=0 chroma=0 alpha=binary" + ) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main())