Skip to content

Witcher 2 Engine Fix 0.12.0

Choose a tag to compare

@MariusTBjercke MariusTBjercke released this 06 Nov 16:40
· 28 commits to main since this release

Fewer crashes and freezes, and memory that no longer runs out after an evening of loads. Extract the zip into the game folder, over the old version. The ini in the zip replaces yours, so note your changes first.

Fixed

  • Memory leak on save load. Every time a save was loaded, the game kept the stored state of every NPC in the world and read a new copy from the save. After an evening with many loads that was about 370 MB, enough to stop the seamless interiors. The mod frees the old copies: about 20 MB per load in Flotsam. [stability] layer_storage_leak=0 turns it off.
  • Prologue interrogation drawn whole. With seamless interiors on, the wall behind Roche and Roche's face could be missing. The interior preload loaded the whole dungeon next to the scene, with its occluders. It now preloads houses only and holds every occluder back. The prologue's houses still open without a fade.
  • No crash when quitting. Quit in the pause menu closed the game with the area still loaded, and in the prologue's interrogation that crashed every time on the way out. Quit now ends the game session first, as Exit current game does, and closes the game from the main menu about 1.5 s later; you may see the menu for a moment. [stability] clean_quit=0 quits at once as before.
  • A freeze in the game's pathfinding. A frozen game showed the pathfinding asked about a line whose two ends are the same point: it then loops for good, and the next door or load freezes. The mod answers such a line at once. [stability] path_guard=0 turns it off. The freeze is rare, so the guard has not caught one in a test yet.

New

  • [diagnostics] mem_trace=N (off by default): a census of the game's memory every N minutes, written next to the log, to find what keeps growing over a long session. It found the save load leak above.

Tested

Steam 3.5.0.26 and GOG 3.5.0.26g, Windows 11, both with DXVK.

Full list: CHANGELOG.md