Files
TeslaSuite/Console/RedPlanet/Apps.xml
T
CydandClaude Opus 4.8 ce094535fa Add RIOJoy to the product catalog
RIOJoy (the cockpit RIO → virtual-gamepad feeder; separate net48 repo) is now an
installable/launchable product in Console/RedPlanet/Apps.xml. Its dist zip is
already TeslaConsole-shaped (postinstall.bat + RIOJoy\ → extracts to C:\Games, the
launcher runs postinstall.bat as SYSTEM to install ViGEmBus + register auto-start),
so this is the only change needed on the TeslaSuite side.

- Launch entry exe C:\Games\RIOJoy\app\RioJoy.Tray.exe, autoRestart=false (the
  postinstall HKLM Run entry owns startup; the catalog entry is for registration +
  manual restart from the console).
- CatalogTests: bumped the count guard to 4 products / 6 entries and added a
  byte-exact LaunchData check for the RIOJoy entry. 74 tests green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 14:13:36 -05:00

99 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Tesla Console product catalog.
This file is the single source of truth for installable products and the
launch entries each one registers on a pod. It replaces the products that
were previously hardcoded in SiteManagement.cs.
Element/attribute reference:
<Product id = install/product key (Guid) used while transferring the package
name = friendly product name (used in menu + status text)
menuText = exact text shown in the Install Product submenu
hostTypeDialog = "true" to prompt for resolution + roles
(Game Client / Live Camera / Mission Review),
"false" to register all launch entries as-is>
<Launch key = launch entry Guid registered on the pod (LaunchData.LaunchKey)
displayName = name shown in the pod's app list
exe = absolute path to the executable on the pod
args = command-line arguments; "{res}" expands to " -res W H"
when a custom resolution was chosen, otherwise to ""
workingDirectory = optional; defaults to the directory of exe
autoRestart = "true"/"false"
hostType = GameClient | LiveCamera | MissionReview | None
(only meaningful when hostTypeDialog="true"; an entry
is registered only if its role was selected) />
</Product>
To add a product, append a <Product> with one <Launch>. exe must live under
the install directory the package extracts to (currently C:\Games\...).
-->
<AppCatalog>
<Product id="7D241B1F-AB6D-4e08-9C20-12294E743D94"
name="Red Planet 4.11"
menuText="Red Planet 4.11..."
hostTypeDialog="true">
<Launch key="7D241B1F-AB6D-4e08-9C20-12294E743D94"
displayName="Red Planet 4.11"
exe="C:\Games\RP411\rpl4opt.exe"
args="-net 1501{res}"
autoRestart="true"
hostType="GameClient" />
<Launch key="57A0B3C2-D5CF-46d6-ABED-A8F4A26AB086"
displayName="Red Planet 4.11 LC"
exe="C:\Games\RP411\rpl4opt.exe"
args="-net 1501{res} -lc"
autoRestart="true"
hostType="LiveCamera" />
<Launch key="8F71D5C2-38E4-413c-8E22-88CAD08774D2"
displayName="Red Planet 4.11 MR"
exe="C:\Games\RP411\rpl4opt.exe"
args="-net 1501{res} -mr"
autoRestart="true"
hostType="MissionReview" />
</Product>
<Product id="CC8500ED-A653-45a7-BEF8-C332D30371A6"
name="BattleTech Firestorm"
menuText="BattleTech Firestorm..."
hostTypeDialog="false">
<Launch key="CC8500ED-A653-45a7-BEF8-C332D30371A6"
displayName="BattleTech Firestorm"
exe="C:\Games\MW4\launcher.exe"
args=""
autoRestart="true"
hostType="None" />
</Product>
<Product id="8EE93A6C-F16A-49be-B867-37FAE9087FFF"
name="BattleTech Firestorm LC"
menuText="BattleTech Firestorm LC..."
hostTypeDialog="false">
<Launch key="8EE93A6C-F16A-49be-B867-37FAE9087FFF"
displayName="BattleTech Firestorm LC"
exe="C:\Games\MW4\launcher.exe"
args=""
autoRestart="true"
hostType="None" />
</Product>
<!-- RIOJoy — virtual-gamepad feeder for the cockpit RIO board (separate repo,
net48 framework-dependent). Its dist\RIOJoy-<ver>.zip is purpose-built for
Install Product: extracts to C:\Games (giving postinstall.bat + RIOJoy\),
and the launcher runs postinstall.bat as SYSTEM — it installs ViGEmBus and
registers RIOJoy to auto-start at logon (HKLM ...\Run). The launch entry
below registers it in the pod app list and lets the operator (re)start it on
demand; autoRestart is false because the auto-start Run entry owns startup. -->
<Product id="87FBC2E6-6359-4EF4-96A5-DF157823CFF6"
name="RIOJoy"
menuText="RIOJoy..."
hostTypeDialog="false">
<Launch key="FE83E212-45DF-48F9-848E-0B3CEE0692A3"
displayName="RIOJoy"
exe="C:\Games\RIOJoy\app\RioJoy.Tray.exe"
args=""
autoRestart="false"
hostType="None" />
</Product>
</AppCatalog>