Repository navigation
A quest fix for 0.12.1, a crash on Quit, and large interiors that no longer pay for the land outside. Extract the zip into the game folder, over the old version. The ini in the zip replaces yours, so note your changes first.
Fixed
- Poker Face: Vergen can be finished again (broken by 0.12.1; thanks for the precise report on Nexus). The last dice player declared Geralt the loser without a game, also when met in the street. The quest learns that Geralt is indoors from a marker that the game loads only inside three of Vergen's houses and the inn; 0.12.1 loads those houses with the town, marker included, so the quest thought he was always indoors. Such quest markers now load at their door and unload behind it, as in the game. The arm wrestling spot in Vergen's inn worked the same way and is covered too.
- Crash on Quit soon after loading a save. A loading screen ends by asking its movie to fade out, and the game only frees it once the movie answers. After a load it often never did, so the movie stayed for the rest of the session, and a Quit could then crash in the GUI shutdown (silently: the game closed and left a dump). The left-over screen is now freed 4 s after its loading screen ended, and when you quit.
[stability] loading_screen_cleanup=1. - A black wall and darkness coming out of a cave. The black plane in a cave mouth, the box that keeps the sun out of a cave and an area's own lighting stayed loaded after you left the area: coming out of the cave near Vergen you walked through a black wall, and the ground outside was dark, with the cave's sky above it. A door between two areas now swaps these, as the game does.
Changed
-
Large interiors no longer pay for the land outside (
[loading] release_kept=30,hide_kept=1). A door between two whole areas (a cave and the land outside it) keeps the area you leave loaded, and the renderer worked through it every frame although you could not see it. Deep in the cave near Vergen that cost a third of the frame rate (49 instead of 75 fps measured), almost all of it for the grass above. Once you are 30 m from such a door the area left behind is taken out of the picture, without unloading it, and it is back before you reach the door again. The terrain and single large meshes stay, so a crack in a cave's roof still shows rock. With little memory free it is unloaded instead and loads again at the door, behind a short fade. House doors are not affected: a house keeps its street.release_kept=0restores 0.12.1's behaviour. -
Small areas behind an area's doors load with the area (
[loading] preload_areas=1). The interiors of houses already loaded with their area; a cave off the quarry did not, and its door faded and loaded on the first visit. Such areas now load behind the area's loading screen, while 1.5 GB of memory is free, and stay out of the picture until you use their door, so they cost no frame rate and the door goes without loading or fade. The mod learns an area's doors the first time the area loads and uses them from its next load on; until then, and for bigger areas, the door keeps its short fade.preload_areas=0restores 0.12.1's behaviour.
Upgrade
Extract the zip into the game folder and overwrite. Your bin\witcher2_enginefix.ini is replaced: copy your changes over, or keep your old file. The new keys have the same defaults without a line in the ini:
[loading]
release_kept=30
hide_kept=1
preload_areas=1
[stability]
loading_screen_cleanup=1
Tested
Steam 3.5.0.26 and GOG 3.5.0.26g with DXVK, Windows 11: the cave near Vergen (preloaded with the quarry, its door without a fade, the area outside hidden 30 m in and shown again on the way back, rock in the cracks of the roof, no black wall and the same light and sky outside as before going in, stable frame rate), the loading screen cleanup after every load, clean quits. On Steam also houses in Flotsam and Binduga, without a fade as before, and the crash itself before the fix (a Quit 7 s after a load).
Not seen in game yet: Poker Face itself and the doors of those Vergen houses (my save is on Roche's path, where Vergen is closed; the quest's data and the layers involved were read from the game files), the hiding in Act 3, where the areas are open-air quarters, the area preload anywhere but that cave, and what happens when memory gets short while an area is hidden or preloaded. If the dice player still refuses to play, or something looks wrong behind a door, please post bin\witcher2_enginefix.log.
Full list: CHANGELOG.md