IWBTB mod with hacks and tools to help speedrunning and creating TAS
For testing, just build the DLL using Visual Studio and inject it into the game process (boshyst.conf config will be created is in the game dir).
For hourglass (Windows XP compatible), build the DLL using Visual Studio 2010 (manually create a project and add all the C++ files, configure includes), put it into the game folder (with config file, also set tas_mode to 1 in config), replace wintasee.dll with modified version to automatically inject the mod when launching the game through the hourglass. Allow normal thread creation.
Building recording helper scripts:
gcc start_cap.c -o start_cap.exe -mwindows
gcc end_cap.c -o end_cap.exe -mwindowsSee boshyst.conf in the game folder
Use special modified hourglass r90 version.
Set allow_render to 1.
FFmpeg is required to be in PATH variable.
- FFmpeg for modern Windows
- FFmpeg for 32-bit Windows 7 (Use GPL builds)
- FFmpeg for Windows XP
Automatic start/end of the recording can be configured with render_start, render_count/render_end (not recommended because mod injection is unstable between mod starts).
It's recommended to set start/count vars to 0 and use start_cap and end_cap scripts.
When not using direct render, capture starts from the frame you currently see, and ends before the frame you currently see (front buffer capturing).
When using direct render, capture starts from the frame you will see, and ends with the frame you currently see (back buffer capturing).
Warning: game window should not be resized while recording.
Boshyst DLL and config
Modified wintasee.dll for hourglass r90
Modified wintasee.dll for hourglass r78
Capture start and end scripts
Simple DLL Injector (Windows 7+)
Modified hourglass r90 for recording