Code:
@Echo off
echo This will apply the permanent Looking Glass Video Fix...
echo This should be run from your main editing copy of DromEd
echo You can also run it from any valid Thief, Thief 2, or System Shock 2 folder.
echo.
echo Press any key to continue, or Ctrl+C to abort.
echo.
pause > nul
cls
if exist LgVid.ax goto AllGo
echo The file LgVid.ax was not found!
echo.
echo Make you sure you are running this from a valid Thief/SS2 install path.
echo If you are, copy LgVid.ax from your CD to this folder.
goto Quit
:AllGo
echo Applying patch...
for /F "delims=\ tokens=1-20" %%a IN ("%CD%$") DO @echo %%a\\%%b\\%%c\\%%d\\%%e\\%%f\\%%g\\%%h\\%%i\\%%j\\%%k\\%%l\\%%m\\%%n\\$END$ > ~PathTmp.tmp
for /F "delims=$ tokens=1" %%a IN (~PathTmp.tmp) DO set zzz="T"="%%a"
if exist ~PathTmp.tmp del ~PathTmp.tmp
echo REGEDIT4 > ~LGSFix.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] >> ~LGSFix.reg
echo %zzz% >> ~LGSFix.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> ~LGSFix.reg
echo "Looking Glass Video Fix"="regsvr32 /s %%t%%\\LGVid.ax" >> ~LGSFix.reg
RegEdit.exe /s ~LGSFix.reg
if exist ~LGSFix.reg del ~LGSFix.reg
echo Patch applied.
echo Videos should now always play until Windows is reinstalled.
echo It may be neccessary to reapply this patch for each user
:Quit
echo.
pause
Save it as a batch file and run.