Giter VIP home page Giter VIP logo

nxcord's Introduction

NXCord

GitHub GitHub release (latest by date including pre-releases) GitHub All Releases FOSSA Status NXCord

Unofficial Nintendo Switch Discord client

Discord's TOS forbids the use of third party clients, thus use at your own risk! Also a lot of code has been taken from https://github.com/yourWaifu/Unofficial-Discord-3DS-Client, so thanks a lot for yourWaifu's 3ds client.

Installation and usage

Download the latest build from Releases. Extract it to the root of your sdcard you use for your switch. You do need to reboot your system, otherwise the sysmodule won't start running. After rebooting you can open NXCord in homebrew menu and you will see a login screen, if it's your first time using it.

Using a bot

Since selfbotting is not allowed, I'd recommend you to use a bot. If you don't know how to do it, just follow these simple steps. After copying the token and inviting the bot to your desired discord server, create a file named /config/nxcord/nxcord.ini and put your token there. For example your first line in the file should be token=<your token>. You need to restart your switch after modifying that file.

Selfbotting

Selfbotting means that you are using a third party client to access discord with an user account. It's against the TOS of discord, thus not recommended. I've been using an user account for testing for months already and haven't been banned yet. Might be safe, but I am not responsible for any bans!

Limitations and bugs

Because this whole application is actually running in the background as a custom sysmodule, there are memory restrictions. Discord is a memory hog, thus you will hit the memory limit of Atmosphere rather quickly. Even the login process alone, can take up to 20MiB. Fetching channel information of big discord servers will probably crash your switch. So if you ever see the sysmodule crashed screen, you will have to use a different account/bot. I'd recommend you to only join one or two not so busy servers.

If you don't really care about the sysmodule aspect of this project you can also use the standalone client version. It won't run in the background and you can use a discord account as big as you like.

Also right now a lot of features are missing. Head over to projects to see what possible features are planned for the future.

Microphone

The switch itself doesn't have any external microphones, so you do need to plug in headphones/earbuds to actually utilise speaking.

Tesla overlay

Right now there are two bugs.

  • When you open NXCord in the overlay menu, the overlay itself will disappear. Just reopen it.
  • Voice channel won't refresh by itself when participants join or leave. Press B and reopen to manually refresh.

Building NXCord

Dependencies

For building you need to install dependencies first.

Assuming you have devkitpro and libnx installed, just run:

$ (dkp-)pacman -S switch-libsodium switch-mbedtls switch-zlib switch-sdl2 \
  switch-sdl2_ttf switch-sdl2_image switch-sdl2_gfx switch-sdl2_mixer \
  switch-mesa switch-glad switch-glm switch-libdrm_nouveau switch-libwebp \
  switch-libpng switch-freetype switch-bzip2 switch-libjpeg-turbo switch-opusfile \
  switch-libopus
$ git clone --recurse-submodules [email protected]:Grarak/NXCord.git
$ cd NXCord
$ mkdir build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitA64Libnx.cmake ..
$ make

Build options

There are several different build variants:

  • Client without IPC:
$ cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitA64Libnx.cmake -DENABLE_CLIENT_STANDALONE=ON ..
  • Sysmodule without IPC:
$ cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitA64Libnx.cmake -DENABLE_SYSMODULE_APPLICATION=ON ..

License

FOSSA Status

nxcord's People

Contributors

fossabot avatar grarak 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nxcord's Issues

Failed to parse login

Yo I cant login and im using atmosphere 10.5 And Firmware 9.20 tried login in but nothing working know whats up?

Could it be it not working because it not work with this Atmosphere ver or firmware or some of the files in homebrew maybe?

Sysmodule crashes or something else

So when I reboot my switch the sysmodule is runnig but once I start NXcord the sysmodule stop and nxcord says "Couldn't communicate with sysmodule". Also, my switch was banned but I don't know if it matters. (B NAT)

Text channels ?

Hi,

I was wondering why there isn't any text channel feature on NXCord ...? I don't know how it works but i think it wouldn't be really hard to show text channels and send / receive messages. Is there a reason why it is not already in the app ?

Sysmodule doesen't start after restart

IMG_20200531_120338
Hello, I am on 10.0.3 atmosphere 0.12.0 and the app says "couldn't communicate with sysmodule" so I looked with the sysmodules overlay and it says that the sysmodule NXcord is Off, I tried restarting the console but it didn't work

Blue Snowball iCE Microphone not working

I own a Blue Snowball mic which works fine on Discord PC. However, when using it on my Switch, it doesn't seem to recognize any voice input, even after tweaking the sensitivity and amplifier boost.

"cannot communicate with sysmodule" even when it is on.

I have installed all of the files properly, but whenever I launch nxcord after a reboot, it says that it cannot communicate with the sysmodule. Here is what happens:
Step 1. Reboot
Step 2. Launch nxcord in homebrew menu (not applet)
step 3. cannot communicate with sysmodule
Step 4. whenever i reopen nxcord it shows black screen, if I open the overlay, nothing happens and I cannot open tesla menu.

The most infuriating part is how THE SYSMODULE IS TURNED ON in the sysmodule viewer.

It is the latest version of nxcord, with the latest switch firmware update. Im not banned, and I am using Emummc. I am also connected to the internet.

PLEASE HELOPPPPPPPPPPP

Failed to parse login response

With every account i try to log in i get always failed to parse login response.
I even tried the bot method but it crashes because it says that my account it's too big (even tho it's a fresh account)

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.