expert01 on 2/2/2007 at 01:53
I noticed the following text in the sticky:
Quote:
All XP Systems
=======================================
Symptoms:
Graphical glitches ingame, no sound or
corrupt/echoing sounds, crashing at
random points.
Reason:
System Shock 2 just wasn't designed for
your operating system.
Solution:
Right Click on "shock2.exe" in your
System Shock 2 folder and select
"Compatibility", select a Windows version
to test, Apply the settings, then run
the game. If your problem is fixed, good,
if not, try another windows version or
look to other sections of this document.
EXE Fix/Patch:
To my knowlegde there is no Fix to force
the EXE to always run in a certain
compatibility mode.
Well, I needed some of the information for a few other projects, so here's a patch to set it to be Windows 98 compatible (save it as fix-ss2.bat or anything ending with .bat or .cmd):
Code:
@echo off
reg query "HKLM\software\microsoft\windows nt\currentversion\profilelist" /s >>"%temp%\reg_sid.txt"
findstr /n /i "%username%" "%temp%\reg_sid.txt">>"%temp%\sid_number.txt"
for /f "tokens=1 delims=:" %%i in (%temp%\sid_number.txt) do set line_num=%%i
set /a line_num=%line_num% - 2
for /f "skip=%line_num% tokens=7 delims=\" %%i in (%temp%\reg_sid.txt) do set sid=%%i & goto :continue
:continue
set USERSID=
set USERSID=%sid:~0,-1%
del "%temp%\reg_sid.txt"
del "%temp%\sid_number.txt"
reg add "HKU\%USERSID%\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\Games\Sshock2\SHOCK2.EXE" /d "WIN98 DISABLETHEMES DISABLECICERO" /f
This will run it in 98 compatibility mode with no themes or advanced text services.
Default path to executable is C:\Games\Sshock2\SHOCK2.EXE