From 260b9dc8c05231f8cde63a5f890322b0e6b4fe27 Mon Sep 17 00:00:00 2001 From: SirHumza <204067870+SirHumza@users.noreply.github.com> Date: Sat, 19 Sep 2026 11:24:28 +0200 Subject: [PATCH] Default art backend to public RPC app assets --- config/config.json | 4 ++-- deploy/ARTWORK.md | 6 ++++++ orbisrpc/cfg.c | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/config.json b/config/config.json index 6958390..cd986ff 100644 --- a/config/config.json +++ b/config/config.json @@ -1,7 +1,7 @@ { "token": "SET_ME", - "application_id": "", + "application_id": "858345055966461973", "enabled": 1, "poll_interval_s": 12, "presence_state": "On PS4" -} +} \ No newline at end of file diff --git a/deploy/ARTWORK.md b/deploy/ARTWORK.md index 0217c9a..f159a0c 100644 --- a/deploy/ARTWORK.md +++ b/deploy/ARTWORK.md @@ -33,6 +33,12 @@ Create an application, upload one PNG per game under Art Assets named as the lowercase title ID, set `application_id` in config. The daemon sends the asset key instead. Capped at 300 assets per app. +Current default: the public PS4-Rich-Presence-for-Discord application +(zorua98741/bshar1865, ID 858345055966461973), which already hosts +per-title art. Borrowed backend, credited here: if it ever goes away, +art degrades to nothing and everything else keeps working. Replace the +default with your own app ID to own the whole chain. + ## Runtime behavior URL pack wins when `art_base_url` is set, uploaded keys when only diff --git a/orbisrpc/cfg.c b/orbisrpc/cfg.c index 474ac13..d40e103 100644 --- a/orbisrpc/cfg.c +++ b/orbisrpc/cfg.c @@ -16,6 +16,12 @@ void cfg_defaults(cfg_t *c) { c->poll_interval_s = 12; strncpy(c->token, "SET_ME", sizeof(c->token)-1); strncpy(c->presence_state, "On PS4", sizeof(c->presence_state)-1); + /* Default art backend: asset keys resolve against the public + * PS4-Rich-Presence-for-Discord application (zorua98741/bshar1865), + * which already hosts per-title art under lowercase title IDs. + * Dependency, not ours: if it ever goes away, art degrades to + * nothing and everything else keeps working. */ + strncpy(c->application_id, "858345055966461973", sizeof(c->application_id)-1); } /* keep the daemon sane if the user puts junk in config */