From e11cfb1d63bd83bc0d3c33a5ccb34ab87ac8da36 Mon Sep 17 00:00:00 2001 From: Piotr Krupa Date: Thu, 12 Sep 2024 19:47:29 +0200 Subject: [PATCH] 2.0.7 Fix for ETS2/ATS 1.51 --- CMakeLists.txt | 2 +- deploy/installer/hry-sic.iss | 2 +- src/Hooks/CameraHook.cpp | 4 ++-- src/SIC.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d734f7..4ce0a8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ add_subdirectory(vendor) use_static_linking() -project(hry-sic VERSION 2.0.6) +project(hry-sic VERSION 2.0.7) file(GLOB_RECURSE hry-sic-src src/*.cpp src/*.hpp) add_library(hry-sic SHARED ${hry-sic-src}) diff --git a/deploy/installer/hry-sic.iss b/deploy/installer/hry-sic.iss index 3a2c1a4..67a1244 100644 --- a/deploy/installer/hry-sic.iss +++ b/deploy/installer/hry-sic.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Smooth Interior Camera" -#define MyAppVersion "2.0.6" +#define MyAppVersion "2.0.7" #define MyAppPublisher "Piotr Krupa" #define MyAppURL "https://hary309.github.io/projects/hry-plugins/hry-sic" diff --git a/src/Hooks/CameraHook.cpp b/src/Hooks/CameraHook.cpp index beef087..16e83c1 100644 --- a/src/Hooks/CameraHook.cpp +++ b/src/Hooks/CameraHook.cpp @@ -37,8 +37,8 @@ bool CameraHook::Install() hry::pattern functionPattern( std::string_view("48 83 ? ? 48 8B ? 45 32 ? 48 8B ? ? ? ? ? 48 ? ? 74")); hry::pattern dataFieldsPattern( - std::string_view("F3 0F 10 ? ? ? 00 00 F3 0F 10 ? ? ? 00 00 83 F8 01 75 ? F3 0F 11 ? ? " - "? 00 00 F3 0F 11 ? ? ? 00 00 89 9F ? ? 00 00 E9 ? ? 00 00")); + std::string_view("F3 0F 10 ? ? ? 00 00 F3 0F 10 ? ? ? 00 00 83 F8 01 75 ? F3 0F 11 ? ? ? 00 00 F3 0F 11 ? ? ? 00 00")); + SIC::Logger->info("Searching for pattern..."); diff --git a/src/SIC.cpp b/src/SIC.cpp index 7898a18..1c6ee22 100644 --- a/src/SIC.cpp +++ b/src/SIC.cpp @@ -218,7 +218,7 @@ void SIC::fillPluginInfo() _pluginInfo.fullName = "Smooth Interior Camera"; _pluginInfo.authorInfo = { "Piotr Krupa", "piotrkrupa06@gmail.com" }; _pluginInfo.website = "https://hary309.github.io/projects/hry-plugins/hry-sic"; - _pluginInfo.version = { 2, 0, 6 }; + _pluginInfo.version = { 2, 0, 7 }; _pluginInfo.desc = R"( ## About hry-sic improves interior camera by adding smooth rotation animation.