OPL Nova Game Stream Server
A high-performance standalone Ethernet game streaming server written in Vlang for OPL Nova.
Features
- Custom Binary Protocol (NSP v1): Fixed 16-byte framing, low latency, low CPU overhead.
- Dynamic Game Discovery: Automatically scans directories for
.isoand.zsoPlayStation 2 images, parsingSYSTEM.CNFfrom ISO 9660 volume descriptors. - Full Random Access & Seeking: Supports arbitrary 64-bit byte-range reads for single-layer and dual-layer (DVD-9) games.
- Zero Path Traversal: Client communicates purely via integer IDs (
game_id,handle). Arbitrary filesystem path requests are impossible. - Multi-Client Concurrency: Supports multiple PS2 consoles streaming simultaneously with isolated session contexts.
- Zero Samba/SMB Dependencies: Self-contained native binary with no SMB/CIFS dependencies.
Building
Requirements
- V compiler (v0.4 or later)
- C compiler (
clangorgcc)
Compile Server
v -o opl-nova-server server/src
Compile Test Client
v -o opl-nova-client server/cmd/client
Running the Server
Basic Usage
./opl-nova-server --games /path/to/ps2/games --port 12345
Command-Line Options
Options:
-g, --games <string> Path to directory containing PS2 ISO/ZSO game images (default "./games")
-h, --host <string> Listening IP address (default: 0.0.0.0)
-p, --port <int> Listening TCP port (default: 12345)
-l, --log-level <string> Logging level (debug, info, warn, error)
-h, --help Display help and exit
--version Output version information and exit
Running Automated Tests
v test server/src