mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 09:00:37 +02:00
Default art backend to public RPC app assets
This commit is contained in:
1 parent
63409c8e41
commit
260b9dc8c0
3 files changed
+14
-2
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"token": "SET_ME",
|
||||
"application_id": "",
|
||||
"application_id": "858345055966461973",
|
||||
"enabled": 1,
|
||||
"poll_interval_s": 12,
|
||||
"presence_state": "On PS4"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user