I'm running Windows Vista or Windows 7, and some or all of my GoldSrc games (Half-Life, Half-Life: Blue Shift, Opposing Force, Counter-Strike, Day of Defeat, Team Fortress Classic) will get to the loading screen just before the menu appears, then crash to desktop. How can I fix this?
This may be caused by Data Execution Prevention (DEP) which is a security feature enabled on recent operating systems. Older games, such as GoldSrc games, were not created with DEP in mind and may trigger DEP's security features inadvertently. Please try the following:
Newer OpenGL drivers may cause the OpenGL renderer of older games to crash. Please try running the game using the -soft launch option. Please see the Reset Video Settings and Force a Video Mode article for more information on setting launch options.