diff --git a/docs/compaction-handoff.md b/docs/compaction-handoff.md index e180748..fcf952c 100644 --- a/docs/compaction-handoff.md +++ b/docs/compaction-handoff.md @@ -2,6 +2,27 @@ Current date/time context: 2026-06-27, local timezone America/Chicago. +## 2026-06-27 Momentum Penalty Test Installed + +- The game was cold, so an enabled momentum-penalty test DLL was installed to + the Cyberpunk RED4ext plugin directory. +- Source flag for the installed test: + `kEnableGpsMomentumPenaltyInlinePatch = true`. +- The old highway multiplier hook is still compiled in, but + `solver_weights.bin` was written to `vanilla` (`1.0`) so highway preference is + neutral for this A/B. The active behavioral change should be only the fixed + ordinary-edge additive penalty. +- Active fixed penalty: + `kGpsMomentumFixedEdgePenalty = 8.0f`. +- Expected log lines on launch: + `momentum fixed-edge penalty active value=8 sites=ordinary-expansion` plus + `gps-momentum-penalty-inline-patch applied site=expand-list-a` and + `site=expand-list-b`. +- First test routine should be the fixed car save and usual route sequence: + side job, Sinnerman, Claire, custom pin. If stable, also test Violence, + The Gig/Cassius Rider, Aldecaldo/Badlands, and unfinished-highway + cyberpsycho route. + ## 2026-06-27 Disabled Momentum Penalty Prototype - Static disassembly of the full async solver relaxation cluster is updated. diff --git a/red4ext/EdgeWeightGPS/src/Main.cpp b/red4ext/EdgeWeightGPS/src/Main.cpp index f9cd92f..c963d3c 100644 --- a/red4ext/EdgeWeightGPS/src/Main.cpp +++ b/red4ext/EdgeWeightGPS/src/Main.cpp @@ -103,7 +103,7 @@ constexpr bool kEnableGpsMultiplierHooks = false; constexpr bool kEnableGpsAuxMultiplierHook = false; constexpr bool kEnableGpsMultiplierSignatureTrace = false; constexpr bool kEnableGpsNodeMultiplierInlinePatch = true; -constexpr bool kEnableGpsMomentumPenaltyInlinePatch = false; +constexpr bool kEnableGpsMomentumPenaltyInlinePatch = true; constexpr bool kEnableGpsCostTablePatch = false; constexpr bool kEnableGpsProviderClassPatch = false; constexpr bool kEnableGpsProviderClassPatchTrace = false;