RELEASE NUT GUI USB and Network installer for Tinfoil and SX Installer

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by blawar, Feb 13, 2019.


    23,670

    212
    Front-page RELEASE
    Easiest way is to just download nut.exe to the directory where your NSP's are, and start it. Will install NSP's from your PC to the switch via USB or network connection. The games will show up on the switch (in the "new games" section) to install, the PC client is just a dumb server. Default username and password is guest/guest for network install.

    [​IMG]

    # USB Install

    Run server.py or Windows users can use the precompiled nut.exe in the release section.

    Follow the directions found in the release page to install the USB driver.

    After you run the server, ensure NSP's are visible in the list. If they are not, change the path and click the "scan" button.

    Connect your USB cable from your switch to your PC.

    Start Tinfoil or SX Installer, and all of the NSP's listed in nut server should now be available to install in Tinfoil or SX Installer.


    # Network Install

    Run server.py or Windows users can use the precompiled nut.exe in the release section.

    After you run the server, ensure NSP's are visible in the list. If they are not, change the path and click the "scan" button.

    Start Tinfoil or SX Installer, then go to locations, then select "Add New" location. Enter the ip, port, username, and password that is displayed in the nut server application, then press save.

    All of the NSP's listed in nut server should now be available to install in Tinfoil or SX Installer.

    https://github.com/blawar/nut/releases

    [​IMG]

    [​IMG]
    https://github.com/blawar/nut/releases

    changelog:

    - Scan path is now saved and remembered.
    - Web GUI is now works with the windows release.
    - Web gui optionally launches at application launch.
    - Various bugfixes / enhancements to web gui.
    - Fixed display bug where username did not display in gui.
    - conf/users.conf is created, and users can edit their username and password there.
    - fixed random error when initializing.
     
    Discussion (212 replies)
  1. CatmanFan

    CatmanFan I actually prefer being an artist more now.

    Member
    7
    Aug 14, 2016
    Morocco
    Wow, this should make things much easier now! Nice work! :D
     
    nachuz and blawar like this.
  2. Don Jon

    Don Jon GBAtemp Maniac

    Member
    7
    Nov 20, 2015
    United States
    so does this do multiple installs as well?
     
  3. realg123

    realg123 GBAtemp Regular

    Member
    3
    Aug 9, 2010
    Canada
    Awesome work!
     
  4. blawar
    OP

    blawar GBAtemp Advanced Fan

    Member
    8
    Nov 21, 2016
    United States
    yes, it lists all of the games on the switch, you can install one, install all, or just queue up as many as you want.
     
    Don Jon likes this.
  5. JJTapia19

    JJTapia19 I fight for my friends.

    Member
    9
    May 31, 2015
    Puerto Rico
    It worked like a charm. Thanks for your work!.
     
  6. Zukov

    Zukov Dinosaur

    Member
    3
    Oct 2, 2016
    Chile
    Why it ask for keys.txt? Should I put my keys on the NSPs folder?
    How can I get that version of Tinfoil? Mine looks awful old.
     
    Last edited by Zukov, Feb 14, 2019
    realg123 likes this.
  7. alimao

    alimao Advanced Member

    Newcomer
    4
    Mar 26, 2009
    Brazil
    tinfoil 1.0 + atmosphere 0.8.3 cfW 6.2 freezes when connected in usb

    edit it works JJTAPIA19
     
    Last edited by alimao, Feb 14, 2019
  8. JJTapia19

    JJTapia19 I fight for my friends.

    Member
    9
    May 31, 2015
    Puerto Rico
    Yeah, your keys.txt should be placed in the same folder nut.exe/server.py but I'm not sure why.

    blawar could you make this program recognize nsp files without title id and the version in the name? That would make this my main installer.
     
  9. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    10
    Mar 7, 2010
    At Home :)
    Will this connect to google drive? all my personal nsp are in GDrive. If it does how would you set that up. If I’m wrong please don’t have a go I’m not the upmost expert on this sort of thing.
     
    Last edited by Reecey, Feb 14, 2019
  10. hippy dave

    hippy dave BBMB

    Member
    13
    Apr 30, 2012
    United Kingdom
    Windows only :shit:
     
  11. nabelo

    nabelo Member

    Newcomer
    1
    Mar 14, 2009
    Germany
    Works fine if you use Google Filestream.
     
  12. blawar
    OP

    blawar GBAtemp Advanced Fan

    Member
    8
    Nov 21, 2016
    United States
    The compiled version is windows only. You can download the source and run server.py for a pure python implementation that is cross platform.

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

    keys.txt is not needed for usb or network installation. That is only needed for more advanced stuff that 99% of people will not use. All you need is the exe to install over usb or network.

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

    Use google file stream as @nabel0 said. Google file stream mounts your google drive to a drive letter, than nut can then read to install from.
     
  13. nabelo

    nabelo Member

    Newcomer
    1
    Mar 14, 2009
    Germany
    Is it possible to change the username/password? Is there some sort of config file i can edit?
    If i use google filestream an try USB install my switch is crashing with an ATM fatal.
    Network Install with google filestream is working fine.
    Is this a known bug?
     
  14. blawar
    OP

    blawar GBAtemp Advanced Fan

    Member
    8
    Nov 21, 2016
    United States
    Copy this file to conf/users.conf and then edit it:

    https://github.com/blawar/nut/blob/master/conf/users.conf

    I was not aware of usb crashing with google file stream, i'll look into it.
     
  15. nabelo

    nabelo Member

    Newcomer
    1
    Mar 14, 2009
    Germany
    I dont know if its related to google file stream. But a soon as i plug my switch in when nute.exe is startet in my filestram my switch gets a blue screen fatal and i have to reboot.
     
  16. blawar
    OP

    blawar GBAtemp Advanced Fan

    Member
    8
    Nov 21, 2016
    United States
    Can you try it without using google file stream? What is your CFW and OS?

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

    Try plugging in the USB cable before you start Tinfoil / SX Installer.
     
  17. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    10
    Mar 7, 2010
    At Home :)
    I dont know how you set it up I think I already have it installed. How do you set it up with this nut server?
     
    Last edited by Reecey, Feb 14, 2019
  18. hippy dave

    hippy dave BBMB

    Member
    13
    Apr 30, 2012
    United Kingdom
    Oh yeah cool.
    Why is the gui saying at the bottom that it's downloading stuff, when I set the .conf not to download anything?

    BTW you really need to make your installer .nro read/write config, keys files etc from the directory it's in, rather than hardcode /switch/tinfoil.
     
    Last edited by hippy dave, Feb 14, 2019
  19. linuxares

    linuxares I'm not a generous god!

    Moderator
    15
    Aug 5, 2007
    Sweden
    I think it needs a Work or School account
     
    Reecey and Dragonx41 like this.
Loading...