Star Wars: Episode I - Racer: Difference between revisions

From LANCommander
(Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|LucasArts}} |Publishers = {{Game.InfoBox.Publisher|Nintendo}} {{Game.InfoBox.Publisher|LucasArts}} {{Game.InfoBox.Publisher|Aspyr Media}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|May 18, 1999}} |Genres = {{Game.InfoBox.Genre|Racing}} | PCGamingWiki = Star_Wars:_Episode_I_-_Racer }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = SWEP1RCR.EXE|Argumen...")
 
No edit summary
Line 5: Line 5:
{{Game.InfoBox.Developer|LucasArts}}
{{Game.InfoBox.Developer|LucasArts}}
|Publishers =
|Publishers =
{{Game.InfoBox.Publisher|Nintendo}}
{{Game.InfoBox.Publisher|Nintendo}}{{Game.InfoBox.Publisher|Gradiente}}{{Game.InfoBox.Publisher|LucasArts}}{{Game.InfoBox.Publisher|Aspyr Media}}
{{Game.InfoBox.Publisher|LucasArts}}
{{Game.InfoBox.Publisher|Aspyr Media}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|May 18, 1999}}
{{Game.InfoBox.ReleaseDate|Windows|May 18, 1999}}
|Genres =
|Genres =
{{Game.InfoBox.Genre|Racing}}
{{Game.InfoBox.Genre|Racing}}
| PCGamingWiki = Star_Wars:_Episode_I_-_Racer
|PCGamingWiki = Star_Wars:_Episode_I_-_Racer}}
}}


{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = Play|Path = SWEP1RCR.EXE|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\SWEP1RCR.EXE|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Video Settings|Path = SWEP1RCR.EXE|Arguments = -v|WorkingDirectory = |Primary = False}}
{{Game.ActionBox.Row|Name = Video Settings|Path = {InstallDir}\SWEP1RCR.EXE|Arguments = -v|WorkingDirectory = |Primary = False}}
}}
}}


{{Game.Scripts.Install
{{Game.Scripts.Install
Line 25: Line 23:
|Description =  
|Description =  
|RequiresAdmin = True
|RequiresAdmin = True
|Contents = <syntaxhighlight lang="powershell" line>
|Contents =
$InstallDir = $PSScriptRoot
<syntaxhighlight lang="powershell" line>
# Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height
$Display = Get-PrimaryDisplay


New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC"
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC"
Line 34: Line 34:
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "CD Path" -Value "." -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "CD Path" -Value "." -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display" -Value "dgVoodoo DirectX Wrapper" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display" -Value "dgVoodoo DirectX Wrapper" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Height" -Value 768 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Height" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Width" -Value 1024 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Width" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "FullScreen" -Value 1 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "FullScreen" -Value 1 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Install Path" -Value $InstallDir -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Install Path" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Dir" -Value $InstallDir -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Dir" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Path" -Value $InstallDir -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Path" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "InstallType" -Value 9 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "InstallType" -Value 9 -Force
New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionW" -Value "IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved1" -Value 50 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved2" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Guid" -Value "{685BC400-9D2C-11cf-A9CD-00AA006886E3}" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Path" -Value "dpwsockx.dll" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionA" -Value "IPX Connection For DirectPlay" -Force
New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Description" -Value "WinSock IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Path" -Value "%SystemRoot%\system32\dpserial.dll" -PropertyType ExpandString -Force
New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Players"
New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Sessions"
New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC"
New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer"
New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Height" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Width" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display" -Value "dgVoodoo DirectX Wrapper" -Force
</syntaxhighlight>
}}
           
{{Game.Scripts.NameChange
|Name = Name Change Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
# Trim a string down to a specified amount of characters
if ($NewPlayerAlias.Length -gt 16) {
    $NewPlayerAlias = $NewPlayerAlias.Substring(0, 16);
}
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "FullScreen" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Fix Flicker" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "DevMode" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "UseFett" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Last Game" -Value "$NewPlayerAlias's Game" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Last Player" -Value "$NewPlayerAlias" -Force
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Revision as of 21:57, 8 January 2024

Developers
LucasArts
Publishers
NintendoGradienteLucasArtsAspyr Media
Release Date
Windows: May 18, 1999
Genres
Racing
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\SWEP1RCR.EXE True
Video Settings {InstallDir}\SWEP1RCR.EXE -v False

Install Script

This script requires admin access to function properly

# Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height
$Display = Get-PrimaryDisplay

New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC"
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer"
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0"

New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "CD Path" -Value "." -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display" -Value "dgVoodoo DirectX Wrapper" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Height" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Width" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "FullScreen" -Value 1 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Install Path" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Dir" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Source Path" -Value $InstallDirectory -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "InstallType" -Value 9 -Force

New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionW" -Value "IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved1" -Value 50 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved2" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Guid" -Value "{685BC400-9D2C-11cf-A9CD-00AA006886E3}" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Path" -Value "dpwsockx.dll" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionA" -Value "IPX Connection For DirectPlay" -Force

New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Description" -Value "WinSock IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Path" -Value "%SystemRoot%\system32\dpserial.dll" -PropertyType ExpandString -Force

New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Players"

New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Sessions"

New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC"
New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer"
New-Item -Path -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Height" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display Width" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Display" -Value "dgVoodoo DirectX Wrapper" -Force

Name Change Script

# Trim a string down to a specified amount of characters
if ($NewPlayerAlias.Length -gt 16) {
    $NewPlayerAlias = $NewPlayerAlias.Substring(0, 16);
}

New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "FullScreen" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Fix Flicker" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "DevMode" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "UseFett" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Last Game" -Value "$NewPlayerAlias's Game" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company LLC\Star Wars: Episode I Racer\v1.0" -Name "Last Player" -Value "$NewPlayerAlias" -Force