mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 18:00:42 +02:00
Full daemon source (C, PS4 native): - log/cfg/jsonlite/b64: logging, /data/PS4RP/config.json, JSON, base64 - http.c: OAuth2 token exchange via SceHttp (authorization_code + refresh) - ws.c: WebSocket over SceNet + LibreSSL (SSLv23_client_method), DNS via sceNetResolverStartNtoa, OrbisNetSockaddr packing - discord.c: gateway connect/identify/heartbeat/presence set+clear - detect.c: foreground game via sceUserServiceGetForegroundUser + app.xml/app.db title-name resolution - main.c: poll loop (config poll_interval_s) Build verified on macOS (LLVM 21 + OpenOrbis toolchain v0.5.4): - 9 objects compile, lld 21 links build/ps4rp.elf (169KB) - create-fself produces valid SCE ASLR payload build/ps4rp.fself - libSceLibreSSL exports the OpenSSL-style TLS API used by ws.c