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,

Zukov

Dinosaur
Member
Joined
Oct 2, 2016
Messages
324
Trophies
0
Age
38
XP
908
Country
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,
  • Like
Reactions: realg123

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
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.
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.
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,866
Trophies
2
Location
At Home :)
XP
4,458
Country
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,

nabelo

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
28
Trophies
1
XP
449
Country
Germany
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.

Works fine if you use Google Filestream.
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Windows only :shit:

The compiled version is windows only. You can download the source and run server.py for a pure python implementation that is cross platform.

--------------------- MERGED ---------------------------

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.

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.

--------------------- MERGED ---------------------------

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.

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.
 
  • Like
Reactions: lordelan

nabelo

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
28
Trophies
1
XP
449
Country
Germany
The compiled version is windows only. You can download the source and run server.py for a pure python implementation that is cross platform.

--------------------- MERGED ---------------------------



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.

--------------------- MERGED ---------------------------



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.

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?
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
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?

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.
 

nabelo

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
28
Trophies
1
XP
449
Country
Germany
Copy this file to conf/users.conf and then edit it:


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

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.
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
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.

Can you try it without using google file stream? What is your CFW and OS?

--------------------- MERGED ---------------------------

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.

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

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,884
Trophies
2
XP
29,288
Country
United Kingdom
The compiled version is windows only. You can download the source and run server.py for a pure python implementation that is cross platform.
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    and the morning cuz school
  • Xdqwerty @ Xdqwerty:
    Although tomorrow is Labor Day which means I won't go to class which means I'll sleep well.
  • BakerMan @ BakerMan:
    is labor day different in venezuela than in america, or did time skip that far?
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
    Sicklyboy @ Sicklyboy: I'm not familiar with the technicalities of the differences between the two versions, but I'm...