Deus Ex: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Ion Storm}} |Publishers = {{Game.InfoBox.Publisher|Aspyr Media}} {{Game.InfoBox.Publisher|Eidos Interactive}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|June 26, 2000}} |Genres = {{Game.InfoBox.Genre|Shooter}} {{Game.InfoBox.Genre|Role-playing (RPG)}} | PCGamingWiki = Deus_Ex }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = DeusEx.exe|Arguments = |W...") |
DoctorDalek (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
{{Game.InfoBox.Developer|Ion Storm}} | {{Game.InfoBox.Developer|Ion Storm}} | ||
|Publishers = | |Publishers = | ||
{{Game.InfoBox.Publisher| | {{Game.InfoBox.Publisher|Eidos Interactive}}{{Game.InfoBox.Publisher|Aspyr Media}} | ||
{{Game.InfoBox.Publisher| | |||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|June 26, 2000}} | {{Game.InfoBox.ReleaseDate|Windows|June 26, 2000}} | ||
|Genres = | |Genres = | ||
{{Game.InfoBox.Genre|Shooter}} | {{Game.InfoBox.Genre|Adventure}}{{Game.InfoBox.Genre|Shooter}}{{Game.InfoBox.Genre|Role-playing (RPG)}} | ||
{{Game.InfoBox.Genre|Role-playing (RPG)}} | |PCGamingWiki = Deus_Ex}} | ||
| PCGamingWiki = Deus_Ex | |||
}} | |||
{{Game.ActionBox | {{Game.ActionBox | ||
Line 20: | Line 17: | ||
}} | }} | ||
{{Game.Scripts. | |||
|Name = | {{Game.Scripts.Install | ||
|Name = Install Script | |||
|Description = | |Description = | ||
|RequiresAdmin = False | |RequiresAdmin = False | ||
|Contents = <syntaxhighlight lang="powershell" line> | |Contents = | ||
$ | <syntaxhighlight lang="powershell" line> | ||
$ | $Display = Get-PrimaryDisplay | ||
$X = $Display.Bounds.Width | |||
$Y = $Display.Bounds.Height | |||
$FOV = 75 | |||
Write-ReplaceContentInFile -Pattern '^FullscreenViewportX=(.+)' -Substitution "FullscreenViewportX=$($Display.Bounds.Width)" -FilePath "$InstallDirectory\System\DeusEx.ini" | |||
Write-ReplaceContentInFile -Pattern '^FullscreenViewportY=(.+)' -Substitution "FullscreenViewportY=$($Display.Bounds.Height)" -FilePath "$InstallDirectory\System\DeusEx.ini" | |||
if (($X / $Y) -eq (16 / 9)) { | |||
{ | $FOV = 90 | ||
$ | } elseif (($X / $Y) -eq (16 / 10)) { | ||
$FOV = 85 | |||
} | } | ||
Write-ReplaceContentInFile - | Write-ReplaceContentInFile -Pattern '^DesiredFOV=(.+)' -Substitution "DesiredFOV=$FOV.000000" -FilePath "$InstallDirectory\System\DeusEx.ini" | ||
Write-ReplaceContentInFile -Pattern '^DefaultFOV=(.+)' -Substitution "DefaultFOV=$FOV.000000" -FilePath "$InstallDirectory\System\DeusEx.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\System\User.ini" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 00:41, 22 February 2024
Developers | |
---|---|
Ion Storm | |
Publishers | |
Eidos InteractiveAspyr Media | |
Release Date | |
Windows: June 26, 2000 | |
Genres | |
AdventureShooterRole-playing (RPG) | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | DeusEx.exe | {InstallDir}/System | True |
Install Script
$Display = Get-PrimaryDisplay
$X = $Display.Bounds.Width
$Y = $Display.Bounds.Height
$FOV = 75
Write-ReplaceContentInFile -Pattern '^FullscreenViewportX=(.+)' -Substitution "FullscreenViewportX=$($Display.Bounds.Width)" -FilePath "$InstallDirectory\System\DeusEx.ini"
Write-ReplaceContentInFile -Pattern '^FullscreenViewportY=(.+)' -Substitution "FullscreenViewportY=$($Display.Bounds.Height)" -FilePath "$InstallDirectory\System\DeusEx.ini"
if (($X / $Y) -eq (16 / 9)) {
$FOV = 90
} elseif (($X / $Y) -eq (16 / 10)) {
$FOV = 85
}
Write-ReplaceContentInFile -Pattern '^DesiredFOV=(.+)' -Substitution "DesiredFOV=$FOV.000000" -FilePath "$InstallDirectory\System\DeusEx.ini"
Write-ReplaceContentInFile -Pattern '^DefaultFOV=(.+)' -Substitution "DefaultFOV=$FOV.000000" -FilePath "$InstallDirectory\System\DeusEx.ini"
Name Change Script
Write-ReplaceContentInFile -Pattern '^Name=(.+)' -Substitution "Name=$NewPlayerAlias" -FilePath "$InstallDirectory\System\User.ini"