[Tool] Joy-Con Toolkit v1.0

Discussion in 'Switch - Hacking & Homebrew' started by CTCaer, Jul 24, 2017.

  1. Hario337

    Hario337 Member

    Newcomer
    41
    12
    Aug 5, 2017
    United Kingdom
    OH! I didn't realise the hello was a meaningful part of it.
     
  2. Agrav

    Agrav Newbie

    Newcomer
    5
    4
    Aug 23, 2017
    Slovakia
    I mean, Just for shits and giggles lol ... But maybe it would allow developers to create something useful ... who knows. I just wondered if it was possible
     
  3. CTCaer
    OP

    CTCaer GBAtemp Regular

    Member
    188
    133
    Mar 22, 2008
    Greece
    it is possible and has 4 modes.

    What you need is the image transfer mode.

    The other are: clustering, moment and hand analysis.
     
  4. ColtonDRG

    ColtonDRG GBAtemp Regular

    Member
    112
    62
    Dec 6, 2016
    United States
    stUpiidland
    Thanks! This is really cool. I just wish it could change the color displayed onscreen for my Mayflash MAGIC-NS, which I bought so I could connect my Wii U Pro controller to my Switch. Also, slightly related question: Could it be possible for this to support USB controllers like the HORIpad?

    One last thing: I tried using it on my 8bitdo NES30 Pro and I think it bricked my controller lol.
     
  5. Ep8Script

    Ep8Script GBAtemp Regular

    Member
    101
    58
    Aug 5, 2017
    Australia
    No, as the code only checks for the unique ID of the Joy-Con, and the USB functions aren't entirely working. It's doubtful other controllers have the SPI similar enough, either.
     
  6. CTCaer
    OP

    CTCaer GBAtemp Regular

    Member
    188
    133
    Mar 22, 2008
    Greece
    8bitdo when in switch mode emulates some spi commands.

    I don't have one to properly test, but I assume, if it supports write, it will be limited to specific addresses.
    So when you are trying to write out of these, it loops and writes over the previous address which maybe but.

    So, try to do a firmware update to your NES30 and it's own factory reset if supports it
    OR try from my app or from Switch to factory reset calibration for motion and stick.

    The point is that none of these are supported and will ?never? be supported, because I don't have them for testing.
     
  7. ColtonDRG

    ColtonDRG GBAtemp Regular

    Member
    112
    62
    Dec 6, 2016
    United States
    stUpiidland
    I was able to fix the 8bitdo controller by reflashing the firmware and then clearing all controller pairings on my Switch, it's working again now. As for what actually happened when I connected the 8bitdo controller, it appeared on my computer as a Pro Controller, but when I opened the app it just hung. It occurs to me that connecting it to my PC in Switch mode may have been what actually screwed it up, as the application shouldn't have had a chance to do any writes. If the controller does indeed support the SPI commands necessary to change the colours, it seems like the application can't _read_ all the necessary information for it to start up. It's worth noting that the Switch itself also hangs if you choose to update the controller firmwares while the 8bitdo controller is connected to it. I'm hoping the SFC30Pro will have more accurate emulation of these features, since it also contains all the other features of the Switch Pro Controller, but I won't get my hopes up. As for the USB controllers, it's entirely possible that they don't even have firmware (not that the Switch knows of, obviously the Mayflash adapter has some firmware to make it do stuff) and the Switch just uses generic icons for them. I don't have a HORIpad either, but it may be worth noting that the 8bitdo and Switch Pro Controller (before I changed the color) have a noticeably different colour onscreen than the Mayflash adapter does (the adapter's controller icon is a much darker grey).

    I wonder if you could take a hex editor to the 8bitdo firmware file and find out where exactly it contains the code to present the color information for it to the Switch, since it seems to mimic the Pro Controller's default setting pretty well...

    Anyway, thanks again, this is really cool stuff and at least I can change the colours of my official controllers! :)
     
    Last edited by ColtonDRG, Sep 1, 2017
    Ep8Script and CTCaer like this.
  8. CTCaer
    OP

    CTCaer GBAtemp Regular

    Member
    188
    133
    Mar 22, 2008
    Greece
    Try to connect a joy-con and open the app. Press the sync button to turn it off. Keep the app open.

    Connect the 8bitdo controller and after it pairs completely press the backup spi button.

    This procedure will only send the spi read commands and not anything else that may hang the app.

    When the backup finish (or the app hanged completely), close it and send me the dump through PM.
    I would be grateful, because I want it for research.
     
  9. ColtonDRG

    ColtonDRG GBAtemp Regular

    Member
    112
    62
    Dec 6, 2016
    United States
    stUpiidland
    I can't do it right now, but I'll try to charge my Windows machine and get that out asap.
     
    CTCaer likes this.
  10. Hario337

    Hario337 Member

    Newcomer
    41
    12
    Aug 5, 2017
    United Kingdom
    What is this MAGIC-NS? I need it...
     
  11. CTCaer
    OP

    CTCaer GBAtemp Regular

    Member
    188
    133
    Mar 22, 2008
    Greece
    Last edited by CTCaer, Sep 1, 2017
  12. Hario337

    Hario337 Member

    Newcomer
    41
    12
    Aug 5, 2017
    United Kingdom
    Guys, I've just seen this in the Nintendo Switch home menu trailer released on the day of the switches release.
    2017-09-01 (5).png
    Any ideas why the joycons look like that?
     
  13. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,804
    2,774
    Dec 19, 2014
    Hungary
    White button color?
     
  14. Ep8Script

    Ep8Script GBAtemp Regular

    Member
    101
    58
    Aug 5, 2017
    Australia
    That looks like the default image straight from the SDK. Makes sense.
     
  15. ColtonDRG

    ColtonDRG GBAtemp Regular

    Member
    112
    62
    Dec 6, 2016
    United States
    stUpiidland
    Maybe that screenshot was taken before the button colour was implemented and they were planned to only have body colour too like the Pro Controller. Either way it's not really important.
     
    CTCaer likes this.
  16. CTCaer
    OP

    CTCaer GBAtemp Regular

    Member
    188
    133
    Mar 22, 2008
    Greece
    +1
     
    Ep8Script likes this.
  17. Madotsuki

    Madotsuki Member

    Newcomer
    17
    5
    Jan 4, 2016
    United States
    Used this to write colors onto my Pro controller and the notification is constantly in heartbeat. How do I stop this? I don't want the controller using battery while it's just sitting on my backpack or something.
     
  18. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,804
    2,774
    Dec 19, 2014
    Hungary
    Just press the sync button.
     
  19. TomLuber

    TomLuber Member

    Newcomer
    23
    1
    May 3, 2017
    Canada
    Can't get this running in WINE sadly :( really want to change the colour of mine
     
  20. cualquiercosa327

    cualquiercosa327 GBAtemp Regular

    Member
    101
    12
    Mar 24, 2009
    Hello.I have just bought a Magic NS adapter,it will take some time to arrive but i wanna post than they have an update fimware
    "Sep.5,2017 - V1.10 adds Switch Pro mode that supports the controller vibration"

    I am wishing could make test with my pads.what would make it if i conect a joycon?