Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if [%1]==[] goto:noname
- set EXE_NAME=%~n1
- goto:havename
- :noname
- echo Reminder you can simply drag and drop the executable on this batch file to skip this step.
- echo.
- echo Type the name of your game's executable. (e.g. "game.exe" would become "game", without "")
- echo.
- set /p EXE_NAME=Name:
- :havename
- ::Create folders and default preset file.
- md "ReShade\Presets" >nul 2>&1
- md "ReShade\Screenshots" >nul 2>&1
- md "ReShade\Shaders" >nul 2>&1
- md "ReShade\Textures" >nul 2>&1
- type NUL > "ReShade\Presets\Default.ini"
- ::Create ReShade game configuration file.
- (
- echo [General]
- echo PerformanceMode=0
- echo OverlayKey=113,0,1
- echo TutorialProgress=4
- echo InputProcessing=1
- echo PreprocessorDefinitions=RESHADE_DEPTH_LINEARIZATION_FAR_PLANE=1000.0,RESHADE_DEPTH_INPUT_IS_UPSIDE_DOWN=0,RESHADE_DEPTH_INPUT_IS_REVERSED=0,RESHADE_DEPTH_INPUT_IS_LOGARITHMIC=0
- echo TextureSearchPaths=%cd%\ReShade\Textures
- echo EffectSearchPaths=%cd%\ReShade\Shaders
- echo CurrentPreset=0
- echo PresetFiles=%cd%\ReShade\Presets\Default.ini
- echo.
- echo [Screenshots]
- echo Key=44,0,0
- echo TargetPath=%cd%\ReShade\Screenshots
- echo ImageFormat=1
- echo.
- echo [User Interface]
- echo Alpha=0.950000
- echo ColActive=0.200000,0.500000,0.600000
- echo ColBackground=0.275000,0.275000,0.275000
- echo ColItemBackground=0.447000,0.447000,0.447000
- echo ColText=0.800000,0.900000,0.900000
- ) > "%APPDATA%\ReShade\%EXE_NAME%.ini"
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement