As some of you may have noticed sometimes fixing a bug involves a bit of trial and error. This is fine for bugs that cause CTDs but when you're trying to solve something that causes the game to lock up the experience can be very frustrating.
I use the following trick to "break out" of a lock-up:
1) Before starting the game: press Windows+R to open the "Run" prompt and type: taskkill /F /IM xr_3da.exe
2) Press Enter - this will do nothing since the game is not running
3) Start the game and do whatever you need
4) If the game locks-up press Alt+Tab then Windows+R and then Enter. This will simply execute the last entered command, which was to forcefully kill SoC.
I've used the above procedure a few times and it seems to work reliably. Note that 1) and 2) don't need to be repeated every time you test the mod unless you use the Run prompt to execute other commands.
"This is evolution: the monkey, the man, then the gun" - Marilyn Manson
---QUOTATION--- Yup, you could create a kill.cmd and throw it into windows directory or something... but for me the procedure does the trick since I usually don't enter commands in the run prompt. ---END QUOTATION---
I tried the following in XP. You might need a program like Explorer running in the background to Alt-Tab to it from the locked-up STALKER.
I put this line in KillSTALKER.cmd on the desktop:
taskkill /F /IM xr_3da.exe
I then right-click-dragged that file and dropped the icon on the desktop. I selected "Create shortcuts here". In the Properties sheet for that shortcut, I set the shortcut key to Ctrl-Alt-End.
From then on, no typing beyond Alt-Tab, Ctrl-Alt-End to kill STALKER.
If you don't want the files cluttering your desktop, you can put the CMD file anywhere, then right-click-drag-drop the file to your Start menu under "All Programs" as a shortcut, then set the shortcut key. This might require a restart.