NUT GUI USB and Network installer for Tinfoil and SX Installer

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.



# 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://tinfoil.io/Download#download

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.
 
Last edited by blawar,

shanefromoz

Well-Known Member
Member
Joined
Jun 18, 2007
Messages
1,950
Trophies
1
XP
4,243
Country
Australia
Can someone please help.
I am using SX Installer and it says go to locations but there is no such thing in the app.
I go to File Borwser and add new and enter Host, Port, Username and password but it does not work.
 
Last edited by shanefromoz,

cre8

Member
Newcomer
Joined
Sep 28, 2008
Messages
11
Trophies
0
XP
41
Country
United States
I got nut running, it says USB: Connected.

However, in the CLI window when I press the "scan" button all I get is a ".". That's after renaming a file with the Title ID. If I don't do that I get an error about the file name and Title ID.

Any suggestions or thoughts about how to remedy this problem? Thanks!
 

gizmomelb

Well-Known Member
Member
Joined
Jul 13, 2006
Messages
926
Trophies
1
XP
1,658
Country
Australia
I got nut running, it says USB: Connected.

However, in the CLI window when I press the "scan" button all I get is a ".". That's after renaming a file with the Title ID. If I don't do that I get an error about the file name and Title ID.

Any suggestions or thoughts about how to remedy this problem? Thanks!

make the nut window larger and you'll see a browse box next to the scan.. click in there and point it to the folder with your NSP files.. then click the scan button
 
  • Like
Reactions: laz305

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
I was already scanning the proper directory, but thank you for that suggestion.

I just updated it to 2.0 last night, try the new version.

You also do not need to rename files with a title id, that error is a warning. You can still install the file with usbfs in tinfoil.
 
Last edited by blawar,

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
@blawar
Is there any way to scan for available updates to NSP files using NUT Server 2.0? I used to use the web server's "Title Updates Available" function for this, but the whole web server has apparently been removed.

I know I can use something like HBG Shop to scan for updates to my installed titles, but nut server was the last way I was aware of to scan NSP libraries for updates.
 

NotACat

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
331
Trophies
0
Age
26
XP
559
Country
Vietnam
Sorry, I'm confused at this step:
"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"
I cant find it anywhere in my Tinfoil/Hbg 2.3.0
Edit: found it, just go to file browser and press X to add
 
Last edited by NotACat,
D

Deleted User

Guest
Those of you who managed to get XCIs to show up on your "new games" list, how did you go about doing it (and is it even possible with the nut.exe route). I can only access them via tinfoil usbfs:/ to install but it would be nice if they showed up along with the NSPs.

I'm likely missing something stupid but have searched all documentation I can find and haven't found a solid answer =/
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Those of you who managed to get XCIs to show up on your "new games" list, how did you go about doing it (and is it even possible with the nut.exe route). I can only access them via tinfoil usbfs:/ to install but it would be nice if they showed up along with the NSPs.

I'm likely missing something stupid but have searched all documentation I can find and haven't found a solid answer =/

add usbfs to your file browser, make sure the xci's are in the root nut scan path dir, they should show up in the XCI section where they can be installed.

if the xci's are not in the nut root dir, add the appropriate dir like usbfs:/xcis/
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
add usbfs to your file browser, make sure the xci's are in the root nut scan path dir, they should show up in the XCI section where they can be installed.

if the xci's are not in the nut root dir, add the appropriate dir like usbfs:/xcis/

In tinfoil, If I delete the "usbfs:/" listing in the file browser and add it again the XCI icon and list will populate on the left side, however after closing and opening Tinfoil, it seems to ignore that path to scan and will only do it again if I remove/add it to the file browser. Is there a way I can force it to scan and add both .nsp and .xci when Tinfoil launches? I'm not sure if it's a bug or by design, I haven't really had a chance to dig through the source as I figured Nut was to blame but it seems the problem is on Tinfoil's side now that I've got it reproducing this behaviour.
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
In tinfoil, If I delete the "usbfs:/" listing in the file browser and add it again the XCI icon and list will populate on the left side, however after closing and opening Tinfoil, it seems to ignore that path to scan and will only do it again if I remove/add it to the file browser. Is there a way I can force it to scan and add both .nsp and .xci when Tinfoil launches? I'm not sure if it's a bug or by design, I haven't really had a chance to dig through the source as I figured Nut was to blame but it seems the problem is on Tinfoil's side now that I've got it reproducing this behaviour.

its a bug, I'll fix it in the next release.
 
  • Like
Reactions: Deleted User

NotACat

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
331
Trophies
0
Age
26
XP
559
Country
Vietnam
Help, I can't install heavy NSP files (like 5gb+) through USB, I got this error and installation stuck/freeze

Code:
NSP download exception: [Errno None] b'libusb0-dll:err [_usb_reap_async] reaping request failed, win error: A device attached to the system is not functioning.\r\n\n'
Downloading Wolfenstein II The New Colossus [01009040091e0000][v0].nsp:   7%|3    | 1.05G/14.8G [01:00<10:40, 21.5MB/s]begin recv
Downloading Wolfenstein II The New Colossus [01009040091e0000][v0].nsp:   7%|3    | 1.05G/14.8G [01:20<10:40, 21.5MB/s]

 NSP download exception: [Errno None] b'libusb0-dll:err [_usb_reap_async] reaping request failed, win error: A device attached to the system is not functioning.\r\n\n'
Downloading SAINTS ROW THE THIRD - THE FULL PACKAGE [0100DE600BEEE000][v0][SwitchBounty].nsp:  73%|7| 5.52G/7.58G [04:23<01:28, 23.2MB/s]begin recv
Downloading SAINTS ROW THE THIRD - THE FULL PACKAGE [0100DE600BEEE000][v0][SwitchBounty].nsp:  73%|7| 5.52G/7.58G [04:40<01:28, 23.2MB/s]

Tried launch hbg/tinfoil from album/games/hbg nsp but still got error
Edit: Seem it's hardware fault, I must leave my switch and my laptop untouched for stable connection - My USB cable seem pretty loose for my switch USB-C port
 
Last edited by NotACat,

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
246
Trophies
0
XP
1,299
Country
United States
Does the USB installation work on Linux (Mint)? Do I need some drivers?
I've just tried after installing all the dependencies, but the Switch hasn't detected any package (whereas NUT has). Maybe I need to run the program as root?
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Does the USB installation work on Linux (Mint)? Do I need some drivers?
I've just tried after installing all the dependencies, but the Switch hasn't detected any package (whereas NUT has). Maybe I need to run the program as root?

It should work on linux, provided the correct driver USB driver is installed.
 

mokmoki

Well-Known Member
Newcomer
Joined
Jan 14, 2016
Messages
71
Trophies
0
Age
35
XP
161
Country
i'm getting Error 404's when accessing the web server on 2.0. i'm using guest/guest as login, same as i did in 1.2. anything else i should do? also noticed that 2.0 doesn't have the -s --scrape anymore, do i still have to do that in 2.0? i'm running the program using python3 on Mac. thanks!
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
i'm getting Error 404's when accessing the web server on 2.0. i'm using guest/guest as login, same as i did in 1.2. anything else i should do? also noticed that 2.0 doesn't have the -s --scrape anymore, do i still have to do that in 2.0? i'm running the program using python3 on Mac. thanks!

the gui webserver was removed, its just an API server now. No need to do scrape. the info is at https://tinfoil.io/
 
  • Like
Reactions: mokmoki

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.