Skip to content

Extract gameplay feedback, content decoders and event translation from Godot - #20

Merged
JBailes merged 6 commits into
mainfrom
refactor/portable-content-decoding
Nov 16, 2026
Merged

JBailes merged 6 commits into
mainfrom
refactor/portable-content-decoding

Conversation

@JBailes

@JBailes JBailes commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Extract controller feedback and 13 retail content decoders into the plain .NET Vagrant.Gameplay library. Vagrant owns the game’s two-channel envelopes, timing, palette/transparency rules, title/loading art, fonts, HUD, manuals, overlays, effects, map geometry/textures/skies, inventory, save pictures, results, event translation and ending decompression. The library references only .NET and the host-neutral WolEngine.Core contracts; Godot device, image and PNG operations live in wol-engine.

FieldContent keeps one portable image buffer per asset. The host creates its native image at the presentation boundary. Cache identity includes the gameplay and portable-core assembly versions. Shared color/mask rules and clock constants have one owner; displaced host calls and resource IDs are removed.

The dependency is downloaded and vendored from the published runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950 release:
https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950
All three SDKs were built, qualified and independently audited on native CI. The six downloaded assets passed another full publication-policy audit before vendoring. Portable DLL bytes match across all targets, and VENDOR.json retains archive and member hashes. No locally built SDK binary is vendored.

Validation:

  • Synthetic contracts pass against the published core and in a sparse consumer without a Godot project, GodotSharp.dll or WolEngine.dll. CI runs these contracts on Linux, Windows and macOS before native player builds; gameplay and core dependencies are checked transitively.
  • Old/new local decoding matches all 13,356 document/image entries across 421 decoded rooms, effects, overlays, manuals, fonts and title art. Unused rejected rooms behave identically.
  • All 1,173 event translations and resulting bank selections match (2,346 comparisons).
  • Managed Debug/ExportRelease integration and headless attachment projection, animation-script and room-ordering contracts pass. All three native player builds, package audits and exported-player checks pass against the final vendored release. Sparse gameplay contracts also pass on all three hosts. CI: https://github.com/RakuenSoftware/vagrant/actions/runs/43759984266
  • No distribution images were built locally. No disc files, captures, parity reports, engine implementation source or owned debug symbols are committed.

This PR now targets main and includes #19’s controller extraction, so #19 does not need a separate merge. Engine #152 and release #6 are merged and the SDK dependency is resolved.

Character construction, audio playback, live field/event presentation and UI scenes still contain Godot-specific code and remain for subsequent extraction.

@JBailes JBailes changed the title Extract retail content decoding from the Godot host Extract content decoders and event translation from the Godot host Nov 15, 2026
@JBailes JBailes changed the title Extract content decoders and event translation from the Godot host Extract gameplay feedback, content decoders and event translation from Godot Nov 15, 2026
@JBailes
JBailes changed the base branch from refactor/engine-independent-feedback to main November 15, 2026 20:46
@JBailes
JBailes merged commit 4540b7a into main Nov 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant