MeadowValley BackToEarth (SlateOne) 04 Recomp

Changelog

All notable changes to HMBackToNature-Recomp are documented in this file following Keep a Changelog.

[Unreleased]

[0.5.0] - 2026-11-29

Added

  • 100% Pure Static Overlay Readiness (isPureStaticReady) & D4b Multi-Scene Trace Parity (Slus01115PureStaticReadiness.cs, Slus01115TraceParityVerifier.cs): Added Slus01115PureStaticReadiness.Evaluate + HMBackToNatureGameModule.EvaluatePureStaticReadiness certifying 14/14 resident + dual-slot overlay coverage (jit=0, threadedIr=0, interp=0 under staticAotOnly) and Slus01115TraceParityVerifier.VerifyScene validating read-only guest RAM trace anchors across 4 oracle scenes (TitleScreen 0x0D, FarmhouseInterior 0x0E, OutdoorFarmFreeRoam 0x02/0x06/0x13/0x14, and Year3EvaluationAndCredits 0x10/0x04).
  • 360° Radial Analog Deadzone & Zero-RAM Haptic Rumble (Slus01115NativeActionHook.cs, Slus01115HapticRumbleController.cs): Added configurable inner/outer radial analog stick deadzone rescaling (0x5C..0xA4 neutral center + smooth outer saturation via stickDeadzoneInnerPercent / stickDeadzoneOuterPercent) and committed-tick-end Slus01115HapticRumbleController (0x42–0x4D DualShock small/large motor telemetry strictly outside InSubTickRender, 0 guest RAM writes).
  • Isolated --save-dir Dual-Slot .mcr/.rst Routing & uStation CLI Parity (SaveMigrationHelper.cs, LauncherCliAndContainment.cs): Added fail-closed --save-dir containment for isolated Slot 1 (bu00:) and Slot 2 (bu10:) BASLUS-01115 .mcr + .rst persistence and wired --open, --rumble/--no-rumble, --cdda-volume, --pad1-type, --pad2-type, --fullscreen/--window, --overscan, --audio-driver, --promote-profile, and --require-pure-static (mapping cleanly to --execution-tier staticAotOnly for reSlate.Player.exe and rejecting --jit-bringup conflicts with ExitCode = 2).
  • v0.5.0 Unit & 10-Fixture Tri-Backend Certification Suite (V050PureStaticAndRumbleTests.cs, V050SavesCliAndCertificationTests.cs): Expanded synthetic verification to 131/131 passing Release & Debug /warnaserror tests (0 warnings), certifying pure-static readiness, 4-scene trace parity, radial deadzone + zero-RAM rumble, --save-dir isolation, uStation CLI flags, Release IL purity (MetadataReader), and 10/10 certification fixtures across opengl, vulkan, and parallelCpu.

Changed

  • SDK Lockstep (Foundation v0.6.0, reEngine v0.7.0, reSlate v0.4.0) & Pure Win32 Offline Setup Wizard: Synced Dev\lib\ and sdk-manifest.json onto Foundation v0.6.0, reEngine v0.7.0, and reSlate v0.4.0 (engineVersion: "0.4.0", compatibleEngineTrack: "0.4.x", supportedEngineTracks: ["0.4.x", "0.3.x"]); migrated HMBackToNatureRecomp.Installer onto pure Win32 WizardControl / InstallerWizardForm.RunDialog() + MessageBoxW + Debug-only WizardAutomationSurfaceTarget (System.Windows.Forms and Foundation.UI stripped from Release binaries); and normalized isRumbleEnabled, cddaVolume, padPort1Type, padPort2Type, stickDeadzoneInnerPercent, and stickDeadzoneOuterPercent in SettingsMigrator + Slus01115InputProfile.ControlOptions (7 live options).

[0.4.0] - 2026-11-28

