1. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    Use my newest homebrew instead for a a more polished experience and more features
    https://gbatemp.net/threads/aio-swi...w-and-cheats-directly-from-the-switch.574043/


    GENERATE YOUR OWN PROFILES VIA MY WEBSITE : https://hamletdufromage.github.io/JCpicker.html

    Joy-Con Color Swapper

    [​IMG]

    JC-color-swapper is a little text-based NRO that allows you to customize the software colors on your Joy-Cons. It comes bundled with a bunch of default themes but you can easily add your own.

    Install
    Copy the "JC-color-swapper" directory to "sdmc:/switch"

    Add custom themes

    You can add custom themes by editing "profiles.json". You can add new entries and modify existing ones, just make sure that you're using the exact same formatting.
    Use https://hamletdufromage.github.io/JCpicker.html to easily generate json formatted profiles. Paste them at the end of your profiles.json.

    Backup and restore profiles
    (v1.2) Profiles can now be backed up to a hidden "_backup" profile entry by pressing [L] on the main menu and can later be restored with [R].

    Troubleshooting
    The joycons need to be physically connected to the switch. You might need to undock/dock them to see the changes.

    Download
    Github: https://github.com/HamletDuFromage/JC-color-swapper
    Release: https://github.com/HamletDuFromage/JC-color-swapper/releases

    [​IMG]
    [​IMG]

    Also check out CompSciOrBust's spin on it, he released his a bit before mine: https://gbatemp.net/threads/joycon-toolbox.560955/
     
    Last edited by Homlet, Sep 20, 2020
    Sookie69, Madridi, hippy dave and 8 others like this.
  2. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    Thanks for bringing both of these to my attention, a homebrew is far easier than using the PC app.

    Edit: PS, Eevee is spelled wrong.
     
    Last edited by AnalogMan, Mar 27, 2020
  3. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    Good catch, in French it's Évoli, hence my mistake
     
  4. SuinkaiVS

    SuinkaiVS GBAtemp Regular
    Member

    Joined:
    Apr 3, 2017
    Messages:
    148
    Country:
    Spain
    Hi, i've been trying using this, but it doesn't work quite well. When i select a color (Animal Crossing New Horizons), the left joy con puts the color well, but the right isn't of the right color. Then when i try and revert the changes to Blue and Red Neon, the left one becomes orange and the right one yellow. Any way to a possible fix?
     
  5. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    Yup, I fucked up the config for the neons by copy pasting stuff, give me 5 minutes or so. Animal crossing is correct though, but you might to dock undock your Joy-Cons once or twice for it to take effect
     
  6. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    Sounds like the color codes are getting reversed as #e6b90a (reverse neon blue) and #f5f596 (reverse neon red) are a pale orange and pale yellow.
     
  7. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    Actually it's weird, it looks like my string to hex conversion is unreliable... I'll find a fix asap, but if you must revert back now, you can use JC Toolkit by CTaer
     
  8. SuinkaiVS

    SuinkaiVS GBAtemp Regular
    Member

    Joined:
    Apr 3, 2017
    Messages:
    148
    Country:
    Spain
    Thanks for the quick reply, it isn't urgent now, i can wait for a fix.
     
  9. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    The Switch expects the color values in little endian, not big endian.
    Code:
    int hexToRGB(std::string hex){
        int value = std::stoi(hex, 0, 16);
        return ((value & 0xFF) << 16) + (value & 0xFF00) + (value >> 16);
    }
    
     
    Last edited by AnalogMan, Mar 28, 2020
  10. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    I figured that out, it's fixed now. Thanks though!

    — Posts automatically merged - Please don't double post! —

    Fix is live, check it out and sorry for the inconvenience
     
    Last edited by Homlet, Mar 28, 2020
  11. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    Fix works fine for me. Be sure to also update the config file since the strings changed and don’t work with the old strings.
     
  12. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    Yeah I did, removed the "0x"s. What a botched release for a first homebrew, but I'm glad it's all good now. And thanks for your interest :)
     
    Last edited by Homlet, Mar 28, 2020
  13. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    Ah, sorry, the config comment was for the other person you quoted. Anyway, good job! If you try a GUI update perhaps a live preview of the colors as you cycle through the options and an option to do just the left or right Joy-Con?
     
  14. SuinkaiVS

    SuinkaiVS GBAtemp Regular
    Member

    Joined:
    Apr 3, 2017
    Messages:
    148
    Country:
    Spain
    It works perfectly! just one more thing, at the Neon Blue (L) & Neon Red (R), you left a 0 at the R_BTN part that makes the button color different than it should be. Besides that, it's perfect, thanks!
     
  15. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    You're right, I had one zero too many... Thank you.
    You can modify it yourself or grab the release again
     
  16. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,090
    Country:
    France
    Pretty much safe or there are risks of brick?
    iirc this one had high chances to brick the joycon if you didn't backup the spi thing
     
  17. AnalogMan

    AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,937
    Country:
    United States
    That’s because that one would read the whole SPI, make the change, then write the whole new SPI back over Bluetooth.

    This one uses an OS command specifically for updating the color and does so through the physical connection. Less data being written over a more stable connection using official drivers from the OS.
     
    Madridi, f0li0, Asia81 and 1 other person like this.
  18. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    It's not as elegant as a proper GUI, but I wrote a little webpage that lets you create properly formatted profiles https://hamletdufromage.github.io/JCpicker.html
     
    Madridi and f0li0 like this.
  19. meohsix

    meohsix GBAtemp Regular
    Member

    Joined:
    Aug 27, 2008
    Messages:
    133
    Country:
    United States
    Thanks a lot for this! I wasn’t able to use Joy-con toolkit because my pc doesn’t have blutooth. But this worked perfectly.
     
  20. Homlet

    OP Homlet GBAtemp Fan
    Member

    Joined:
    Feb 28, 2020
    Messages:
    317
    Country:
    France
    v1.2 is out and supports profile backups/restores. On the main menu, press [L] to backup and [R] to restore.
     
    Last edited by Homlet, Mar 31, 2020
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - homebrew, Swapper, Change