have you try switching from nvidia game driver to current studio driver? somehow I get 8 - 11 fps more. went from 57 to 68 and no return mode from 70 to 81 I am using rtx 3070 with 8gb vram and thread optimization on
there are problems do to the path having spaces in it, I got an error like this: \Steam\steamapps\common\The was unexpected at this time. and fixed the problem using ChatGPT
Key Fixes:
Wrapped all paths with spaces in quotes ("%GamePath%") to prevent parsing issues.
Avoided using \ at the end of cd /d "%~dp0\bin" without quotes.
Made sure all echo statements are clean and error-free.
Corrected spelling of “successfully”.
@echo off cd /d "%~dp0\bin" echo RAM is cleaning... echo Empty Working Set... echo. echo Clearing the working set... rammap64.exe -ew echo Empty System Working Set... echo. echo Clearing the system working set... rammap64.exe -es echo Empty Modified Page List... echo. echo Clearing the modified page list... rammap64.exe -em echo Empty Standby List... echo. echo Clearing the standby list... rammap64.exe -et echo Empty Priority 0 Standby List... echo. echo Clearing the priority 0 standby list... rammap64.exe -e0 echo Processes and services closed successfully and RAM is freed up. :: Batch script to launch The Last of Us Part II Remastered with High CPU Priority :: Define the path to the game's executable set "GamePath=C:\Program Files (x86)\Steam\steamapps\common\The Last of Us Part II" set "ExecutableName=tlou-ii.exe" :: Check if the game directory exists if not exist "%GamePath%\" ( echo Error: Game directory not found: echo "%GamePath%\" pause exit /b 1 ) :: Check if the executable exists if not exist "%GamePath%\%ExecutableName%" ( echo Error: Executable not found: echo "%GamePath%\%ExecutableName%" pause exit /b 1 ) :: Change the current directory to the game's directory cd /d "%GamePath%" :: Launch the game with High priority echo Launching "%ExecutableName%" with High CPU Priority... start "" /high "%GamePath%\%ExecutableName%" exit /b 0
Right click on just the bat that doesnt not say steam or epic after it (The Last of Us Part II Remastered.bat) , edit in notepad Change path of steam and epic with your game's path, so, then paste that .bat file that you edited and the bin in the game folder try the bat file, you have to press yes 5 times as prompted then will ask for 1)steam or 2)epic
REM Define potential game paths set "SteamPath=C:\Program Files (x86)\Steam\steamapps\common\The Last of Us Part II Remastered" set "EpicPath=C:\Program Files\Epic Games\The Last of Us Part II Remastered" set "GameExe=tlou-ii.exe" set "GamePath=" set "GameDir="
Just change after = and do keep that " at end
If you changed their file path to your game's path Any would work. then Right-click on the .bat script what are you using > Send to > Desktop. For easy to use.
RAMMap doesn't just let you clear the standby list. It can also clear other memory areas like the Modified Page List, process working sets, etc. So technically RAMMap more powerful. For example ISLC just do a clean standby list when not enough RAM in background.
14 comments
somehow I get 8 - 11 fps more. went from 57 to 68 and no return mode from 70 to 81
I am using rtx 3070 with 8gb vram and thread optimization on
\Steam\steamapps\common\The was unexpected at this time.
and fixed the problem using ChatGPT
Key Fixes:
at the end of
cd /d "%~dp0\bin"
without quotes.@echo off
cd /d "%~dp0\bin"
echo RAM is cleaning...
echo Empty Working Set...
echo.
echo Clearing the working set...
rammap64.exe -ew
echo Empty System Working Set...
echo.
echo Clearing the system working set...
rammap64.exe -es
echo Empty Modified Page List...
echo.
echo Clearing the modified page list...
rammap64.exe -em
echo Empty Standby List...
echo.
echo Clearing the standby list...
rammap64.exe -et
echo Empty Priority 0 Standby List...
echo.
echo Clearing the priority 0 standby list...
rammap64.exe -e0
echo Processes and services closed successfully and RAM is freed up.
:: Batch script to launch The Last of Us Part II Remastered with High CPU Priority
:: Define the path to the game's executable
set "GamePath=C:\Program Files (x86)\Steam\steamapps\common\The Last of Us Part II"
set "ExecutableName=tlou-ii.exe"
:: Check if the game directory exists
if not exist "%GamePath%\" (
echo Error: Game directory not found:
echo "%GamePath%\"
pause
exit /b 1
)
:: Check if the executable exists
if not exist "%GamePath%\%ExecutableName%" (
echo Error: Executable not found:
echo "%GamePath%\%ExecutableName%"
pause
exit /b 1
)
:: Change the current directory to the game's directory
cd /d "%GamePath%"
:: Launch the game with High priority
echo Launching "%ExecutableName%" with High CPU Priority...
start "" /high "%GamePath%\%ExecutableName%"
exit /b 0
(The Last of Us Part II Remastered.bat) , edit in notepad
Change path of steam and epic with your game's path, so, then paste that .bat file that you edited and the bin in the game folder
try the bat file, you have to press yes 5 times as prompted then will ask for 1)steam or 2)epic
REM Define potential game paths
set "SteamPath=C:\Program Files (x86)\Steam\steamapps\common\The Last of Us Part II Remastered"
set "EpicPath=C:\Program Files\Epic Games\The Last of Us Part II Remastered"
set "GameExe=tlou-ii.exe"
set "GamePath="
set "GameDir="
Just change after = and do keep that " at end
If you changed their file path to your game's path
Any would work.
then Right-click on the .bat script what are you using > Send to > Desktop. For easy to use.
Can i use it for every game i have?