Skip to content

Commit

Permalink
Added support for Steam 463.1 and version bump
Browse files Browse the repository at this point in the history
Thanks tduva!
  • Loading branch information
zoton2 committed Sep 17, 2015
1 parent e6074b5 commit 43320c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions LiveSplit.GTAV64/GameMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ private enum ExpectedDllSizes
RGSC3722 = 70718464,
RGSC3934 = 70944768,
Steam3934 = 71725056,
RGSC4631 = 70275072
RGSC4631 = 70275072,
Steam4631 = 70901760
}

public GameMemory()
Expand Down Expand Up @@ -150,9 +151,12 @@ Process GetGameProcess()
else if (game.MainModule.ModuleMemorySize == (int)ExpectedDllSizes.RGSC4631)
_isLoadingPtr = new DeepPointer(0x21D3DB0);

else if (game.MainModule.ModuleMemorySize == (int)ExpectedDllSizes.Steam4631)
_isLoadingPtr = new DeepPointer(0x21D7010);

else
{
MessageBox.Show("Unexpected game version. Steam 393.4 or RGSC 463.1/393.4/372.2 is currently required.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("Unexpected game version. Steam 463.1/393.4 or RGSC 463.1/393.4/372.2 is currently required.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
_ignorePIDs.Add(game.Id);
return null;
}
Expand Down
4 changes: 2 additions & 2 deletions LiveSplit.GTAV64/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.2.0.0")]
[assembly: AssemblyFileVersion("0.2.0.0")]
[assembly: AssemblyVersion("0.2.1.0")]
[assembly: AssemblyFileVersion("0.2.1.0")]

0 comments on commit 43320c5

Please sign in to comment.