You are viewing a potentially older version of this package. View all versions.
Deja-LethalTV-1.1.0 icon

LethalTV

Host-provided videos on the ship TV, streamed live to everyone and kept in memory only, so nothing is downloaded to disk. Synced for all players. Adds a TV remote with per-player volume.

By Deja
Date uploaded 2 months ago
Version 1.1.0
Download link Deja-LethalTV-1.1.0.zip
Downloads 815
Dependency string Deja-LethalTV-1.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Rune580-LethalCompany_InputUtils-0.7.13 icon
Rune580-LethalCompany_InputUtils

API/Library for creating Unity InputActions with in-game re-binding support. Provides an alternative UI that allows for supporting mods to have in-game re-bindable keybinds.

Preferred version: 0.7.13

README

LethalTV

Play your own videos on the ship TV in place of the vanilla clips.

  • Only the host needs the videos. Everyone needs the mod. The host streams the video live to the other players over the game's own connection. Like live TV, nothing is downloaded or saved to anyone's drive: players only hold the next few seconds in memory.
  • Synced for everyone. The host decides what's on and everyone sees the same video at the same point. It works like live TV: videos keep playing while the TV is off, then move on to the next one.
  • Light on the connection. Each player only receives the video while their TV is on and they're not inside the facility, at about the video's own bitrate. Streams slow down by themselves if they start to cause lag.
  • Vanilla controls still work. Press E on the TV to turn it on or off, like normal.
  • TV remote. Use the keybinds below anywhere in the ship, or within 20 m of the TV:
Key Action
\ Power on/off
[ / ] Previous / next video (synced for everyone)
- / = Your volume down / up (only you hear the change)
' Mute (only you)

To rebind these, go to Settings → Change Keybinds.

Host setup

  1. Put your videos in Videos\LethalTV (for example C:\Users\<you>\Videos\LethalTV). The folder is created the first time you launch with the mod. To use a different folder, set VideoFolder in BepInEx/config/brant.LethalTV.cfg.
  2. Videos must be .mp4, .m4v or .mov. H.264 video with AAC audio works best. Other formats (.mkv, .webm, .avi and so on) are skipped, and the log tells you to convert them. The log also says if a file can't be played.
  3. Host a lobby. Videos play in file name order. Set Shuffle = true to shuffle them instead.

You upload each video once for every player who is watching. For example, a 2 Mbps video with 3 players watching uses about 6 Mbps of your upload. 480p–720p at 1–3 Mbps works well. Files you add while the game is running show up the next time you host.

Config (brant.LethalTV.cfg)

Section Setting Default What it does
Host VideoFolder (Videos\LethalTV) Where your videos are
Host Shuffle false Shuffle the playlist
Host AllowClientControl true Let other players change videos
Host StreamUploadCapKBps 0 Most upload speed used to stream to everyone combined (0 = no cap)
Player Volume / Muted 1.0 / false Your personal TV volume (the remote changes this)
Player VolumeStep 0.1 How much one volume press changes the volume
Player RemoteRange 20 Remote range outside the ship
Player ShowHud true Show the on-screen banner when you use the remote
Player BufferSeconds 10 Seconds of video loaded ahead, in memory only. Raise it if the TV stutters

Notes

  • Everyone needs the same version. 1.1.0 streams instead of downloading, so it doesn't work with players on 1.0.x.
  • Updating from 1.0.x deletes the old download cache (BepInEx/LethalTV/Cache) automatically.
  • If the host has no videos, the TV plays the vanilla clips. The volume remote still works.
  • When you turn the TV on or the video changes, the picture takes a few seconds to appear while the stream loads. Look at the TV to see its status in the tooltip.
  • Videos are decoded with Windows Media Foundation. Linux/Proton hasn't been tested.

AI disclosure

This mod's code was written with Claude Opus 5.5 (Anthropic) using Claude Code.

CHANGELOG

Changelog

1.1.0

  • Videos now stream live from the host instead of downloading.
    • Players only hold a few seconds of video in memory. Nothing is saved to the drive.
    • Players only receive video while their TV is on and they're not inside the facility, so the host uploads much less than before.
    • The picture shows up a few seconds after you turn the TV on, even partway through a video.
  • Everyone (host and players) must update. 1.1.0 doesn't work with 1.0.x.
  • Only .mp4, .m4v and .mov files are supported now. Other formats are skipped, and the log tells you to convert them.
  • The old download cache (BepInEx/LethalTV/Cache) is deleted automatically.
  • Config changes:
    • New: StreamUploadCapKBps (host, default no cap) and BufferSeconds (player, default 10).
    • Removed: UploadLimitKBps, UploadLimitDuringRoundKBps, DownloadWholePlaylist, MaxCacheMB and MaxVideoMB.
  • Added an AI disclosure to the README.

1.0.1

  • Fixed lag and delayed voice chat while videos are being sent to other players.
    • Transfers now slow down by themselves as soon as they start adding delay to the connection.
    • Removed the Steam networking changes that let large amounts of video data queue up.
    • The default upload limit is now 512 KB/s in orbit and 160 KB/s while landed. These replace the old MaxUploadKBps setting.
  • Players now download only the current and next video by default. Set DownloadWholePlaylist to download everything.
  • Works with players still on 1.0.0. Only the host needs 1.0.1 for the lag fix.

1.0.0

  • First release.
  • The host's own videos play on the ship TV in place of the vanilla clips.
  • Players without a video download it from the host automatically. Downloads are checked and cached.
  • Playback is synced: everyone sees the same video at the same point.
  • New TV remote keybinds: power, next/previous video, and per-player volume and mute.