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,

bluedart

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
270
Trophies
0
XP
2,221
Country
United States
Thanks for this, it's pretty cool. I installed another small ish game yesterday and it worked properly, but I left it unattented so it would be done when I came back. When I did it finished properly, but the UI for Tinfoil was frozen. This has happened a few times since I started using the usb install feature, and I was wondering how dangerous it is. Can it freeze while installing something, and should it choose to, how likely is it that I would have to flash my 32GB backup? This happened with my WiiU while installing something, and I had to reformat my external drive. That was an annoying week of damage control.
 

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
the network functionalitly of this tinfoil version is a beast and has a great gui
how do we know how safe it is when we cant compile it ourselves?
hmm
I mean can the switch itself send it to some other network? or does it close in only on your network?

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


is there a way to make this show the game icons instead of their names?
kinda like freeshop. XD
Yes you can press the - key to change to icons if you want but many in the list do not show up but the regular more well known titles show up without issues.

Ninja’d by Blawar :ph34r:

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

I guess you could run 2 nut servers on say port 9000 and 9001 for ex and set these 2 up as separate file locations in sx installer
It’s ok like blawar mentioned you can list one drive scan it, list the next drive scan and they all show up in the server and download from installer I tried it last night it works fine. Maybe if we could save two drives booting up the nut server that maybe a bit more handy.
 

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
press - to switch to icon cover mode.

If you do not trust the author (me), you are free to put it into airplane mode and use USB install. Tinfoil has been out for 6 months, and not one person has reported any credible malicious activity.
The paranoia is strong in this thread! I bet your collecting everyone’s personal nsp stash also mining, may I add for legit certs so you can use for yourself, when each cert gets banned! You naughty lad :teach: :lol: :O

Edit: on a serious note, it’s impossible I doubt very much he could relay information like that back to a server to use so yes it’s all ok no need for any paranoid continued thoughts in the thread also Blawar would be one of the least likely people that would need your switch stash..
 
Last edited by Reecey,
  • Like
Reactions: gizmomelb

tiliarou

Well-Known Member
Member
Joined
Feb 4, 2018
Messages
163
Trophies
0
XP
592
Country
France
If you are doubtful about this and nut, run it in a VM and on a closed network without internet access, and wireshark all network traffic to check what is sent to where.
 

whateverg1012

Well-Known Member
Member
Joined
Sep 23, 2016
Messages
573
Trophies
0
XP
1,426
Country
United States
Awesome job, makes the best title management app on the switch even easier to use.

Looking forward to an update of the non-sxos switch version of this application as well.
 
  • Like
Reactions: tiliarou

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
302
Trophies
0
Age
34
XP
1,373
Country
Saint Helena
@blawar using 1.1 nut server and working rly well, thank u for the update

my switch had a broken usb and until now there wasn't any reliable way for me to install stuff through network, this do wonders for me, im rly greatful

do you plan to keep updating your tinfoil app? like adding maybe touch controls or using switch keyboard?
 

KuranKu

I am KranK
Developer
Joined
Jan 13, 2019
Messages
367
Trophies
0
Age
34
Location
Israel
XP
1,181
Country
Israel
@blawar using 1.1 nut server and working rly well, thank u for the update

my switch had a broken usb and until now there wasn't any reliable way for me to install stuff through network, this do wonders for me, im rly greatful

do you plan to keep updating your tinfoil app? like adding maybe touch controls or using switch keyboard?
May i ask how the payload being injected while you have broken port ?
Internal modchip?
Why not resolder the port ?
 

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
302
Trophies
0
Age
34
XP
1,373
Country
Saint Helena
May i ask how the payload being injected while you have broken port ?
Internal modchip?
Why not resolder the port ?
Internal modchip yeah, is more complex than just replacing the port, my datapads are gone from the motherboard so even though i can dock, i can't send any data (like connecting an ethernet adaptor for example)
 

wycs

