Network Install - Tinfoil Documentation (2024)

NUT is the simplest way to install over the network. It is a piece of software that will serve your NSP's from your PC to your switch over the network, or through USB. All NSP's must have "[titleid]" in the file name to be indexed by NUT to show up in "New Games", "New DLC", and "New Updates".

You can download NUT at https://github.com/blawar/nut/.

Tinfoil downloads the html (or json) and parses out the links. Tinfoil supports relative paths, and absolute if you want to link to a different server, or even another device such as your microSD card.

Tinfoil is known to work with Windows IIS, Apache, and Nginx. Though it should work with any HTTP server that supports ranged requests.

Headers Sent

Tinfoil will send a few custom headers when requesting a directory only (not files):

Theme Hash

The user's current Tinfoil theme hash is sent via "Theme: XXXXXXXXXXXXXXX".

Host Signature

A signature of the request Url scheme and hostname is sent via "HAUTH: XXXXXXXXXXXXXX". This value is unique to your domain, and helps prevent forged requests. Simply verify that the client always sends the correct value. Do not share this value.

Host Signature

A signature of the entire request Url is sent via "UAUTH: XXXXXXXXXXXXXX". This value is unique to your domain, and helps prevent forged requests. Simply verify that the client always sends the correct value. Do not share this value.

User Fingerprint

A unique user fingerprint is sent via "UID: XXXXXXXXXXXXXX".

User Language

Tinfoil's current language setting is set via "Language: XXXXXXXXXXXXXX".

Tinfoil Version

The client's Tinfoil version is sent via "Version: 7.00".

Basic Directory Serving

Just enable directory listing on your web server, and Tinfoil will automatically parse the links. Your web server will automatically generate the html!

Authorization

Basic Auth

Basic HTTP authentication is supported, to prevent unauthorized users from accessing your files.

Client Certificate Auth

A custom client certificate may be specified with a custom index file.

Tinfoil is known to work with Windows IIS FTP server, and FileZilla. Though it works with many more servers.

Tinfoil supports SMB / Windows File Shares.

All google drive links use the gdrive: scheme within Tinfoil, however there are three different modes with different priority levels.

This requires a 1Fichier account. Generate a 1F api key in your 1F account settings, then input this API key in Tinfoil's options screen (case sensitive).

Accessing your private 1F files

Go to file browser and add a new location: protocol is 1F, leave everything else the same.

This will only list files and directories associated with your 1F account.

Public 1F files

Tinfoil does not currently support listing public 1F directories, however you can generate an index of 1F file links using the following format:

1f:file_id#name.txt

If your filesystem / storage provider has a max file size, tinfoil supports split files using an index.A number in the path changes the file / chunk size. It can be changed at any time.

Example index file entry:

jbod:10000000/sdmc%3A%2Fbah%2Fxaa/sdmc%3A%2Fbah%2Fxab/sdmc%3A%2Fbah%2Fxac/sdmc%3A%2Fbah%2Fxad/sdmc%3A%2Fbah%2Fxae/sdmc%3A%2Fbah%2Fxaf/sdmc%3A%2Fbah%2Fxag/sdmc%3A%2Fbah%2Fxah/sdmc%3A%2Fbah%2Fxai/4036670/sdmc%3A%2Fbah%2Fxaj#filename.zip

The first number is the size of the following chunks. The chunk size can be changed at anytime, and is often done so for the last chunk since it is often smaller. The chunks are urlencoded and seperated by forward slashes.

Embedding files within files with offsets (JBOD)

jbod supports offsets (in decimal) for embedding data within files (the offset is 100, the size is 1234):

jbod:offset/100/1234/sdmc%3A%2Ftest.file

Encrypting files (JBOD)

jbod supports decrypting files. Only AES-128-ECB is currently supported. 33333333333333333333333333333333 is the encryption key.

jbod:aes128/33333333333333333333333333333333/offset/0/1234/sdmc%3A%2Ftest.file

An example python script to encrypt the files is located here:

encrypt_nsz.py

Packing files (JBOD)

JBOD allows you to pack more than one file into a single file and then reference each file using offsets and sizes.

An example python script to pack multiple files is located here:pack.py

pack.py "c:\nsz\dlc" -o packed.bin --max-size 3000000

URL Format

Both files and folders follow the same format. If specifying by the google file id, use gdrive:AAAAAAAAAAAAAAAAA (notice lack of forward slash). If specifying a path (only works with OAuth) use gdrive:/root/folder1/file.zip

Auth

OAuth

Google Drive OAuth has the highest priority and will always be used if setup. OAuth is the only method to access and list private files. You must set up google drive OAuth within NUT, and then connect Tinfoil to NUT via network or USB to transfer the OAuth token(s).

