More actions
Nintendo Switch Online Rich Presence | |
---|---|
File:Nintendoswitchonlinerichpresence.png | |
General | |
Author | MCMi460 |
Type | PC Utilities |
Version | 1.3.7 |
License | Mixed |
Last Updated | 2023/05/26 |
Links | |
Download | |
Website | |
Source | |
NSO-RPC is a project available on GitHub that allows users to display their Nintendo Switch game activity on Discord through Rich Presence. The project uses Nintendo's API and Discord's Rich Presence to fetch game information and display it on the user's Discord profile. The code is mainly written in Python and includes various functions to handle authentication, API requests, and Discord integration.
Quickstart Guide
Download the app from the latest release and run!
Once ran, the app will ask for you to log into your Nintendo account on a web browser. There is no malicious code with intent to steal your information, but it's best to review the code for yourself.
- Open Discord and NSO-RPC
- You will need a secondary account that is friended with your account in order to "Target" the intended profile's presence. Due to changes in Nintendo's API (#13), it is impossible to return a user's self presence, and instead can only send a user's friend list. Therefore, we have implemented a workaround to "Target" other users to provide rich presence information.
Log in to your Nintendo account when prompted
Right click on 'Select this account' and press 'Copy Link'
|
Paste the link in the pop-up's form and click 'Log In'
Control your rich presence from the app and system tray icon
|
FAQ
If none of the below Qs and As help with your problem, feel free to file an issue. Alternatively, you can join the NSO-RPC Discord server for a better back-and-forth method of communication with me!
Q: Do you need a Nintendo Switch Online subscription to use this app?
A: No, you do not. This app works whether or not you have access to online services. You will, however, need to link your Nintendo account to your user profile on your Switch.
Q: My computer says that this app might have a virus! Does it?
A: No. Your computer is saying that because it's a foreign executable file downloaded from the internet, so you should always be cautious about it. If you'd like, you can build your own exe
.
Q: You're not stealing my account/data, are you?
A: Not me, personally. You'll have to ask frozenpandaman (s2s) and @NexusMine (flapg). They are responsible for some of the authentication steps. This project now uses imink API to provide for some authentication steps. Read more here, and be weary of any possible theft.
What if I don't want to use imink?
A: It is possible to tweak the code and remove the API calls, then instead only use temporary tokens you have provided for authorization headers. However, this is tedious and completely up to the user to perform- as the tokens expire after 7200 seconds (two hours) and are only obtainable through methods such as mitmproxy
Q: Do I need Discord open on my PC to use this application?
A: No. Discord only needs to be open for the rich presence to be active.
Q: I can't get the program to run, what's wrong with it?!
A: Delete the NSO-RPC folder in your Documents folder. If that doesn't work, you should run the cli.py program and get the error data, then make an issue on Github and I'll investigate it.
Q: I can't link my Nintendo Account. What do I do?
A: Refer to the question above.
Q: My status is displaying as offline and won't change!
A: First, make sure that you have a secondary account linked and have selected your main account from the friends list. If you've done that and you're still having problems with an offline status, make sure that both settings in your user profile (play activity and display online status settings) are set to "all friends".
I am not liable for any sort of rate limiting Nintendo may hammer upon your network
Changelog
v1.3.7
- Add notice to help new users (@HotaruBlaze)
- Update imink API call (@HotaruBlaze)
v1.3.6
- Add macOS Autostart Support (@HotaruBlaze)
- Add Github Actions (@HotaruBlaze)
- ...and various other technical fixes!
v1.3.5
- Fix for Windows documents folder not being in the default location (#51) (@HotaruBlaze)
- Add start in System Tray (@HotaruBlaze)
- Fix Apple Version Regex (@HotaruBlaze and @PKBeam)
- Autostart for Windows and Linux (@HotaruBlaze)
v1.3.4
- Add eShop Uri as a Discord button
- Fix for API adaptations (#42)
- Add more error logging points
- specify you are using bash (#47) (@North-West-Wind)
v1.3.3
- Allow manual entering of NSO Mobile app version number (Hopefully fixes some errors primarily on Windows)
- Change build names of Windows and Mac builds to NSO-RPC
- Create new macOS icon (@CapnCocoa)
v1.3.2
- Switch to imink API (Fixes #34)
v1.3.1
- Automatic updating to the latest headers (Fixes #29)
v1.3
- Added support for re-targeting the user for rich presence
- Remove dependency on Discord being open
- Add "start time" field to the presence (@anthonybaldwin)
- Fix some issues with small friend widget appending (@anthonybaldwin)
- Add theme changing for taskbar icon on Windows (@anthonybaldwin)
- Prevent errors after two hours of run time (@anthonybaldwin)
- Update to latest headers
v1.2
- Introduce an entirely new GUI, with:
- User profiles
- Game statuses
- Friend List
- Visual settings menu
- Dark mode
- Logout button
- Update icon used for app logo, and MacOS dynamic system tray icon dependent on system theme
- An install.sh script for Linux users (may work?)
- Allow for reuse of temporary tokens
- Add multiple Nintendo Account language support (not much of a change)
- Add error logging
- Fix an error where the status would clear in an online match (PLAYING playing status)
v1.1
- Speed up in updating status
- Remove excess API calls that were unnecessary
- Thus, removing some chances that Nintendo may consider this suspicious account activity
- Games that make use of a 'sysDescription' (like the Nintendo Switch Online apps) will display that instead of the time played description. (Example)
v1.0
- First Release.
Credits
This project uses the Nintendo Switch Online Mobile App API.
I'd like to thank:
- NintendoSwitchRESTAPI developer(s) (for very useful blueprint designs)
- frozenpandaman and his s2s API (he is the reason all of this works)
- JoneWang and his imink API. He is crucial to some of the authentication steps performed
- blackgear's NSOnline_API (he was integral to my understanding of
session_token
authentication) - qwerty for her pypresence
- samuelthomas2774 for the tremendous amounts of help he provides to this project's issues. Check out his nxapi here!
- anthonybaldwin for being awesome and helping out this project a ton!