Coder Social home page Coder Social logo

nintenzone / switchrpc Goto Github PK

View Code? Open in Web Editor NEW
209.0 13.0 32.0 201 KB

Discord Rich Presence integration for Nintendo Switch.

HTML 76.45% JavaScript 23.55%
nintendo nintendoswitch discord discordapp discordrpc discordrichpresence discord-rich-presence nintenzone nintengamer64 electron electron-app switchcord switchrpc rpc

switchrpc's Introduction

SwitchRPC

Discord Rich Presence integration for Nintendo Switch. SwitchRPC is a Rich Presence application for Discord that allows you to set your game, and some details about it. If you have any issues or find any bugs you can get assistance on the support server.

Installation

If you're on windows, head over to the releases tab and grab the latest release. (Open up "Assets" and download the SwitchRPC-Setup.exe file.)

Mac and Linux installers coming soon™.

Manual Installation (Useful for Mac and Linux Installs)

The dollar sign ($) denotes that you're using the command line/a terminal. Don't actually type it. To get to the terminal, open the "Terminal" app or similar (in the Applications/Utilities folder on macOS).

  1. Download and install node.js (either version should work fine)
  2. Clone this repository:
    $ git clone https://github.com/NintenZone/SwitchRPC.git or download and decompress the source code from the latest release
  3. CD into the directory you downloaded
    $ cd ~/Downloads/SwitchRPC for example
  4. Install dependencies
    $ npm install
  5. Install electron globally, if not already installed
    $ sudo npm install electron -g
    Note: This will prompt for a password. This is your computer login password, and it won't show up while you type. Type it in and press enter. This is necessary to install the "Electron" app that SwitchRPC runs on.
  6. Run the app!
    $ electron .

You may find it useful to create a script to run the app in the future. To do so, type the following in your terminal:

$ cat > run.sh
#!/bin/bash
electron "${0%/*}"

Press the key combo Control + D at this point, and your terminal should return to a normal prompt. Run this final command:
$ chmod +x run.sh

Then, if you're on macOS, right click on the new "run.sh" file created, choose "Get Info", and change "Opens With" to Terminal. (You will need to select Other, Terminal is in the Utilities folder, and change from Recommended Applications to All Applications at the bottom of the GUI shown.)

And you should now be able to open "run.sh" like a regular file to open the app. You can drag this script to the second half of your dock on macOS (and rename it to your liking).

Copyright 2018-2021 NintenZone Technologies. Nintendo Switch, and the Nintendo Switch logos are property of Nintendo.

switchrpc's People

Contributors

nikbrandt avatar nintenzone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

switchrpc's Issues

no actual app for the application

Hi, I downloaded SwitchRPC and I really like it, but there's one problem. I don't see the app for the actual application, I just see the app for the setup. Anyway to fix this?

Adding Support for Android

I know this might be a bit far fetched, but as Android Game Center currently has the ability to add a mobile game you're playing to your discord status automatically through detection, is there a way this could be implemented to work with updating switch status from Android?

This definitely wouldn't be easy and maybe require some extensions (possibly app?) to be made, but it would be nice to be able to use this awesome feature from the convenience of my Android phone (as I play handheld most of the time, and it isn't super ideal to have to be next to my desktop pc/MacBook every time I want to update the status).

Or alternatively if there is a way for the scripts to be used on Android, that would be super helpful too. Definitely not a need but would be a nice addition for some handheld players.

Appreciate all the hard work that has gone into making this tool, keep up the good work!

Feature request: Custom presets

Allow the user to create a custom preset which can be picked from a list so you don't have to manually set the input values every time you start the program making it a bit quicker and easier to use.

not enough games

this seems great but please add much more 3rd party games, like atomycrop, the swindle, tetris 99 and more. adding more, and possibly with the help of the community, all games, would make it great. also, since i didn't have the chance to use it, do you have to enter the game you play every time? if so, cant you do something with pairing m Nintendo account, or making a custom bot a friend on the switch, so it would see what you're playing and use it?

(win10) Unable to install

I'm new to github so I apologize if I did this wrong.
I've been looking for something like this to show what game I'm in on Discord and this seems perfect!
I grabbed the .exe for Beta 2.0 but when I tried to run it, it did nothing. I tried right clicking and clicking on "run as administrator", tried setting compatibility to force "run as administrator" and nothing happens.

Supported Titles list empty.

I can't select a game.
switchrpc
Also having the same issue in #18 and I feel they may be related.

Tried latest release, and latest commit, same result.

Running on Linux.

Allow adding buttons with links

It would be cool if you were hosting an event on your server or running a livestream to allow people to see your stream or join said server with a button in your Rich Presence.

Unable to submit

I type in the game and mode but when I click submit nothing happens.

Pls add SBRO

Pls add Super Bomberman R Online to the supported titles list pls

Could not connect

Everytime i try to use this it always says Could not connect to the server. Please make sure this application is not blocked in your firewall and that you are connected to the internet.

Monster Hunter Rise

Can you add Monster hunter rise, I know its new game so I understand that why It's not yet in this app

Feature request: Automatic game check using friend codes

I was thinking just now about an efficient but most likely improbable feat, which is to make checking the game you are currently playing on the Switch automatic. I feel this feature should be optional and so it should still give the option to type in the game you are playing manually, however I personally believe that it should work by checking a player's friend code if they input it into the program itself. It checks the validity of the friend code before checking the status, if no game is being played then the program won't change the Discord status and vice versa. I'm not sure if that sort of thing would work but there should be something possible, it would just most likely be improbable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.