Rune

From LANCommander
Revision as of 01:25, 1 August 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Human Head Studios}} {{Game.InfoBox.Developer|Loki Software}} |Publishers = {{Game.InfoBox.Publisher|Nine Realms}} {{Game.InfoBox.Publisher|Gathering of Developers}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|November 18, 2000}} |Genres = {{Game.InfoBox.Genre|Adventure}} {{Game.InfoBox.Genre|Hack and slash/Beat 'em up}} | PCGamingWiki = Rune }} {{Game.ActionBox |Actions =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Human Head Studios

Loki Software

Publishers
Nine Realms Gathering of Developers
Release Date
Windows: November 18, 2000
Genres
Adventure

Hack and slash/Beat 'em up

View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play System/Rune.exe True

Name Change Script

$NewName = $args[0]
$InstallDir = $PSScriptRoot

function Write-ReplaceContentInFile([string]$Regex, [string]$Replacement, [string]$FilePath)
{
    $content = (Get-Content $FilePath) -replace $Regex, $Replacement
    [IO.File]::WriteAllLines($FilePath, $content)
}

Write-ReplaceContentInFile -Regex 'Name=(.+)' -Replacement "Name=$NewName" -FilePath "$InstallDir\System\User.ini"