From 26b17113b09a225b3bad37acebed6cb057ce9d3a Mon Sep 17 00:00:00 2001 From: Pyrdacor Date: Thu, 2 Jun 2022 09:03:38 +0200 Subject: [PATCH] Tool release 1.12 --- .../Ambermoon3DMapViewer.csproj | 4 ++-- .../AmbermoonCharEditor.csproj | 2 +- .../AmbermoonDiskExtract.csproj | 4 ++-- .../AmbermoonEditor/AmbermoonEditor.csproj | 5 +++-- .../AmbermoonEventEditor.csproj | 4 ++-- .../AmbermoonItemEditor.csproj | 4 ++-- .../AmbermoonLabdataEditor.csproj | 4 ++-- .../AmbermoonLabdataEditor/Program.cs | 22 ++++++++++++++----- .../AmbermoonMapEditor2D.csproj | 7 +++--- .../AmbermoonMonsterEditor.csproj} | 4 ++-- .../Program.cs | 13 +++++------ .../AmbermoonPack/AmbermoonPack.csproj | 4 ++-- .../AmbermoonTextImport.csproj | 4 ++-- AmbermoonTools/AmbermoonTools.sln | 2 +- AmbermoonTools/README.md | 4 ++-- AmbermoonTools/publish.ps1 | 12 +++++----- AmbermoonTools/publish_local.sh | 9 ++++++++ 17 files changed, 64 insertions(+), 44 deletions(-) rename AmbermoonTools/{AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj => AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj} (95%) rename AmbermoonTools/{AmbermoonMonsterValueChanger => AmbermoonMonsterEditor}/Program.cs (97%) create mode 100644 AmbermoonTools/publish_local.sh diff --git a/AmbermoonTools/Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj b/AmbermoonTools/Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj index 999742e57..47de89314 100644 --- a/AmbermoonTools/Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj +++ b/AmbermoonTools/Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj @@ -3,13 +3,13 @@ Exe net6.0 - 1.0.11 + 1.0.12 Robert Schneckenhaus win-x64;win-x86;linux-x64 - + diff --git a/AmbermoonTools/AmbermoonCharEditor/AmbermoonCharEditor.csproj b/AmbermoonTools/AmbermoonCharEditor/AmbermoonCharEditor.csproj index 167df0142..6541b3216 100644 --- a/AmbermoonTools/AmbermoonCharEditor/AmbermoonCharEditor.csproj +++ b/AmbermoonTools/AmbermoonCharEditor/AmbermoonCharEditor.csproj @@ -21,7 +21,7 @@ - + diff --git a/AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj b/AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj index e9cba7100..9e0024791 100644 --- a/AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj +++ b/AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj @@ -9,13 +9,13 @@ https://github.com/Pyrdacor/Ambermoon Github Ambermoon ADF Extract File Legacy Amiga Disk - 1.0.11 + 1.0.12 win-x64;win-x86;linux-x64 Debug;Release;ReleaseLinux - + diff --git a/AmbermoonTools/AmbermoonEditor/AmbermoonEditor.csproj b/AmbermoonTools/AmbermoonEditor/AmbermoonEditor.csproj index c93271fc8..74de3314f 100644 --- a/AmbermoonTools/AmbermoonEditor/AmbermoonEditor.csproj +++ b/AmbermoonTools/AmbermoonEditor/AmbermoonEditor.csproj @@ -2,7 +2,8 @@ WinExe - netcoreapp3.1 + net6.0-windows + disable true win-x64;win-x86;linux-x64 Debug;Release;ReleaseLinux @@ -10,7 +11,7 @@ - + \ No newline at end of file diff --git a/AmbermoonTools/AmbermoonEventEditor/AmbermoonEventEditor.csproj b/AmbermoonTools/AmbermoonEventEditor/AmbermoonEventEditor.csproj index 60913cd9d..615cb6cc6 100644 --- a/AmbermoonTools/AmbermoonEventEditor/AmbermoonEventEditor.csproj +++ b/AmbermoonTools/AmbermoonEventEditor/AmbermoonEventEditor.csproj @@ -6,7 +6,7 @@ Robert Schneckenhaus Command line tool to edit map or NPC events. win-x64;win-x86;linux-x64 - 1.0.11 + 1.0.12 https://github.com/Pyrdacor/Ambermoon https://github.com/Pyrdacor/Ambermoon Github @@ -16,7 +16,7 @@ - + diff --git a/AmbermoonTools/AmbermoonItemEditor/AmbermoonItemEditor.csproj b/AmbermoonTools/AmbermoonItemEditor/AmbermoonItemEditor.csproj index a60ca81cf..b058ee051 100644 --- a/AmbermoonTools/AmbermoonItemEditor/AmbermoonItemEditor.csproj +++ b/AmbermoonTools/AmbermoonItemEditor/AmbermoonItemEditor.csproj @@ -3,7 +3,7 @@ Exe net6.0 - 1.0.11 + 1.0.12 Robert Schneckenhaus Command line tool to edit, create or delete items. https://github.com/Pyrdacor/Ambermoon @@ -14,7 +14,7 @@ - + diff --git a/AmbermoonTools/AmbermoonLabdataEditor/AmbermoonLabdataEditor.csproj b/AmbermoonTools/AmbermoonLabdataEditor/AmbermoonLabdataEditor.csproj index ab6b88c21..3c7a35e51 100644 --- a/AmbermoonTools/AmbermoonLabdataEditor/AmbermoonLabdataEditor.csproj +++ b/AmbermoonTools/AmbermoonLabdataEditor/AmbermoonLabdataEditor.csproj @@ -5,13 +5,13 @@ net6.0 enable enable - 1.0.11 + 1.0.12 Robert Schneckenhaus win-x64;win-x86;linux-x64 - + diff --git a/AmbermoonTools/AmbermoonLabdataEditor/Program.cs b/AmbermoonTools/AmbermoonLabdataEditor/Program.cs index 437ce8012..cbf3d637c 100644 --- a/AmbermoonTools/AmbermoonLabdataEditor/Program.cs +++ b/AmbermoonTools/AmbermoonLabdataEditor/Program.cs @@ -29,6 +29,16 @@ { ObjectFlags.AllowMovementMonster, "Allow Monster Move" } }; +if (args.Length != 2) +{ + Console.WriteLine("Usage: AmbermoonLabdataEditor "); + Console.WriteLine(); + Console.WriteLine("labdataFilePath: Path to the extracted single labdata file."); + Console.WriteLine("gameDataPath: Path to Ambermoon data (Amberfiles folder)."); + Console.WriteLine(); + return; +} + var gameData = new GameData(GameData.LoadPreference.PreferExtracted, null, false); gameData.Load(args[1]); @@ -170,8 +180,8 @@ void PrintWalls(bool brief) { if (i != 0 && i % 10 == 0) { - Console.WriteLine("Press key to continue"); - Console.ReadKey(); + Console.WriteLine("Press return to continue"); + Console.ReadLine(); } var wall = labdata.Walls[i]; @@ -215,8 +225,8 @@ void PrintObjects(bool brief) { if (i != 0 && i % 10 == 0) { - Console.WriteLine("Press key to continue"); - Console.ReadKey(); + Console.WriteLine("Press return to continue"); + Console.ReadLine(); } var obj = labdata.Objects[i]; @@ -260,8 +270,8 @@ void PrintObjectInfos(bool brief) { if (i != 0 && i % 10 == 0) { - Console.WriteLine("Press key to continue"); - Console.ReadKey(); + Console.WriteLine("Press return to continue"); + Console.ReadLine(); } var objectInfo = labdata.ObjectInfos[i]; diff --git a/AmbermoonTools/AmbermoonMapEditor2D/AmbermoonMapEditor2D.csproj b/AmbermoonTools/AmbermoonMapEditor2D/AmbermoonMapEditor2D.csproj index 6b8057993..3a6b7513a 100644 --- a/AmbermoonTools/AmbermoonMapEditor2D/AmbermoonMapEditor2D.csproj +++ b/AmbermoonTools/AmbermoonMapEditor2D/AmbermoonMapEditor2D.csproj @@ -1,11 +1,12 @@ - + WinExe net6.0-windows + win-x64;win-x86 true Debug;Release;ReleaseLinux - 1.0.11 + 1.0.12 Robert Schneckenhaus @@ -25,7 +26,7 @@ - + diff --git a/AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj b/AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj similarity index 95% rename from AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj rename to AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj index cc1a63d13..c73ad2d7d 100644 --- a/AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj +++ b/AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj @@ -10,12 +10,12 @@ Robert Schneckenhaus Command line tool to show and edit monster values of legacy Ambermoon game data. win-x64;win-x86;linux-x64 - 1.0.11 + 1.0.12 Debug;Release;ReleaseLinux - + diff --git a/AmbermoonTools/AmbermoonMonsterValueChanger/Program.cs b/AmbermoonTools/AmbermoonMonsterEditor/Program.cs similarity index 97% rename from AmbermoonTools/AmbermoonMonsterValueChanger/Program.cs rename to AmbermoonTools/AmbermoonMonsterEditor/Program.cs index 0ed846234..bfb3a1b02 100644 --- a/AmbermoonTools/AmbermoonMonsterValueChanger/Program.cs +++ b/AmbermoonTools/AmbermoonMonsterEditor/Program.cs @@ -7,19 +7,18 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Reflection; -namespace AmbermoonMonsterValueChanger +namespace AmbermoonMonsterEditor { class Program { static void Usage() { - Console.WriteLine("USAGE: AmbermoonMonsterValueChanger --list"); - Console.WriteLine(" AmbermoonMonsterValueChanger "); - Console.WriteLine(" AmbermoonMonsterValueChanger "); - Console.WriteLine(" AmbermoonMonsterValueChanger --all "); - Console.WriteLine(" AmbermoonMonsterValueChanger --all-not-0 "); + Console.WriteLine("USAGE: AmbermoonMonsterEditor --list"); + Console.WriteLine(" AmbermoonMonsterEditor "); + Console.WriteLine(" AmbermoonMonsterEditor "); + Console.WriteLine(" AmbermoonMonsterEditor --all "); + Console.WriteLine(" AmbermoonMonsterEditor --all-not-0 "); Console.WriteLine(); Console.WriteLine("1st version shows all monsters with their id and name."); Console.WriteLine("2nd version shows a value at the given offset with a given size."); diff --git a/AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj b/AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj index 200fe5cea..241d303bf 100644 --- a/AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj +++ b/AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj @@ -10,12 +10,12 @@ Github Ambermoon Packer File Legacy Amiga Compression Encryption win-x64;win-x86;linux-x64 - 1.0.11 + 1.0.12 Debug;Release;ReleaseLinux - + diff --git a/AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj b/AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj index 88c74292d..f56783ccb 100644 --- a/AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj +++ b/AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj @@ -10,12 +10,12 @@ Robert Schneckenhaus Command line tool to export and import texts from/into legacy Ambermoon game data. win-x64;win-x86;linux-x64 - 1.0.11 + 1.0.12 Debug;Release;ReleaseLinux - + diff --git a/AmbermoonTools/AmbermoonTools.sln b/AmbermoonTools/AmbermoonTools.sln index 1cf2e6af9..d283a2212 100644 --- a/AmbermoonTools/AmbermoonTools.sln +++ b/AmbermoonTools/AmbermoonTools.sln @@ -14,7 +14,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AmbermoonEditor", "Ambermoo EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AmbermoonPack", "AmbermoonPack\AmbermoonPack.csproj", "{5A049015-D6F7-4DE9-86E5-1289053DC54B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AmbermoonMonsterValueChanger", "AmbermoonMonsterValueChanger\AmbermoonMonsterValueChanger.csproj", "{A5F2021C-9DFA-4195-A5E0-3E1090D93B38}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AmbermoonMonsterEditor", "AmbermoonMonsterEditor\AmbermoonMonsterEditor.csproj", "{A5F2021C-9DFA-4195-A5E0-3E1090D93B38}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AmbermoonTextImport", "AmbermoonTextImport\AmbermoonTextImport.csproj", "{7F4DC336-1F5E-4701-ABD2-EF18DCACE48F}" EndProject diff --git a/AmbermoonTools/README.md b/AmbermoonTools/README.md index c3c1e9511..acacfae42 100644 --- a/AmbermoonTools/README.md +++ b/AmbermoonTools/README.md @@ -8,7 +8,7 @@ The most recent version can be found here: Version | Windows 64bit | Linux 64bit | Windows 32bit --- | --- | --- | --- -1.0.11 | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.11/AmbermoonTools-Windows.zip) | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.11/AmbermoonTools-Linux.tar.gz) | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.11/AmbermoonTools-Windows32Bit.zip) +1.0.12 | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.12/AmbermoonTools-Windows.zip) | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.12/AmbermoonTools-Linux.tar.gz) | [Download](https://github.com/Pyrdacor/Ambermoon/releases/download/v1.0.12/AmbermoonTools-Windows32Bit.zip) Most tools have a help. Try to run with command line argument `--help` for further information. @@ -24,5 +24,5 @@ If you just want to use the tools, the runtime is enough. But if you want to bui On Linux you may also use `snap install dotnet-sdk`. - After the SDK is installed, navigate to the directory of the desired tool (e.g., `cd AmbermoonTextImport`). -- Run a command such as `dotnet publish -c release -r ubuntu.20.04-x64 --self-contained` (replacing `ubuntu.20.04` with whatever is appropriate for your system). You can find general runtime IDs here: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog. +- Run a command such as `dotnet publish -c release -r ubuntu.20.04-x64 --self-contained -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true` (replacing `ubuntu.20.04` with whatever is appropriate for your system). You can find general runtime IDs here: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog. - The compiled executable will be located inside a folder something like `./bin/release/net6.0/ubuntu.20.04-x64/publish/` diff --git a/AmbermoonTools/publish.ps1 b/AmbermoonTools/publish.ps1 index d016f1aac..85978177d 100644 --- a/AmbermoonTools/publish.ps1 +++ b/AmbermoonTools/publish.ps1 @@ -4,8 +4,8 @@ if ($isWindows) { Write-Host Publish Windows executables dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x86 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --no-self-contained --nologo - dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x86 --no-restore --no-self-contained --nologo - dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --no-self-contained --nologo + dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x86 --no-restore --no-self-contained --nologo + dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x86 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x86 --no-restore --no-self-contained --nologo @@ -21,7 +21,7 @@ if ($isWindows) { Write-Host Pack zip for Windows mkdir dist copy "AmbermoonTools\AmbermoonPack\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonPack.exe" "dist\" - copy "AmbermoonTools\AmbermoonMonsterValueChanger\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonMonsterValueChanger.exe" "dist\" + copy "AmbermoonTools\AmbermoonMonsterEditor\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonMonsterEditor.exe" "dist\" copy "AmbermoonTools\AmbermoonTextImport\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonTextImport.exe" "dist\" copy "AmbermoonTools\AmbermoonDiskExtract\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonDiskExtract.exe" "dist\" copy "AmbermoonTools\AmbermoonEventEditor\bin\Any CPU\Release\net6.0\win-x64\publish\AmbermoonEventEditor.exe" "dist\" @@ -34,7 +34,7 @@ if ($isWindows) { cd .. rm -r dist\*.* copy "AmbermoonTools\AmbermoonPack\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonPack.exe" "dist\" - copy "AmbermoonTools\AmbermoonMonsterValueChanger\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonMonsterValueChanger.exe" "dist\" + copy "AmbermoonTools\AmbermoonMonsterEditor\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonMonsterEditor.exe" "dist\" copy "AmbermoonTools\AmbermoonTextImport\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonTextImport.exe" "dist\" copy "AmbermoonTools\AmbermoonDiskExtract\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonDiskExtract.exe" "dist\" copy "AmbermoonTools\AmbermoonEventEditor\bin\Any CPU\Release\net6.0\win-x86\publish\AmbermoonEventEditor.exe" "dist\" @@ -49,7 +49,7 @@ if ($isWindows) { } else { Write-Host Publish Linux executable dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo - dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterValueChanger/AmbermoonMonsterValueChanger.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo + dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonDiskExtract/AmbermoonDiskExtract.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/AmbermoonEventEditor/AmbermoonEventEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo @@ -58,7 +58,7 @@ if ($isWindows) { dotnet publish -c $env:CONFIGURATION "./AmbermoonTools/Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r linux-x64 --no-restore --no-self-contained --nologo Write-Host Pack tar.gz for Linux 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonPack/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonPack" - 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonMonsterValueChanger/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonMonsterValueChanger" + 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonMonsterEditor/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonMonsterEditor" 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonTextImport/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonTextImport" 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonDiskExtract/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonDiskExtract" 7z a AmbermoonTools-Linux.tar "./AmbermoonTools/AmbermoonEventEditor/bin/Any CPU/ReleaseLinux/net6.0/linux-x64/publish/AmbermoonEventEditor" diff --git a/AmbermoonTools/publish_local.sh b/AmbermoonTools/publish_local.sh new file mode 100644 index 000000000..0d8bcfeb1 --- /dev/null +++ b/AmbermoonTools/publish_local.sh @@ -0,0 +1,9 @@ +dotnet publish -c Release "./AmbermoonEventEditor/AmbermoonEventEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonItemEditor/AmbermoonItemEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonLabdataEditor/AmbermoonLabdataEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonMonsterEditor/AmbermoonMonsterEditor.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonTextImport/AmbermoonTextImport.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonPack/AmbermoonPack.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonMapEditor2D/AmbermoonMapEditor2D.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./AmbermoonDiskExtract/AmbermoonDiskExtract.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo +dotnet publish -c Release "./Ambermoon3DMapViewer/Ambermoon3DMapViewer.csproj" -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --no-restore --self-contained --nologo