Files
SGS/www/docs/TINFOIL.md
Fabián Gonzalo Artur de la Villarmois 2579f561c3 Initial commit / First Release
2025-12-26 16:51:23 +13:00

51 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tinfoil Setup Guide
Setup SGS with Tinfoil on your Nintendo Switch.
## Prerequisites
- Nintendo Switch with CFW
- Tinfoil installed
- SGS server running
- SGS should be on the same network that your Nintendo Switch
## Instructions
1. **Find Server IP** - Run `ip addr show` (Linux), `ipconfig` (Windows), or `ifconfig` (macOS)
2. **Open Tinfoil** - Launch on your Switch
![Open Tinfoil](images/tinfoil/open-tinfoil.jpg)
3. **Add Source** - Go to File Browser → Press the button add a new source
4. **Configure**:
- Protocol: `http`
- Host: `YOUR_IP`
- Port: `8030`
- Path: `/` or `/api/tinfoil`
- Title: `Switch Games Server`
- Enabled: `Yes`
![Add new source](images/tinfoil/add-new.jpg)
5. **Save**: Press X to save
6. **Success**: You should see a success message with the text `Switch Games Server`
![Success](images/tinfoil/success.jpg)
7. **Browse**: Depending on the content you've placed on the `games` directory, it should appear on `New Games`, `New DLC` or `New Updates`
![Games List](images/tinfoil/new-games.jpg)
## Troubleshooting
- **Connection Failed**: Check network, firewall, server running
- **No Games**: Verify files in `games/` folder with correct extensions
## API Format
```json
{
"files": [
{"url": "http://YOUR_IP:8030/games/example1.nsz", "size": 123456},
{"url": "http://YOUR_IP:8030/games/example2.nsz", "size": 123456}
],
"success": "Switch Games Server"
}
```