SHARE
TWEET

Create ReShade Environment

luluco250 Jul 16th, 2016 (edited) 241 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. if [%1]==[] goto:noname
  4. set EXE_NAME=%~n1
  5. goto:havename
  6.  
  7. :noname
  8. echo Reminder you can simply drag and drop the executable on this batch file to skip this step.
  9. echo.
  10. echo Type the name of your game's executable. (e.g. "game.exe" would become "game", without "")
  11. echo.
  12. set /p EXE_NAME=Name:
  13. :havename
  14.  
  15. ::Create folders and default preset file.
  16. md "ReShade\Presets" >nul 2>&1
  17. md "ReShade\Screenshots" >nul 2>&1
  18. md "ReShade\Shaders" >nul 2>&1
  19. md "ReShade\Textures" >nul 2>&1
  20. type NUL > "ReShade\Presets\Default.ini"
  21.  
  22. ::Create ReShade game configuration file.
  23. (
  24.     echo [General]
  25.     echo PerformanceMode=0
  26.     echo OverlayKey=113,0,1
  27.     echo TutorialProgress=4
  28.     echo InputProcessing=1
  29.     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
  30.     echo TextureSearchPaths=%cd%\ReShade\Textures
  31.     echo EffectSearchPaths=%cd%\ReShade\Shaders
  32.     echo CurrentPreset=0
  33.     echo PresetFiles=%cd%\ReShade\Presets\Default.ini
  34.     echo.
  35.     echo [Screenshots]
  36.     echo Key=44,0,0
  37.     echo TargetPath=%cd%\ReShade\Screenshots
  38.     echo ImageFormat=1
  39.     echo.
  40.     echo [User Interface]
  41.     echo Alpha=0.950000
  42.     echo ColActive=0.200000,0.500000,0.600000
  43.     echo ColBackground=0.275000,0.275000,0.275000
  44.     echo ColItemBackground=0.447000,0.447000,0.447000
  45.     echo ColText=0.800000,0.900000,0.900000
  46. ) > "%APPDATA%\ReShade\%EXE_NAME%.ini"
  47.  
  48. exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top