From d6d1c072e3976078bae4b34a9515b1d0d655ba87 Mon Sep 17 00:00:00 2001 From: SubZeroPL Date: Mon, 29 Dec 2025 22:05:29 +0100 Subject: [PATCH 1/4] fix: small fix for readme file loading --- Classes/Functions.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Classes/Functions.cs b/Classes/Functions.cs index ed3298c..06a5ba7 100644 --- a/Classes/Functions.cs +++ b/Classes/Functions.cs @@ -83,7 +83,6 @@ public static void LoadExistingData(Game game, Configuration configuration, stri if (!LoadTitleFromReadme(readmePath, game)) { Logger.Error($"Failed to load title from {readmePath}"); - throw new ProcessingException($"Failed to load title from {readmePath}. Readme file is malformed"); } } From 4bd99529de8d686f9eaeed33d05999a0ed619d2c Mon Sep 17 00:00:00 2001 From: SubZeroPL Date: Mon, 29 Dec 2025 22:06:16 +0100 Subject: [PATCH 2/4] fix: updated MessageBox parameters --- Windows/MainWindow.axaml.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Windows/MainWindow.axaml.cs b/Windows/MainWindow.axaml.cs index f18b876..aadb72e 100644 --- a/Windows/MainWindow.axaml.cs +++ b/Windows/MainWindow.axaml.cs @@ -130,7 +130,7 @@ private void AddGame(string imagePath) { MessageBoxManager.GetMessageBoxStandard("Error", $"Failed to add game to list from {imagePath}{Environment.NewLine}Id not present in image", - ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, WindowStartupLocation.CenterOwner) + ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, null, WindowStartupLocation.CenterOwner) .ShowWindowDialogAsync(this); return; } @@ -172,7 +172,7 @@ private void AddFolderButton_OnClick(object? sender, RoutedEventArgs e) { MessageBoxManager.GetMessageBoxStandard("Error", string.Join(Environment.NewLine, errors), - ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, WindowStartupLocation.CenterOwner) + ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, null, WindowStartupLocation.CenterOwner) .ShowWindowDialogAsync(this); } }); @@ -228,7 +228,7 @@ private void StartProcessingButton_OnClick(object? sender, RoutedEventArgs e) if (string.IsNullOrWhiteSpace(TextBoxOutputDirectory.Text)) { MessageBoxManager.GetMessageBoxStandard("Error", "Please provide a valid output directory", - ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, WindowStartupLocation.CenterOwner) + ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Error, null, WindowStartupLocation.CenterOwner) .ShowWindowDialogAsync(this).GetAwaiter().GetResult(); return; } @@ -236,7 +236,8 @@ private void StartProcessingButton_OnClick(object? sender, RoutedEventArgs e) if (GameList.ToList().Count == 0) { MessageBoxManager.GetMessageBoxStandard("Error", "Please provide at least one game", ButtonEnum.Ok, - MsBox.Avalonia.Enums.Icon.Error, WindowStartupLocation.CenterOwner).ShowWindowDialogAsync(this) + MsBox.Avalonia.Enums.Icon.Error, null, WindowStartupLocation.CenterOwner) + .ShowWindowDialogAsync(this) .GetAwaiter().GetResult(); return; } @@ -249,7 +250,7 @@ private void StartProcessingButton_OnClick(object? sender, RoutedEventArgs e) { progress.Close(); MessageBoxManager.GetMessageBoxStandard("Processing finished", "Processing finished", - ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Success, WindowStartupLocation.CenterOwner) + ButtonEnum.Ok, MsBox.Avalonia.Enums.Icon.Success, null, WindowStartupLocation.CenterOwner) .ShowWindowDialogAsync(this); DataGridGameList.CollectionView.Refresh(); }); @@ -257,7 +258,9 @@ private void StartProcessingButton_OnClick(object? sender, RoutedEventArgs e) catch (Exception ex) { MessageBoxManager.GetMessageBoxStandard(progress.Title ?? "Error", ex.Message, ButtonEnum.Ok, - MsBox.Avalonia.Enums.Icon.Error).ShowWindowDialogAsync(this).GetAwaiter().GetResult(); + MsBox.Avalonia.Enums.Icon.Error, null, WindowStartupLocation.CenterOwner) + .ShowWindowDialogAsync(this) + .GetAwaiter().GetResult(); } } From aab75aa326f0f4eba065fb325479a3aae2da2ccb Mon Sep 17 00:00:00 2001 From: SubZeroPL Date: Mon, 29 Dec 2025 22:07:28 +0100 Subject: [PATCH 3/4] docs: updated README.md - NET 10 requirement - typos/grammar - ISO handling --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1177e5f..46d8c0b 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ It is a piece of software that assists in creating entries for [Arkadyzja savestates repository](https://github.com/ActionPL/duckstation_openbios_savestates). It allows creating and editing README files for games that will have savestates uploaded to the repository. Those savestates will then be available for [Arkadyzja](https://arkadyzja.honmaru.pl/). ## ⚠️ Requirements -For the application to work, [.NET Framework 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) is required. +For the application to work, [.NET Framework 10](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) is required. -Application is developed and tested on Windows 11 OS. It should also work on Linux/Mac hovewer it was not tested (extensively) on those platforms (only a bit on Linux and not at all on Mac) and currently only Win and Linux builds are released (see below). +Application is developed and tested on Windows 11 OS. It should also work on Linux/Mac, however, it was not tested (extensively) on those platforms (only a bit on Linux and not at all on Mac), and currently only Win and Linux builds are released (see below). ## 📦 Releases Each release starting with 1.4.0 has four variants: @@ -16,10 +16,10 @@ Each release starting with 1.4.0 has four variants: _**Linux releases are highly experimental, use at your own risk!**_ -The application has some basic new version check implemented. When it detects that new version is available, this button will be shown:\ +The application has some basic new version checks implemented. When it detects that a new version is available, this button will be shown:\ ![New version button](.github/assets/new_ver.png "New version button") -Clicking it will open default browser on the latest release page. +Clicking it will open the default browser on the latest release page. ## 🪧 Usage [![Last Release](https://img.shields.io/github/v/release/SubZeroPL/AssM?logo=github&label=latest)](https://github.com/SubZeroPL/AssM/releases) @@ -30,23 +30,22 @@ Clicking it will open default browser on the latest release page. ![Application main window](.github/assets/app.png "Application main window") First, you should select the Output directory, where the created README files will be stored. The files are created in a specific directory structure: `OutputPath\Platform\GameID`.\ -The output directory is saved between sessions, so when you start the application next time it will be automatically read and existing entries inserted into the table.\ +The output directory is saved between sessions, so when you start the application next time, it will be automatically read and existing entries inserted into the table.\ **You should not modify existing directory structure if you plan to use the output directory again later!** The fields `Title` and `Description` can be freely edited, the changes are reflected immediately in the table. -Then you can use `Add` and `Add folder` buttons to add more source `.cue` files +Then you can use `Add` and `Add folder` buttons to add more source `.cue/.iso` files When you click `Start processing` the application will go through the list and perform required operations according to the configuration. ## ⚙️ Configuration ![Configuration options](.github/assets/config.png "Configuration options") -- Get game title from CUE file name - by default, game name is extracted from cue/bin image; this option uses CUE file name instead +- Get game title from CUE/ISO file name - by default, game name is extracted from the image; this option uses CUE/ISO file name instead - Use Game ID as the name for CHD file – by default, game title (as set by a previous option) is used for CHD file name; this option uses Game ID instead Other configuration options should be self-explanatory. ## 📝 TODO -- some nice icon - [you tell me](https://github.com/SubZeroPL/AssM/issues) ## 🔗 Dependencies From 07c6e780a8807e4128124e6197f25a2b4f251bd0 Mon Sep 17 00:00:00 2001 From: SubZeroPL Date: Mon, 29 Dec 2025 22:08:41 +0100 Subject: [PATCH 4/4] ci: update to NET 10 - NET version updated to 10 - dependencies updated - application version updated to 1.8.0 --- .github/workflows/new_version.yml | 2 +- AssM.csproj | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/new_version.yml b/.github/workflows/new_version.yml index 0daf62d..1243980 100644 --- a/.github/workflows/new_version.yml +++ b/.github/workflows/new_version.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Get version id: get_version run: echo "version=$((Select-Xml -Path .\$( $env:PROJECT_NAME ).csproj -XPath '/Project/PropertyGroup/AssemblyVersion').Node.InnerXML)" >> $env:GITHUB_OUTPUT diff --git a/AssM.csproj b/AssM.csproj index a260186..b168283 100644 --- a/AssM.csproj +++ b/AssM.csproj @@ -1,33 +1,35 @@  WinExe - net8.0 + net10.0 enable true app.manifest - 1.7.1 + 1.8.0 SubZeroPL https://github.com/SubZeroPL/AssM - 1.7.1 - 1.7.1 + 1.8.0 + 1.8.0 AssM https://github.com/SubZeroPL/AssM/blob/master/LICENSE https://github.com/SubZeroPL/AssM/ Assets\assm.ico + 14 + Assets\assm.png - - - - - + + + + + - + - - + +