API Key

Specifying an API key allows you to do authed requests to access private files, however listing files will not work.

Public

This is the least reliable, however it supports listing and downloading public files.

Access TokenYou need an API key to use this. Go to https://www.dropbox.com/developers/apps and create a new app, and then click the "generate access token" button to generate an access token to use with Tinfoil.

Adding the locationYou can edit the locations.conf file directly by adding an entry for dropbox://token:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@api.dropbox.com/ where XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is your access token.

Network Install - Tinfoil Documentation (2024)

FAQs

How do I add a server to tinfoil? ›

Setting up Tinfoil on your Switch
  1. Launch Tinfoil.
  2. Go to File Browser.
  3. Press [-] button to add a new server.
  4. Set Protocol to HTTP or HTTPS according to the server configuration.
  5. Set Host to any host pointing to your server (or the server IP address)

What is tinfoil on a switch? ›

Keeping your games up to date is important. Tinfoil helps manage all of your updates and patches, so you know what to install.

How do I add a server to my network? ›

4 answers
  1. Right-click "All Servers" and select "Add servers".
  2. Type in the server name under the "Active Directory" or "DNS" tab, then click "Find Now".
  3. Select your server/client and then click on the arrow to add it to the selected list on the right-hand side, then click "Ok".
Aug 28, 2020

How do I install server data packs? ›

Open your server folder, then open the folder of the world you wish to install the data pack in (default: world ). Put the data pack into a folder named datapacks . Type /reload from the console or as a level 3 operator if the server was running during the installation.

Why do we use tinfoil? ›

Approximately 75% of aluminium foil is used for packaging of foods, cosmetics, and chemical products, and 25% is used for industrial applications (e.g., thermal insulation, electrical cables, and electronics).

Does tinfoil stop signals? ›

Metal is the #1 cellular blocking material across all buildings in America. Aluminum, aluminum foil, lead, brass, copper, steel, iron, etc., can absorb and reflect cellular frequency waves. Average signal loss ranges from -32 dB to -50 dB, enough to make your building a dead zone.

Is it safe to use tinfoil? ›

Aluminum foil isn't considered dangerous, but it can increase the aluminum content of your diet by a small amount. If you are concerned about the amount of aluminum in your diet, you may want to stop cooking with aluminum foil. However, the amount of aluminum that foil contributes to your diet is likely insignificant.

What is the difference between NSP and XCI? ›

Are you a cartridge purist, seeking the full experience (and a slightly larger download)? Go for the XCI. But if speed and convenience are your jam, the NSP is your digital download destiny. Remember, this is just the tip of the iceberg (or should we say, the Korok seed?).

How to install Homebrew on Switch? ›

Homebrew Launcher
  1. Download latest nx-hbmenu.
  2. Put the hbmenu. nro on the root of your sdcard.
  3. Insert the sdcard into the device.
  4. Set your Switch DNS server to 104.236. ...
  5. Click "Install".
  6. Restart the device, and perform a new connection test.
  7. Click "Run".
  8. Go to the home menu and click the Album icon.

What is tinfoil in Switch? ›

The point of tinfoil is to work as a "shop" of sorts as it can connect to a server and download content straight onto your switch.

What is nca switch? ›

NCA means «Nintendo Content Archive».

Can I put my switch in sleep mode while downloading tinfoil? ›

Software and DLC can be downloaded to your Nintendo Switch console while it is in sleep mode as long as it is connected to the internet and there is sufficient space in the system memory or on an inserted microSD card.

How do I add a server to Subnautica? ›

Joining a Subnautica Server:

Select "Add server IP" and input the server name and IP address, then click "Add server". Locate the newly added server in the list under "Multiplayer" and click "Connect to...". Enter your username and choose a color, then click "Join" to enter the server.

How do I add a server to my pool server? ›

Expand Servers > Pools > Organization_Name. Right-click the pool to which you want to add one or more servers and select Add Servers to Server Pool.

How do I add a server to my minecraft? ›

Log into Minecraft and click Multiplayer on the main menu, Click Add Server and enter the IP or web address of the server. Tip: If you don't know the IP of a server, thousands of public servers can be located by doing a web search for something that suits your style of play.

How do I add a server to skyblock? ›

Minecraft CREATE Skyblock Server Hosting
  1. Get Minecraft server from ScalaCube.
  2. Install a CREATE Skyblock server through the Control Panel (Servers → Select your server → Game servers → Add Game Server → CREATE Skyblock)
  3. Enjoy playing on the server!

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Kelle Weber

Last Updated:

Views: 5709

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.