3D Ultra Minigolf: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Release Date = {{Game.InfoBox.ReleaseDate|Windows|December 31, 1997}} | PCGamingWiki = 3D_Ultra_Minigolf_Adventures }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = minigolf.exe|Arguments = |WorkingDirectory = |Primary = True}} }} {{Game.Scripts.NameChange |Name = Name Change Script |Description = |RequiresAdmin = False |Contents = <syntaxhighlight lang="powershell" line> $InstallDir = $PSScr...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Games]] | [[Category:Games]] | ||
{{Game.InfoBox | {{Game.InfoBox | ||
Line 4: | Line 5: | ||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|December 31, 1997}} | {{Game.InfoBox.ReleaseDate|Windows|December 31, 1997}} | ||
| PCGamingWiki = 3D_Ultra_Minigolf_Adventures | |PCGamingWiki = https://www.pcgamingwiki.com/wiki/3D_Ultra_Minigolf_Adventures | ||
}} | }} | ||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play|Path = minigolf.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\minigolf.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
{{Game.Scripts.NameChange | {{Game.Scripts.NameChange | ||
Line 17: | Line 19: | ||
|RequiresAdmin = False | |RequiresAdmin = False | ||
|Contents = <syntaxhighlight lang="powershell" line> | |Contents = <syntaxhighlight lang="powershell" line> | ||
# Use regex to replace text within a file. Quotes are escaped by double quoting ("") | # Use regex to replace text within a file. Quotes are escaped by double quoting ("") | ||
Write-ReplaceContentInFile - | Write-ReplaceContentInFile -Pattern '^Player1Name=(.+)' -Substitution "Player1Name=$NewPlayerAlias" -FilePath "$InstallDirectory\minigolf.ini" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Revision as of 08:58, 30 December 2023
Release Date | |
---|---|
Windows: December 31, 1997 | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\minigolf.exe | True |
Name Change Script
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Player1Name=(.+)' -Substitution "Player1Name=$NewPlayerAlias" -FilePath "$InstallDirectory\minigolf.ini"