Skip to content

Fix freeze world crash and motion blur - #148

Closed
meotify wants to merge 1 commit into
borgCode:masterfrom
meotify:freeze-world-fix
Closed

meotify wants to merge 1 commit into
borgCode:masterfrom
meotify:freeze-world-fix

Conversation

@meotify

@meotify meotify commented Nov 19, 2026

Copy link
Copy Markdown

Fixes two Freeze World issues on 1.17.2: the game could crash when toggling it (mostly when toggling several times in a row), and frozen characters stayed smeared because TAA / motion blur kept their last movement.

  • New patch ShouldPauseWorld (2.7.2: 0xAF9F45, 74 09 -> 90 90) instead of IsWorldPaused. It nops the je after the WorldChrMan check, so the game's own pause write (mov word ptr [rbx+4B8h], 0100h) runs. Pattern added for the AOB fallback.
  • Only the 2.7.2 offset is known. On other patches (or if the pattern isn't found) it falls back to the old IsWorldPaused patch, so nothing changes there.
  • Before freezing, game speed goes to 0.0001 for 3 frames so the bone matrices settle, then it's restored. Waits are in frames from the FPS cap (clamped to 1/60..1/15 s), so it also works with the 20 fps cap.
  • Freeze World is turned off on loading screens, same as Free Cam.

Frame advance with triangle doesn't work on 1.17.2 anymore, since the debug pause block is skipped now. Tooltip probably needs updating.

Tested on 1.17.2: rapid toggling, freezing mid attack (no smearing), freezing with the 20 fps cap, game speed restored after freezing, Freeze World resets after warping.

@1recyclebin1

Copy link
Copy Markdown
Collaborator

the game could crash when toggling it (mostly when toggling several times in a row)

this isn't a thing in the current implementation of freeze world, it is most likely caused by the rapid slowing down of the game that whatever LLM was used in the PR tried to resolve with a second patch.

Character smearing remains and you can see the character ""jittering"" anyway, I can take a look into improving this at some point in the future but this isn't really a fix for anything from what I've tested.

test.mp4

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.

2 participants