IWBTB mod with hacks and tools to help speedrunning and creating TAS
Put Boshyst DLL and DLL Injector into the game folder.
Launch the game, open command prompt in the game folder and type:
Inject-x86 boshyst.dll "I Wanna Be The Boshy.exe"Menu should be opened (toggled by Insert as a default bind).
Just also put BTAS launcher into the game folder and launch the game via it.
Open the config to see binds.
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 helper scripts (use MinGW32 for compatibility):
gcc btas.c -o btas.exe
gcc start_cap.c -o start_cap.exe -mwindows
gcc end_cap.c -o end_cap.exe -mwindowsSee boshyst.conf in the game folder
For hourglass, 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).
It's recommended to set start/count vars to 0 and use start_cap and end_cap scripts.
Not using direct render <=> front buffer capturing.
Using direct render <=> back buffer capturing.
Capture starts from the frame you will see, and ends with the frame you currently see.
Warning: game window should not be resized while recording.
Before replaying TAS, set tas_audio_capture and tas_audio_main_thread. Then replay TAS without using fast forward. Then stop audio recording and close the game.
Run amerge.bat script created in the game folder to join all sounds in a single output (it requires FFmpeg).
NOTE: Fading is not supported yet (kinda used in credits only).
Boshyst DLL (Windows 8+)
Boshyst DLL (Windows XP compatible)
Modified wintasee.dll for hourglass r90
Modified wintasee.dll for hourglass r78
Capture start and end scripts
BTAS launcher
Simple DLL Injector (Windows 7+)
Modified hourglass r90 for video recording