From 78fa5d643d6637c1f607045ad2c4199aee02bc2e Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sat, 22 Jun 2024 05:53:30 +0100 Subject: [PATCH 1/2] Add RTSP Proton CtMod --- .../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..fc42fe1c --- /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'] +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) + From fa9e63c67eab838cb6cc8d2ad49a849ae344b0ff Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Thu, 24 Oct 2024 22:30:10 +0100 Subject: [PATCH 2/2] Gate RTSP Proton ctmod behind Advanced Mode We do this for NorthStar Proton, probably makes sense Helps declutter the dropdown too. --- pupgui2/resources/ctmods/ctmod_rtspgeproton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupgui2/resources/ctmods/ctmod_rtspgeproton.py b/pupgui2/resources/ctmods/ctmod_rtspgeproton.py index fc42fe1c..04d0299a 100644 --- a/pupgui2/resources/ctmods/ctmod_rtspgeproton.py +++ b/pupgui2/resources/ctmods/ctmod_rtspgeproton.py @@ -8,7 +8,7 @@ CT_NAME = 'RTSP Proton' -CT_LAUNCHERS = ['steam'] +CT_LAUNCHERS = ['steam', 'advmode'] CT_DESCRIPTION = {'en': QCoreApplication.instance().translate('ctmod_rtspgeproton', '''Fork of GE-Proton with enhanced Windows Media Foundation support.''')}