Skip to content

Witcher 2 Engine Fix 0.9.0

Choose a tag to compare

@MariusTBjercke MariusTBjercke released this 04 Nov 10:04
· 48 commits to main since this release

Medallion on the move, and fixes for 32-thread CPUs, script mods and quitting

Steam only for now. This version supports the Steam version of The Witcher 2: Assassins of Kings - Enhanced Edition 3.5.0.26. The GOG version is a separately compiled build: the engine fixes skip themselves there and the save fixes do not apply. GOG support is being worked on for a later version.

  • New: medallion on the move. The medallion key works at once: Geralt keeps walking, running or fighting instead of stopping for the animation, and the medallion is ready again after 1 second instead of 2. The pulse, sound and highlights are unchanged. A medallion started by a quest keeps the animation. [scriptpatches] medallion=0 turns it off.
  • Fixed: no window on CPUs with 32 or more threads. On such a CPU the game's own CPU count never ended, so it stayed in the background without a window. The mod skips that count, the same as taking a core away in Task Manager, but you keep every core. Not yet run on such a CPU; when it applies, the log says cpu32: 32 logical processors seen. [stability] cpu32_guard=0 turns it off.
  • Fixed: "Script compilation error" with other script mods. A mod with its own copy of a script this mod patches could take the patched copy's place, and the game stopped with errors such as I dont know any 'W2EF_LootName'. That happens with mods installed as user content (Documents\Witcher 2\UserContent) and with a modded base_scripts.dzip that holds a file twice. The mod now patches whichever copy the game actually compiles, and the book helpers live in their own script. If a mod's copy is too different for a patch, that one feature stays off, the game starts without it, and the log says so.
  • Fixed: Quit in the pause menu crashed the game while it shut down. You did not see it, because the game was closing anyway, but each such quit left a crash dump in bin. Quitting is also a little faster now. [stability] quit_guard=0 turns it off.
  • Fixed: opening the launcher's settings overwrote the mod's log. The launcher's settings tool loads the mod's DLL too, and it replaced witcher2_enginefix.log and .prev.log, so the log of a crash was lost. Outside the game the DLL now only forwards input.

Upgrading

Extract the zip over the previous version (into the game folder, so that bin\dinput8.dll is replaced). The new ini replaces the old one; if you changed settings, note them first. The patched scripts are rebuilt once at the first start. bin\witcher2_enginefix.log should start with witcher2_enginefix 0.9.0 loaded.

Tested on Steam 3.5.0.26 (Enhanced Edition), Windows 11. The 32-thread fix was not run on such a CPU.