Re-Volt

From LANCommander
Developers
Acclaim Studios London
Publishers
Big Bit LtdThrowback EntertainmentAcclaim EntertainmentWe Go Interactive Co. Ltd
Release Date
Windows: July 31, 1999
Genres
ArcadeSportRacing
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\rvgl.exe -nointro -dev True

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern '^ScreenWidth = (.+)' -Substitution "ScreenWidth = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\profiles\rvgl.ini"
Write-ReplaceContentInFile -Pattern '^ScreenHeight = (.+)' -Substitution "ScreenHeight = $($Display.Bounds.Height)" -FilePath "$InstallDirectory\profiles\rvgl.ini"
Write-ReplaceContentInFile -Pattern '^UseProfiles = (.+)' -Substitution "UseProfiles = 0" -FilePath "$InstallDirectory\profiles\rvgl.ini"

Name Change Script

Deletes all profiles in the game's directory and then makes a new profile with the player's name.

Get-ChildItem -Path "$InstallDirectory\profiles" -Recurse -Directory | Remove-Item -Recurse -ErrorAction Ignore
Copy-Item -Path "$InstallDirectory\templateprofile" -Destination "$InstallDirectory\profiles\$($NewPlayerAlias.ToLower())" -Recurse
Write-ReplaceContentInFile -Pattern 'PlayerName1 = "(.+)"' -Substitution "PlayerName1 = ""$($NewPlayerAlias.ToUpper())""" -FilePath "$InstallDirectory\profiles\$($NewPlayerAlias.ToLower())\profile.ini"

Write-ReplaceContentInFile -Pattern 'DefaultProfile = "(.+)"' -Substitution "DefaultProfile = ""$NewPlayerAlias" -FilePath "$InstallDirectory\profiles\rvgl.ini"