mirror of
https://github.com/notf0und/SGS
synced 2026-07-17 18:21:06 +00:00
Initial commit / First Release
This commit is contained in:
parent
2e8f5ce028
commit
2579f561c3
@@ -0,0 +1,65 @@
|
||||
# DBI Setup Guide
|
||||
|
||||
Setup SGS with DBI on your Nintendo Switch.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Nintendo Switch with CFW
|
||||
- DBI installed
|
||||
- SGS server running
|
||||
- Same network
|
||||
|
||||
## Instructions
|
||||
|
||||
### 1. Find Server IP
|
||||
|
||||
Run `ip addr show` (Linux), `ipconfig` (Windows), or `ifconfig` (macOS) to find your server's IP address.
|
||||
|
||||
### 2. Create DBI Locations File
|
||||
|
||||
On your SD card, create or edit the file `/switch/dbi/dbi.locations`
|
||||
|
||||
Add the following content:
|
||||
|
||||
```ini
|
||||
[Location_0]
|
||||
Name=Switch Games Server
|
||||
Type=ApacheHTTP
|
||||
URL=http://YOUR_IP:8030/
|
||||
```
|
||||
|
||||
**Or** if you prefer the API endpoint:
|
||||
|
||||
```ini
|
||||
[Location_0]
|
||||
Name=Switch Games Server
|
||||
Type=ApacheHTTP
|
||||
URL=http://YOUR_IP:8030/api/dbi
|
||||
```
|
||||
|
||||
**Note**: If you already have other locations configured, use `[Location_X]` where X is the next available number (e.g., if you have `Location_0` and `Location_1`, use `Location_2`).
|
||||
|
||||
### 3. Launch DBI
|
||||
|
||||
Open DBI from your Switch home menu.
|
||||
|
||||
### 4. Select Your Server
|
||||
|
||||
Choose "Switch Games Server" from the list.
|
||||
|
||||
### 5. Browse and Install
|
||||
|
||||
Navigate through folders and install your games!
|
||||
|
||||
## Features
|
||||
|
||||
- Apache-style directory listing
|
||||
- Folder navigation
|
||||
- Supports .nsz, .nsp, .xci, .xcz
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- **Connection Timeout**: Check network and firewall
|
||||
- **Empty Folders**: Verify games in `games/` directory
|
||||
- **Install Fails**: Check Switch storage space
|
||||
- **Server Not Listed**: Verify the `dbi.locations` file is in the correct location and properly formatted
|
||||
@@ -0,0 +1,50 @@
|
||||
# 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
|
||||

|
||||
|
||||
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`
|
||||

|
||||
5. **Save**: Press X to save
|
||||
|
||||
6. **Success**: You should see a success message with the text `Switch Games Server`
|
||||

|
||||
|
||||
7. **Browse**: Depending on the content you've placed on the `games` directory, it should appear on `New Games`, `New DLC` or `New Updates`
|
||||

|
||||
|
||||
## 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"
|
||||
}
|
||||
```
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 351 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 177 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Reference in New Issue
Block a user