From 391b9f13cff5937426353bb0bba8c39ca67c1d64 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Sun, 5 Apr 2026 02:30:19 -0500 Subject: Replace winetricks dependency setup with native implementations Direct DLL extraction and installer execution instead of shelling out to winetricks for all prefix dependencies. Fixes d3dcompiler_47 being sourced from wrong SDK cabs (broke CommunityShaders), and eliminates the fragile cabextract-in-pressure-vessel PATH issue. - d3dcompiler_47: direct download from Mozilla fxc2 repo - d3dcompiler_43, d3dx9, d3dx11_43: cabextract from DirectX June 2010 redist with correct system32/syswow64 mapping - xact/xact_x64: cab extraction + batched regsvr32 registration - vcrun2022: direct installer with msvcp140.dll workaround (Wine #57518) - dotnet6/7/8, dotnetdesktop6: direct x86+x64 installer pairs - Game detection: batched into single .reg file import - All DLL overrides added to WINE_SETTINGS_REG - SHA256 verification for downloaded files - Winetricks kept only for win11 mode step Co-Authored-By: Claude Opus 4.6 (1M context) --- libs/basic_games/games/game_darksoulsremastered.py | 22 ++++++++++++++++++++++ libs/plugin_python/src/proxy/proxypython.cpp | 2 -- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 libs/basic_games/games/game_darksoulsremastered.py (limited to 'libs') diff --git a/libs/basic_games/games/game_darksoulsremastered.py b/libs/basic_games/games/game_darksoulsremastered.py new file mode 100644 index 0000000..78ce907 --- /dev/null +++ b/libs/basic_games/games/game_darksoulsremastered.py @@ -0,0 +1,22 @@ +from ..basic_game import BasicGame + + +class DarkSoulsRemasteredGame(BasicGame): + Name = "DarkSoulsRemastered" + Author = "MythicTal" + Version = "0.1.2" + + GameName = "Dark Souls Remastered" + GameShortName = "darksoulsremastered" + GameNexusName = "darksoulsremastered" + GameNexusId = 1720 + GameSteamId = 570940 + GameBinary = "DarkSoulsRemastered.exe" + GameDataPath = "" + GameDocumentsDirectory = "%DOCUMENTS%/NBGI/DarkSoulsRemastered" + GameSavesDirectory = "%DOCUMENTS%/NBGI/DarkSoulsRemastered" + GameSaveExtension = "sl2" + GameSupportURL = ( + r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/" + "Game:-Dark-Souls-Remastered" + ) diff --git a/libs/plugin_python/src/proxy/proxypython.cpp b/libs/plugin_python/src/proxy/proxypython.cpp index 88d8769..0037991 100644 --- a/libs/plugin_python/src/proxy/proxypython.cpp +++ b/libs/plugin_python/src/proxy/proxypython.cpp @@ -293,9 +293,7 @@ QStringList ProxyPython::pluginList(const QDir& pluginPath) const } else if (info.isDir() && QDir(info.absoluteFilePath()).exists("__init__.py")) { // Skip Windows-only directory plugins that use ctypes.windll etc. - // Skip basic_games — replaced by native libbasic_games_native.so. if (baseName == "crashlogtools" || - baseName == "basic_games" || baseName.compare("rootbuilder", Qt::CaseInsensitive) == 0) { continue; } -- cgit v1.3.1