View Single Post
  #36  
Old 12-30-2017, 12:00 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by Sil View Post
Sorry I think I may have incorrectly left a setting ticked, I've updated it and posted new link below

ACT shims are not specific to system.
The shim (.sbd) database is designed to be deployed to multiple machines; hence if you install any of the AppFix (if game requires) files from the downloads here it will work regardless. These are also incorporated and silently installed on GOG releases now.

MED Test v2
I tried your fix after all but had trouble getting it past security.

I managed to get it in with the following modification to the batch script.

Code:
@ECHO OFF
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto CallUAC
) else ( goto RunAsAdmin )
:CallUAC
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\runasadmin.vbs"
    echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\runasadmin.vbs"
    "%temp%\runasadmin.vbs"
    exit /B
:RunAsAdmin
    if exist "%temp%\runasadmin.vbs" ( del "%temp%\runasadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0"

echo *****************************************************************************
echo *****************************************************************************
echo *****************************************************************************
echo This compatibility fix will get rid of the low swap file warning message
echo as well as remove the borders from the game windows in multiplayer...
echo Brought to you by Novahq.net (Special thanks to Silent for help with the sdb)
echo *****************************************************************************
echo *****************************************************************************
echo *****************************************************************************

:selection
set /P conf=Press I to Install or U to Uninstall. E to exit: 
if /I "%conf%" EQU "I" goto :install
if /I "%conf%" EQU "U" goto :uninstall
if /I "%conf%" EQU "E" goto :exitbat
goto :selection

:install

sdbinst.exe -q "%CD%\DF1.sdb"

echo Database Installed! Press any key to exit...
pause 
exit

:uninstall

sdbinst.exe -u -q "%CD%\DF1.sdb"

echo Database Uninstalled! Press any key to exit...
pause 
exit

:exitbat
exit
Continued...

I managed to turn the editor on OK but it failed to save any edits and it failed to open again the second time.
Reply With Quote