Skip to content

Instantly share code, notes, and snippets.

@csh
Created February 6, 2023 16:15
Show Gist options
  • Save csh/2ba2c95a64cb98ce64b17b47a06fb116 to your computer and use it in GitHub Desktop.
Save csh/2ba2c95a64cb98ce64b17b47a06fb116 to your computer and use it in GitHub Desktop.
Quick and Dirty Powershell script for replacing GShade with ReShade and keeping the presets and shaders you've come to love.
# Base Path
$gamePath = "C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn\game"
# GShade
$shaderPath = "C:\Program Files\GShade\gshade-shaders"
$presetPath = "$gamePath\gshade-presets"
#ReShade
$reshadeDownload = "https://reshade.me/downloads/ReShade_Setup_5.6.0_Addon.exe"
$reshadeOutput = "$env:USERPROFILE/Downloads/ReShade_Setup_5.6.0_Addon.exe"
Copy-Item -Recurse -Path $shaderPath -Destination "$gamePath\reshade-shaders"
Copy-Item -Recurse -Path $presetPath -Destination "$gamePath\reshade-presets"
Move-Item -Path "$gamePath\dxgi.dll" -Destination "$gamePath\dxgi.gshade.dll"
Copy-Item -Path "$gamePath\GShade.ini" -Destination "$gamePath\ReShade.ini"
$config = Get-Content -Path "$gamePath\ReShade.ini"
$config = $config -replace "gshade-presets", "reshade-presets"
$config = $config -replace "gshade-shaders", "reshade-shaders"
$config | Set-Content -Path "$gamePath\ReShade.ini"
Invoke-WebRequest $reshadeDownload -OutFile $reshadeOutput
Write-Host "================================================================"
Write-Host "Tell ReShade to install to: $gamePath\ffxiv_dx11.exe"
Write-Host "Rendering API: DirectX 11"
Write-Host "Preset: Skip"
Write-Host "Effect Packages: Skip"
Write-Host "Click Finish."
Write-Host "================================================================"
Write-Host ""
Write-Host ""
Write-Host "Once installation completes, verify your ReShade settings ingame."
Write-Host ""
Write-Host ""
Start-Process $reshadeOutput -Wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment