Skip to content

Commit 19aa2a1

Browse files
committed
Update for 2023-06-26 game update.
1 parent 1c43a0f commit 19aa2a1

4 files changed

Lines changed: 25 additions & 13 deletions

File tree

SRTPluginProviderRE8/GameHashes.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public static class GameHashes
5555
// Update 2023
5656
private static readonly byte[] re8WW_2023_1 = new byte[32] { 0x41, 0x1f, 0x98, 0x37, 0xff, 0x66, 0xa5, 0x74, 0xb9, 0x15, 0xb7, 0x24, 0x71, 0xf5, 0x6d, 0x90, 0x0c, 0x89, 0x1d, 0xa9, 0x0c, 0x28, 0xa4, 0xd4, 0x0e, 0xee, 0x6b, 0x7c, 0xf8, 0x5d, 0x99, 0xd8 };
5757

58+
// Update 2023-06-26
59+
private static readonly byte[] re8WW_20230626_1 = new byte[32] { 0x58, 0x67, 0x43, 0x22, 0x37, 0xF0, 0x4C, 0x26, 0x2F, 0xEA, 0xAF, 0x76, 0xDD, 0xE5, 0x7F, 0x50, 0x58, 0x94, 0xFE, 0x3B, 0x29, 0xD2, 0xDF, 0xA8, 0xD8, 0x78, 0xBC, 0xFF, 0x67, 0x09, 0x0C, 0x05 };
60+
5861
public static GameVersion DetectVersion(string filePath)
5962
{
6063
byte[] checksum;
@@ -152,6 +155,12 @@ public static GameVersion DetectVersion(string filePath)
152155
return GameVersion.RE8_WW_2023_1;
153156
}
154157

158+
else if (checksum.SequenceEqual(re8WW_20230626_1))
159+
{
160+
Console.WriteLine("Steam 2023-06-26 Detected.");
161+
return GameVersion.RE8_WW_20230626_1;
162+
}
163+
155164
Console.WriteLine("Unknown Version. If you have installed any third party mods, please uninstall and try again.");
156165
return GameVersion.Unknown;
157166
}

SRTPluginProviderRE8/GameMemoryRE8Scanner.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,15 @@ private void SelectPointerAddresses(int pid)
250250
{
251251
switch (gameVersion)
252252
{
253+
case GameVersion.RE8_WW_20230626_1:
254+
{
255+
pointerInventory = 0x0C4A2690; // app_InventoryManager
256+
pointerPropsManager = 0x0C4A27B8; // app_PropsManager
257+
pointerRankManagerMain = 0x0C4A27D8; // app_RankManager
258+
pointerAddressEnemies = 0x0C4A11B0; // app_MoveManager
259+
break;
260+
}
261+
253262
case GameVersion.RE8_WW_20221201_1:
254263
{
255264
pointerInventory = 0x0C9AF820; // app_InventoryManager

SRTPluginProviderRE8/GameVersion.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@ public enum GameVersion : int
3232
RE8_WW_20221201_1,
3333

3434
RE8_WW_2023_1,
35+
36+
RE8_WW_20230626_1,
3537
}
3638
}

SRTPluginProviderRE8/SRTPluginProviderRE8.csproj

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,21 @@
55
<TargetFramework>net5.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<Platforms>x64</Platforms>
8-
<Authors>VideoGameRoulette / Squirrelies</Authors>
98
<Company>VideoGameRoulette / Squirrelies</Company>
10-
<Copyright>Copyright © 2022 Christopher Couture / Travis J. Gutjahr</Copyright>
9+
<Authors>$(Company)</Authors>
10+
<Copyright>Copyright © 2023 $(Company)</Copyright>
1111
<Product>Resident Evil 8 (2021) Memory Provider Plugin</Product>
1212
<Description>A provider plugin for the SRT Host to provide memory values to other plugins.</Description>
13-
<Version>1.3.2.0</Version>
14-
<FileVersion>1.3.2.0</FileVersion>
13+
<Version>1.3.3.0</Version>
14+
<FileVersion>1.3.3.0</FileVersion>
1515
<AssemblyVersion>3.0.0.0</AssemblyVersion>
1616
<DebugType>embedded</DebugType>
1717
<!-- netcoreapp3.1 had to be hardcoded here because this project reports $(TargetFramework) as netstandard2.0 (rightfully so) and I am not sure how this project's csproj can auto-detect another project's framework version to copy it to the appropriate folder so we're just... hardcoding this. -->
1818
<!--<CopyDestionationPath>$(SolutionDir)..\SRTHost\SRTHost\bin\$(Configuration)\net5.0-windows\win-x64\plugins</CopyDestionationPath>-->
1919
<CopyDestionationPath>$(SolutionDir)..\..\SpeedRunTool\SRTHost\SRTHost\bin\$(Configuration)\net5.0-windows\plugins</CopyDestionationPath>
2020
</PropertyGroup>
2121

22-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
23-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
24-
</PropertyGroup>
25-
26-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
22+
<PropertyGroup>
2723
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2824
</PropertyGroup>
2925

@@ -35,10 +31,6 @@
3531
<Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(CopyDestionationPath)\$(ProjectName)\%(RecursiveDir)" OverwriteReadOnlyFiles="true"></Copy>
3632
</Target>
3733

38-
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(BuildingInsideVisualStudio)' == 'true' And '$(TJGutjahr)' == 'true'">
39-
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe&quot; sign /tr &quot;http://timestamp.digicert.com&quot; /td SHA1 /sha1 &quot;33982512a318ef75eeb82a9db6d637c041a18974&quot; /fd SHA1 &quot;$(TargetDir)\$(ProjectName).dll&quot;&#xD;&#xA;&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe&quot; sign /tr &quot;http://timestamp.digicert.com&quot; /td SHA256 /sha1 &quot;33982512a318ef75eeb82a9db6d637c041a18974&quot; /fd SHA256 /as &quot;$(TargetDir)\$(ProjectName).dll&quot;&#xD;&#xA;&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe&quot; sign /tr &quot;http://timestamp.digicert.com&quot; /td SHA512 /sha1 &quot;33982512a318ef75eeb82a9db6d637c041a18974&quot; /fd SHA512 /as &quot;$(TargetDir)\$(ProjectName).dll&quot;&#xD;&#xA;" />
40-
</Target>
41-
4234
<ItemGroup>
4335
<ProjectReference Include="..\..\..\Squirrelies\ProcessMemory\ProcessMemory\ProcessMemory.csproj" />
4436
<ProjectReference Include="..\..\..\SpeedRunTool\SRTHost\SRTPluginBase\SRTPluginBase.csproj">

0 commit comments

Comments
 (0)