-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts Gaming
Scripts in Scripts/Gaming/.
What it does: Launches multiple Elite Dangerous accounts simultaneously, each in its own Sandboxie Plus sandbox.
Requirements:
- Sandboxie Plus installed
- Elite Dangerous installed via Steam
- MinEdLauncher installed
Configuration — required before first use:
You must edit the USER CONFIG section at the top of the script before running:
### USER CONFIG ###
$Accounts = @("Account1", "Account2") # In-game CMDR names — must match your Frontier accounts
$Sandboxes = @("CMDR_Account1", "CMDR_Account2") # Sandboxie sandbox names (spaces become underscores)
### END CONFIG ###The number of entries in $Accounts and $Sandboxes must match. Each pair launches one account in one sandbox.
Usage:
# After editing the USER CONFIG section:
.\Scripts\Gaming\Start-EDMultiAccount.ps1How it works:
- Kills all running Steam processes.
- Searches for
MinEdLauncher.exeat the default Steam path (C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\). If not found, searches all drive letters. - Locates
Sandboxie Plus\Start.exeby checking several common install paths (Scoop, Chocolatey, LocalAppData, Program Files). - For each account/sandbox pair: checks whether Elite Dangerous Odyssey is installed (looks for the Odyssey product folder); launches MinEdLauncher with
/frontier <AccountName> /autorun /autoquit /edo(Odyssey) or/frontier <AccountName> /autorun /autoquit /edh(Horizons), where<AccountName>is the matching entry from$Accounts.
Sandboxie path search order:
$env:USERPROFILE\scoop\apps\sandboxie-plus-np\current\Start.exe$env:ProgramData\chocolatey\bin\Start.exe$env:LOCALAPPDATA\Programs\Sandboxie\Start.exe$env:ProgramFiles\Sandboxie-Plus\Start.exe$env:ProgramFiles(x86)\Sandboxie-Plus\Start.exe
If none are found, the script prints the searched paths and exits.
Notes:
- The script uses
Invoke-Expressionto build and run the Sandboxie command line. The constructed command is printed before execution. - The
finallyblock callsexitunconditionally — the script always exits after all launch attempts, even if some failed. - This script documents what it does and how to install/configure it. The configuration, use, and implications of sandbox-based multi-accounting are the user's responsibility.
What it does: Forces Steam to verify game file integrity — both the base Steam installation and each installed game.
Requirements: Steam installed. Administrator privileges (for registry access).
Usage:
.\Scripts\Gaming\Invoke-SteamVerification.ps1How it works:
- Verifies admin privileges.
- Finds the Steam executable via registry:
HKCU:\Software\Valve\Steam→SteamExe. - Checks that Steam is not already running (exits with a warning if it is).
- Runs
steam.exe -verify_allon the base installation. - Iterates subdirectories of the
steamappsfolder and attempts per-game verification.
Known issue — per-game verification does not work:
The per-game loop looks for <gamedir>/<gamedir>.appmanifest inside each game's subdirectory. This path does not exist — Steam stores its appmanifest files at the steamapps root level, named appmanifest_<appid>.acf (not inside game subdirs, not named after the directory).
As a result, the per-game loop will never find an appmanifest and will silently skip all games after the base installation check.
What actually works: The base Steam installation verification (-verify_all) runs correctly. Per-game verification does not.
Workaround: To verify a specific game via Steam's own UI: right-click the game in your library → Properties → Local Files → Verify integrity of game files.
To trigger it programmatically: use steam://validate/<appid> as a URL or Start-Process "steam://validate/12345". You can find AppIDs at SteamDB or in the appmanifest files at <SteamLibrary>\steamapps\appmanifest_<appid>.acf.