Created
May 20, 2026 21:04
-
-
Save nathan-fiscaletti/879c14fc13018fa36765cd9329dba9aa to your computer and use it in GitHub Desktop.
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
| # Path to the directory containing your replacement PNG files | |
| $IMAGE_LOCATIONS = "C:\Path\To\Your\Images" | |
| $targetPath = "C:\Program Files (x86)\Steam\steamapps\common\rocketleague\Binaries\Win64\EasyAntiCheat\SplashScreen.png" | |
| if (-not (Test-Path $IMAGE_LOCATIONS)) { | |
| throw "IMAGE_LOCATIONS directory does not exist: $IMAGE_LOCATIONS" | |
| } | |
| $images = Get-ChildItem -Path $IMAGE_LOCATIONS -Filter "*.png" -File | |
| if ($images.Count -eq 0) { | |
| throw "No PNG files found in: $IMAGE_LOCATIONS" | |
| } | |
| $selectedImage = Get-Random -InputObject $images | |
| Copy-Item -Path $selectedImage.FullName -Destination $targetPath -Force | |
| Start-Process "steam://rungameid/252950" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment