diff --git a/src/App/Project.hpp b/src/App/Project.hpp index 223a319..76b6f8d 100644 --- a/src/App/Project.hpp +++ b/src/App/Project.hpp @@ -12,5 +12,5 @@ constexpr auto Author = "psiberx"; constexpr auto NameW = L"TweakXL"; constexpr auto AuthorW = L"psiberx"; -constexpr auto Version = semver::from_string_noexcept("1.1.3").value(); +constexpr auto Version = semver::from_string_noexcept("1.1.4").value(); } diff --git a/src/App/Version.rc b/src/App/Version.rc index b170534..b1c3348 100644 --- a/src/App/Version.rc +++ b/src/App/Version.rc @@ -1,9 +1,9 @@ -#define VER_PRODUCTVERSION 1,1,3,0 -#define VER_FILEVERSION 1,1,3,2303221150 +#define VER_PRODUCTVERSION 1,1,4,0 +#define VER_FILEVERSION 1,1,4,2304202158 #define VER_PRODUCTNAME_STR "TweakXL\0" -#define VER_PRODUCTVERSION_STR "1.1.3\0" -#define VER_FILEVERSION_STR "1.1.3.2303221150\0" +#define VER_PRODUCTVERSION_STR "1.1.4\0" +#define VER_FILEVERSION_STR "1.1.4.2304202158\0" 1 VERSIONINFO FILEVERSION VER_FILEVERSION diff --git a/src/Red/Addresses.hpp b/src/Red/Addresses.hpp index a40453e..204c2db 100644 --- a/src/Red/Addresses.hpp +++ b/src/Red/Addresses.hpp @@ -1,6 +1,6 @@ #pragma once -// Generated by cp77ida.py on 2023-04-12 for Cyberpunk 2077 v.1.62 +// Generated by cp77ida.py on 2023-04-20 for Cyberpunk 2077 v.1.62 // DO NOT MODIFY. USE tools\ida\scan.py TO GENERATE THIS FILE. #include @@ -11,8 +11,8 @@ constexpr uintptr_t ImageBase = 0x140000000; constexpr uintptr_t Main = 0x1401A0330 - ImageBase; // 40 53 48 81 EC ? ? ? ? FF 15 ? ? ? ? E8 ? ? ? ? E8 ? ? ? ?, expected: 1, index: 0 -constexpr uintptr_t TweakDB_Load = 0x140BE5330 - ImageBase; // 48 89 5C 24 18 55 57 41 56 48 8B EC 48 83 EC 70 48 8B D9 45 33 F6 48 8D, expected: 1, index: 0 -constexpr uintptr_t TweakDB_CreateRecord = 0x140FD3110 - ImageBase; // 48 89 5C 24 08 ? 89 ? 24 18 57 48 83 EC 30 8B C2, expected: 1, index: 0 +constexpr uintptr_t TweakDB_Load = 0x140BE5440 - ImageBase; // 48 89 5C 24 18 55 57 41 56 48 8B EC 48 83 EC 70 48 8B D9 45 33 F6 48 8D, expected: 1, index: 0 +constexpr uintptr_t TweakDB_CreateRecord = 0x140FD3220 - ImageBase; // 48 89 5C 24 08 ? 89 ? 24 18 57 48 83 EC 30 8B C2, expected: 1, index: 0 -constexpr uintptr_t TweakDBID_Derive = 0x142C226F0 - ImageBase; // 40 53 48 83 EC 30 33 C0 4C 89 44 24 20 48 8B DA, expected: 1, index: 0 +constexpr uintptr_t TweakDBID_Derive = 0x142C22A60 - ImageBase; // 40 53 48 83 EC 30 33 C0 4C 89 44 24 20 48 8B DA, expected: 1, index: 0 } diff --git a/src/pch.hpp b/src/pch.hpp index 30b54fb..fc7bfbe 100644 --- a/src/pch.hpp +++ b/src/pch.hpp @@ -16,29 +16,8 @@ #include #include -#include -#include -#include -#include -#include +#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include #include diff --git a/vendor/RED4ext.SDK b/vendor/RED4ext.SDK index c369f21..cacacb4 160000 --- a/vendor/RED4ext.SDK +++ b/vendor/RED4ext.SDK @@ -1 +1 @@ -Subproject commit c369f2197d150ac2dbccbc6c5cfd5f3ef180bc7c +Subproject commit cacacb49b0395edde544a0523fad60211945b40f diff --git a/xmake.lua b/xmake.lua index 28e84f5..14f7485 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,24 +1,26 @@ set_xmakever("2.5.9") set_project("TweakXL") -set_version("1.1.3", {build = "%y%m%d%H%M"}) +set_version("1.1.4", {build = "%y%m%d%H%M"}) set_arch("x64") set_languages("cxx20", "cxx2a") -set_optimize("none") add_cxxflags("/MP /GR- /EHsc") if is_mode("debug") then set_symbols("debug") + set_optimize("none") add_cxxflags("/Od /Ob0 /Zi /RTC1") elseif is_mode("release") then set_symbols("hidden") set_strip("all") - add_cxxflags("/O2 /Ob2 /fp:fast") + set_optimize("fastest") + add_cxxflags("/Ob2") elseif is_mode("releasedbg") then set_symbols("debug") set_strip("all") - add_cxxflags("/O2 /Ob1 /fp:fast /Zi") + set_optimize("fastest") + add_cxxflags("/Ob1 /Zi") end if is_mode("debug") then @@ -29,8 +31,6 @@ end add_requires("fmt", "hopscotch-map", "minhook", "spdlog", "tiltedcore", "yaml-cpp") -add_defines("RED4EXT_STATIC_LIB", "YAML_CPP_STATIC_DEFINE") - target("TweakXL") set_default(true) set_kind("shared") @@ -53,7 +53,6 @@ target("RED4ext.SDK") set_default(false) set_kind("static") set_group("vendor") - add_files("vendor/RED4ext.SDK/src/**.cpp") add_headerfiles("vendor/RED4ext.SDK/include/**.hpp") add_includedirs("vendor/RED4ext.SDK/include/", { public = true })