Gadget: Check if BoD has crashed...

Talk about Severance Blade of Darkness modifications and maps here. No tips or tech support questions please, use the forum above. Note that the game is rated 18 so some content may be unsuitable for younger readers.

Moderators: prospero, Ade

User avatar
Sryml
Dragon
Posts: 131
Joined: Tue Aug 28, 2012 12:50 pm
Location: China
Contact:

Gadget: Check if BoD has crashed...

Postby Sryml » Sat Jul 13, 2019 5:38 am

In BoD games, there are engine bugs, such as shadows + camera shots that cause the game to crash, or logic errors in the script.
In win7 or higher systems, BoD crashes are annoying. It delays any of your keyboard input, no matter what key you press, it puts the entire computer in a state of fake crash, often waiting 40 seconds or more before you can close the crashed game.

I talked about the fake crash, because only the Blade.exe process is not responding, and other processes are working normal. So we can use an external process to check if the BoD game has crashed. When BoD crashes, it will pop up Blade has stopped working, let the external process kill the Blade.exe process.

With the dos command, it can close the crashed Blade in 3 seconds.
@echo off
setlocal enabledelayedexpansion
set n=0
echo Check if BoD has crashed...

:loop_check
tasklist /FI "WINDOWTITLE eq Blade" | find /i "WerFault.exe" >nul && (taskkill /f /im WerFault.exe /t >nul & set /a n=!n!+1 & echo BoD has crashed !n! times.)
timeout /t 2 /nobreak >nul

goto loop_check
Copy the code to a text document and save it as CheckBodCrash.bat. Run this script and it will loop check the BoD. The period is 2 sec.

effect:
In "Ruins_M4", open the temple lock and enter the gate. If you turn on the shadow and the camera is facing the left and right flames, it will cause the game to crash.
Image

The video is not accelerating, this is the real response time, about 3 seconds.

Return to “Severance BoD: Modding Community”

Who is online

Users browsing this forum: No registered users and 10 guests