Skip to content

Commit

Permalink
Permit local injection in Ratchet and Clank, as it no longer crashes …
Browse files Browse the repository at this point in the history
…the game's launcher for the CreateDXGIFactory mismatch issue mentioned in 24.3.30
  • Loading branch information
Kaldaien committed Mar 31, 2024
1 parent 253fca8 commit 82f225f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 28 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
24.3.30
24.3.30.1
=========
+ Permit local injection in Ratchet and Clank, as it no longer crashes the game's
launcher for the CreateDXGIFactory mismatch issue mentioned in 24.3.30.

* Turning HDR on/off using local injection will still crash the game, so it is
not suggested.

24.3.30
=======
+ Fixed NVIDIA Reflex not working in Ratchet and Clank without an injection
delay because the game uses multiple API versions of CreateDXGIFactory;
Expand Down
4 changes: 2 additions & 2 deletions include/SpecialK/DLL_VERSION.H
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#define SK_YEAR 24
#define SK_MONTH 3
#define SK_DATE 30
#define SK_REV_N 0
#define SK_REV 0
#define SK_REV_N 1
#define SK_REV 1

#ifndef _A2
#define _A2(a) #a
Expand Down
25 changes: 0 additions & 25 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2961,19 +2961,6 @@ auto DeclKeybind =
SK_ImGui_Toast::ShowOnce
);
}

if ((! SK_IsInjected ()) && (PathFileExistsW (L"sl.dlss_g.dll") && PathFileExistsW (L"sl.interposer.dll")))
{
//SK_MessageBox (
// L"Special K Local Injection cannot be used in Nixxes games unless sl.interposer.dll or sl.dlss_g.dll is deleted",
// L"Nixxes Incompatibility", MB_OK
//);
}

else if (SK_IsModuleLoaded (L"sl.dlss_g.dll"))
{
config.system.global_inject_delay = 0.01;
}
} break;

case SK_GAME_ID::Yakuza0:
Expand Down Expand Up @@ -3511,18 +3498,6 @@ auto DeclKeybind =

// Pain in the ass Nixxes port
case SK_GAME_ID::RatchetAndClank_RiftApart:
if ((! SK_IsInjected ()) && (PathFileExistsW (L"sl.dlss_g.dll") && PathFileExistsW (L"sl.interposer.dll")))
{
SK_MessageBox (
L"Special K Local Injection cannot be used in Nixxes games unless sl.interposer.dll or sl.dlss_g.dll is deleted",
L"Nixxes Incompatibility", MB_OK
);
}

else if (SK_IsModuleLoaded (L"sl.dlss_g.dll"))
{
config.system.global_inject_delay = 0.01;
}
break;

case SK_GAME_ID::Starfield:
Expand Down

0 comments on commit 82f225f

Please sign in to comment.