Created
February 6, 2023 16:15
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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