MeadowValley BackToEarth (SlateOne) 04 Recomp

Preservation & Port Design Document: HMBackToNature-Recomp

  • Design Profile: PRESERVATION (RECOMP)
  • Current Shipped Baseline: v0.5.0 (Implemented)
  • Active Target Horizon: v1.0.0 (Locked for v1.0.0)
  • Charter & Roadmap Anchors: CHARTER.md · ROADMAP.md · ARCHITECTURE.md

1. Product Vision & Core Capabilities

Clean-room static SlateOne (MIPS32 R3000A + GTE) recompilation module for North American retail release SLUS-01115, built on reSlate and reEngine.

Shipped & Scoped Capability Pillars

  • Clean-Room Research Upstream: Consumes clean binary specifications, typed C headers, and lift metadata produced by the standalone sister research repository MeadowValley-BackToEarth-SlateOne-04-Decomp (v0.2.1 — 52 warning-free C modules, 3,828 indexed functions, and 12 deterministic fixed-point math and simulation checks). Its exported clean-room MeadowValley-BackToEarth-SlateOne-04.decomp bundle feeds the local AOT recipe directly.
  • Static Recompilation Engine Stack: Powered by reSlate (static MIPS32 R3000A + GTE ahead-of-time compiler and live runtime translator, integrated cleanly via reEngine's zero-daemon launcher). Never a generic compatibility emulator — guest functions compile natively ahead of time or through reSlate's guarded runtime translator, with interpreter execution isolated strictly to explicit developer verification mode.
  • Playable Today (v0.5.0): Verifies your own retail SLUS-01115 disc, compiles native local AOT code with 100% pure-static 14/14 binary readiness (isPureStaticReady = true, zero interpreter/JIT dispatch under staticAotOnly), validates 4-scene trace parity (TitleScreen, FarmhouseInterior, OutdoorFarmFreeRoam, Year3EvaluationAndCredits), persists isolated Slot 1 (bu00:) and Slot 2 (bu10:) in-game diary .mcr saves + .rst quick-saves via --save-dir, protects Part 11/Part 27 overlays with .text-only SHA-256 verification + MidEntries, renders across OpenGL 3.3, Vulkan, ParallelCpu, and Software backends, adds Smart Isometric 16:9/21:9 framing (<= 320 px indoor clamp + 4:3 HUD pin), drives 60–240+ Hz camera/farmer/animal/NPC smoothing with 480i + Fast-Forward suppression and 4KB dirty-page rollback alongside locked 60 Hz SPU audio, adds 360° analog radial deadzone + zero-RAM haptic rumble, supports audio-safe Fast-Forward (F6), Cutscene Skip (F7), and <dataDir>\hdpacks\ (p11_animl shielded), passes 131/131 synthetic unit & certification tests (0 warnings) across 10/10 tri-backend fixtures, and ships a pure Win32 offline Setup executable plus standalone Portable.zip.
  • Clean-Room Local AOT Compilation: Ships zero generated C# files or compiled retail libraries; compiles native .NET 8.0 code for SLUS_011.15 and 13 overlays on first launch inside gitignored <dataDir>\cache\.
  • Smart Isometric Framing & High-Refresh Smoothing: Widens outdoor isometric gameplay scenes to 16:9 or 21:9, clamps compact <= 320 px interiors and 480i screens to 4:3, pins HUD/dialogue boxes inside the 4:3 safe zone, and interpolates camera, farmer, coop, and barn/NPC positions up to 240+ Hz with zero guest RAM mutations.
  • Dual-Slot Container & Hardware Guards: Parses the 32-partition A_FILE.HDT / A_FILE.BIN archive, tracks co-resident Slot A (0x800B7E20) and Slot B (0x8012DDE8) overlays cleanly without .bss overlap tamper alerts, shields dynamic p11_animl (x >= 0x140) VRAM uploads in <dataDir>\hdpacks\, and validates 0x0E sprite banks, Part 9 audio soundbanks, and STR/01..04.XA streams.

2. Clean-Room BYO-Media Pipeline & Runtime Experience

  • BYO-Media Verification Gate: Validates user-supplied retail media against expected SHA-256 digests locally before compiling or caching AOT modules under <dataDir>/cache/.
  • Shared Host Presentation: Leverages reEngine.Host and platform engine slices for low-latency native rendering, accurate audio mixing, modern controller/keyboard prompts, and non-destructive save management.
  • Purist vs. Enhanced Balance: Preserves authentic timing and simulation behavior by default while exposing optional widescreen, display filter, and quality-of-life toggles.

3. Data, Configuration & Failure-Mode Contracts

  • Configuration Precedence: Explicit CLI flags (--data-dir, --config, --log-dir, --port) override environment variables, which override local workspace defaults—ensuring automated tests never touch live production state.
  • Graceful Degradation: Missing optional inputs, offline endpoints, or corrupted local cache files surface clear recovery guidance rather than silent data loss or unhandled crashes.

4. Design Change Log

  • 2026-11-30 (v0.5.0 -> v1.0.0): Synthesized baseline living design specification from shipped architecture, feature registry, and roadmap horizons.