Quote:
Originally Posted by Mobhack
Once I have the real beast to hand then I can fix the launcher to detect it and avoid the script for full-screen running that Windows vista/seven required due to nasty Aero not playing nicely with the 256 colour palette in full screen (not just a problem with this game, but all old-style 256 colour mode games of the DOS era, it appears)
|
Does the launcher check the OS version number to determine if it should run the cmd fix?
If so the version number for Windows 8 appears to be "6.2".
e.g.
Registry value "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
"CurrentVersion" string:
Windows XP = 5.1
Windows Vista = 6.0
Windows 7 = 6.1
Windows 8 = 6.2
Also I found that you could do the version check using the command promt too with information posted at this web site:
http://www.grimadmin.com/article.php...ect-os-version
So one could edit the Win7SPMBT.cmd to look like this:
Code:
@echo off
FOR /F "delims=: tokens=2" %%i IN ('systeminfo 2^>NUL ^| find "OS Name"') DO set vers=%%i
echo %vers% | find "Windows 8" > nul
if %ERRORLEVEL% == 0 goto ver_8
if %ERRORLEVEL% == 1 goto ver_vista_7
:ver_8
:Run Windows 8 specific commands here.
WinSPMBT.exe
goto exit
:ver_vista_7
taskkill.exe /f /im explorer.exe
start /w WinSPMBT.exe
start %WINDIR%\explorer.exe
:exit
Provided I got it right that should do an additional check to see if the OS is Windows 8 and skip the fix in that case.