This is a work in progress. Nothing is tested. Don't expect it to work yet.
Online multiplayer for Half Sword via viewport streaming. Up to 8 players. Only the host needs the game.
Spawn extra players in-game via UE4SS, capture each player's camera to a render target, encode with NVENC, stream over UDP. Clients send input back as virtual gamepads. No netcode replication — pure video streaming.
Host: Game → SceneCapture2D → GPU readback → NVENC → UDP → Client
Client: UDP → decode → display | input → UDP → Host → virtual gamepad → Game
Everything is scaffolded, nothing is end-to-end tested.
See issues for what needs doing.
MIT