Discord Support โข Installation โข French Documentation โข Turkish Documentation โข Troubleshoot / Common Errors โข
A free, user-friendly ROM downloader for Batocera, Knulli, and RetroBat with multi-source support.
SSH or Terminal access required:
curl -L bit.ly/rgsx-install | shAfter installation:
- Update game lists:
Menu > Game Settings > Update game list - Find RGSX under PORTS or Homebrew and ports
- Download: RGSX_full_latest.zip
- Extract:
- Batocera/Knulli: Extract
portsfolder to/roms/ - RetroBat: Extract both
portsandwindowsfolders to/roms/
- Batocera/Knulli: Extract
- Refresh:
Menu > Game Settings > Update game list
Download and extract the latest release: RGSX_full_latest.zip
Installed paths:
/roms/ports/RGSX(all systems)/roms/windows/RGSX(RetroBat only)
- Syncs the systems and games catalog into a local SQLite database
- Downloads the images needed by the interface
- Auto-configures controls if your controller is recognized
- Controls broken? Delete
/saves/ports/rgsx/controls.jsonand restart
Retrobat / first Windows launch
- It is recommended to launch
RGSX Retrobat.batmanually once, outside the Retrobat interface, to verify that everything is working. - Allow Windows firewall prompts when they appear, especially for qBittorrent on first launch.
- Retrobat hides some system windows by default, so a first manual launch helps avoid missing an important prompt.
- The launcher then configures a local rule for the embedded qBittorrent binary and for the TCP
18572WebUI.
Keyboard Mode: When no controller is detected, controls display as [Key] instead of icons.
Root menu โ Games, Language, Controls, Display, Settings, Support, Reset Default Settings, and Quit.
- Games: refresh the catalog, scan locally owned ROMs, open download history, show/hide unsupported systems, and choose visible platforms.
- Controls: view the currently mapped actions or remap keyboard/controller inputs.
- Display: choose from eight grids (3ร3, 3ร4, 4ร3, 4ร4, 5ร4, 6ร4, 6ร6, or 8ร6), adjust UI and footer font sizes separately, choose a font (Pixel, Bell Centennial, or DejaVu Sans), background theme, and Light Mode. Monitor selection appears only when multiple displays are detected; window/fullscreen mode is Windows-only. You can also hide unknown-extension warnings.
- Settings: background music, symlink behavior, automatic extraction, ROM folder, maximum simultaneous downloads, API-key status, and connection status. Web service at boot and Custom DNS are available on Linux/Batocera.
- Support: diagnostic tools and support archive generation.
- Quit: quit or restart RGSX. Language selection is directly in the root menu.
The systems/games catalog, download history, locally detected owned games, and related persistent state are stored in /saves/ports/rgsx/rgsx.sqlite3. The initial catalog sync downloads a full snapshot; later syncs apply changes incrementally. When a source or platform is hidden or re-enabled, RGSX reconciles the visible platform list and transfers game data only for newly visible platforms. Games > Refresh Game Catalog runs synchronization again. General preferences remain in rgsx_settings.json, and custom controls remain in controls.json.
On the first launch after upgrading from the former JSON-based storage, RGSX imports the download history, owned-game records, and torrent cache when present. Any discovered legacy cache/data files are moved to /saves/ports/rgsx/backup_old_rgsx/<date>/. Do not delete the SQLite database while RGSX is running: it contains the catalog and persistent user data. SQLite may create temporary -wal and -shm files alongside the database.
- ๐ฏ Smart System Detection โ Auto-discovers supported systems from
es_systems.cfg - ๐ฆ Intelligent Archive Handling โ Auto-extracts archives when systems don't support ZIP files
- ๐ Premium Unlocking โ 1Fichier API + AllDebrid/Debrid-Link/Real-Debrid/TorBox fallback for unlimited downloads
- ๐จ Fully Customizable โ Eight layouts up to 8ร6, Pixel/Bell Centennial/DejaVu Sans fonts, font sizes (UI + footer), languages (EN/FR/DE/ES/IT/PT/TR)
- ๐ฎ Controller-First Design โ Auto-mapping for popular controllers + custom remapping support
- ๐ Advanced Filtering โ Search by name, hide/show unsupported systems, filter platforms
- ๐ Download Management โ Queue system, history tracking, progress notifications
- โฟ Accessibility โ Separate font scaling for UI and footer, keyboard-only mode support
For unlimited 1Fichier downloads, add your API key(s) to
/saves/ports/rgsx/:
1FichierAPI.txtโ 1Fichier API key (recommended)AllDebridAPI.txtโ AllDebrid fallback (optional)DebridLinkAPI.txtโ Debrid-Link fallback (optional)RealDebridAPI.txtโ Real-Debrid fallback (optional)TorBoxAPI.txtโ TorBox fallback (optional)Each file must contain ONLY the key, no extra text.
- Browse platforms โ Select game
- Direct Download: Press
Confirm - Queue Download: Press
X(West button) - Track progress in History menu or via popup notifications
Torrent downloads now run through an embedded qBittorrent binary on both Windows and Linux/Batocera.
- LAN debug WebUI:
http://YOUR_DEVICE_IP:18572 - Default credentials:
admin/RGSXqbt - The RGSX web interface now includes a
qBittorrentbutton that opens this WebUI directly.
Useful notes:
- This WebUI is intended for debugging and advanced torrent monitoring from a phone or another PC on the same local network.
- If LAN access to the WebUI does not work, first check the local Windows firewall.
- Do not expose port
18572directly to the Internet: it is the WebUI admin port, not the BitTorrent performance port. - If torrent connectivity is poor, prefer UPnP or forwarding the actual BitTorrent listening port configured inside qBittorrent.
RGSX includes a web interface that launched automatically when using RGSX for remote browsing and downloading games from any device on your network.
-
Find your Batocera IP address:
- Check Batocera menu:
Network Settings - Or from terminal:
ip addr show
- Check Batocera menu:
-
Open in browser:
http://[BATOCERA_IP]:5000orhttp://BATOCERA:5000- Example:
http://192.168.1.100:5000
- Example:
-
Available from any device: Phone, tablet, PC on the same network
- ๐ฑ Mobile-Friendly โ Responsive design works on all screen sizes
- ๐ Browse All Systems โ View all platforms and games
- โฌ๏ธ Remote Downloads โ Queue downloads directly to your Batocera
- ๐ Real-Time Status โ See active downloads and history
- ๐ฎ Same Game Lists โ Uses identical sources as the main app
From RGSX Menu
- Open Pause Menu (Start/ALTGr)
- Navigate to Settings > Web Service
- Toggle Enable at Boot
- Restart your device
Port Configuration: The web service runs on port 5000 by default. Ensure this port is not blocked by firewall rules.
/roms/
โโโ ports/
โ โโโ RGSX/
โ โ โโโ __main__.py # Entry point
โ โ โโโ config.py # Application paths and configuration
โ โ โโโ database.py # Local SQLite storage
โ โ โโโ sqlite_compat.py # System SQLite with bundled fallback
โ โ โโโ catalog_sync.py # Online catalog synchronization
โ โ โโโ controls.py # Navigation, input, and actions
โ โ โโโ controls_mapper.py # Control profiles and remapping
โ โ โโโ display.py # Pygame interface and menus
โ โ โโโ network.py # Downloads
โ โ โโโ rgsx_settings.py # User preferences
โ โ โโโ rgsx_web.py # Web interface and server
โ โ โโโ assets/ # Profiles, images, fonts, music, and tools
โ โ โโโ languages/ # Translations (EN/FR/DE/ES/IT/PT/TR)
โ โ โโโ static/ # Web interface CSS and JavaScript
โ โ โโโ vendor/pysqlite3/ # CPython 3.12 aarch64 fallback for Knulli
โ โ โโโ logs/ # RGSX.log and rgsx_web.log
โ โโโ gamelist.xml
โ โโโ images/
โ โโโ videos/
โโโ windows/
โโโ RGSX Retrobat.bat # Launcher for Windows only (can be used without retrobat too)
โโโ gamelist.xml
โโโ images/
โโโ videos/
/saves/ports/rgsx/
โโโ rgsx_settings.json # User preferences
โโโ controls.json # Control mapping
โโโ rgsx.sqlite3 # Catalog, history, and persistent user state
โโโ images/ # System images
โโโ backup_old_rgsx/ # Legacy files archived during migration, if present
โโโ 1FichierAPI.txt # 1Fichier API key
โโโ AllDebridAPI.txt # AllDebrid API key
โโโ DebridLinkAPI.txt # Debrid-Link API key
โโโ RealDebridAPI.txt # Real-Debrid API key
โโโ TorBoxAPI.txt # TorBox API key
The -wal and -shm files that may appear beside rgsx.sqlite3 are temporary SQLite files used while the application is running.
| Issue | Solution |
|---|---|
| Controls not working | Delete /saves/ports/rgsx/controls.json + restart app, you can try delete /roms/ports/RGSX/assets/controls/xx.json too |
| No games or empty catalog? | Open Games > Refresh Game Catalog, then check Games > Filter Platforms and the unsupported-systems visibility option. In Settings, confirm the configured ROM folder is correct. Check Connection Status if synchronization fails. |
| Missing systems on the list? | RGSX discovers systems from the emulator configuration. Enable unsupported-system visibility under Games and check the platform filter. |
| Catalog sync or database write failure | Check available disk space and write permissions in /saves/ports/rgsx/, then inspect the logs. Do not delete rgsx.sqlite3 without a backup: it also contains history and owned-game records. |
Knulli reports No module named 'sqlite3' |
Keep the bundled files in /roms/ports/RGSX/vendor/pysqlite3/ and confirm /usr/lib/libsqlite3.so.0 is present. RGSX automatically uses its CPython 3.12 aarch64 pysqlite3 fallback, linked to that system library, when the system Python has no SQLite module. |
| App crashes | Check /roms/ports/RGSX/logs/RGSX.log (and rgsx_web.log for the web server). |
| Layout change not applied | Restart RGSX after changing layout |
| Problem downloading some Games ? | Open Pause Menu > Settings > Connection Status. If one or more required sites are red, enable Custom DNS in Settings and reboot. Also check ISP/router protections (especially ASUS web threat blocking). |
Need help? Share logs from /roms/ports/RGSX/logs/ on Discord.
- Bug Reports: Open GitHub issue with logs or post on Discord
- Feature Requests: Discuss on Discord first, then open issue
- Code Contributions:
git checkout -b feature/your-feature # Test on Batocera/RetroBat # Submit Pull Request
Free and open-source software. Use, modify, and distribute freely.
If you want to support my project you can buy me a beer : https://bit.ly/donate-to-rgsx
Developed with โค๏ธ for the retro gaming community.







