$RegistryPath = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws"
New-Item -Path "$RegistryPath" -Force
New-Item -Path "$RegistryPath\Users"
New-Item -Path "$RegistryPath\Users\Default User"
New-Item -Path "$RegistryPath\Users\Default User\Cheats"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Cheats" -Name "Invincibility" -Value "N" -Force
New-Item -Path "$RegistryPath\Users\Default User\JOYSTICK"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Active" -Value "Y"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Digital Mode" -Value "N"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Forward" -Value "Y Axis Forward"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Back" -Value "Y Axis Back"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Turn Left" -Value "X Axis Left"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Turn Right" -Value "X Axis Right"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Strafe Left" -Value "POV Left"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Strafe Right" -Value "POV Right"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Jump/Swim Up" -Value "Button 3"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Crouch/Swim Down" -Value "Button 4"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Up" -Value "POV Up"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Down" -Value "POV Down"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Left" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Right" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Speed" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Slow" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Strafe Mode" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Forward" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Look Back" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Fire" -Value "Button 1"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Super Fire" -Value "Button 2"
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Reload" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Disarm" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Nudge" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Previous Weapon" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Next Weapon" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Drop Item" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Map Toggle" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Use" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 1" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 2" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 3" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 4" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 5" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 6" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 7" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 8" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Weapon 9" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Lamp Toggle" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\JOYSTICK" -Name "Frag Table Toggle" -Value ""
New-Item -Path "$RegistryPath\Users\Default User\Keys"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Yaw Accel MSecs" -Value "200"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Pitch Accel MSecs" -Value "200"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Move Forward" -Value "Up;W"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Move Backward" -Value "Down;S"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Left" -Value "Left"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Right" -Value "Right"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Strafe Left" -Value "Comma;A;Alt-Left"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Strafe Right" -Value "Period;D;Alt-Right"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Jump" -Value "x;E"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Slow" -Value "Caps Lock"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Fast" -Value "Shift"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Very Fast" -Value ""
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Crouch" -Value "C"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Left" -Value "V-Left;F-Left"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Right" -Value "V-Right;F-Right"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Up" -Value "Page Up;F-Up"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Down" -Value "Page Down;F-Down"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Forward" -Value "Center"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Look Back" -Value "End"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Map" -Value "Tab"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Super Map" -Value "Shift-Tab"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Next Smaller Weapon" -Value "Left Bracket"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Next Bigger Weapon" -Value "Right Bracket"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Fire (Small)" -Value "Control"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Fire (Big)" -Value "Z;Q"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Fire (Other)" -Value "H"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Reload" -Value "R"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Disarm" -Value "0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 1" -Value "1"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 2" -Value "2"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 3" -Value "3"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 4" -Value "4"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 5" -Value "5"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 6" -Value "6"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 7" -Value "7"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 8" -Value "8"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Weapon 9" -Value "9"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Strafe On" -Value "Alt"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Free Look" -Value "F"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Nudge" -Value "Space"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Lamp Toggle" -Value "L"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Hud Toggle" -Value "H"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Frag Table Toggle" -Value "T"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Exit Game" -Value "Alt-Q"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Drop Item" -Value "G"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Kick" -Value "K"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Use" -Value "Enter"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Chat" -Value "Alt-Y"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Lobby" -Value "Alt-L"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 1" -Value "Shift-F1"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 2" -Value "Shift-F2"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 3" -Value "Shift-F3"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 4" -Value "Shift-F4"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 5" -Value "Shift-F5"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 6" -Value "Shift-F6"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 7" -Value "Shift-F7"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 8" -Value "Shift-F8"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 9" -Value "Shift-F9"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Taunt 10" -Value "Shift-F10"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 1" -Value "F1"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 2" -Value "F2"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 3" -Value "F3"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 4" -Value "F4"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 5" -Value "F5"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 6" -Value "F6"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 7" -Value "F7"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 8" -Value "F8"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 9" -Value "F9"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Keys" -Name "Quick Taunt 10" -Value "F10"
New-Item -Path "$RegistryPath\Users\Default User\MOUSE"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Active" -Value "Y"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Flip Y Axis" -Value "N"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Forward Motion" -Value "Sel: 4294967295 Sens: 16"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Turning" -Value "Sel: 0 Sens: 16"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Strafing" -Value "Sel: 4294967295 Sens: 16"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Free Look" -Value "Sel: 0 Sens: 16"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Shoot" -Value "Sel: 1 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Shoot (Other)" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Turn Left" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Turn Right" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Strafe Left" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Strafe Right" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Jump / Swim" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Crouch / Dive" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Fast" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Slow" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Walk Forward" -Value "Sel: 4 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Walk Backward" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Reload" -Value "Sel: 2 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Nudge" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Kick" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Map" -Value "Sel: 4294967295 Sens: 0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\MOUSE" -Name "Lamp" -Value "Sel: 4294967295 Sens: 0"
New-Item -Path "$RegistryPath\Users\Default User\Multiplayer"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "End Game After N Minutes" -Value "N"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "Minutes To End Game" -Value "0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "End Game After N Kills" -Value "N"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "Kills To End Game" -Value "0"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "Maximum Players" -Value "8"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "Character" -Value "2"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Multiplayer" -Name "Start Options" -Value " "
New-Item -Path "$RegistryPath\Users\Default User\Music"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Music" -Name "Volume" -Value "26"
New-Item -Path "$RegistryPath\Users\Default User\Options"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "MapPreference" -Value "mapoverlay maporiented"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "AutoPitch" -Value "TRUE"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "AutoAim" -Value "TRUE"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "MovePitchReturn" -Value "FALSE"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "HeadWave" -Value "TRUE"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Options" -Name "Crosshair" -Value "FALSE"
New-Item -Path "$RegistryPath\Users\Default User\SOUND"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Master Volume" -Value "96"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Unscaled FX Volume" -Value "58"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Unscaled Taunts Volume" -Value "58"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Unscaled Cutscene Volume" -Value "127"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Unscaled Music Volume" -Value "28"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Effects Volume" -Value "43"
New-ItemProperty -Path "$RegistryPath\Users\Default User\SOUND" -Name "Taunts Volume" -Value "43"
New-Item -Path "$RegistryPath\Users\Default User\Taunts"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 1" -Value "c106.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 2" -Value "c209.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 3" -Value "c316.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 4" -Value "c418.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 5" -Value "c521.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 6" -Value "c652.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 7" -Value "c755.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 8" -Value "sz04.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 9" -Value "max.wav"
New-ItemProperty -Path "$RegistryPath\Users\Default User\Taunts" -Name "Taunt 10" -Value "sm01.wav"
New-Item -Path "$RegistryPath\v1.0"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Last Command Line" -Value ""
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Multiple Windows" -Value "N"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Plus Scan Code" -Value "13"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Minus Scan Code" -Value "12"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Display Width" -Value "640" -Force
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Display Height" -Value "480" -Force
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "View Box" -Value "15"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "SafeExit" -Value "YUP"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Palette Tinting" -Value "Y"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Gamma" -Value "0"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Team Chat Header Char" -Value "#"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Blue Team Chat Header Char" -Value "B"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Red Team Chat Header Char" -Value "R"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "MusicMode" -Value "1"
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Saved Game Count" -Value "9" -Force
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Sound Driver" -Value "$InstallDirectory\LECDSND.DLL" -Force
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Internal Backswitching" -Value "19" -Force
New-ItemProperty -Path "$RegistryPath\v1.0" -Name "Display Driver" -Value "$InstallDirectory\LECGLIDE.DLL" -Force
New-Item -Path "$RegistryPath\v1.0\Direct3D"
New-ItemProperty -Path "$RegistryPath\v1.0\Direct3D" -Name "Device" -Value "display" -Force
New-Item -Path "$RegistryPath\v1.0\DirectPlay 3"
New-ItemProperty -Path "$RegistryPath\v1.0\DirectPlay 3" -Name "Session Search Timeout" -Value "3" -Force
New-Item -Path "$RegistryPath\v1.0\DirectPlay 3\IP"
New-Item -Path "$RegistryPath\v1.0\DirectPlay 3\Modem"
New-Item -Path "$RegistryPath\v1.0\DirectPlay 3\Serial"
New-Item -Path "$RegistryPath\v1.0\DirectSound"
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Mixing Buffers" -Value "8" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Game Sound Quality" -Value "2" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Movie Sound Quality" -Value "2" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Flags" -Value "0" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Sound Effects Volume" -Value "127" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Streaming Audio Volume" -Value "96" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\DirectSound" -Name "Voice Audio Volume" -Value "127" -Force
New-Item -Path "$RegistryPath\v1.0\Glide"
New-Item -Path "$RegistryPath\v1.0\MUSIC"
New-ItemProperty -Path "$RegistryPath\v1.0\MUSIC" -Name "Active" -Value "Y" -Force
New-ItemProperty -Path "$RegistryPath\v1.0\MUSIC" -Name "MusicVol" -Value "21" -Force
New-Item -Path "$RegistryPath\v1.0\RCP"
New-ItemProperty -Path "$RegistryPath\v1.0\RCP" -Name "Module Mode" -Value "0" -Force
New-Item -Path "$RegistryPath\v1.1"
New-ItemProperty -Path "$RegistryPath\v1.1" -Name "Outlaws" -Value "v1.1" -Force
Remove-Item -Path 'registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws' -Force -Recurse
if ($NewPlayerAlias.Length -gt 20) {
$NewPlayerAlias = $NewPlayerAlias.Substring(0, 20)
}
New-Item -Path 'registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws'
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws\Users"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws\Users\Default User"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws\Users\Default User\Multiplayer"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws\Users\Default User\Multiplayer" -Name "Network Name" -Value $NewPlayerAlias -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\LucasArts Entertainment Company\Outlaws\Users\Default User\Multiplayer" -Name "Default Game" -Value "Vintage" -Force