From a3c50257560a878a537ab5917aeb9f17d9bc0386 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sat, 25 Apr 2026 21:04:39 -0600 Subject: [PATCH 1/6] Enabled RebuildMLO for Linux --- .github/workflows/create-draft-release.yml | 4 ++-- README.md | 1 - ShinRyuModManager-CE/Program.cs | 4 ---- ShinRyuModManager-CE/ShinRyuModManager-CE.csproj | 2 +- ShinRyuModManager-CE/UserInterface/Assets/changelog.md | 7 ++++++- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index b94cfc3..2a402d5 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -26,7 +26,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@v6 with: - repository: SRMM-Studio/YakuzaParless + repository: TheTrueColonel/YakuzaParless # Migrate to "SRMM-Studio/YakuzaParless" later path: external/parless submodules: recursive @@ -97,7 +97,7 @@ jobs: - name: Create Draft Release id: create_release - uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20 + uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21 with: tag: "v${{ env.PR_TAG }}" name: ${{ env.PR_NAME }} diff --git a/README.md b/README.md index bcdaf0c..ecb42f0 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ Here will be listed the known differences and issues that the port brings. - Opening the CLI version with `Left-CTRL` doesn't work as there's no good way to detect this on all supported platforms. - Console output doesn't currently work on Windows. - MessageBoxes are different. This is strictly because Avalonia [doesn't have native support](https://docs.avaloniaui.net/docs/basics/user-interface/messagebox) yet, but it does look to be planned for the next major release. -- On Linux you must run in CLI mode, or press the "Save mod list" button for the `.mlo` to generate. This is because Parless only searches for the Windows `.exe`. # Credits Original project by [SutandoTsukai181](https://github.com/SutandoTsukai181). diff --git a/ShinRyuModManager-CE/Program.cs b/ShinRyuModManager-CE/Program.cs index a6d5035..e6eda85 100644 --- a/ShinRyuModManager-CE/Program.cs +++ b/ShinRyuModManager-CE/Program.cs @@ -71,10 +71,6 @@ private static void Main(string[] args) { .WriteTo.Async(a => a.File(new JsonFormatter(renderMessage: true), errorLogsPath, rollingInterval: RollingInterval.Day))) .CreateLogger(); - if (!OperatingSystem.IsWindows()) { - IsRebuildMloSupported = false; - } - HandleLoader(); // Check if there are any args, if so, run in CLI mode diff --git a/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj b/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj index 35165b8..ec80cf9 100644 --- a/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj +++ b/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj @@ -14,7 +14,7 @@ true - 1.4.12 + 1.5.0 $(AssemblyVersion) ShinRyuModManager-CE SRMM Studio diff --git a/ShinRyuModManager-CE/UserInterface/Assets/changelog.md b/ShinRyuModManager-CE/UserInterface/Assets/changelog.md index f445c31..bb16653 100644 --- a/ShinRyuModManager-CE/UserInterface/Assets/changelog.md +++ b/ShinRyuModManager-CE/UserInterface/Assets/changelog.md @@ -1,4 +1,9 @@ -> ### **%{color:gold} Version 1.4.12 %** ### +> ### **%{color:gold} Version 1.5.0 %** ### +* Enabled RebuildMLO for Linux users + +--- + +> ### **%{color:orange} Version 1.4.12 %** ### * Fixed bug in Y0 mod upgrader method --- From 7f91b7baa94825e51063db8ce0624209248d5c38 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 26 Apr 2026 09:39:58 -0600 Subject: [PATCH 2/6] Update create-draft-release.yml --- .github/workflows/create-draft-release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 2a402d5..25fd351 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -29,6 +29,16 @@ jobs: repository: TheTrueColonel/YakuzaParless # Migrate to "SRMM-Studio/YakuzaParless" later path: external/parless submodules: recursive + + - name: Verify Submodules + working-directory: external/parless + run: git submodule status --recursive + + - name: Verify Submodule Contents + working-directory: external/parless + run: | + dir source\Utils + dir source\minhook - name: Install Premake 5 uses: abel0b/setup-premake@b80dc6f70e8ab159fb854bdadbeb1a53cfc28723 # v2.4 From 90a5899b2a28d5b03774b60d8ea42d3801336ba0 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 26 Apr 2026 10:59:07 -0600 Subject: [PATCH 3/6] Update create-draft-release.yml - Updated to a maintained version of MSVC CLI action --- .github/workflows/create-draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 25fd351..31de125 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -46,7 +46,7 @@ jobs: version: "5.0.0-beta2" - name: Setup MSVC - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + uses: TheMrMilchmann/setup-msvc-dev@79dac248aac9d0059f86eae9d8b5bfab4e95e97c # v4.0.0 - name: Generate VS Project working-directory: external/parless From 097c5c127421a57b17e431779797c2b862832e3b Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 26 Apr 2026 11:10:31 -0600 Subject: [PATCH 4/6] Disabled RebuildMLO for linux-slim users - Proton makes this tricky, so partial support until a workaround is found --- ShinRyuModManager-CE/Program.cs | 6 ++++++ ShinRyuModManager-CE/ShinRyuModManager-CE.csproj | 4 ++++ ShinRyuModManager-CE/UserInterface/Assets/changelog.md | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ShinRyuModManager-CE/Program.cs b/ShinRyuModManager-CE/Program.cs index e6eda85..6cd194a 100644 --- a/ShinRyuModManager-CE/Program.cs +++ b/ShinRyuModManager-CE/Program.cs @@ -71,6 +71,12 @@ private static void Main(string[] args) { .WriteTo.Async(a => a.File(new JsonFormatter(renderMessage: true), errorLogsPath, rollingInterval: RollingInterval.Day))) .CreateLogger(); +#if LINUX_SLIM + // Slim versions of Linux need to have .NET 10 installed to run and Proton/Wine makes that + // annoying to find to get this working. Temporarily disabled. + RebuildMlo = false; +#endif + HandleLoader(); // Check if there are any args, if so, run in CLI mode diff --git a/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj b/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj index ec80cf9..81899c4 100644 --- a/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj +++ b/ShinRyuModManager-CE/ShinRyuModManager-CE.csproj @@ -33,6 +33,10 @@ embedded + + $(DefineConstants);LINUX_SLIM + + diff --git a/ShinRyuModManager-CE/UserInterface/Assets/changelog.md b/ShinRyuModManager-CE/UserInterface/Assets/changelog.md index bb16653..040c0f5 100644 --- a/ShinRyuModManager-CE/UserInterface/Assets/changelog.md +++ b/ShinRyuModManager-CE/UserInterface/Assets/changelog.md @@ -1,5 +1,6 @@ > ### **%{color:gold} Version 1.5.0 %** ### -* Enabled RebuildMLO for Linux users +* Partial RebuildMLO support for Linux users + * `linux` "non-slim" users only, until a workaround is found for `linux-slim` users --- From fedd97d71752e33e3fa6c7aa09726aa864638080 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 26 Apr 2026 11:13:24 -0600 Subject: [PATCH 5/6] Update create-draft-release.yml --- .github/workflows/create-draft-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 31de125..141ac72 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -47,6 +47,8 @@ jobs: - name: Setup MSVC uses: TheMrMilchmann/setup-msvc-dev@79dac248aac9d0059f86eae9d8b5bfab4e95e97c # v4.0.0 + with: + arch: x64 - name: Generate VS Project working-directory: external/parless From c3c9d33046214a66fb74a15d81943991d1ae30ff Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 26 Apr 2026 11:16:02 -0600 Subject: [PATCH 6/6] Update create-draft-release.yml --- .github/workflows/create-draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 141ac72..c8e2b27 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -92,7 +92,7 @@ jobs: with: path: '${{ runner.temp }}/external' - - name: Download dinput and winmm + - name: Download version.dll run: | curl -L https://github.com/SRMM-Studio/srmm-distrib/raw/refs/heads/main/Native/version.dll -o $RUNNER_TEMP/external/version.dll