Sunshine
Sunshine is an open-source, self-hosted game streaming solution that enables users to stream games from Batocera to devices running Moonlight. It runs in the background and provides low-latency streaming capabilities.
📥 Installation
Section titled “📥 Installation”Sunshine is automatically installed and launched in the background when added via Batocera Unofficial Add-Ons (BUA). To install:
- Open Batocera Unofficial Add-Ons from the Ports menu.
- Browse the available add-ons and locate Sunshine.
- Select Install and wait for the installation to complete.
- Sunshine will run automatically in the background upon installation.
🔧 Setup Instructions
Section titled “🔧 Setup Instructions”- Open a web browser either via Batocera or on another device.
- Navigate to:
https://YOUR-BATOCERA-IP:47990- Replace
YOUR-BATOCERA-IPwith the IP address of your Batocera machine. localhost will work if you open the browser on the same machine.
- Replace
- Set up credentials for Sunshine.
- Link it with Moonlight by entering the PIN provided during pairing.
- Once linked, you can start streaming games from Batocera to Moonlight-supported devices.
⚙️ Configuration
Section titled “⚙️ Configuration”- Security: Configure user authentication and encryption settings.
- Streaming Quality: Adjust bitrate, resolution, and frame rate for optimal performance.
- Controller Support: Ensure proper input mapping for remote gameplay.
- Network Settings: Optimize connectivity for a stable streaming experience.
🛠️ Troubleshooting
Section titled “🛠️ Troubleshooting”| Issue | Solution |
|---|---|
| Sunshine not running | Restart Batocera to ensure the service starts properly. |
| Cannot access the Sunshine web UI | Verify Batocera’s IP address and ensure port 47990 is accessible. |
| Moonlight not detecting Sunshine | Check network settings and restart both devices. |
| Input lag or streaming issues | Reduce streaming quality settings or switch to a wired connection. |