Member
Newcomer
Joined
Jun 15, 2013
Messages
5
Trophies
1
Age
70
XP
352
Country
Whenever I try install an update through Nut server on SX installer it basically instantly completes claiming the update is already installed and skips it, checking the game afterwards the game has not been updated and opening sx installer the update still shows up under new updates.

Base games and DLC install fine and if i take the same update that it keeps skipping and put it on a USB drive and then install it using that on SX installer it goes through fine, same if I install via ftp/sftp from the same source that nut server is accessing.
 

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Whenever I try install an update through Nut server on SX installer it basically instantly completes claiming the update is already installed and skips it, checking the game afterwards the game has not been updated and opening sx installer the update still shows up under new updates.

Base games and DLC install fine and if i take the same update that it keeps skipping and put it on a USB drive and then install it using that on SX installer it goes through fine, same if I install via ftp/sftp from the same source that nut server is accessing.

It is possible that you have two update files that SX Installer can see: an old one and a new one. If so, delete the old one and try again.
 

wycs

Member
Newcomer
Joined
Jun 15, 2013
Messages
5
Trophies
1
Age
70
XP
352
Country
It is possible that you have two update files that SX Installer can see: an old one and a new one. If so, delete the old one and try again.

Okay yeah there does seem to be something strange in this scenario. Using Dead Cells for example with two updates listed [v131072] and [v196608], when installing the update both sx installer and nut console actually list the [v196608] update being installed but then still skips it. If I delete the [v131072] update then the install fails with this in nut:

Code:
192.168.1.11 - - [20/Feb/2019 14:57:20] "POST /api/tinfoilSetInstalledApps/XAW40005352698 HTTP/1.1" 200 -
NSP download exception: [Errno 2] No such file or directory: 'S:\\updates\\Dead Cells [0100646009FBE800][v131072].nsp'
192.168.1.11 - - [20/Feb/2019 14:57:44] "HEAD /api/download/0100646009FBE800/Dead%20Cells%5B0100646009FBE800%5D%5B%5D%5Bv196608%5D.nsp HTTP/1.1" 200 -
NSP download exception: [Errno 2] No such file or directory: 'S:\\updates\\Dead Cells [0100646009FBE800][v131072].nsp'
192.168.1.11 - - [20/Feb/2019 14:57:44] "HEAD /api/download/0100646009FBE800/Dead%20Cells%5B0100646009FBE800%5D%5B%5D%5Bv196608%5D.nsp HTTP/1.1" 200 -

So it seems to be sending the old update but under the name of the later update ?

After deleting the old update and deleting files.json to rescan the database without the old update then it all worked fine.
 

Dichotomy754

Well-Known Member
Member
Joined
Nov 11, 2018
Messages
154
Trophies
0
Age
33
XP
671
Country
United States
It would be great if you could force a file to be parsed as an update. I'm finding it really hard to find the TitleIDs of some of these and when I just use the games TitleID it gets listed as a "BASE" even if I have [UPD] in the filename. I'm not sure it will even let me install them because of it.

Edit: Nevermind I worked it out, all the update ID's seem to end in 800. I feel stupid, this is probably common knowledge.
 
Last edited by Dichotomy754,
  • Like
Reactions: gizmomelb

Deathscreton

Well-Known Member
Member
Joined
Oct 1, 2009
Messages
826
Trophies
0
XP
1,092
Country
United States
I'm confused. Github says this Tinfoil is the official Repo, but I thought Tinfoil was officially closed, then restarted unofficially by ADubbz, who then moved on to Goldleaf. If so, what is this? What's the difference?
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,884
Trophies
2
XP
29,293
Country
United Kingdom
I'm confused. Github says this Tinfoil is the official Repo, but I thought Tinfoil was officially closed, then restarted unofficially by ADubbz XorTroll, who then moved on to Goldleaf. If so, what is this? What's the difference?
Almost correct, tinfoil was originally by ADubbz then given to XorTroll. Blawar wrote dz, then renamed it, stealing tinfoil's name to be a shithead about it.
 
  • Like
Reactions: Deathscreton

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • 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
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying