Tom Clancy's Rainbow Six 3: Raven Shield: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Red Storm Entertainment}} {{Game.InfoBox.Developer|Ubisoft Montreal}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|March 18, 2003}} |Genres = {{Game.InfoBox.Genre|Simulator}} {{Game.InfoBox.Genre|Shooter}} {{Game.InfoBox.Genre|Tactical}} | PCGamingWiki = Tom_Clancy%27s_Rainbow_Six_3:_Raven_Shield }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = RavenS...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|Cover = cover.jpg | |Cover = cover.jpg | ||
|Developers = | |Developers = | ||
{{Game.InfoBox.Developer|Red Storm Entertainment}} | {{Game.InfoBox.Developer|Red Storm Entertainment}}{{Game.InfoBox.Developer|Ubisoft Montreal}} | ||
{{Game.InfoBox.Developer|Ubisoft Montreal}} | |Publishers = | ||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|March 18, 2003}} | {{Game.InfoBox.ReleaseDate|Windows|March 18, 2003}} | ||
|Genres = | |Genres = | ||
{{Game.InfoBox.Genre|Simulator}} | {{Game.InfoBox.Genre|Simulator}}{{Game.InfoBox.Genre|Shooter}}{{Game.InfoBox.Genre|Tactical}} | ||
{{Game.InfoBox.Genre|Shooter}} | |PCGamingWiki = Tom_Clancy%27s_Rainbow_Six_3:_Raven_Shield}} | ||
{{Game.InfoBox.Genre|Tactical}} | |||
| PCGamingWiki = Tom_Clancy%27s_Rainbow_Six_3:_Raven_Shield | |||
}} | |||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play|Path = RavenShield.exe|Arguments = |WorkingDirectory = {InstallDir}/system|Primary = True}} | {{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\RavenShield.exe|Arguments = |WorkingDirectory = {InstallDir}/system|Primary = True}} | ||
}} | |||
{{Game.Scripts.Install | |||
|Name = Install Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
# Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height | |||
$Display = Get-PrimaryDisplay | |||
# Use regex to replace text within a file. Quotes are escaped by double quoting ("") | |||
Write-ReplaceContentInFile -Pattern '^FullscreenViewportX=(.+)' -Substitution "FullscreenViewportX=$($Display.Bounds.Width)" -FilePath "$InstallDirectory\System\RavenShield.ini" | |||
Write-ReplaceContentInFile -Pattern '^FullscreenViewportY=(.+)' -Substitution "FullscreenViewportY=$($Display.Bounds.Height)" -FilePath "$InstallDirectory\System\RavenShield.ini" | |||
# Might need to set FOV | |||
$FOV = 90 | |||
if (($Display.Bounds.Width / $Display.Bounds.Height) -eq (16 / 9)) { | |||
$FOV = 106 | |||
} elseif (($Display.Bounds.Width / $Display.Bounds.Height) -eq (16 / 10)) { | |||
$FOV = 100 | |||
} | |||
Write-ReplaceContentInFile -Pattern '^DesiredFOV=(.+)' -Substitution "DesiredFOV=$FOV" -FilePath "$InstallDirectory\Save\Profiles\User.ini" | |||
Write-ReplaceContentInFile -Pattern '^DefaultFOV=(.+)' -Substitution "DefaultFOV=$FOV" -FilePath "$InstallDirectory\Save\Profiles\User.ini" | |||
</syntaxhighlight> | |||
}} | |||
{{Game.Scripts.NameChange | |||
|Name = Name Change Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
Write-ReplaceContentInFile -Pattern 'Name=(.+)' -Substitution "Name=$NewPlayerAlias" -FilePath "$InstallDirectory\Save\Profiles\User.ini" | |||
</syntaxhighlight> | |||
}} | }} |
Latest revision as of 21:58, 8 January 2024
Developers | |
---|---|
Red Storm EntertainmentUbisoft Montreal | |
Release Date | |
Windows: March 18, 2003 | |
Genres | |
SimulatorShooterTactical | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\RavenShield.exe | {InstallDir}/system | True |
Install Script
# Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height
$Display = Get-PrimaryDisplay
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^FullscreenViewportX=(.+)' -Substitution "FullscreenViewportX=$($Display.Bounds.Width)" -FilePath "$InstallDirectory\System\RavenShield.ini"
Write-ReplaceContentInFile -Pattern '^FullscreenViewportY=(.+)' -Substitution "FullscreenViewportY=$($Display.Bounds.Height)" -FilePath "$InstallDirectory\System\RavenShield.ini"
# Might need to set FOV
$FOV = 90
if (($Display.Bounds.Width / $Display.Bounds.Height) -eq (16 / 9)) {
$FOV = 106
} elseif (($Display.Bounds.Width / $Display.Bounds.Height) -eq (16 / 10)) {
$FOV = 100
}
Write-ReplaceContentInFile -Pattern '^DesiredFOV=(.+)' -Substitution "DesiredFOV=$FOV" -FilePath "$InstallDirectory\Save\Profiles\User.ini"
Write-ReplaceContentInFile -Pattern '^DefaultFOV=(.+)' -Substitution "DefaultFOV=$FOV" -FilePath "$InstallDirectory\Save\Profiles\User.ini"
Name Change Script
Write-ReplaceContentInFile -Pattern 'Name=(.+)' -Substitution "Name=$NewPlayerAlias" -FilePath "$InstallDirectory\Save\Profiles\User.ini"