Added

  • Smart Isometric 16:9/21:9 Framing & 4:3 HUD Pinning (SmartIsometricViewportPolicy.cs): Added scene-aware widescreen framing wired into IsometricVramGuard, HMBackToNatureGameModule, and Slus01115InputProfile.ControlOptions (indoorWidthClampPx, isHudPinned4By3, shouldSuppress480iSmoothing), widening outdoor isometric scenes while clamping <= 320 px compact interiors, 480i screens, area loads, fades, and modal menus to 4:3 and computing centered 4:3 HUD safe bounds.
  • 60–240+ Hz Camera & Actor Sub-Tick Interpolation + ISkipCutsceneHook (Slus01115EntityInterpBuffer.cs, Slus01115CutsceneSkipHook.cs): Interpolates HmCameraIsoState (0x80061DE8), Farmer (0x80071B00), Chicken Coop (0x800742EC, 10 slots), and Barn/NPC actors (0x800749F4, 20 slots) with teleport rejection, 480i + Fast-Forward suppression, full baseline rollback (0 RAM write violations), and scene-guarded Cutscene Skip (F7) protecting free-roam gameplay, diary/memory card overlays, and Title Menu Select.
  • Clean-Room <dataDir>\hdpacks\ Hook & p11_animl Shield (HdTexturePackShield.cs): Wraps path-contained HdTexturePackStore with AppEnvironment.AssertPathContained and shields dynamic p11_animl (x >= 0x140 / texPage >= 5) VRAM regions from static override matching.
  • Project Charter, Community Templates & CI/Release Workflows: Added Dev/docs/CHARTER.md, .github/ issue/PR templates, Code of Conduct, and CI/Pages/Release workflows, updated CONTRIBUTING.md clone commands, and added SignPath Code Signing Policy + hyperlinked ecosystem docs in README.md.
  • v0.4.0 Regression Suite (V040EnhancementsAndQolTests.cs): Added synthetic verification covering ParallelCpu vs. Software 1x SHA-256 parity, SettingsMigrator + CLI pass-through, SmartIsometricViewportPolicy, 60–240+ Hz entity/camera smoothing (0 RAM violations), ISkipCutsceneHook, <dataDir>\hdpacks\ containment + p11_animl shielding, and PsxSpu Fast-Forward xaDrops == 0.

Changed

  • Upgraded SDK Stack (reSlate v0.3.3) & Lockstep v0.4.0: Synced Dev\lib\reSlate\ (v0.3.3) and Dev\lib\sdk-manifest.json, bumped manifests/constants/scripts to 0.4.0 (engineVersion: "0.3.3"), updated SettingsMigrator + SettingsMigrator.Helpers.cs + settings.example.json to preserve all 4 render backends (opengl, vulkan, parallelCpu, software), aspectRatioMode, overscanCropPx, isHdTexturePackEnabled, isFastForwardEnabled, fastForwardMultiplier, and metadataJson module keys, and added --aspect-mode, --fast-forward, and --hd-packs pass-through in LauncherCliAndContainment.
  • Sub-Tick 4KB Dirty-Page Rollback, Zero-Allocation Telemetry & UTF-8 Migration Fast-Path: Replaced full 2 MB per-subframe RAM copies in Slus01115SubTickRamGuard with a 4KB dirty-page ulong[] bitmask, added segment-range and steady-state snapshot fast-paths in DualSlotOverlayTracker and Part9SoundbankInspector, and added UTF-8 JsonDocument fast-path checking in SettingsMigrator (0 redundant [SETTINGS_MIGRATED] rewrites across restarts), passing 113/113 Release and Debug /warnaserror unit tests (0 warnings), Stage 2 4-Drive Sandbox (12/12 in 9.994s, hostDiffCount = 0), and 42/42 Live Tri-Backend E2E surfaces (OpenGL, ParallelCpu, Vulkan, Test Q, Test G 2.72s, xaDrops == 0).

[0.3.4] - 2026-11-23

