mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 02:39:57 -04:00
Show the Discord status under an NX2navi application instead of the old one
Discord takes the name above the presence from the application whose id the client sends, and the built-in id belonged to the application the earlier framework registered for its own game, so the status read as that game. The id and the art key now live in runtime/discord_app.h (NX2NAVI_DISCORD_APP_ID_DEFAULT and NX2NAVI_DISCORD_IMAGE_DEFAULT), the one place to paste the NX2navi application's id. Until it is set there or in nx2navi.ini, the presence stays off and logs once how to set it, and --probe-discord skips. The ini example and the comments no longer claim the old id is registered as NX2navi, and the details-line example uses game 1.1.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -239,11 +239,12 @@
|
||||
# local IPC of a running Discord client. 1 = on; the Menu tab of the settings menu (F1) switches it too, and the
|
||||
# change reaches the presence thread at once.
|
||||
# discord_rpc = 0
|
||||
# The application whose name and artwork the status shows. The default is the project's own application,
|
||||
# registered as "NX2navi" with the port's green ring icon as its art. Register your own at
|
||||
# discord.com/developers (name and art are yours to choose) and put its id here.
|
||||
# discord_app_id = 1567232599846293504
|
||||
# The key of the application's uploaded art asset shown as the status's large image.
|
||||
# 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 =
|
||||
# The key of the application's uploaded art asset (Rich Presence > Art Assets) shown as the status's large image.
|
||||
# discord_image = nx2navi_512x512
|
||||
|
||||
[audio]
|
||||
|
||||
Reference in New Issue
Block a user