Skip to content

Instantly share code, notes, and snippets.

@nathan-fiscaletti
Created May 20, 2026 21:04
Show Gist options
  • Select an option

  • Save nathan-fiscaletti/879c14fc13018fa36765cd9329dba9aa to your computer and use it in GitHub Desktop.

Select an option

Save nathan-fiscaletti/879c14fc13018fa36765cd9329dba9aa to your computer and use it in GitHub Desktop.
# 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