Skip to content

Commit 6bdb892

Browse files
author
Burnt-o
committed
h3 release cand
1 parent 8e0150f commit 6bdb892

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

WpfApp3/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:WpfApp3"
77
mc:Ignorable="d"
8-
Title="Halo Checkpoint Manager 0.9.1" Height="593" Width="820"
8+
Title="Halo Checkpoint Manager 0.9.2" Height="593" Width="820"
99
MinHeight="593" MinWidth="555" Loaded="Window_Loaded">
1010

1111

WpfApp3/MainWindow.xaml.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private class HCMConfig
113113

114114
private static class HCMGlobal
115115
{
116-
public static readonly string HCMversion = "0.9.1";
116+
public static readonly string HCMversion = "0.9.2";
117117

118118
public static readonly string LocalDir = System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName);
119119
public static readonly string H1CoreSavePath = LocalDir + @"\saves\h1cs";
@@ -1329,7 +1329,7 @@ private void RefreshLoa(object sender, RoutedEventArgs e)
13291329
}
13301330
//tickcount
13311331
buffer = new byte[4];
1332-
if (ReadProcessMemory(HCMGlobal.GlobalProcessHandle, FindPointerAddy(HCMGlobal.GlobalProcessHandle, HCMGlobal.BaseAddress, addy) + 0x2546C, buffer, buffer.Length, out bytesWritten))
1332+
if (ReadProcessMemory(HCMGlobal.GlobalProcessHandle, FindPointerAddy(HCMGlobal.GlobalProcessHandle, HCMGlobal.BaseAddress, addy) + 0x3E0220, buffer, buffer.Length, out bytesWritten))
13331333
{
13341334
data.StartTick = BitConverter.ToUInt32(buffer, 0);
13351335
}
@@ -1581,13 +1581,14 @@ private void RefreshSel(object sender, RoutedEventArgs e)
15811581

15821582
if (File.Exists(pathtotest))
15831583
{
1584-
var data = GetSaveFileMetadata(pathtotest, HaloGame.Halo2);
1584+
var data = GetSaveFileMetadata(pathtotest, HaloGame.Halo3);
15851585
H3CP_Sel_LevelName.Text = LevelCodeToFullName(data.LevelCode, HaloGame.Halo3);
15861586

15871587
if (data.Difficulty != Difficulty.Invalid)
15881588
H3CP_Sel_DiffName.Source = new BitmapImage(new Uri($"images/H3/diff_{(int)data.Difficulty}.png", UriKind.Relative));
15891589

15901590
H3CP_Sel_Time.Text = TickToTimeString(data.StartTick, true);
1591+
Debug("AHHH" + TickToTimeString(data.StartTick, true));
15911592
H3CP_Sel_FileName.Text = s;
15921593

15931594
if (LevelCodeToGameType(data.LevelCode))
@@ -1814,7 +1815,7 @@ private HaloSaveFileMetadata GetSaveFileMetadata(string saveFilePath, HaloGame g
18141815
break;
18151816
case HaloGame.Halo3:
18161817
offsetLevelCode = 28;
1817-
offsetStartTick = 0x2546C;
1818+
offsetStartTick = 0x3E0220;
18181819
offsetDifficulty = 0x274;
18191820
offsetSeed = 0;
18201821
break;

WpfApp3/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("0.9.1.0")]
55-
[assembly: AssemblyFileVersion("0.9.1.0")]
54+
[assembly: AssemblyVersion("0.9.2.0")]
55+
[assembly: AssemblyFileVersion("0.9.2.0")]

0 commit comments

Comments
 (0)