Thanks for watching. Let me know how much Fps did you gain from this? Subscribe for more off the grid content Complete batch command to autometically changes each value. Instead of manually finding this will make the process much easier. You can create the bat file by yourself by simply copy and paste this code into notepad and save that as .bat Place that into the save file folder and run it to modify the settings. ------------------------------------------------ @echo off setlocal enabledelayedexpansion :: Set the source file and a temporary file attrib -r "GzGameUserSettings.json" set "file=GzGameUserSettings.json" set "tempfile=tempfile.txt" :: Initialize line counter set "lineNum=0" :: Check if the file exists if exist "%file%" ( echo Optimizing using Codename RedDragon Preset... :: Read the file line by line for /f "tokens=*" %%A in (%file%) do ( set /a lineNum+=1 set "line=%%A" :: Replace the specific lines based on line number if !lineNum! equ 10 ( echo "viewDistanceQuality": 3, >> "%tempfile%" ) else if !lineNum! equ 11 ( echo "antiAliasingQuality": 1, >> "%tempfile%" ) else if !lineNum! equ 12 ( echo "textureQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 13 ( echo "shadowQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 14 ( echo "effectsQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 15 ( echo "globalIlluminationQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 16 ( echo "reflectionQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 17 ( echo "postProcessQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 18 ( echo "foliageQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 19 ( echo "shadingQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 22 ( echo "resolutionScalingMethod": "DLSSResolutionScaling", >> "%tempfile%" ) else if !lineNum! equ 23 ( echo "resolutionScaleValue": 100, >> "%tempfile%" ) else if !lineNum! equ 24 ( echo "antiAliasingMethod": 4, >> "%tempfile%" ) else if !lineNum! equ 25 ( echo "dLSSMode": 2, >> "%tempfile%" ) else if !lineNum! equ 26 ( echo "fSRQualityMode": 3, >> "%tempfile%" ) else if !lineNum! equ 27 ( echo "metalFxQualityMode": "Quality", >> "%tempfile%" ) else if !lineNum! equ 77 ( echo "hideoutMeshMinLODQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 78 ( echo "gameMeshMinLODQuality": 0, >> "%tempfile%" ) else if !lineNum! equ 79 ( echo "bMotionBlurActive": false, >> "%tempfile%" ) else if !lineNum! equ 80 ( echo "bIsPerformanceMode": true, >> "%tempfile%" ) else if !lineNum! equ 81 ( echo "bHardwareRayTracingEnabled": false, >> "%tempfile%" ) else ( echo !line! >> "%tempfile%" ) ) :: Replace the original file with the modified one move /y "%tempfile%" "%file%" echo Replacement done. ) else ( echo File "%file%" does not exist. ) attrib +r "GzGameUserSettings.json" endlocal
It actually works. The bat file does the same thing what I did on my last video. Instead of manually changing each value, it automatically changes them. Heres my last video, where I did this manually ruclips.net/video/BxCoRB7CBc0/видео.html
Check above comment. Complete source code of my file. You can do it manually if you want by changing the config file located here C:\Users\%Username%\Saved Games\OTG
Nice and comprehensive tutorial. The bat file is huge. Now dont have to look at all the codes
Thanks for watching. Let me know how much Fps did you gain from this? Subscribe for more off the grid content
Complete batch command to autometically changes each value. Instead of manually finding this will make the process much easier.
You can create the bat file by yourself by simply copy and paste this code into notepad and save that as .bat
Place that into the save file folder and run it to modify the settings.
------------------------------------------------
@echo off
setlocal enabledelayedexpansion
:: Set the source file and a temporary file
attrib -r "GzGameUserSettings.json"
set "file=GzGameUserSettings.json"
set "tempfile=tempfile.txt"
:: Initialize line counter
set "lineNum=0"
:: Check if the file exists
if exist "%file%" (
echo Optimizing using Codename RedDragon Preset...
:: Read the file line by line
for /f "tokens=*" %%A in (%file%) do (
set /a lineNum+=1
set "line=%%A"
:: Replace the specific lines based on line number
if !lineNum! equ 10 (
echo "viewDistanceQuality": 3, >> "%tempfile%"
) else if !lineNum! equ 11 (
echo "antiAliasingQuality": 1, >> "%tempfile%"
) else if !lineNum! equ 12 (
echo "textureQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 13 (
echo "shadowQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 14 (
echo "effectsQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 15 (
echo "globalIlluminationQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 16 (
echo "reflectionQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 17 (
echo "postProcessQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 18 (
echo "foliageQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 19 (
echo "shadingQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 22 (
echo "resolutionScalingMethod": "DLSSResolutionScaling", >> "%tempfile%"
) else if !lineNum! equ 23 (
echo "resolutionScaleValue": 100, >> "%tempfile%"
) else if !lineNum! equ 24 (
echo "antiAliasingMethod": 4, >> "%tempfile%"
) else if !lineNum! equ 25 (
echo "dLSSMode": 2, >> "%tempfile%"
) else if !lineNum! equ 26 (
echo "fSRQualityMode": 3, >> "%tempfile%"
) else if !lineNum! equ 27 (
echo "metalFxQualityMode": "Quality", >> "%tempfile%"
) else if !lineNum! equ 77 (
echo "hideoutMeshMinLODQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 78 (
echo "gameMeshMinLODQuality": 0, >> "%tempfile%"
) else if !lineNum! equ 79 (
echo "bMotionBlurActive": false, >> "%tempfile%"
) else if !lineNum! equ 80 (
echo "bIsPerformanceMode": true, >> "%tempfile%"
) else if !lineNum! equ 81 (
echo "bHardwareRayTracingEnabled": false, >> "%tempfile%"
) else (
echo !line! >> "%tempfile%"
)
)
:: Replace the original file with the modified one
move /y "%tempfile%" "%file%"
echo Replacement done.
) else (
echo File "%file%" does not exist.
)
attrib +r "GzGameUserSettings.json"
endlocal
This is the best setting than to Andyslap… I like the optimizing code u did. My fps not goes down to 75fps … stable Really Wow amazing thank u bro.
Thanks for the feedback. Happy to help ☺️
works
Thank you for the feedback. Much appreciated
chat does anyone know if this actually works?
It actually works. The bat file does the same thing what I did on my last video. Instead of manually changing each value, it automatically changes them. Heres my last video, where I did this manually ruclips.net/video/BxCoRB7CBc0/видео.html
Check above comment. Complete source code of my file. You can do it manually if you want by changing the config file located here C:\Users\%Username%\Saved Games\OTG