Repository navigation
Fix candidate: guarded heap-backed car ID decoding after car swaps - #5
Refilewski wants to merge 5 commits into
Conversation
Cross-check against Extra Options (2026-10-18)Reviewed Key finding: Extra Options' For a more authoritative future source, Extra Options uses Recommended: Run this PR's tested heap-string fallback through live car-switch tests first. Native FH2ML integration of the current-car object could then be researched independently on the game thread; don't invoke these game functions from the standalone cross-process reader or an arbitrary background thread. Preserve separate read-only EXE behavior unless we establish a safe pointer path. Do not merge based on the Extra Options code alone. CI for head |
What changed
std::stringheap-backed identifier atAudioEngine+0x278when the recorded size/capacity are compatible with long IDs (16–127 bytes). Retain the original inline decoder for short IDs and other layouts.Evidence
Issue #4: standalone 0.9.9 logs indicate
CarProbe=invalid-characterwhile Discord, speeds, and racing context work. This is consistent with pointer-backed strings, but does not prove it.Validation
CarProbe=ok-heapfor long IDs, and no stale vehicle on failureDo not merge until live gameplay validation. Closes no issue automatically; related: #4.