Bridge your Commodore 64 Ultimate directly to OBS Studio for seamless streaming and recording over your network connection.
This plugin implements a native OBS source that receives video and audio streams from a Commodore 64 Ultimate or Ultimate 64.
The plugin connects directly to the Ultimate's network interface, eliminating the need for capture cards or composite video connections.
Features:
- Direct C64U β OBS streaming: Video/audio streams received directly from a Commodore 64 Ultimate or Ultimate 64 over UDP/TCP (no capture card).
- Two native OBS plugins: A C64 Stream input source plus a C64 Stream Effects filter (they share the same effects engine; most setups use one or the other).
- Real-time video + audio: PAL 384x272 and NTSC 384x240 video, plus synchronized 16-bit stereo audio at ~48kHz.
- CRT effects + palettes: GPU-accelerated CRT effects with configurable presets (scan lines, bloom, tint, pixel geometry) and automatic VIC-II color space conversion.
- Built-in recording + diagnostics: Record BMP frames, AVI video, and WAV audio, plus optional CSV timing logs (
obs.csv/network.csv) for debugging. - Keyboard capture: Click the
Interactbutton below the preview to type directly into the C64. - Script-based automation: C64Script, a BASIC-inspired language for programmatic control of your stream (spec).
- C64 Stream
- OBS Studio 32.0.1 or above
- Commodore 64 Ultimate or Ultimate 64
- The Ultimate device must be connected via its Ethernet port. The OBS computer may connect via Wi-Fi if both are on the same network, but using Ethernet all the way to OBS is recommended for the most stable connection.
- For complete and up-to-date hardware and software requirements, please refer to the OBS Studio System Requirements.
Note
The plugin has been verified to work on the systems listed below. Other environments have not been verified and are not supported explicitly, but community contributions are always welcome.
In the following instructions, replace $VERSION with the latest released version as shown on the Releases page.
The following applies if you have an Intel or AMD CPU. It has been verified to work on Windows 11:
- Close OBS Studio
- Download the plugin package with name
c64stream-$VERSION-windows-x64.zip. It should now be in yourDownloadsfolder (typicallyC:\Users\<YourName>\Downloads). - Install the plugin to
C:\ProgramData\obs-studio\pluginsby either extracting the ZIP with a tool of your choice or by running the following in PowerShell:
Expand-Archive -Path "$env:USERPROFILE\Downloads\c64stream-*-windows-x64.zip" -DestinationPath "C:\ProgramData\obs-studio\plugins" -Force- Start OBS Studio
If you are using Windows Firewall and block all incoming connections, you may have to set up an exception to allow incoming UDP connections to port 11000 (Video) and 11001 (Audio) from the C64 Ultimate, as follows. Be sure to adjust the RemoteAddress from 192.168.1.64 to the IP of your C64 Ultimate before you run this in PowerShell:
New-NetFirewallRule -DisplayName "C64 Stream" -Direction Inbound -Protocol UDP -LocalPort 11000,11001 -RemoteAddress 192.168.1.64 -Action AllowNote
Windows on ARM64 support is experimental and has not yet been fully tested. If you would like to help with testing, please reach out via the Discussions tab of this repository.
- Download and unzip the ARM64 build of OBS Studio: https://github.com/obsproject/obs-studio/releases/download/32.0.4/OBS-Studio-32.0.4-Windows-arm64.zip
- Ensure OBS Studio is closed.
- Download the plugin package
c64stream-$VERSION-windows-arm64.zipto yourDownloadsfolder. - Install the plugin exactly as described in Windows (X64) above.
Note
This section applies only if OBS Studio is run in portable mode, for example when portable_mode.txt exists in the root directory of OBS.
If you installed OBS using the Windows installer, use the Standard Installation instructions above.
In portable mode, OBS does not use C:\ProgramData\obs-studio\plugins. Instead, plugins are loaded relative to the OBS installation directory.
-
Download the appropriate plugin ZIP (X64 or ARM64), as described above.
-
Open PowerShell in the root directory of your portable OBS installation.
-
Copy/paste the following command into the PowerShell window and press Enter:
$zip=Get-ChildItem "$env:USERPROFILE\Downloads\c64stream-*-windows-*.zip" | Select-Object -First 1; Expand-Archive -Path $zip -DestinationPath "$env:TEMP\c64stream" -Force; New-Item -ItemType Directory -Force ".\obs-plugins\64bit" | Out-Null; Copy-Item "$env:TEMP\c64stream\c64stream\bin\64bit\*" ".\obs-plugins\64bit\" -Recurse -Force; New-Item -ItemType Directory -Force ".\data\obs-plugins\c64stream" | Out-Null; Copy-Item "$env:TEMP\c64stream\c64stream\data\*" ".\data\obs-plugins\c64stream\" -Recurse -Force
-
Start OBS Studio.
Verified on macOS Sequoia 15.7 and Tahoe 26.0 with Apple Silicon M4 (Intel systems should also work):
- Close OBS Studio
- Download the plugin package with name
c64stream-$VERSION-macos-universal.pkg. It should now be in your~/Downloadsdirectory. - Install the plugin to
$HOME/Library/Application Support/obs-studio/plugins/c64stream.pluginby running the following on the command line:
Note
These commands are required due to platform packaging constraints on macOS and will be simplified in a future release.
cd ~/Downloads && \
xattr -dr com.apple.quarantine c64stream-*-macos-universal.pkg && \
sudo installer -pkg c64stream-*-macos-universal.pkg -target / && \
mkdir -p "$HOME/Library/Application Support/obs-studio/plugins" && \
cp -R "/Library/Application Support/obs-studio/plugins/c64stream.plugin" \
"$HOME/Library/Application Support/obs-studio/plugins/" && \
chmod -R 755 "$HOME/Library/Application Support/obs-studio/plugins/c64stream.plugin"- Start OBS Studio
-
Close OBS Studio
-
Install OBS Studio (32.0.1+):
-
Ubuntu 24.04:
sudo add-apt-repository --yes ppa:obsproject/obs-studio sudo apt update sudo apt install -y obs-studio
-
Debian 12:
sudo apt update sudo apt install -y -t bookworm-backports obs-studio
-
-
Download the plugin:
c64stream-$VERSION-x86_64-linux-gnu.deb -
Install the plugin:
sudo dpkg -i ~/Downloads/c64stream-*-x86_64-linux-gnu.deb
-
Start OBS Studio
For non-Debian-based distributions, you can extract the .deb package manually:
-
Close OBS Studio
-
Install OBS Studio using your distro's package manager
-
Download the plugin:
c64stream-$VERSION-x86_64-linux-gnu.deb -
Extract and install manually:
cd /tmp && ar x ~/Downloads/c64stream-*-x86_64-linux-gnu.deb && tar -xf data.tar.* && \ sudo cp -r usr/share/obs/obs-plugins/c64stream /usr/share/obs/obs-plugins/ && \ sudo cp -r usr/lib/obs-plugins/c64stream.so /usr/lib/obs-plugins/ && rm -rf data.tar.* control.tar.* debian-binary usr
-
Start OBS Studio
Note
The plugin is built and E2E tested on Ubuntu 24.04, Debian 12, Fedora 40, and Arch Linux.
Further Details: See the OBS Plugins Guide.
Getting Your C64 on Stream:
-
Add Source: In OBS, click the "+" icon in the Sources tab. A window of all sources appears. Select "C64 Source":
A new window opens. Keep the default settings and click "OK":
-
Open Properties: Select the "C64 Stream" source in your sources list, then click the "Properties" button to open the configuration dialog.
-
Configure hostnames / IPs: Set the hostname or IP address of your C64 Ultimate and click "OK".
π DONE! Enjoy streaming from your C64 Ultimate.
Note
Experimental (since version 1.1): This feature is still evolving. If you run into sharp edges, please report them.
By default, C64 Stream effects are applied internally by the C64 Stream input source when streaming directly from a C64 Ultimate or Ultimate 64. In this common setup, no additional filter is required.
However, the same visual effects engine can also be applied to any OBS source using the C64 Stream Effects filter. This is useful if:
- You do not own a C64 Ultimate or Ultimate 64
- You use a real C64 with an HDMI capture card
- You work with emulators, media files, or test patterns
- You want identical CRT effects applied consistently across multiple sources
In these cases, the filter acts purely as an alternative attachment point for the same effects pipeline.
Important: If you are using the C64 Stream input source, do not add this filter. Effects would otherwise be applied twice.
The screenshot below shows the C64 Stream Effects filter applied to an OBS Media Source whilst it is playing a test video:
Installation: The filter is included automatically with the plugin package.
Usage (non-C64 Stream sources):
- Select your source (HDMI capture card, Media Source, emulator, etc.) in OBS.
- Click Filters β + β C64 Stream Effects.
- Configure presets and effect parameters as described in the Effect settings section below.
- Version: Information about release version, Git ID, and build time
- DNS resolution details:
- Default:
192.168.1.1(most common home router DNS server) - Fallback: If router DNS fails, the plugin tries standard DNS servers
- Enhanced resolution: The plugin uses multiple resolution strategies for maximum compatibility
- Default:
- C64 Ultimate Host: Enter your Ultimate device's hostname (default:
c64u) or IP address to enable automatic streaming control from OBS (recommended for convenience), or set to0.0.0.0to accept streams from any C64 Ultimate on your network (requires manual control from the device) - C64 Ultimate Password: C64 Ultimate network password for REST
X-Passwordheader authentication. Leave empty if authentication is disabled - OBS Server IP: IP address where C64 Ultimate sends streams (auto-detected by default)
- Auto-detect OBS IP: Automatically detect and use OBS server IP in streaming commands (recommended)
- Configure Ports: Use the default ports (video: 11000, audio: 11001) unless network conflicts require different values
- Buffer Delay: Sets the network buffer for incoming UDP packets arriving from the C64 Ultimate (0β500 ms, default 10 ms). The buffer size is expressed in milliseconds to represent the time-based delay it introduces, compensating for packet loss, reordering, and variable network latency. Larger buffers improve stability under high-latency or congested conditions but increase end-to-end delay.
The plugin includes built-in recording capabilities that work independently of OBS Studio's recording system, letting you save raw C64 Ultimate data streams directly to disk.
Debug Logging: The Debug Logging option lives in this section of the source properties. Enable it when troubleshooting, then check the OBS log via Help β Log Files β Show Current Log.
The plugin offers three independent recording options that can be enabled separately or together:
π Network and Streaming Events (CSV):
- Records detailed timing data for network packets and OBS processing events
- Creates
obs.csv(OBS processing timeline) andnetwork.csv(UDP packet analysis) - Minimal Performance Impact: Lightweight logging with microsecond precision
- Use Cases: Debug performance issues, analyze network jitter, validate frame timing
- Files:
session_YYYYMMDD_HHMMSS/obs.csvandsession_YYYYMMDD_HHMMSS/network.csv
πΌοΈ Raw Frames (BMP):
- Saves individual video frames as uncompressed BMP files
- Useful for debugging video issues or creating frame-by-frame analysis
- Performance Impact: Enabling this feature will reduce streaming performance due to disk I/O
- Note: CRT effects (scanlines, bloom, afterglow, etc.) are NOT applied to recorded frames. Palette changes ARE applied.
- Files saved as:
session_YYYYMMDD_HHMMSS/frames/frame_NNNNNN.bmp
π¬ Raw Video and Audio (AVI + WAV):
- Records uncompressed AVI video and separate WAV audio files
- Captures the raw data stream without OBS processing
- High Disk Usage: Uncompressed video files are very large (~50MB per minute)
- Note: CRT effects (scanlines, bloom, afterglow, etc.) are NOT applied to recorded video. Palette changes ARE applied.
- Video file:
session_YYYYMMDD_HHMMSS/video.avi(24-bit BGR format) - Audio file:
session_YYYYMMDD_HHMMSS/audio.wav(16-bit stereo PCM)
All recording files are organized into timestamped session folders in the recordings directory:
recordings/
βββ session_20240929_143052/
β βββ frames/ # BMP frame files (if "Raw Frames" enabled)
β βββ network.csv # Network timings (if "CSV Events" enabled)
β βββ obs.csv # OBS timings (if "CSV Events" enabled)
β βββ video.avi # Uncompressed video (if "Raw Video" enabled)
β βββ audio.wav # Uncompressed audio (if "Raw Video" enabled)
βββ session_20240929_151234/
βββ ...
Session Management: A new session folder is automatically created each time recording is enabled. The output folder can be changed in the plugin properties.
- Independent Operation: All recording operates independently of OBS Studio's built-in recording
- Mix and Match: All three recording options can be enabled simultaneously
- Instant Recording: Recording starts immediately when a checkbox is checked and continues until unchecked
β οΈ Persistent State: Checkbox states persist across OBS restarts - uncheck to stop recording or risk filling disk space- Real-Time Writing: Files are written in real-time as data is received from the C64 Ultimate
- Auto-Organization: Session folders are created automatically with proper directory structure
- Recommended: Enable CSV recording for debugging and disable BMP/AVI recording for normal streaming
When "Network and Streaming Events (CSV)" recording is enabled, the plugin generates detailed CSV logs for debugging OBS performance and analyzing C64 Ultimate network streams. These logs enable bit-accurate recording analysis and precise frame timing measurements.
Generated CSV Files:
obs.csv- OBS processing timeline with microsecond precisionnetwork.csv- UDP packet reception log with network timing analysis
Examples from recent automated E2E runs against a 'mocked' (i.e. simulated) Ultimate 64:
- PAL:
obs.csv,network.csv - NTSC:
obs.csv,network.csv
Sample OBS Timeline (obs.csv):
event_type,frame_num,elapsed_us,data_size_bytes,fps,audio_samples_total,video_packets_received,audio_packets_received,sequence_errors
video,1,43874,368640,59.826,0,160,12,0
audio,0,48250,768,59.826,0,175,13,0Sample Network Analysis (network.csv):
packet_type,elapsed_us,sequence_num,frame_num,line_num,packet_size,jitter_us
video,225,1510,7671,8,780,0
audio,2341,847,0,0,192,125Use Cases:
- Debug OBS Performance: Analyze frame processing delays and audio sync issues
- Network Stream Analysis: Monitor UDP packet timing, jitter, and sequence errors
- Bit-Accurate Recordings: Capture every frame with precise timing for forensic analysis
- C64 Ultimate Diagnostics: Validate device streaming performance and network stability
Sample Recording: See docs/recordings/session_19700101_024625 for complete examples with all file types.
Activation: Enable the "Network and Streaming Events (CSV)" checkbox in the Recording properties. CSV files are generated only when this option is explicitly enabled.
Recreate the authentic look and feel of classic CRT monitors and TVs with configurable visual effects that simulate the characteristics of vintage displays.
Presets: One-click configurations for different display types
- Classic CRT - Balanced scan lines and bloom for general retro appeal
- Amber Monitor - Warm amber tint reminiscent of early computer monitors
- Green Monitor - Classic green phosphor terminal look
- Sharp Pixels - Crisp pixel doubling for arcade-style clarity
- Phosphor Glow - Dramatic phosphor persistence trails with extended afterglow. The sample image here was taken from the automated E2E test which shows an afterglow for each moving diagonal line.
- Vintage TV - Softer look with prominent scan lines for old television feel
- Arcade Cabinet - High-contrast effects for authentic arcade experience
Customizable Effects:
-
Scan Lines: CRT raster line simulation with precise control (see table below). The "Scan Line Strength" slider (0.0β1.0) controls how dark the gaps appear. At 0.0, gaps are invisible; at 1.0, they are completely black.
-
Bloom: Glow effect that makes bright pixels bleed into darker areas
-
Pixel Geometry: Independent width/height scaling for authentic pixel aspect ratios
-
Blur Control: Fine-tune between crisp pixels and soft scaling
-
Afterglow: CRT phosphor persistence effect (0-250ms) with configurable decay curves
-
Screen Tint: Amber, green, or monochrome overlays for period-accurate monitor simulation
Reset: To reset to default values, simply select the "Default" preset. If you have changed individual effects whilst the "Default" preset was active, select any other preset first and then re-select the "Default" preset.
Tip
This section is for users seeking perfect display quality. The techniques described here are mostly required when using effects that include scan lines and/or pixel scaling.
The Scan Line Distance setting controls the gap between each pair of adjacent C64 pixel rows, simulating the dark lines between phosphor rows on a CRT monitor. Each mode uses a specific integer scaling factor to ensure perfectly uniform scanlines with zero variance.
To achieve pixel-perfect scanlines without any scaling-induced artifacts such as slight blurriness, the source must be scaled to exact dimensions in OBS. Because OBS does not lock aspect ratio for numeric transforms, both height and width must be set explicitly.
First, right-click on the C64 Stream source β Scale Filtering β Point. This is a one-time setting that tells OBS to use nearest-neighbor scaling.
Then, right-click the C64 Stream source in OBS β Transform β Edit Transform, then enter the exact values from the table below, assuming you are using a 1920 x 1080 ("Full HD") screen. Adjust the width/height settings as needed if you use a different screen:
| Mode | Distance | Scale | Pattern | Output Width | Output Height | Canvas Fit |
|---|---|---|---|---|---|---|
| None | 0% | 4Γ | No gaps | 1456 px | 1088 px | Full (8 px vertical crop) |
| Tight | 25% | 5Γ | 4 bright + 1 dark | 1820 px | 1360 px | Vertical overflow |
| Normal | 50% | 3Γ | 2 bright + 1 dark | 1092 px | 816 px | Letterboxed |
| Wide | 100% | 4Γ | 2 bright + 2 dark | 1456 px | 1088 px | Full (8 px vertical crop) |
| Extra Wide | 200% | 3Γ | 1 bright + 2 dark | 1092 px | 816 px | Letterboxed |
The following screenshot assumes you select "Wide" scan line mode, again assuming you use a 1920 x 1080 screen:
Customize the VIC-II color palette to match different C64 hardware variants, personal preferences, or artistic styles. The palette system supports both shipped (preset) and user-defined (custom) palettes.
Shipped Palettes: The plugin includes the following preset palettes:
- Default - Standard VIC-II colors matching original C64 hardware
- Cool - Blue/cyan color temperature shift
- Inverted - RGB color inversion (negative image)
- Monochrome - Grayscale conversion
- Muted - Reduced saturation with pastel-like tones
- Neon Blast - Maximum saturation for high-intensity colors
- Night - Red-shifted colors for comfortable late night viewing
- Vibrant - Increased color saturation for enhanced visual impact
- Warm - Amber/orange color temperature shift
Palette Controls:
- Palette Dropdown: Select from shipped palettes or any custom palettes you've added
- Import palette: Imports a
.vplfile - Export palette: Exports the currently active palette (with any color adjustments) to a
.vplfile - Color Editor: Expand to access 16 color pickers (0-15) for editing individual VIC-II colors. Changes apply immediately to the video output
Auto-Save Behavior:
- Custom palettes are automatically saved when you edit them in the color editor
- Preset modifications: If you edit a shipped preset palette, a custom copy is automatically created with the same name (the original preset remains unchanged)
- The settings automatically update to use the custom copy, so your changes persist across OBS restarts
- No manual save action is required for palette edits
VPL Palette Format:
Palettes use the standard VICE VPL format:
# VICE Palette file
#
# Syntax:
# Red Green Blue
#
# TYPE:VICII
# NAME:My Palette
# DESC:Optional description shown as tooltip
00 00 00
FF FF FF
8D 2F 34
...
- NAME: (optional) Display name shown in the dropdown
- DESC: (optional) Description shown as tooltip when hovering over the palette
- First 16 non-comment lines are RGB hex values in
RR GG BBformat (space-separated) - Files must have exactly 16 color entries
Storage: Custom palettes are saved to the palettes directory. Shipped palettes are bundled with the plugin as read-only defaults.
Import and export your complete plugin settings:
- Import settings: Click to load settings from a previously exported
.inifile. All current settings will be replaced - Export settings: Click to save all current settings to a
.inifile. Use this to backup configurations, share setups, or attach to bug reports
Exported configurations are saved to the settings directory.
Note
Experimental (since version 1.1): This feature is still evolving. If you run into sharp edges, please report them.
Control your Ultimate 64 remotely from within OBS Studio, enabling keyboard input capture and automated content playback.
Features:
- Keyboard Capture: Type directly into the C64 from OBS preview window with intelligent backpressure handling to help avoid lost keystrokes
- Automated Playback: Unattended playback of SID/MOD music, PRG/CRT programs, and disk images (D64, G64, D71, G71 or D81) with shuffle support. When using disk images, it loads and starts the first program in the volume using
LOAD"*",8,1:RUN. - REST API Control: Programmatic access to C64 Ultimate functions (reset, memory access, disk mounting)
Configuration:
- Keymap: Select keyboard mapping for converting PC keystrokes to C64 PETSCII codes
- Symbolic keymaps: Match key labels (e.g., PC Q β C64 Q)
- Positional keymaps: Match physical locations (e.g., PC Q β C64 Q on QWERTY, but C64 A on AZERTY)
- Supports built-in and custom user keymaps (
.c64keymap.iniformat)
- File System: Choose between local files or C64 Ultimate storage
- Playback Source: Pick Single File or Folder
- Local/C64U Path: File or folder path, shown based on file system + playback source
- Include Subfolders: Include subfolders when enumerating folder playback (Folder only)
- Shuffle Playback: Randomize folder playback order (Folder only)
- Duration per Item: Playback duration in seconds before advancing (1-3600s, default 120s)
- Use Songlengths: When enabled for local SID playback, uses a Songlengths.md5 file to set per-song durations
- Songlengths Path: Optional path to a Songlengths.md5 file (local + songlengths enabled only)
- Reset Between Items: Perform soft reset between items
- Playing: Shows the current queue; selecting an entry jumps to that item (switches immediately while playing)
- Refresh Playlist: Rebuilds the playlist based on current settings (disabled while playing)
- Play/Stop Content: Starts or stops automated playback
- Next: Skips to the next item while playing
- Reset Plugin: Restarts the plugin state (no OBS restart needed)
- Reset C64U: Sends a C64 Ultimate reset
- Click inside the OBS preview to give it focus.
- Click Interact (below the preview) to route keyboard input to the source.
- Type as usual. Keystrokes are converted to PETSCII and injected into the C64 KERNAL keyboard buffer.
- The plugin polls the C64 keyboard buffer counter at
$00C6every 50 ms and only injects a new key when the buffer is empty, providing backpressure and preventing overfilling. - Press ESC to send RUN/STOP to the C64, for example to abort a running BASIC program. The CBM key is available via the ALT key.
- To return keyboard control to OBS, click anywhere outside the Interact window so it loses focus, then close the Interact window.
Note
Keyboard capture only works with software that reads input via the KERNAL keyboard buffer. Many programs, especially games, bypass this buffer and read key state directly from CIA1. Because the C64 Ultimate does not allow writing to the CIA1 registers, keyboard input will not work for those programs.
Note
Experimental (since version 1.1): This feature is still evolving. If you run into sharp edges, please report them.
Automate your C64 stream with C64Script - a modernized BASIC-like language designed specifically for stream control.
What is C64Script?
C64Script is like a simplified, modernized version of Commodore BASIC. If you've ever typed 10 PRINT "HELLO" on a C64, you'll feel right at home. The language lets you:
- Control visual effects and palettes
- Play SID music and run C64 programs
- Read and write the C64 RAM
- Run programs on your OBS device and make HTTP requests to link your stream to external events
- Start and stop recordings
- Type text and press keys automatically
- Wait for specific times or conditions
- Use variables, loops, and conditional logic
Note
C64Script never runs automatically without your consent. Scripts execute only when you explicitly start them from the Properties window, ensuring full control at all times. If desired, you may enable automatic execution when the plugin starts by selecting the Auto-start script checkbox.
Quick Start Example - Color Palette Cycle:
Let's run the demo program demo_palette_cycle.c64script that ships with the plugin in the scripts folder:
- Click on Browse to the right of Script File and select the script.
- Click Start Script.
- You should now see C64 Stream cycle through all of its color palettes.
Debugging Your Scripts:
The plugin includes built-in controls for running and inspecting scripts:
- Script File - Select the
.c64scriptto run - Auto Start - Start the script automatically when the source becomes active
- Script Status - High-level script status (idle, running, paused, error, completed)
- Start/Stop - Start your script from the beginning or stop it
- Pause/Resume - Pause at any point to inspect what's happening
- Step - Execute your script one line at a time (only while paused)
- Log variables - See all variable values in the OBS log
- Execution state - Shows running, paused, error, or completed
- Last executed - Shows which line just ran
- Next to execute - Shows which line will run next
- Last error - Shows the most recent runtime error when one occurs
Assuming you already ran the palette cycling script described earlier, let's now try and debug it:
- Click Start Script to run the script
- Click Pause Script and then Step to walk through line-by-line
- Click Log variables to see any variables in the OBS log (Help β Log Files β Show Current Log)
Syntax Highlighting in VS Code
To enable syntax highlighting for .c64script files in VS Code:
./build-aux/install-c64script-syntax.shThen reload VS Code (Ctrl+Shift+P β "Reload Window"). The language mode should show "C64Script" in the bottom-right corner when viewing .c64script files.
Learn More:
- Full Language Reference:
doc/c64script/c64script-spec.md- Complete C64Script language documentation - Debugging Guide:
doc/c64script/c64script-debugging.md- Detailed debugging workflows and tips - Example Scripts:
data/scripts/- Demo scripts showing effects, palettes, and automation
- Confirm OBS Studio version 32.0.1+
- Verify plugin installed to correct directory
- Check OBS logs for plugin loading errors
- Restart OBS completely after installation
- Verify that both IP addresses are correct
- Check Ultimate device has data streaming enabled
- Confirm firewall allows UDP traffic on configured ports
- May occur when OBS cannot keep up, typically during high CPU or GPU load.
- Reduce or disable filters. The afterglow effect is particularly CPU-intensive. Test the Default preset with all filters disabled.
- Lower the output resolution to 1280Γ720.
- Disable OBS recording and any plugin-side recording.
- No visual change: Ensure source is active and receiving video data
- Performance drops: Complex effects (high bloom/blur) may impact frame rate on older hardware
- Preset not applying: Try manually adjusting individual effect settings
- Check audio port configuration (default 11001)
- Verify OBS audio monitoring settings
- Buffer delay changes: If you first increase the network buffer delay (e.g., to 500ms) and then decrease it (e.g., to 200ms), audio may become delayed relative to video. Workaround: Remove and re-add the C64 Stream source, or restart OBS Studio to reset the audio timing reference. For best results, set your desired buffer delay when initially configuring the source.
- Network latency should be <100ms for optimal performance
- Check for network congestion or Wi-Fi interference
- Consider wired Ethernet connection for stability
If the plugin can't resolve your C64 Ultimate hostname (e.g., c64u), try these solutions:
Quick Fix:
- Use IP Address: Instead of
c64u, enter the device's IP address directly (e.g.,192.168.1.64) - Check DNS Server IP: Verify the DNS Server IP setting matches your router's IP address
- Common router IPs:
192.168.1.1,192.168.0.1,10.0.0.1 - Find your router IP: Run
ip route | grep default(Linux) oripconfig(Windows)
- Common router IPs:
Advanced Troubleshooting:
-
Test DNS Resolution Manually:
# Linux/macOS - Test if router can resolve the hostname dig @192.168.1.1 c64u # Windows - Test DNS resolution nslookup c64u 192.168.1.1
-
Platform-Specific Issues:
- Linux: systemd-resolved may not forward local hostnames to router DNS
- macOS: Similar DNS forwarding issues with local device names
- Windows: System DNS typically works without issues
-
Configure Custom DNS Server:
- Set DNS Server IP to your router's IP address (usually
192.168.1.1) - Try alternative common router IPs:
192.168.0.1,10.0.0.1 - Check your router's DHCP settings for the correct DNS server IP
- Set DNS Server IP to your router's IP address (usually
-
Enable Debug Logging:
- In the source properties, open the Recording section and enable Debug Logging
- Look for DNS resolution messages in OBS logs
- Messages show which DNS resolution method succeeded
Alternative Solutions:
- Static DNS Entry: Add
192.168.1.64 c64uto your system's hosts file - mDNS/Bonjour: Use
.localsuffix (e.g.,c64u.local) if your network supports it - Router Configuration: Ensure your router's DNS server has the device hostname registered
- Files not created: Verify output folder path exists and is writable
- Performance drops with BMP saving: Frame saving impacts performance significantly; disable if not needed
- Large disk usage: AVI recording creates uncompressed files (~50MB/minute); monitor disk space
- Recording stops unexpectedly: Check disk space and folder permissions
The plugin uses a properties.ini file to provide default settings for connecting to your C64 Ultimate device. This file is automatically installed with the plugin and contains the standard C64 Ultimate network settings:
- Hostname:
c64u(the default C64 Ultimate hostname) - Control Port:
64(the standard C64 Ultimate control port) - DNS Server:
192.168.1.1(common router DNS) - Video/Audio Ports:
11000/11001(C64 Ultimate streaming ports)
These settings work out-of-the-box with most C64 Ultimate setups. You can override any of these settings directly in the OBS source properties if your setup differs.
The plugin uses three distinct filesystem locations:
This folder contains OBS plugin binary and loader files.
OBS Studio searches for plugins in multiple locations. The installation location depends on how you installed the plugin:
| Platform | Package Install (System-Wide) | User Install (Local Development) |
|---|---|---|
| Windows | C:\ProgramData\obs-studio\plugins\c64stream\ |
N/A (uses system path) |
| macOS | /Library/Application Support/obs-studio/plugins/c64stream.plugin/ |
~/Library/Application Support/obs-studio/plugins/c64stream.plugin/ |
| Linux | /usr/lib/obs-plugins/c64stream.so |
~/.config/obs-studio/plugins/c64stream/bin/64bit/c64stream.so |
This folder contains read-only defaults bundled with the plugin.
OBS searches in this order:
- User plugin directory (if it exists)
- System plugin directory
The data directory contains:
- Effect presets (
effect_presets.ini) - Palette presets (
palettes/*.vpl) - Default network settings (
properties.ini) - Localization files (
locale/*.ini) - C64 programs (
prg/*.prg) - C64Script files (
scripts/*.c64script)
| Platform | Package Install (System-Wide) | User Install (Local Development) |
|---|---|---|
| Windows | C:\ProgramData\obs-studio\plugins\c64stream\data\ |
N/A (uses system path) |
| macOS | /Library/Application Support/obs-studio/plugins/c64stream.plugin/Contents/Resources/ |
~/Library/Application Support/obs-studio/plugins/c64stream.plugin/Contents/Resources/ |
| Linux | /usr/share/obs/obs-plugins/c64stream/ |
~/.config/obs-studio/plugins/c64stream/data/ |
Note
Package Install is for end users who install via .deb packages, .pkg installers, or .zip extraction to system directories.
User Install is for local development using VSCode build tasks or ./build --install. The E2E tests also use these user install paths.
This folder contains your custom content.
For easy access, simple backups, and visibility, it is always stored in <Documents>/obs-studio/c64stream/, regardless of how you installed the plugin:
<Documents>/obs-studio/c64stream/
βββ settings/ # Exported configuration files (.ini)
βββ scripts/ # Sample automation scripts (.c64script)
βββ palettes/ # Custom palette files (.vpl)
βββ recordings/ # Recording session folders
Sample Locations:
- Windows:
%USERPROFILE%\Documents\obs-studio\c64stream\(e.g.,C:\Users\YourName\Documents\obs-studio\c64stream\) - macOS:
~/Documents/obs-studio/c64stream/(e.g.,/Users/yourname/Documents/obs-studio/c64stream/) - Linux:
~/Documents/obs-studio/c64stream/(e.g.,/home/yourname/Documents/obs-studio/c64stream/)
The plugin supports both hostnames and IP addresses for the C64 Ultimate Host field with enhanced DNS resolution that works reliably across all platforms:
Using Hostnames (Recommended):
- Default:
c64u- The plugin will try to resolve this hostname to an IP address - Custom:
my-c64uorretro-pc- Use any hostname your C64 Ultimate device is known by - FQDN Support: The plugin automatically tries both
hostnameandhostname.(with trailing dot) for proper DNS resolution
Using IP Addresses:
- Direct IP:
192.168.1.64- Standard IPv4 address format - Fallback:
0.0.0.0- Accept streams from any C64 Ultimate (no automatic control)
The plugin offers hostname resolution that works reliably on Linux and macOS where system DNS may fail for local device names:
- System DNS First: Tries standard system DNS resolution (works for internet hostnames and properly configured networks)
- FQDN Resolution: Attempts resolution with trailing dot (e.g.,
c64u.for some network configurations) - Direct DNS Queries: On Linux/macOS, bypasses systemd-resolved by querying DNS servers directly:
- Uses configured DNS Server IP (default:
192.168.1.1) - Falls back to common router IPs:
192.168.0.1,10.0.0.1,172.16.0.1
- Uses configured DNS Server IP (default:
Automatic Configuration (Recommended): The OBS plugin automatically controls streaming on the Ultimate device. When you configure the Ultimate's hostname or IP address in the OBS plugin settings, the plugin tells the Ultimate device where to send streams and sends start commands automatically. Thus, no manual streaming adjustments are needed on the Ultimate device.
Manual Configuration:
- Press F2 to access the Ultimate's configuration menu
- Navigate to "Data Streams" section
- Set "Stream VIC to" field:
your-obs-ip:11000(e.g.,192.168.1.100:11000) - Set "Stream Audio to" field:
your-obs-ip:11001(e.g.,192.168.1.100:11001) - Save configuration changes
- Manually start streaming from the Ultimate device
For comprehensive configuration details, refer to the official C64 Ultimate documentation.
This plugin implements the C64 Ultimate Data Streams specification to receive video and audio streams from Ultimate devices via UDP/TCP network protocols.
Supported Platforms:
- Windows 10/11 (x64) - verified on Windows 11
- Linux with X window system or Wayland - verified on Kubuntu 24.04
- macOS 11+ (Intel/Apple Silicon) - verified on macOS Sequoia 15.7 and Tahoe 26.0
Software Requirements:
- OBS Studio 32.0.1 or above
Hardware Requirements:
One of:
Video Formats:
- PAL: 384x272 @ 50Hz
- NTSC: 384x240 @ 60Hz
- Color space: VIC-II palette with automatic RGB conversion
- CRT Effects: GPU-accelerated shader-based post-processing with configurable presets
Audio Format:
- 16-bit stereo PCM
- Sample rate: ~48kHz (device dependent)
- Low-latency streaming
Network Requirements:
- UDP/TCP connectivity to Ultimate device
- Bandwidth: ~22 Mbps total (21.7 Mbps video + 1.4 Mbps audio, uncompressed streams)
- Built-in UDP jitter compensation via configurable frame buffering
Recording Formats:
- BMP frames: 24-bit uncompressed bitmap images
- AVI video: Uncompressed BGR24 format with precise timing
- WAV audio: 16-bit stereo PCM, sample rate matches C64 Ultimate output
- Session organization: Automatic timestamped folder creation
This project is continuously validated with automated end-to-end (E2E) tests that simulate a C64 Ultimate, drive OBS, and verify the full pipeline from UDP packets to recorded video/audio.
Each test scenario produces a short, self-contained report with packet stats, frame progression information, A/V synch details, as well as the recorded video and a sample frame from that video. Here's an example from the ntsc_default scenario with no effects applied:
Here's another one from the ntsc_green_monitor scenario. You see how the frame progress counter on the bottom left and the central diagonal moving lines both left behind afterglow trails:
Many recent reports (without videos) are checked into this GitHub repository:
You can download all Latest E2E results (with videos) as GitHub CI build artifact ZIP.
For more information, see doc/testing/e2e.md.
See the Developer Documentation for build instructions, testing procedures, and contribution guidelines.
This project is licensed under the GPL v2 License - see the LICENSE file for details.












