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 the Windows graphical cilent is supported, including Wine/Proton.
- ResoniteModLoader 2.5.0 or later
- ResoniteModSettings for changing update branch in Resonite
- Install ResoniteModLoader.
- Place ytdlpUpdater.dll into your
rml_mods
folder. This folder should be atC:\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. - Start the game. If you want to verify that the mod is working you can check your Resonite logs.
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.
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.
The mod currently has no mechanism to rollback to the version released with Resonite, as it's periodically updated and I'd rather avoid hard coding a specific version of yt-dlp into the mod. There's 2 ways you can manually downgrade:
- Change the "Custom update version" to the specific version that's released with Resonite at the time
- Delete the yt-dlp.exe and validate files with Steam.
This mod is updating yt-dlp in a way that likely would not be implemented officially. Beyond just issues with implementation, this also sets up Resonite with an additional update mechanism that's outside of Resonite's control and as such can lead to issues with education/business use cases or introduce unforeseen bugs/breakage.
This mod is intended for people who'd like to have potentially better video compatibility at the risk of introducing new issues.