diff --git a/README.md b/README.md index ed02e88..f7f6320 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Patches games memory while running, does not modify any game files. Wrks with ev * automatically patch game on startup * seamlessly switch between windowed, borderless and borderless fullscreen * hotkey for patching while in (borderless) window mode +* log and display hidden counters such as deaths/kill count ## Usage diff --git a/SekiroFpsUnlockAndMore/GameData.cs b/SekiroFpsUnlockAndMore/GameData.cs index d08115c..c15a383 100644 --- a/SekiroFpsUnlockAndMore/GameData.cs +++ b/SekiroFpsUnlockAndMore/GameData.cs @@ -183,6 +183,14 @@ namespace SekiroFpsUnlockAndMore internal const int PATTERN_TIMESCALE_POINTER2_OFFSET = 0x88; internal const int PATTERN_TIMESCALE_POINTER3_OFFSET = 0x1FF8; internal const int PATTERN_TIMESCALE_POINTER4_OFFSET = 0x28; - internal const int PATTERN_TIMESCALE_POINTER5_OFFSET = 0xD00; - } + internal const int PATTERN_TIMESCALE_POINTER5_OFFSET = 0xD00; + + // game stat values by Me_TheCat + internal const string PATTERN_PLAYER_DEATHS = "8B 88 90 00 00 00 89 8B FC 00 00 00 48 8B"; + internal const string PATTERN_PLAYER_DEATHS_MASK = "xxxxxxxxx???xx"; + + internal const string PATTERN_TOTAL_KILLS = "48 8D 0D 00 00 00 00 89 14 81 C3"; + internal const string PATTERN_TOTAL_KILLS_MASK = "xxx????xxxx"; + internal const int PATTERN_TOTAL_KILLS_OFFSET = 7; + } } diff --git a/SekiroFpsUnlockAndMore/MainWindow.xaml b/SekiroFpsUnlockAndMore/MainWindow.xaml index 6b6ed6a..8197759 100644 --- a/SekiroFpsUnlockAndMore/MainWindow.xaml +++ b/SekiroFpsUnlockAndMore/MainWindow.xaml @@ -7,81 +7,111 @@ mc:Ignorable="d" Title="Sekiro FPS Unlocker and more v1.1.0" Width="Auto" Height="Auto" SizeToContent="WidthAndHeight" ResizeMode="CanMinimize" Loaded="Window_Loaded" Closing="Window_Closing"> - - - - - - - - - - - - - - - - - - - - - - - -