F.E.A.R.: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Monolith Productions}} |Publishers = {{Game.InfoBox.Publisher|Sierra Entertainment}} {{Game.InfoBox.Publisher|Vivendi Universal Games}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|October 17, 2005}} |Genres = {{Game.InfoBox.Genre|Shooter}} | PCGamingWiki = F.E.A.R. }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Multiplayer|Path = FEARMP.exe|Arguments = |Workin...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
{{Game.InfoBox.Developer|Monolith Productions}} | {{Game.InfoBox.Developer|Monolith Productions}} | ||
|Publishers = | |Publishers = | ||
{{Game.InfoBox.Publisher|Sierra Entertainment}} | {{Game.InfoBox.Publisher|Sierra Entertainment}}{{Game.InfoBox.Publisher|Vivendi Universal Games}} | ||
{{Game.InfoBox.Publisher|Vivendi Universal Games}} | |||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|October 17, 2005}} | {{Game.InfoBox.ReleaseDate|Windows|October 17, 2005}} | ||
|Genres = | |Genres = | ||
{{Game.InfoBox.Genre|Shooter}} | {{Game.InfoBox.Genre|Shooter}} | ||
| PCGamingWiki = F.E.A.R. | |PCGamingWiki = F.E.A.R.}} | ||
}} | |||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = | {{Game.ActionBox.Row|Name = Configuration Tool|Path = {InstallDir}\Config.exe|Arguments = |WorkingDirectory = |Primary = False}} | ||
{{Game.ActionBox.Row|Name = | {{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\FEARMP.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
}} | |||
{{Game.Scripts.Install | |||
|Name = Install Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
$Documents = [Environment]::GetFolderPath("CommonDocuments") | |||
Copy-Item -Path "$InstallDirectory\Monolith Productions" -Destination "$Documents" -Recurse | |||
# Bounds are accessible by $Display.Width and $Display.Height | |||
$Display = Get-PrimaryDisplay | |||
# Use regex to replace text within a file. Quotes are escaped by double quoting ("") | |||
Write-ReplaceContentInFile -Pattern '^"ScreenWidth" "(.+)"' -Substitution """ScreenWidth"" ""$($Display.Bounds.Width)""" -FilePath "$Documents\Monolith Productions\FEARCombat\Settings.cfg" | |||
Write-ReplaceContentInFile -Pattern '^"ScreenHeight" "(.+)"' -Substitution """ScreenHeight"" ""$($Display.Bounds.Height)""" -FilePath "$Documents\Monolith Productions\FEARCombat\Settings.cfg" | |||
</syntaxhighlight> | |||
}} | |||
{{Game.Scripts.Uninstall | |||
|Name = Uninstall Script | |||
|Description = | |||
|RequiresAdmin = True | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
$Documents = [Environment]::GetFolderPath("CommonDocuments") | |||
Remove-Item -Path "$Documents\Monolith Productions" -Recurse -Force | |||
</syntaxhighlight> | |||
}} | |||
{{Game.Scripts.NameChange | |||
|Name = Name Change Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
$Documents = [Environment]::GetFolderPath("CommonDocuments") | |||
$bytes = ConvertTo-StringBytes -Input $NewPlayerAlias -Utf16 1 -MaxLength 15 -MinLength 15 | |||
Edit-PatchBinary -FilePath "$Documents\Monolith Productions\FEARCombat\Profiles\Profile000.gdb" -Offset 0x660 -Data $bytes | |||
</syntaxhighlight> | |||
}} | |||
{{Game.Scripts.KeyChange | |||
|Name = Key Change Script | |||
|Description = | |||
|RequiresAdmin = True | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
$Documents = [Environment]::GetFolderPath("CommonDocuments") | |||
Set-Content -Path "$Documents\Monolith Productions\FEARCombat\key.ini" -value "[FEAR]`nCDKey=$AllocatedKey" -Force | |||
</syntaxhighlight> | |||
}} | }} |
Revision as of 02:12, 6 January 2024
Developers | |
---|---|
Monolith Productions | |
Publishers | |
Sierra EntertainmentVivendi Universal Games | |
Release Date | |
Windows: October 17, 2005 | |
Genres | |
Shooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Configuration Tool | {InstallDir}\Config.exe | False | ||
Play | {InstallDir}\FEARMP.exe | True |
Install Script
$Documents = [Environment]::GetFolderPath("CommonDocuments")
Copy-Item -Path "$InstallDirectory\Monolith Productions" -Destination "$Documents" -Recurse
# Bounds are accessible by $Display.Width and $Display.Height
$Display = Get-PrimaryDisplay
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^"ScreenWidth" "(.+)"' -Substitution """ScreenWidth"" ""$($Display.Bounds.Width)""" -FilePath "$Documents\Monolith Productions\FEARCombat\Settings.cfg"
Write-ReplaceContentInFile -Pattern '^"ScreenHeight" "(.+)"' -Substitution """ScreenHeight"" ""$($Display.Bounds.Height)""" -FilePath "$Documents\Monolith Productions\FEARCombat\Settings.cfg"
Uninstall Script
This script requires admin access to function properly
$Documents = [Environment]::GetFolderPath("CommonDocuments")
Remove-Item -Path "$Documents\Monolith Productions" -Recurse -Force
Name Change Script
$Documents = [Environment]::GetFolderPath("CommonDocuments")
$bytes = ConvertTo-StringBytes -Input $NewPlayerAlias -Utf16 1 -MaxLength 15 -MinLength 15
Edit-PatchBinary -FilePath "$Documents\Monolith Productions\FEARCombat\Profiles\Profile000.gdb" -Offset 0x660 -Data $bytes
Key Change Script
This script requires admin access to function properly
$Documents = [Environment]::GetFolderPath("CommonDocuments")
Set-Content -Path "$Documents\Monolith Productions\FEARCombat\key.ini" -value "[FEAR]`nCDKey=$AllocatedKey" -Force