Raidriar796 / yt-dlp-Updater

A ResoniteModLoader mod for Resonite that runs the built in update function for yt-dlp on startup, includes option to change the update branch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yt-dlp Updater

A ResoniteModLoader mod for Resonite that runs the built in update function for yt-dlp on startup, includes option to change the update branch.

Only Windows and Linux with Proton is supported, Native Linux support is planned.

Requirements

Installation

  1. Install ResoniteModLoader.
  2. Place ytdlpUpdater.dll into your rml_mods folder. This folder should be at C:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_mods for a default install. You can create it if it's missing, or if you launch the game once with ResoniteModLoader installed it will create the folder for you.
  3. Start the game. If you want to verify that the mod is working you can check your Resonite logs.

How does it work?

Resonite comes bundled with yt-dlp in the RuntimeTools folder, this .exe is instantiated everytime a video link is pasted into Resonite so the video can be streamed through Resonite.

yt-dlp has a built in update function and because it's installed as a standalone .exe, it can be called upon with the update arguments. In the case of this mod, the update function is ran when the engine starts and when the config changes.

Since the .exe is instantiated, it can be updated during runtime and you can start using the updated version immediately.

Why does a terminal appear everytime Resonite starts?

yt-dlp has an embedded python runtime which always opens a terminal when called upon through this mod. A modified version of yt-dlp would be needed to not have a terminal open.

About

A ResoniteModLoader mod for Resonite that runs the built in update function for yt-dlp on startup, includes option to change the update branch.

License:MIT License


Languages

Language:C# 100.0%