Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/create-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,29 @@ 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

- 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
with:
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
with:
arch: x64

- name: Generate VS Project
working-directory: external/parless
Expand Down Expand Up @@ -80,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

Expand All @@ -97,7 +109,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 }}
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
10 changes: 6 additions & 4 deletions ShinRyuModManager-CE/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ 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;
}

#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
Expand Down
6 changes: 5 additions & 1 deletion ShinRyuModManager-CE/ShinRyuModManager-CE.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>

<!-- Versioning -->
<AssemblyVersion>1.4.12</AssemblyVersion>
<AssemblyVersion>1.5.0</AssemblyVersion>
<VersionPrefix>$(AssemblyVersion)</VersionPrefix>
<AssemblyTitle>ShinRyuModManager-CE</AssemblyTitle>
<Company>SRMM Studio</Company>
Expand All @@ -33,6 +33,10 @@
<DebugType>embedded</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(BuildSuffix)' == 'linux-slim'">
<DefineConstants>$(DefineConstants);LINUX_SLIM</DefineConstants>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CpkTools\CpkTools.csproj" />
<ProjectReference Include="..\ParLibrary\ParLibrary.csproj" />
Expand Down
8 changes: 7 additions & 1 deletion ShinRyuModManager-CE/UserInterface/Assets/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
> ### **%{color:gold} Version 1.4.12 %** ###
> ### **%{color:gold} Version 1.5.0 %** ###
* Partial RebuildMLO support for Linux users
* `linux` "non-slim" users only, until a workaround is found for `linux-slim` users

---

> ### **%{color:orange} Version 1.4.12 %** ###
* Fixed bug in Y0 mod upgrader method

---
Expand Down
Loading