Added Starfield. Removed the need of ASI loader.

This commit is contained in:
2025-07-25 15:03:35 +02:00
parent c4e1f130d8
commit 731218faa7
15 changed files with 623 additions and 97 deletions

View File

@@ -46,13 +46,13 @@ const char* WORLD_FOV_SETTING = "WorldFOV=";
const char* CINEMATICS_FOV_SETTING = "CinematicsFOV=";
const char* FIX_VERSION = "1.0.3";
const char* FIX_INFORMATIONS = "This fix allows to:\r\n - Modify FOV in game\r\n - Modify Cinematics FOV.\r\n - Disable depth of field in cutscenes.\r\n - Unlock cinematics frametime.\r\n - Enable frame generation with cutscenes.\r\n\r\nThe game has a narrow FOV in cinematics for displays with a ratio above 21/9.\r\nCinematics FOV will be compensated for ultrawide displays.\r\nCinematics FOV won't affect world or menus FOVs.\r\nDepth of field fix should affect all the game.";
const char* DONATION_URL = "https://www.paypal.com/donate/?business=W92C47N3WZZZG&no_recurring=0&currency_code=EUR";
const char* DONATION_URL = "https://buymeacoffee.com/k4sh44";
// Load and unload game core dll functions /!\ necessary
static void LoadFixDLL()
{
if (fixLib) return;
fixLib = GetModuleHandleA("IndianaJonesTGCCore.asi");
fixLib = LoadLibraryA("IndianaJonesTGCCore.dll");
if (!fixLib) {
MessageBoxA(nullptr, "Impossible to load game core dll", "Erreur", MB_OK);
@@ -230,9 +230,13 @@ static void on_overlay_draw(reshade::api::effect_runtime* runtime)
// Fix status
ImGui::SetCursorPos(ImVec2(10, 240));
ImGui::Text("=============== Fix informations ===============");
ImGui::Text("FOV In: %.2f, Out : %.2f", GetFOVIn(), GetFOVOut());
ImGui::Text("Cinematics FOV In: %.2f, Compensated : %.2f, Out : %.2f", GetCinematicsFOVIn(), GetCinematicsCompensadedFOV(), GetCinematicsFOVOut());
ImGui::BeginChild("INFOSHeader", ImVec2(480, 80), true);
if (ImGui::CollapsingHeader("Fix informations", ImGuiTreeNodeFlags_DefaultOpen)) {
ImGui::SetCursorPos(ImVec2(5, 30));
ImGui::Text("FOV In: %.2f, Out : %.2f", GetFOVIn(), GetFOVOut());
ImGui::Text("Cinematics FOV In: %.2f, Compensated : %.2f, Out : %.2f", GetCinematicsFOVIn(), GetCinematicsCompensadedFOV(), GetCinematicsFOVOut());
}
ImGui::EndChild();
}
// Main dll intrance