From 685bdad5ab9156e104a1a671878d604e00a4cca3 Mon Sep 17 00:00:00 2001 From: DavidoTek <54072917+DavidoTek@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:35:26 +0100 Subject: [PATCH] Add RTSP Proton CtMod (#470) * Add RTSP Proton CtMod * Gate RTSP Proton ctmod behind Advanced Mode We do this for NorthStar Proton, probably makes sense Helps declutter the dropdown too. --------- Co-authored-by: Eamonn Rea --- .../resources/ctmods/ctmod_rtspgeproton.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pupgui2/resources/ctmods/ctmod_rtspgeproton.py diff --git a/pupgui2/resources/ctmods/ctmod_rtspgeproton.py b/pupgui2/resources/ctmods/ctmod_rtspgeproton.py new file mode 100644 index 00000000..04d0299a --- /dev/null +++ b/pupgui2/resources/ctmods/ctmod_rtspgeproton.py @@ -0,0 +1,23 @@ +# pupgui2 compatibility tools module +# Roberta +# Copyright (C) 2021 DavidoTek, partially based on AUNaseef's protonup + +from PySide6.QtCore import QCoreApplication + +from pupgui2.resources.ctmods.ctmod_00protonge import CtInstaller as GEProtonInstaller + + +CT_NAME = 'RTSP Proton' +CT_LAUNCHERS = ['steam', 'advmode'] +CT_DESCRIPTION = {'en': QCoreApplication.instance().translate('ctmod_rtspgeproton', '''Fork of GE-Proton with enhanced Windows Media Foundation support.''')} + + +class CtInstaller(GEProtonInstaller): + + BUFFER_SIZE = 4096 + CT_URL = 'https://api.github.com/repos/SpookySkeletons/proton-ge-rtsp/releases' + CT_INFO_URL = 'https://github.com/SpookySkeletons/proton-ge-rtsp/releases/tag/' + + def __init__(self, main_window = None): + super().__init__(main_window) +