0 of 0

File information

Last updated

Original upload

Created by

gir489

Uploaded by

BubblyWord489

Virus scan

Safe to use

Tags for this mod

About this mod

This is a DLL implementation of my Bioshock 2 Remastered Fix Crashes/Fix Reverb Cheat Engine table.

Permissions and credits
Changelogs
I found the following causes crashes within Bioshock 2:

ALT+TABing from Full Screen: There's a check the game does to see if the screen is focused. In some circumstances, this check can be called erroneously, I have fixed a scenario where it could be called with a nullptr.

FMOD crash. This occurs when there's too many sounds in the pool. Simply just copy the behaviour of what the game already does, and don't play the sound for the frame it's overflowed.

D3D11 crash. In some cases, the asynchronous pointer for the render pool they were using was erroneously null when they went to call End(). Typically, you'd do a nullptr check before calling this (which is essentially what I've patched in).

Memory release crash. Most people on the forum I've seen say to bump the game's memory up, which it actually doesn't need, it's extremely well-mannered with its memory. However, there was an occurrence where a memory chunk went to be deallocated that was already deallocated. I patched it to check if that was the case, and simply do nothing.

Source code: https://github.com/gir489returns/Bioshock2CrashFix

Installation instructions:

This mod utilizes SpecialK for several things, mostly to enforce the render thread stacks in lockstep with the main thread, but it will also produce accurate crash logs if you wish to have me investigate your specific crash. Simply extract the contents of the archive into steamapps\common\BioShock 2 Remastered\Build\Final and the instillation should be complete.

The optional build will create a crash.log file inside the PlugIns\ThirdParty\Bioshock2CrashFix folder and write to it every time it catches a crash, so you can have empirical evidence this is working. There is no runtime cost associated with it, the logger runs in its own thread.

If you do not wish to use SpecialK, simply grab the Bioshock2CrashFix.dll from the PlugIns\ThirdParty\Bioshock2CrashFix folder, and rename it dxgi.dll and place it into your steamapps\common\BioShock 2 Remastered\Build\Final folder. The optional file cannot be used this way.