Added Starfield. Removed unnecessary includes.

This commit is contained in:
2025-07-25 15:07:43 +02:00
parent 0fbf01b0a5
commit 35071ccc94
27 changed files with 590 additions and 89 deletions

View File

@@ -73,19 +73,19 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetName>TLOU2Core</TargetName>
<TargetExt>.asi</TargetExt>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetName>TLOU2Core</TargetName>
<TargetExt>.asi</TargetExt>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>TLOU2Core</TargetName>
<TargetExt>.asi</TargetExt>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>TLOU2Core</TargetName>
<TargetExt>.asi</TargetExt>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>

View File

@@ -1,7 +1,6 @@
#include "Memory.hpp";
#include "Maths.hpp";
#include "ObfuscateString.h"
#include <Windows.h>
#include <string>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
@@ -53,7 +52,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
{
g_fix_enabled = enabled;
if (g_fix_enabled && !AOBScanDone) {
logger->info("--------------- AOB scanning started ---------------");
logger->info("--------------- AOB scan started ---------------");
// === AOB Scans ===
if (!FOVAddress) {
constexpr auto FOVPattern = make_obfuscated<0x4A>("E8 ?? ?? ?? ?? C5 FA ?? ?? ?? ?? ?? ?? C5 F8 ?? ?? E8 ?? ?? ?? ?? C5 7A");
@@ -85,7 +84,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
else logger->warn("Sharpness signature not found. Maybe the game was updated.");
if (FOVAddress && CameraAddress && SharpnessAddress) {
logger->info("All AOB signatures found. Ready to patch...");
logger->info("--------------- AOB scanning finished ---------------");
logger->info("--------------- AOB scan finished ---------------");
AOBScanDone = true;
}
else