Build in the NX2navi Discord application's id

The Rich Presence now speaks for the Discord application registered as NX2navi by default, so the status reads
"Playing NX2navi" without an nx2navi.ini entry. The ini example shows the id as discord_app_id's default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-08 00:40:25 -05:00
parent 7cd1b6ee23
commit cfc3228cc4
2 changed files with 6 additions and 6 deletions

View File

@@ -240,10 +240,10 @@
# change reaches the presence thread at once.
# discord_rpc = 0
# The Discord application whose name ("Playing <name>") and artwork the status shows: its Application ID from
# discord.com/developers/applications (General Information), digits only. Default: the NX2navi application's id
# built in from runtime/discord_app.h (NX2NAVI_DISCORD_APP_ID_DEFAULT); while that is empty and this is unset, the
# presence stays off and the log says so. Register your own application to choose another name and art.
# discord_app_id =
# discord.com/developers/applications (General Information), digits only. Default: the NX2navi application, built
# in from runtime/discord_app.h (NX2NAVI_DISCORD_APP_ID_DEFAULT). Register your own application to choose another
# name and art.
# discord_app_id = 1568862362969309275
# The key of the application's uploaded art asset (Rich Presence > Art Assets) shown as the status's large image.
# discord_image = nx2navi_512x512

View File

@@ -11,5 +11,5 @@
// an id of some other application would show that application's name instead of NX2navi.
#pragma once
#define NX2NAVI_DISCORD_APP_ID_DEFAULT "" // the NX2navi application's id: digits only, at most 20
#define NX2NAVI_DISCORD_IMAGE_DEFAULT "nx2navi_512x512" // its large-image art asset key
#define NX2NAVI_DISCORD_APP_ID_DEFAULT "1568862362969309275" // the NX2navi application's id: digits, at most 20
#define NX2NAVI_DISCORD_IMAGE_DEFAULT "nx2navi_512x512" // its large-image art asset key