Added

  • In-Game Diary .mcr Save Regression Coverage & Real Bedside Diary E2E (V034MemCardSaveRegressionTests, live_e2e_diary_tests.ps1, Dev/docs/OPERATIONS.InputPlaybook.md): Added V034MemCardSaveRegressionTests verifying bundled SDK versions (0.3.4, reSlate v0.3.2, reEngine v0.5.0) and full libmcrd _card_create2 (A0:0x1A strncpy + B0:0x4E) -> open -> write -> close persistence, upgraded isolated sandbox and live OpenGL gameplay E2E onto persistent Test Viewer Hub streaming (http://127.0.0.1:5005) with Missing-Media Gate (--verify ExitCode 4), warm cross-restart responsiveness (< 5s), and Test G real farmhouse bedside diary save (Diary 2 / BASLUS-01115-FARM1) + oracle validation (slot_count = 2, checksumsValid = true) + cross-restart reload (106/106 Release & Debug /warnaserror tests, 0 warnings).

Changed

  • Upgraded SDK Stack (reSlate v0.3.2, reEngine v0.5.0, Foundation v0.5.5): Synced Dev\lib\ (Foundation v0.5.5 + ExeboxStreamHelpers.ps1 / run_sandbox_e2e.py) and sdk-manifest.json, bumped Dev\module.recomp.json / Slus01115ModuleConstants (version: "0.3.4", engineVersion: "0.3.2"), Setup wizard, and build_release.ps1 to bundle reEngine v0.5.0 + reSlate v0.3.2 (inheriting Vulkan + deterministic ParallelCpu backends, AspectRatioMode, <dataDir>\hdpacks\, Fast-Forward, and Cutscene Skip support).
  • Workspace Hygiene Cleanup (2026-11-20): Purged 23.71 MB of disposable build/cache artifacts.

Fixed

  • In-Game Diary Save Failure ("saving to memory card failed"): Bundled reSlate v0.3.2 implementing BIOS A0:0x1A (strncpy) in PsxBiosHle.HandleA0 so libmcrd _card_create2 writes "BASLUS-01115-FARM0..3" filenames into .mcr directory frames instead of all-zero empty names (McErrFileNotExist + 4-block leak per attempt).
  • Warm Relaunch Redundant .7z Re-Extraction (6.47s -> 2.72–2.74s): Updated LauncherContainmentAndModule.BuildEffectiveForwardedArgs to skip forwarding --preload-media once data\gamedata\disc_manifest.json already exists (unless explicit --disc / --preload-media CLI flags are supplied), cutting warm restarts cleanly below 3s.

[0.3.3] - 2026-11-19

Added

  • Cutscene Minute-Rollover, QuickSave/QuickLoad & E2E Regression Coverage (V033CutsceneAndQuickSaveTests, live_e2e_helpers.ps1): Added V033CutsceneAndQuickSaveTests (CdlGetlocP rollover parity with cd_tick_xa_stream, Slus01115VSyncHelper Pc alignment, OVL_part11 ITextScopedOverlayRecompModule .data/.bss mutation immunity, GPU VRAM mirror sync & hf.2 -> hf.3 upgrade discovery) and extended live_e2e_helpers.ps1 + run_live_gameplay_e2e.ps1 with live F5 QuickSave -> movement -> F9 QuickLoad non-black framebuffer, cpuMs < 20 ms, ovHash stability, xaDrops == 0, and post-load movement verification (104/104 Release & Debug /warnaserror tests, 0 warnings).

Changed

  • Bundled reSlate v0.3.0-hf.3 SDK, TextScopedOverlayModuleAdapter & Lockstep: Synced Dev\lib\reSlate\ and sdk-manifest.json onto reSlate v0.3.0-hf.3 (preserving engineVersion: "0.3.0" / 0.3.x track), bumped module/launcher/installer/packaging manifests to 0.3.3, and updated TextScopedOverlayModuleAdapter to implement ITextScopedOverlayRecompModule (VerifiedTextStart, VerifiedTextSizeBytes, TextSha256Hex) alongside reSlate v0.3.0-hf.3 MipsLifter loop/call MidEntries so post-QuickLoad gameplay returns cleanly to compiled AOT without per-frame .data/.bss hash thrashing (~644 ms -> < 20 ms).

Fixed

  • Opening Cutscene XA Minute-Rollover Loop, Slus01115VSyncHelper Stale Pc & QuickLoad Black VRAM: Bundled reSlate v0.3.0-hf.3 splitting CdlGetlocL (0x10) vs CdlGetlocP (0x11 { 0x01, 0x01, pm, ps, pf, am, as, af }) to stop opening-cutscene minute-boundary seek retries and implementing owner-thread OpenGL _vramFbo readback + PsxGpu.SyncBackendToVramMirror() on QuickSave capture and live backend hot-swaps so QuickLoad displays live non-black VRAM; updated Slus01115VSyncHelper.TryInterceptVSyncWait to set cpuEx.Pc = VSyncWaitPc on entry and restore cpuEx.R[31] on handled return, preventing snapshots captured during VSync from recording stale overlay Pc values.

[0.3.2] - 2026-11-19

Added

  • Cadence Helper, Live Gameplay E2E & Regression Suite: Extracted Slus01115CadenceHelper (raising Slus01115SubTickHook.MaxSubFramesPerTick to 8 and mapping TargetFps <= 0 cleanly to Max), added V032ControlsAndCadenceTests, and added live OpenGL gameplay verification (Dev/scripts/run_live_gameplay_e2e.ps1 + live_e2e_helpers.ps1), expanding automated verification to 100/100 passing Release and Debug /warnaserror tests (0 warnings) alongside 12/12 Stage 2 Sandbox E2E and Tests A–F Live Gameplay E2E (15/15 inspected screenshots, 4,267 CPU frames, 0 crashes, xaDrops=0).

Changed

  • Bundled reSlate v0.3.0-hf.2 SDK, Lockstep & SettingsMigrator: Synced Dev\lib\reSlate\ onto reSlate v0.3.0-hf.2 (preserving engineVersion: "0.3.0" / 0.3.x track), bumped module/launcher/installer/packaging manifests to 0.3.2, updated InstallerBootstrapHelper to auto-upgrade reSlate v0.3.0-hf.1 suites to v0.3.0-hf.2, updated SettingsMigrator to preserve valid keyBindings.controllerBindings entries (0 or 2001..2032) without forcing unnecessary v2 migrations, and disabled Slus01115SubTickHook.EnableLiveSubTickExecution by default until v0.4.0 3D motion interpolation so reSlate v0.3.0-hf.2 drives host presentation swaps cleanly.

Fixed

  • < 64-Cycle VBlank Clamp Guard, 30/>60/Max Pacing & libmcrd Diary Loads: Guarded Slus01115VSyncHelper.TryInterceptVSyncWait against < 64-cycle NextVBlankCycle remainders and ArgumentException on unpatched hosts, paired with reSlate v0.3.0-hf.2's TryAdvanceToNextVBlank() clamp, Original + 30 FPS decimation, inter-VBlank 120–240+/Max OpenGL presentation (60 Hz VBlank and 44.1 kHz SPU lock preserved), and async libmcrd / ToT[10] snapshot fixes enabling verified .mcr diary loading into Farmhouse gameplay.
  • All-Tier Controller Rebinding & Menu/Gameplay Input Isolation: Defaulted moveUp–moveRight controller bindings in Slus01115InputProfile to DPadUp–DPadRight, cleared colliding hidden D-Pad defaults from map, journal, callMount, and callCompanion, updated Slus01115NativeActionHook so Menus always navigate cleanly via physical D-Pad + Left Stick without PadSelect leakage while Free-Roam separates KbmMoveMask (cropGrid/screenSpace) from GamepadButtonsMask and yields ControllerDpadClaimedByNonMoveMask directions, and refined IsGameplayContextActive (DialogueActiveAddr = 0x8006C904, CoreEngineFlags0Addr = 0x8006C844 & 0x18000000, overlays 0x02/0x06/0x0E/0x0F/0x13/0x14, submodeState 0/2/4) without false-positive 0x80071A6C (0x20000000) action-animation lockouts.

[0.3.1] - 2026-11-19

Added

  • Suite-First Installer Resolver & Interactive Wizard Auto-Sort: Added InstallerPathResolver and InstallerWizardAutoSort to resolve existing reEngine / game roots suite-first, deduplicate structural/repeated StreamItAll\reEngine\... and engines\... segments, auto-sort generic Wizard parent picks into <chosen>\StreamItAll\reEngine\games\MeadowValley-BackToEarth-SlateOne-04 while keeping CLI --install-dir custom folders working, and synchronize InstallDirTextBox and --reengine-dir two-way.
  • Launcher Hotfix SemVer Precedence: Added LauncherSemVerHelper implementing -hf.<n> > stable ecosystem precedence inside TryResolveSideBySideLeaf and MatchesManifestVersion, allowing reSlate v0.3.0-hf.1 to resolve when engineVersion == "0.3.0".
  • Authentic 30 Hz VSync(2) Cadence Helper & Regression Suite: Added Slus01115VSyncHelper (0x80032CFC wait loop vs 0x800575D4 VBlank counter via bounded TryAdvanceToNextVBlank() and InSubTickRender stub) and InstallerPathAndCadenceTests, expanding synthetic verification to 84/84 Release + Debug /warnaserror tests (0 warnings).

Changed

  • Patch Release Metadata & Hardened Uninstall Directory Cleanup: Bumped product version metadata (Dev/version.txt, Dev/Directory.Build.props, module.recomp.json, app.manifest.json, decomp.manifest.json, sdk-manifest.json, installer.manifest.json, Launcher/Installer constants, and packager release highlights) to 0.3.1 while keeping engineVersion: "0.3.0" on the 0.3.x track; hardened RemoveReadyMarkerIfPresent in Installer\Program.cs with 5-attempt (100 ms) IOException/UnauthorizedAccessException retry loops when deleting .ready and empty install folders.

Fixed

  • Duplicate reEngine\reEngine Paths & Misnested v0.3.0 Self-Healing: Removed redundant \reEngine suffixes across installer.manifest.json, Installer\Program.cs, InstallerSuiteDiscovery.cs, InstallerArgsAndContainment.cs (TryDeriveSuiteGameDir), and InstallerLegacyMigrationHelper.cs; added automatic misnested v0.3.0 (engines\...\StreamItAll\...) detection and user-data rescue (stripping poisoned suiteInstallDir), HKCU\Software\StreamItAll\LastInstallBaseDir self-repair (TryRepairLastInstallBaseDir), and interactive / --confirm-legacy-cleanup pruning of old misnested binaries.
  • VSync(2) 60 Hz Over-Speed & Title PRESS START Double-Confirm: Intercepted 0x80032CFC inside Slus01115SubTickHook so VSync(2) waits 2 genuine 60 Hz VBlanks (30.00 Hz guest cadence with 735 SPU samples/VBlank 44.1 kHz audio preserved), and added _suppressMenuConfirmUntilRelease across Slus01115NativeActionHook.ApplyTitleBridge so clicking/pressing PRESS START cannot bleed into Load Game on phase 7 until release.

[0.3.0] - 2026-11-18

Added

  • Declarative Setup, Legacy Save Remapper & .text-Scoped Overlay Adapter: Added Dev\src\HMBackToNatureRecomp.Installer\installer.manifest.json (schemaVersion: 2, allowAutoStart: false, allowLegacyMigration: true, --reengine-dir picker), SaveMigrationHelper (automatic non-destructive .mcr/.rst copy into data\memcards\ & data\saves\), TextScopedOverlayModuleAdapter (limiting overlay SHA-256 checks to immutable .text), Debug/Test-only InstallerAutomationHook (ExitCode = 2 fail-closed in Release), Dev\scripts\{package_helpers.ps1,run_stage2_sandbox_e2e.ps1,stage2_e2e_helpers.ps1,scrub_git_history.ps1}, and root SECURITY.md / CONTRIBUTING.md.

Changed

  • Public Beta Coded Identity Cutover (MeadowValley-BackToEarth-SlateOne-04): Upgraded SDKs to Foundation v0.5.0, reEngine v0.3.0, and reSlate v0.3.0 (reStation.{Contracts,Core} ABI preserved); renamed assemblies/installers/packages to MeadowValley-BackToEarth-SlateOne-04*; enforced byte-identical root & embedded module.recomp.json; standardized data\config\settings.json; upgraded relift_slus01115.ps1 -DecompBundle onto MeadowValley-BackToEarth-SlateOne-04.decomp (v0.2.1, 52 clean-source C modules, 4,334 sorted entries); exported live ControlOptions (controllerDpadMode, isometricMoveMode) in F1 -> Controls; split build_release.ps1 + package_helpers.ps1 to emit canonical 7-file NTFS-hardlinked Releases\v0.3.0\ & Releases\Latest\ + *-Portable.zip; and verified 78/78 Release & Debug /warnaserror tests (0 warnings), 4-drive Stage 2 Sandbox E2E (12/12 Foundation checks, Setup + Portable.zip + GUI Wizard + F9/F1 -> Controls, 0 occurrences of pc=0x8002C5B8, Release ExitCode = 2), and %TEMP% isolated scrub_git_history.ps1 (Archive\pre-scrub-v0.3.0.7z, 0 remaining violations).

Fixed

  • Playtest Blockers (HM-13, HM-14, HM-15) & Boot Fallback (0x8002C5B8): Explicitly seeded missing resident boot entry 0x8002C5B8 (2147665336) in aot-recipe.json (0 boot fallbacks), stopped Part 11/Part 27 mutable .data/.bss overlay SHA-256 thrashing, removed Esc (41) conflict from menuCancel, preserved analog stick axes via PsxCpu.GetControllerAxes, and adopted reSlate v0.3.0 (SIO0 0x81, _new_card, 60 Hz SPU lock, single-edge menu input) alongside additive upstream proposals filed to reStation.
  • Synchronous In-Place Uninstall & Automation Wait: Removed the self-trampoline spawn path in Installer\Program.cs so --uninstall executes synchronously in-place through StandardInstallerHost.Run while resolving the installed root beforehand to clean .ready markers (RemoveReadyMarkerIfPresent), and updated LauncherLoggerAndRunner.ShouldWaitForPlayerExit to await process exit on --automation-port runs.

Removed

  • Removed legacy Dev\lib\reStation\, root Installers\, Builds\v<Ver>\AGENTS.md emission, retired --dump-ui-preview / --screenshot-out CLI paths, and Foundation.Automation / WinForms references from Release binaries.