How cybermask367/orbisrpc works
orbisRPC is a GoldHEN background daemon that detects the foreground PS4 title, resolves its name and artwork, then publishes a timed Discord Rich Presence over a TLS WebSocket. Its documented resolution stages include local/configured titles, Sony TMDB, pkg-zone homebrew lookup, and retro-game indexes; it also remembers resolved titles and can self-update. The tree includes an installer flow alongside the daemon. Some subsystem links are based on README descriptions and SOURCE INDEX references; unsampled implementations are not assumed to expose further calls.
Main entry points: daemon.c Daemon Loop · detect.c Title Detection · installer.c Installer Flow · discord.c Discord Client
Components 24
Installation
- Installer Flow
installer/installer.c - Installer UI
installer/ui.c - Installer Config
installer/icfg.c - Payload Sender
installer/send.c
Daemon Runtime
- Payload Entry
orbisrpc/main.c - Daemon Loop
orbisrpc/daemon.c - Runtime Config
orbisrpc/cfg.c
Title Resolution
- Title Detection
orbisrpc/detect.c - Learned Title Cache
orbisrpc/gamecache.c - App Database
orbisrpc/appdb.c - Sony TMDB
orbisrpc/tmdb.c - Homebrew Lookup
orbisrpc/pkgzone.c - Retro Lookup
orbisrpc/retro.c - Artwork
orbisrpc/art.c
Presence Delivery
- Discord Client
orbisrpc/discord.c - WebSocket Transport
orbisrpc/ws.c - TLS Transport
orbisrpc/tls.c
Operations
- Self Updater
orbisrpc/updater.c - Health State
orbisrpc/health.h - Notifications
orbisrpc/notify.c
Other components
- PS4 User
- orbisRPC Payload
- Discord Gateway
- GitHub Releases
Connections 24
- PS4 User → Installer Flow: installs payload
README.md - Installer Flow → Installer UI: shows dialogs
installer/installer.c - Installer Flow → Installer Config: sets token
installer/installer.c - Installer Flow → Payload Sender: injects payload
- Installer Flow → orbisRPC Payload: copies payload
installer/installer.c - PS4 User → orbisRPC Payload: launches payload
README.md - orbisRPC Payload → Payload Entry: starts
orbisrpc/main.c - Payload Entry → Daemon Loop: runs daemon
orbisrpc/main.c - Daemon Loop → Runtime Config: loads settings
orbisrpc/daemon.c - Daemon Loop → Title Detection: polls title
orbisrpc/daemon.c - Title Detection → Learned Title Cache: reads and learns
orbisrpc/detect.c - Title Detection → App Database: looks up title
- Title Detection → Sony TMDB: resolves Sony IDs
orbisrpc/detect.c - Title Detection → Homebrew Lookup: resolves homebrew
orbisrpc/detect.c - Title Detection → Retro Lookup: resolves classics
- Title Detection → Artwork: provides artwork
- Daemon Loop → Discord Client: sets presence
orbisrpc/daemon.c - Discord Client → WebSocket Transport: uses gateway socket
orbisrpc/discord.c - WebSocket Transport → TLS Transport: secures connection
orbisrpc/ws.c - Discord Client → Discord Gateway: sends activity
README.md - Daemon Loop → Self Updater: checks updates
orbisrpc/daemon.c - Self Updater → GitHub Releases: fetches releases
orbisrpc/updater.c - Daemon Loop → Health State: uses health state
orbisrpc/daemon.c - Daemon Loop → Notifications: announces status