Daikatana: Difference between revisions

From LANCommander
No edit summary
No edit summary
 
Line 5: Line 5:
{{Game.InfoBox.Developer|Ion Storm}}{{Game.InfoBox.Developer|Kemco}}
{{Game.InfoBox.Developer|Ion Storm}}{{Game.InfoBox.Developer|Kemco}}
|Publishers =
|Publishers =
{{Game.InfoBox.Developer|Square Enix}}{{Game.InfoBox.Developer|Kemco}}
{{Game.InfoBox.Publisher|Square Enix}}{{Game.InfoBox.Publisher|Kemco}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|May 23, 2000}}
{{Game.InfoBox.ReleaseDate|Windows|May 23, 2000}}
Line 24: Line 24:
|Contents =
|Contents =
<syntaxhighlight lang="powershell" line>
<syntaxhighlight lang="powershell" line>
$Documents = [Environment]::GetFolderPath('MyDocuments')
Write-ReplaceContentInFile -Pattern '^set name \"(.+)\"' -Substitution "set name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\data\current.cfg"
Write-ReplaceContentInFile -Pattern '^set name \"(.+)\"' -Substitution "set name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\data\current.cfg"
Write-ReplaceContentInFile -Pattern '^set name \"(.+)\"' -Substitution "set name ""$NewPlayerAlias""" -FilePath "$Documents\My Games\Daikatana\data\current.cfg"
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Latest revision as of 00:41, 22 February 2024

Developers
Ion StormKemco
Publishers
Square EnixKemco
Release Date
Windows: May 23, 2000
Genres
PuzzleShooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\daikatana.exe True

Name Change Script

$Documents = [Environment]::GetFolderPath('MyDocuments')

Write-ReplaceContentInFile -Pattern '^set name \"(.+)\"' -Substitution "set name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\data\current.cfg"
Write-ReplaceContentInFile -Pattern '^set name \"(.+)\"' -Substitution "set name ""$NewPlayerAlias""" -FilePath "$Documents\My Games\Daikatana\data\current.cfg"