Discord Rich Presence: New Super Mario Bros U Deluxe #130
No reviewers
Labels
No labels
audio
bug
confirmed
cpu
critical
development
enhancement
gpu
graphics-backend:opengl
graphics-backend:vulkan
gui
help wanted
horizon/hle
i18n
infra
input
kernel
linux
macos
suggestion
windows
No assignees
2 participants
Notifications
Due date
No due date set.
Reference
projects/Ryubing!130
Loading…
Reference in a new issue
No description provided.
Delete branch "RecursiveMemory/Ryujinx:NSMBUDRPC"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add RPC support for NSMBUD play reports that generate on main menu and after finishing a course.
Tracked things:
Main menu
Last played course
Examples:
Main menu

After finishing a course (By dying or by beating it)

In the future should I be doing batch PRs for RPC related things? Yes.
Should be revised now. Also why is my icon thingy wrong
I could do the level title, but then I would need to make a list of every Course in the game and pull from that.
Well actually if you want me to I can add the level names.
Eh we doing it anyways. Got a nasty case off too much time, getting kinda pissed if I do not do it "well enough", and enough 100% save files to make it a breeze.
Side note: This also means I might update SMB Wonder with the same tech
Discord Rich Presence: New Super Mario Bros U Deluxeto WIP: Discord Rich Presence: New Super Mario Bros U DeluxeWIP: Discord Rich Presence: New Super Mario Bros U Deluxeto Discord Rich Presence: New Super Mario Bros U DeluxeDiscord Rich Presence: New Super Mario Bros U Deluxeto WIP: Discord Rich Presence: New Super Mario Bros U DeluxeWIP: Discord Rich Presence: New Super Mario Bros U Deluxeto Discord Rich Presence: New Super Mario Bros U Deluxe@Awesomeangotti wrote in #130 (comment):
It was in fact not a breeze
Looks good, way more effort than I would have put in for adding level names
Maybe I should go back and do this for Wonder (that requires finishing the game on my end, first, I didn't wanna spoil myself too much writing the playreport data)... Requested some changes.
@ -1119,0 +1156,4 @@"0" => "mario","1" => "luigi","4" => "mario","5" => "mario",What is
MorLand what do these strings reference? If they're names, shouldn't they be capitalized? We might consider changing the method name here for clarity.Renamed name for clarity. They are arbitrary strings used to select specific keys in the json file so the proper course name is applied. They are not capitalized to match with the json file structure thing
@ -1119,0 +1142,4 @@}catch{return $"Last Played: Something unaccounted for";You should return
FormattedValue.ForceResetor its equivalent here instead. This resets the RPC to its default.@ -1119,0 +1179,4 @@"6" => course,"7" => course,"8" => course,"9" => course,You can set this to:
and so on and so forth to avoid repetitive declarations.
Ok so Imma have to do some SLIGHT tomfoolery to upgrade this due to my usage of strings
@ -141,0 +142,4 @@"0100ea80032ea000", // New Super Mario Bros U Deluxe 0100ea80032ea000spec => spec.WithDescription("based on world map return info.").AddSparseMultiValueFormatter(["WorldNo", "CourseNo", "RlId", "TotalPlayTime", "GameModeType"], NSMBUDRPC)NsmbudRpcfor clarity.I have begun work on fixes. I can do the mario wonder stuff based off this after its merged instead of you doing it btw
Yeah I could go ahead and try to do wonder tomorrow