From 36715941974ada6bca4f53ac3a09e08fc5d8416c Mon Sep 17 00:00:00 2001 From: David Schulte Date: Wed, 14 Aug 2019 20:55:46 +0200 Subject: [PATCH] Updated build commands --- JavaDecompiler/JavaDecompiler.csproj | 16 +++++++- MinecraftTabPatcher.sln | 32 ++++++++++------ .../MinecraftTabPatcher.csproj | 21 +++++++++- .../Properties/PublishProfiles/win-x64.pubxml | 17 +++++++++ .../Properties/PublishProfiles/win-x86.pubxml | 17 +++++++++ README.md | 38 ++++++++++++------- 6 files changed, 114 insertions(+), 27 deletions(-) create mode 100644 MinecraftTabPatcher/Properties/PublishProfiles/win-x64.pubxml create mode 100644 MinecraftTabPatcher/Properties/PublishProfiles/win-x86.pubxml diff --git a/JavaDecompiler/JavaDecompiler.csproj b/JavaDecompiler/JavaDecompiler.csproj index 5c44a62..e7fa465 100644 --- a/JavaDecompiler/JavaDecompiler.csproj +++ b/JavaDecompiler/JavaDecompiler.csproj @@ -1,11 +1,23 @@ - + netcoreapp2.1 + + x64 + win-x64 + x64 + + + + x86 + win-x86 + x86 + + - + diff --git a/MinecraftTabPatcher.sln b/MinecraftTabPatcher.sln index 40788f1..05e64f8 100644 --- a/MinecraftTabPatcher.sln +++ b/MinecraftTabPatcher.sln @@ -3,24 +3,34 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29020.237 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinecraftTabPatcher", "MinecraftTabPatcher\MinecraftTabPatcher.csproj", "{FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MinecraftTabPatcher", "MinecraftTabPatcher\MinecraftTabPatcher.csproj", "{FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JavaDecompiler", "JavaDecompiler\JavaDecompiler.csproj", "{5D26679D-D5C0-406E-B911-769BAAD73FD1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|Any CPU.Build.0 = Release|Any CPU - {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|Any CPU.Build.0 = Release|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|x64.ActiveCfg = Debug|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|x64.Build.0 = Debug|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|x86.ActiveCfg = Debug|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Debug|x86.Build.0 = Debug|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|x64.ActiveCfg = Release|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|x64.Build.0 = Release|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|x86.ActiveCfg = Release|Any CPU + {FFE5EE18-FD80-4F48-BAC5-C63C11016AD1}.Release|x86.Build.0 = Release|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|x64.ActiveCfg = Debug|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|x64.Build.0 = Debug|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|x86.ActiveCfg = Debug|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Debug|x86.Build.0 = Debug|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|x64.ActiveCfg = Release|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|x64.Build.0 = Release|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|x86.ActiveCfg = Release|Any CPU + {5D26679D-D5C0-406E-B911-769BAAD73FD1}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MinecraftTabPatcher/MinecraftTabPatcher.csproj b/MinecraftTabPatcher/MinecraftTabPatcher.csproj index 36b9bf4..9526b96 100644 --- a/MinecraftTabPatcher/MinecraftTabPatcher.csproj +++ b/MinecraftTabPatcher/MinecraftTabPatcher.csproj @@ -1,8 +1,27 @@ - + Exe netcoreapp2.1 + 0.1.1 + David Schulte + + 0.1.1.0 + David Schulte 2019 + https://github.com/Arcus92/MinecraftTabPatcher.git + git + + + + x64 + win-x64 + x64 + + + + x86 + win-x86 + x86 diff --git a/MinecraftTabPatcher/Properties/PublishProfiles/win-x64.pubxml b/MinecraftTabPatcher/Properties/PublishProfiles/win-x64.pubxml new file mode 100644 index 0000000..f759cad --- /dev/null +++ b/MinecraftTabPatcher/Properties/PublishProfiles/win-x64.pubxml @@ -0,0 +1,17 @@ + + + + + FileSystem + Release + x64 + netcoreapp2.1 + bin\x64\Release\netcoreapp2.1\publish\ + win-x64 + false + <_IsPortable>true + true + + \ No newline at end of file diff --git a/MinecraftTabPatcher/Properties/PublishProfiles/win-x86.pubxml b/MinecraftTabPatcher/Properties/PublishProfiles/win-x86.pubxml new file mode 100644 index 0000000..9201ee8 --- /dev/null +++ b/MinecraftTabPatcher/Properties/PublishProfiles/win-x86.pubxml @@ -0,0 +1,17 @@ + + + + + FileSystem + Release + x86 + netcoreapp2.1 + bin\x86\Release\netcoreapp2.1\publish\ + win-x86 + false + <_IsPortable>true + true + + \ No newline at end of file diff --git a/README.md b/README.md index 4c3acb9..78b53a7 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,28 @@ The game will not check your keyboard bindings if there is a system key with hig The tools to create Minecraft 1.13 or 1.14 mods haven't been released yet. I failed to update MCP *(Mod Coder Pack)* by hand. So I created my own patcher to fix the bug in any version of Minecraft. Even in other mods! You can also patch an OptiFine or a Forge version. Try it out! ## How does it work? -* Download and extract the tool. -* Run *MinecraftTabPatcher.exe*. -* Read the instructions carefully and press any key to continue. -* Select the base Minecraft version you want to patch. -* The tool will create a new Minecraft version. Wait. -* Start the Minecraft launcher. -* Create a new profile. -* Choose the new created version and save the profile. -* Now run your new profile in the luncher. -* Bind your inventory to 'tab'. -* Start a world. -* Open and close your inventory by pressing the 'tab' key. It will work. -* Party hard! \ No newline at end of file +1. Download and extract the tool. +2. Run *MinecraftTabPatcher.exe*. +3. Read the instructions carefully and press any key to continue. +4. Select the base Minecraft version you want to patch. +5. The tool will create a new Minecraft version. Wait. +6. Start the Minecraft launcher. +7. Create a new profile. +8. Choose the new created version and save the profile. +9. Now run your new profile in the luncher. +10. Bind your inventory to 'tab'. +11. Start a world. +12. Open and close your inventory by pressing the 'tab' key. It will work! + +## Requirements + +* Minecraft *(obviously)* +* [.NET Core Runtime 2.1](https://dotnet.microsoft.com/download/dotnet-core/2.1) + +## Build from source +* Install [.NET Core SDK 2.1](https://dotnet.microsoft.com/download/dotnet-core/2.1) +* Run ```dotnet restore``` +* Run ```dotnet publish -c Release -r win-x86 --self-contained false``` to build a 32bit app +* Run ```dotnet publish -c Release -r win-x64 --self-contained false``` to build a 64bit app +* Remove ```--self-contained false``` to create a portable app. You won't need the *.NET Core Runtime* anymore but it will generate a much larger app. +