Last active
June 5, 2020 19:46
-
-
Save NewEraCracker/a0ea40dfcac7e7a8bb8efd5b37cb22b2 to your computer and use it in GitHub Desktop.
NFSMW_SwapSize_200MB.bat accesses the system registry and sets Need for Speed Most Wanted SwapSize to 200MB (Default is 70MB) + More
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.bat eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET REG32=reg.exe | |
SET REG64=reg.exe | |
IF EXIST "%systemroot%\System32\reg.exe" SET REG32="%systemroot%\System32\reg.exe" | |
IF EXIST "%systemroot%\System32\reg.exe" SET REG64="%systemroot%\System32\reg.exe" | |
IF EXIST "%systemroot%\SysWOW64\reg.exe" SET REG32="%systemroot%\SysWOW64\reg.exe" | |
IF EXIST "%systemroot%\sysnative\reg.exe" SET REG64="%systemroot%\sysnative\reg.exe" | |
REM Set NFSMW SwapSize to 200 MB | |
%REG32% ADD "HKLM\SOFTWARE\EA GAMES\Need for Speed Most Wanted" /v SwapSize /d "209715200" /f | |
REM Set NFSMW CPU Priority to High | |
%REG64% ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\speed.exe\PerfOptions" /v CpuPriorityClass /t REG_DWORD /d "00000003" /f | |
REM Enable Large Memory Pages for NFSMW | |
%REG64% ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\speed.exe\PerfOptions" /v UseLargePages /t REG_DWORD /d "00000001" /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment