[Functional POC] DiscordCTR

Discussion in '3DS - Homebrew Development and Emulators' started by MarcusD, Jul 7, 2017.

?

What scripting language should I add?

  1. *none*

    29.2%
  2. Lua 5.1

    29.2%
  3. Python 2.7.12

    41.7%
  4. ChaiScript (C++ -esque)

    0 vote(s)
    0.0%
  5. *something else*

    0 vote(s)
    0.0%
  1. MarcusD
    OP

    MarcusD nobody's hero

    Member
    1,144
    2,214
    Oct 16, 2015
    Hungary
    a pixel between life and death
    DiscordCTR is a Discord client (and optionally a bot client*[1]) written from the ground up for old3DS*[2] and new3DS

    Features:
    • you can chat
    • you can receive messages
    • ...uhm...
    • there's partial bot support*[1]
    • ...

    Planned features: (mosly in order)
    • Unicode font renderer
    • built-in emoji support
    • scripting (see poll)
    • a proper GUI inspired by the Android version
    • embed renderer
    • voice chat*[2]
    • custom emoji support

    Usage: (as for now)
    1. get your bot or user token (please don't ask in the thread for help regarding this! use Google)
    2. create a file on your 3DS's SDCard root named ".DiscordCTR.ini" (note the starting dot)
      Code:
      [Auth]
      Token=mfa.something
      
      (replace "mfa.something" with your user token. please note that your user token might not start with "mfa.")
    3. ...start DiscordCTR?

    Controls: (as for now)
    • START - connect/disconnect
    • SELECT - exit
    • DPAD UP/DOWN or X/B - scroll up/down
    • hold L/R - scroll faster
    • A - select server/channel or bring up keyboard
    • Y - go back one menu

    Notes:
    1. bot support is only partially implemented, and later it'll only work with very small bots... if you try to use a bot token which is in many servers then Discord will constantly kick you out for not sharding the connection (which is not implemented, and never will be due to the weakness and the limited resources of the 3DS)
    2. even though this is being tested on a 2DS, I can't guarantee that the old3DS hardware (CPU and/or the wifi card) will always work with every feature this is going to get. old3DS might not be powerful enough to handle the incoming/outcoming voice session or just the crypto itself used by the voice protocol. the same is the case with emojis: it may be possible that eventually the 3DS will run out of usable memory I can put the emojis in. you have been warned!
    3. the 3dsx build is only provided for convenience for users who can't install cias. please note that if you encounter a bug/crash using the 3dsx version I might not provide support due to the limitations *hax has (even though Rosalina loads 3dsx like a normal application, this also applies to Rosalina). please use the cia version if possible as that's the only build I'll be supporting!

    Media:
    Screenshots
    Video

    Downloads: (only for testing purposes)
     
    Last edited by MarcusD, Aug 19, 2017 at 6:36 PM
  2. iAqua

    iAqua Shadow of Dark.

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,630
    2,051
    Dec 7, 2015
    Canada
    Another one? Nice job.
     
    StarTrekVoyager likes this.
  3. Alex119098

    Alex119098 GBAtemp Regular

    Member
    119
    10
    Dec 6, 2015
    United States
    Deep Space
    I like how there are different Discord Clients. Keep up the good work!
     
  4. smileyhead

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,446
    5,064
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    looks great!
     
  5. VinsCool

    VinsCool Insecure

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,515
    26,969
    Jan 7, 2014
    Canada
    Another World
    Pretty nice!
     
  6. hurrz

    hurrz GBAtemp Regular

    Member
    200
    74
    Apr 17, 2017
    Gambia, The
    Maybe it is the same dev distributing two versions because they cannot decide which one is best ...

    /s
     
  7. James310

    James310 GBAtemp Advanced Fan

    Member
    878
    315
    Oct 4, 2015
    United States
    Somewhere in California
    This Discord is better since I heard the other one uses frequent requests to the API that can get your account banned
     
  8. Sad_Chara

    Sad_Chara Newbie

    Newcomer
    3
    0
    Jul 3, 2017
    United States
    Its stuck at always saying Testing WebSocket shit on my n3ds xl
     
  9. Starfighter-Suicune

    Starfighter-Suicune Member

    Newcomer
    17
    2
    Dec 19, 2016
    Gambia, The
    Hm, it indeed works. A little bit messy with all the auth stuff etc.
    Also scrolling up& down refuses to work for me.
    The channel list font is too huge right now, sometimes hard to read xD
     
  10. Invision

    Invision Member

    Newcomer
    27
    12
    Mar 6, 2017
    Canada
    It's stuck on "Testing WebSocket shit"
    I'm pretty sure I entered my token correctly??
     
  11. MarcusD
    OP

    MarcusD nobody's hero

    Member
    1,144
    2,214
    Oct 16, 2015
    Hungary
    a pixel between life and death
    weird... I don't see *anything* that would cause a softlock... did you both press START? it doesn't autoconnect

    you need to hold the button to scroll... and it's also running around 30FPS with only 5 servers, so it might be lagging too much for it to scroll at all
    oh, and I accidently mixed up the buttons, so scrolling is opposite of what you'd expect
     
  12. Invision

    Invision Member

    Newcomer
    27
    12
    Mar 6, 2017
    Canada
    fuck

    also uh by the w-
    *ahem*
    Also, guild names can wrap around the screen, causing the next guild down to be covered.
     
  13. MarcusD
    OP

    MarcusD nobody's hero

    Member
    1,144
    2,214
    Oct 16, 2015
    Hungary
    a pixel between life and death
    yes, that's normal :P