Discord Client 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = Discord Client | image = https://dlhb.gamebrew.org/3dshomebrew/Discord-3DS-Client.png|250px | type = Other Apps | version = 1.1.1 | licence =...")
 
No edit summary
Line 14: Line 14:
= Unofficial Discord 3DS Client =
= Unofficial Discord 3DS Client =
This just a simple Discord client for the 3DS build using the [https://github.com/yourWaifu/sleepy-discord Sleepy Discord library] and the [https://github.com/tatsuhiro-t/wslay Wslay library]. Also please, notice that this is not an official Discord client, and is not made by the Discord staff.
This just a simple Discord client for the 3DS build using the [https://github.com/yourWaifu/sleepy-discord Sleepy Discord library] and the [https://github.com/tatsuhiro-t/wslay Wslay library]. Also please, notice that this is not an official Discord client, and is not made by the Discord staff.
= Why =
== Why ==
I noticed that a few Discord clients for consoles were using the Discord API incorrectly causing huge issues for those clients. So, I decided to make this as an example of how I think it should have been done.
I noticed that a few Discord clients for consoles were using the Discord API incorrectly causing huge issues for those clients. So, I decided to make this as an example of how I think it should have been done.
= How to use =
== How to use ==
First, you need a token to an account that you own, because Discord doesn't want people asking for passwords. Anyway, place this into a file called <code>discord token.txt</code> in the root of your sd card.
First, you need a token to an account that you own, because Discord doesn't want people asking for passwords. Anyway, place this into a file called <code>discord token.txt</code> in the root of your sd card.
== Controls ==
== Controls ==
Line 35: Line 35:
| A
| A
|}
|}
= Dear Homebrew devs, =
== Dear Homebrew devs, ==
If you are a dev planning to make a Discord client as a cool homebrew app, please direct message Sleepy Flower Girl on the [https://discord.gg/discord-api Discord API server] for help.
If you are a dev planning to make a Discord client as a cool homebrew app, please direct message Sleepy Flower Girl on the [https://discord.gg/discord-api Discord API server] for help.
= How to build =
 
If you haven't done so already, install devkitpro. You can find instructions to do this here [http://wiki.gbatemp.net/wiki/3DS_Homebrew_Development#Install_devkitARM http://wiki.gbatemp.net/wiki/3DS_Homebrew_Development#Install_devkitARM] Download and compile wslay from here [https://github.com/Cruel/3ds_portlibs https://github.com/Cruel/3ds_portlibs]. Place lib and include files in <code>devkitpro/portlibs/3ds</code>. Make sure this folder has all the library files you need including include files from ctrulib and citro3ds in your <code>include</code> folder (it's possible to get .h file not found errors if this isn't done). Download and compile Sleepy Discord for the 3ds from here [https://github.com/yourWaifu/sleepy-discord https://github.com/yourWaifu/sleepy-discord]. Instructions for compiling for the 3ds is in <code>buildtools/Readme.md</code>. Once that's done, place lib and include files in <code>devkitpro/portlibs/3ds</code>. Now you just need use make, and it should compile to a new folder <code>output/3ds-arm</code>.
== How to build ==
=  =
If you haven't done so already, install devkitpro. You can find instructions to do this here [http://wiki.gbatemp.net/wiki/3DS_Homebrew_Development#Install_devkitARM http://wiki.gbatemp.net/wiki/3DS_Homebrew_Development#Install_devkitARM]
 
Download and compile wslay from here [https://github.com/Cruel/3ds_portlibs https://github.com/Cruel/3ds_portlibs].
 
Place lib and include files in <code>devkitpro/portlibs/3ds</code>.
 
Make sure this folder has all the library files you need including include files from ctrulib and citro3ds in your <code>include</code> folder (it's possible to get .h file not found errors if this isn't done). Download and compile Sleepy Discord for the 3ds from here [https://github.com/yourWaifu/sleepy-discord https://github.com/yourWaifu/sleepy-discord].
 
Instructions for compiling for the 3ds is in <code>buildtools/Readme.md</code>. Once that's done, place lib and include files in <code>devkitpro/portlibs/3ds</code>. Now you just need use make, and it should compile to a new folder <code>output/3ds-arm</code>.
 
I also would like to thank people like Sono and others in the Nintendo Homebrew #dev channel for helping me.
I also would like to thank people like Sono and others in the Nintendo Homebrew #dev channel for helping me.

Revision as of 12:23, 20 April 2020

Template:Infobox 3DS homebrew

Unofficial Discord 3DS Client

This just a simple Discord client for the 3DS build using the Sleepy Discord library and the Wslay library. Also please, notice that this is not an official Discord client, and is not made by the Discord staff.

Why

I noticed that a few Discord clients for consoles were using the Discord API incorrectly causing huge issues for those clients. So, I decided to make this as an example of how I think it should have been done.

How to use

First, you need a token to an account that you own, because Discord doesn't want people asking for passwords. Anyway, place this into a file called discord token.txt in the root of your sd card.

Controls

Function Button
Next channel D-Pad Down
Next server D-Pad Right
Load messages Y
Send Message A

Dear Homebrew devs,

If you are a dev planning to make a Discord client as a cool homebrew app, please direct message Sleepy Flower Girl on the Discord API server for help.

How to build

If you haven't done so already, install devkitpro. You can find instructions to do this here http://wiki.gbatemp.net/wiki/3DS_Homebrew_Development#Install_devkitARM

Download and compile wslay from here https://github.com/Cruel/3ds_portlibs.

Place lib and include files in devkitpro/portlibs/3ds.

Make sure this folder has all the library files you need including include files from ctrulib and citro3ds in your include folder (it's possible to get .h file not found errors if this isn't done). Download and compile Sleepy Discord for the 3ds from here https://github.com/yourWaifu/sleepy-discord.

Instructions for compiling for the 3ds is in buildtools/Readme.md. Once that's done, place lib and include files in devkitpro/portlibs/3ds. Now you just need use make, and it should compile to a new folder output/3ds-arm.

I also would like to thank people like Sono and others in the Nintendo Homebrew #dev channel for helping me.

Advertising: