On this page
Documentation
The client-side map: SD paths, config.json, themes, remotes, and what the installer does while a transfer is running. Building or hosting a catalog? Start with the Remote API.
Keep going: Network & download · Install pipeline · Remote API · Changelog
Supported formats
NSP/NSZ- Nintendo Submission Package (compressed)XCI/XCZ- cartridge image (compressed)
On the network, the extension is ignored: CyberFoil looks at the bytes, not the name.
SD card layout
sdmc:/switch/CyberFoil/
├── cyberfoil.nro
├── config.json optional
├── remotes/ remote profiles (*.json)
├── remote_icons/ cached remote icons
├── theme/ external themes (*.json or folder/theme.json)
├── offline_db/ local title DB + icons
│ ├── offline_db_manifest.json
│ ├── titles.pack / icons.pack
│ └── custom_titles.pack / custom_icons.pack optional
├── bark.wav / success.wav optional sounds
└── offline_db_update.log update trace log
Legacy (migrated on launch):
├── shops/ → remotes/
└── shop_icons/ → remote_icons/
config.json
Settings writes this file. Path: sdmc:/switch/CyberFoil/config.json
| Key | Type | Description |
|---|---|---|
remoteUrl | string | Active Remote base URL (persisted from the selected profile) |
remoteProfileFile | string | Active profile filename under remotes/ |
remoteUser / remotePass | string | HTTP Basic auth for Remote |
httpUserAgentMode | string | default, chrome, safari, firefox, tinfoil, custom |
httpUserAgent | string | Custom UA when mode is custom |
remoteHideInstalled | bool | Filter installed titles in Remote |
remoteHideInstalledSection | bool | Hide Installed section |
remoteHideIncompatibleCheats | bool | Hide cheats that do not match installed builds |
remoteAllBaseOnly | bool | All section: bases only |
remoteLegacyMode | bool | Tinfoil compatibility |
remoteStartGridMode | bool | Remote opens in grid view |
themeFile | string | Selected theme path relative to theme/; empty = Default. Missing files still try theme.json |
usbHddShowHiddenFiles | bool | Show hidden USB-drive entries |
lastNetUrl | string | Last URL used for net install |
offlineDbManifestUrl | string | Manifest for offline DB updates |
offlineDbAutoCheckOnStartup | bool | Check DB on launch when online |
autoUpdate | bool | Check for CyberFoil updates |
validateNCAs | bool | Verify NCA signatures before install |
ignoreReqVers | bool | Ignore minimum firmware in titles |
overClock | bool | Boost CPU during installs |
deletePrompt | bool | Ask to delete source files after install |
languageSetting | int | UI language index (99 = system) |
soundEnabled / oledMode | bool | UI preferences |
mtpExposeAlbum | bool | Show Album drive in MTP mode |
usbAck | bool | USB install warning acknowledged |
verboseInstallLogging | bool | Extra install diagnostics |
On launch, shops/ and shop_icons/ move to remotes/ and remote_icons/. Older shop* config keys become remote*.
Remote profiles
One JSON file per host, under sdmc:/switch/CyberFoil/remotes/. Settings → Remote can Discover LAN Servers (UDP 8465, payload OWNFOIL_DISCOVER).
{
"remote": {
"protocol": "http",
"host": "192.168.1.2",
"path": "",
"port": 8465,
"username": "user",
"password": "pass",
"title": "My LAN remote",
"favourite": false,
"legacyMode": false,
"lanUrl": "http://192.168.1.2:8465",
"wanUrl": "https://remote.example.com",
"connection": "auto",
"uid": ""
}
}
connection:auto(LAN first, ~2 s probe),lan, orwan- WAN URL is always HTTPS. LAN protocol is HTTP or HTTPS. Address fields with no port use HTTP 80 or HTTPS 443; AeroFoil's usual LAN listen port is 8465
uidfrom discovery lets a later scan update the same profile. Credentials are never taken from discovery.- Auth and catalog errors do not flip LAN ↔ WAN. The chosen endpoint stays fixed until you reopen Remote or refresh the catalog.
External themes
Copy .json files into theme/, or a folder such as theme/my-theme/theme.json with images beside it.
Settings → System → Theme. A applies immediately; Default clears themeFile without deleting files.
{
"version": 1,
"enabled": true,
"name": "My Theme",
"colors": {
"background": "#101827",
"text": "#EAF2FFFF",
"selected_text": "#FFFFFFFF",
"accent": "#56A8FFFF",
"highlight": "#245F9DCC"
},
"images": {
"background": "background.png",
"logo": "banner.png"
}
}
- Colors:
#RRGGBBor#RRGGBBAA. Roles:background,header,footer,panel,text,selected_text,muted_text,accent,highlight,scrollbar,progress_track. - Background 1280×720, banner 480×93. PNG / JPEG / WebP, max 16 MiB and 4096 px per side. JSON max 256 KiB.
- Image keys match
romfs/images/paths."background": ""disables the background image. - Malformed JSON or an unsupported
versionfalls back to Default. Theme apply waits until an active install finishes.
Offline database
Title names and icons under offline_db/ - used when Remote/network metadata is unavailable.
Default manifest: CyberFoil-DB releases.
Packed or JSON layouts (titles.pack, icons.pack, index files, etc.).
Custom packs: put custom_titles.pack and/or custom_icons.pack in the same folder.
Same binary format as the defaults; custom IDs win. Restart after replacing them by hand.
Generate with python tools/create_custom_packs.py --titles my_titles.json --icons-dir my_icons --output custom_packs (Python 3.8+, Pillow ≥ 9.1 for images).
Install controls
- Worker thread does the transfer; the UI polls input and renders on its own.
- Active-title card + six pending rows. ↑/↓ select, ←/→ page, A drop a pending title.
- Y Add titles on Remote and SD/USB (current folder). PC USB / net / MTP batches stay host-controlled.
- B cancels the active title and remaining queue. Completed titles and their records stay.
- X blanks the handheld screen. Any input wakes it; wake does not press a control.
Network install (LAN)
Separate from the HTTP Remote API. CyberFoil listens on TCP port 2000 while the net install screen is open.
- Launch Install over LAN or internet - your Switch IP is shown.
- On PC/phone, use NS-USBloader (Tinfoil mode) or similar: target that IP, send file list.
- Alternatively pick URL or Google Drive file ID from the menu.
Downloads use the configured User-Agent (cyberfoil by default), not the empty UA from legacy Remote mode.
Build & stack
- Binary:
cyberfoil.nro→ release zipswitch/CyberFoil/cyberfoil.nro - Version:
1.5.0· Author: luketanti · License: GPL-3.0 - UI: Plutonium
- MTP: libhaze · USB FS: libusbhsfs (FAT/NTFS/EXT)
- Lineage: fork of Awoo Installer (Huntereb), maintained as CyberFoil