diff --git a/README.md b/README.md index 8577e94..a1d326d 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,12 @@ you will be asked to place your game data along the following paths: ``` You can place game data in these paths before starting the game. Then the game will start immediately. You can also place your game data anywhere in your home directory. The first time you start the game, it will find it itself. +AppImage also contains libraries for the modification of XPLUS. Download: +``` +wget https://archive.org/download/sam-tfe-xplus/SamTFE-XPLUS.tar.xz +wget https://archive.org/download/sam-tse-xplus/SamTSE-XPLUS.tar.xz +``` +And unpack it to the root directory of game resources. After unpacking the archives for the XPLUS mod, simply select this mod in the game menu. Running ------- diff --git a/appimage/patches/0002-AppImage-Engine.cpp.patch b/appimage/patches/0002-AppImage-Engine.cpp.patch index 5484148..3ad3fa8 100644 --- a/appimage/patches/0002-AppImage-Engine.cpp.patch +++ b/appimage/patches/0002-AppImage-Engine.cpp.patch @@ -111,7 +111,13 @@ CPrintF("\n"); --- a/SamTSE/Sources/Engine/Engine.cpp 2024-02-13 13:19:08.215747324 +0300 +++ b/SamTSE/Sources/Engine/Engine.cpp 2024-02-13 13:06:48.202436314 +0300 -@@ -115,6 +115,7 @@ +@@ -110,11 +110,12 @@ + + // MOD info + static CTString sys_strModName = ""; +-static CTString sys_strModExt = ""; ++static CTString sys_strModExt = "MP"; + // Path vars static INDEX sys_iGameBits = 0; ENGINE_API INDEX sys_iSysPath = 0; @@ -220,3 +226,12 @@ #endif CPrintF("\n"); +@@ -932,7 +932,7 @@ + InitStreams(); + // keep mod name in sys cvar + sys_strModName = _strModName; +- sys_strModExt = _strModExt; ++ sys_strModExt = "MP"; + + // checking of crc + #if 0 diff --git a/appimage/patches/0004-AppImage-Stream.patch b/appimage/patches/0004-AppImage-Stream.patch index 40020b8..f5ed580 100755 --- a/appimage/patches/0004-AppImage-Stream.patch +++ b/appimage/patches/0004-AppImage-Stream.patch @@ -67,6 +67,25 @@ // global string with filename of the started application CTFileName _fnmApplicationExe; // global string with user-specific writable directory. +@@ -194,15 +194,16 @@ + } + } + // find eventual extension for the mod's dlls +- _strModExt = ""; ++ _strModExt = "MP"; + // DG: apparently both ModEXT.txt and ModExt.txt exist in the wild. ++/* + CTFileName tmp; + if(ExpandFilePath(EFP_READ, CTString("ModEXT.txt"), tmp) != EFP_NONE) { + LoadStringVar(CTString("ModEXT.txt"), _strModExt); + } else { + LoadStringVar(CTString("ModExt.txt"), _strModExt); + } +- ++*/ + + CPrintF(TRANSV("Loading group files...\n")); + @@ -220,6 +222,16 @@ } delete files;