How h1z1rotk/rotk-launcher works
ROTK Launcher is an Electron desktop launcher for preparing or adopting an isolated H1Z1 client, configuring it for ROTK, and starting the game with account credentials protected by a short-lived ticket. The main process coordinates setup, identity, verification, and launch; the React interface initiates those operations through the preload IPC bridge. Other documented capabilities include news and updates, optional voice, and opt-in post-session diagnostics. Some service wiring is explicit in the README rather than visible in the sampled excerpts, so uncertain internal links are omitted.
Main entry points: main.ts Main coordinator · installer.ts Client installer · game-launcher.ts Game launcher · diagnostic-controller.ts Diagnostics controller
Components 26
Desktop interface
- Launcher UI
src/App.tsx - IPC bridge
electron/preload.ts - Main coordinator
electron/main.ts
Client setup
- Client installer
electron/services/installer.ts - Path policy
electron/services/path-policy.ts - Asset sync
electron/services/asset-sync.ts - Config store
electron/services/config-store.ts
Identity and launch
- Player identity
electron/services/player-identity.ts - Player key store
electron/services/player-key-store.ts - Launch ticket
electron/services/launch-ticket.ts - Integrity attestation
electron/services/integrity-attestation.ts - Session gateway
electron/services/session-gateway.ts
Game runtime
- Game launcher
electron/services/game-launcher.ts - Vivox repair
electron/services/vivox-client.ts - Steam shim
native/steamshim/steam_api64.c - Vivox proxy
native/vivoxproxy/vivoxsdk_x64_proxy.c - Voice helper
native/RotkDeathcomm/Program.cs
Updates and diagnostics
- Update feed
electron/services/update-feed.ts - Server status
electron/services/server-status.ts - Diagnostics controller
electron/services/diagnostic-controller.ts - Diagnostic reports
electron/services/diagnostic-reports.ts - Diagnostic upload
electron/services/diagnostic-upload.ts
Other components
- Player
- ROTK services
- Windows and client files
- H1Z1 game
Connections 32
- Player → Launcher UI: uses
- Launcher UI → IPC bridge: requests operations
- IPC bridge → Main coordinator: dispatches IPC
- Main coordinator → Launcher UI: publishes snapshots
- Main coordinator → Client installer: coordinates setup
- Client installer → Path policy: validates paths
- Client installer → Asset sync: synchronizes files
- Client installer → Vivox repair: repairs voice assets
- Client installer → Windows and client files: copies and configures
- Main coordinator → Config store: persists settings
- Main coordinator → Player identity: manages identity
- Player identity → Player key store: stores launcher key
- Main coordinator → Launch ticket: requests launch ticket
- Launch ticket → ROTK services: exchanges key
- Main coordinator → Integrity attestation: requests challenge
- Integrity attestation → ROTK services: requests challenge
- Main coordinator → Game launcher: starts game
- Game launcher → Session gateway: starts session gateway
- Game launcher → Vivox repair: verifies and repairs
- Game launcher → H1Z1 game: launches
- H1Z1 game → Steam shim: loads shim
- H1Z1 game → Vivox proxy: loads proxy
- Game launcher → Voice helper: starts optional helper
- Main coordinator → Update feed: loads updates
- Update feed → ROTK services: fetches news
- Main coordinator → Server status: fetches status
- Server status → ROTK services: queries servers
- Main coordinator → Diagnostics controller: handles reports
- Diagnostics controller → Diagnostic reports: collects and stores
- Diagnostics controller → Diagnostic upload: sends opted-in reports
- Diagnostic upload → ROTK services: uploads reports
- Diagnostics controller → Windows and client files: collects session evidence