Skip to content

Commit

Permalink
Added support for v1.30 DBFZ Costume Patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
TekkaGB committed Mar 1, 2022
1 parent 80e7841 commit 8a5fc57
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Binary file added Unverum/Resources/v1.30_Patch.xdelta
Binary file not shown.
13 changes: 12 additions & 1 deletion Unverum/Setup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,19 @@ public static bool CheckCostumePatch(string exe)
else
Global.logger.WriteLine($"Costume patch already applied to {exe}.", LoggerType.Info);
return true;
// Unpatched 1.30 exe
case "5762fbde79ae9d1682b725442e121f1c":
// Patched 1.30 exe
if (!checksum.Equals("d21dbaa08aba836a799254b4125967a9", StringComparison.InvariantCultureIgnoreCase))
{
File.Copy(originalExe, exe, true);
PatchExe(exe, "v1.30_Patch");
}
else
Global.logger.WriteLine($"Costume patch already applied to {exe}.", LoggerType.Info);
return true;
default:
Global.logger.WriteLine($"{exe} wasn't patched since it's not v1.27/v1.28/v1.29", LoggerType.Warning);
Global.logger.WriteLine($"{exe} wasn't patched since it's not v1.27/v1.28/v1.29/v1.30", LoggerType.Warning);
return false;
}
}
Expand Down
4 changes: 3 additions & 1 deletion Unverum/Unverum.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWPF>true</UseWPF>
<ApplicationIcon>Assets\unverum.ico</ApplicationIcon>
<AssemblyName>Unverum</AssemblyName>
<AssemblyVersion>1.6.2.0</AssemblyVersion>
<AssemblyVersion>1.6.3.0</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -34,6 +34,7 @@
<None Remove="Resources\REDGame.uexp" />
<None Remove="Resources\v1.28_Patch.xdelta" />
<None Remove="Resources\v1.29_Patch.xdelta" />
<None Remove="Resources\v1.30_Patch.xdelta" />
</ItemGroup>

<ItemGroup>
Expand All @@ -43,6 +44,7 @@
<EmbeddedResource Include="Resources\JUMP_FORCE.exe" />
<EmbeddedResource Include="Resources\v1.28_Patch.xdelta" />
<EmbeddedResource Include="Resources\v1.29_Patch.xdelta" />
<EmbeddedResource Include="Resources\v1.30_Patch.xdelta" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 8a5fc57

Please sign in to comment.