Commit d021bff 1 parent 80f2f6b commit d021bff Copy full SHA for d021bff
File tree 2 files changed +32
-4
lines changed
2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 82
82
<IncludePath >$(SolutionDir)external\vulkan\include;$(SolutionDir)external\nvngx_dlss_sdk;$(SolutionDir)external\xess\inc\xess;$(SolutionDir)external\FidelityFX-SDK\ffx-api\include\ffx_api;$(SolutionDir)external\simpleini;$(SolutionDir)external\unordered_dense\include;$(SolutionDir)external\spdlog\include;$(IncludePath)</IncludePath >
83
83
<LibraryPath >$(ProjectDir)fsr2\lib;$(ProjectDir)fsr2_212\lib;$(ProjectDir)fsr31\lib;$(ProjectDir)vulkan;$(ProjectDir)d3dx;$(ProjectDir)detours;$(SolutionDir)external\xess\lib;$(LibraryPath)</LibraryPath >
84
84
<TargetName >dxgi</TargetName >
85
- <OutDir >D:\Folders\Games\SteamLibrary\steamapps\common\DEATH STRANDING DIRECTORS CUT \</OutDir >
85
+ <OutDir >D:\Folders\Games\Banishers Ghosts of New Eden\NWD\Binaries\Win64 \</OutDir >
86
86
<IntDir >.\x64\Debug</IntDir >
87
87
</PropertyGroup >
88
88
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" >
Original file line number Diff line number Diff line change @@ -52,12 +52,16 @@ inline std::vector<std::string> upscalerNames =
52
52
{
53
53
" nvngx.dll" ,
54
54
" nvngx" ,
55
- " nvngx_dlss.dll" ,
56
- " nvngx_dlss" ,
57
55
" libxess.dll" ,
58
56
" libxess"
59
57
};
60
58
59
+ inline std::vector<std::string> nvngxDlss =
60
+ {
61
+ " nvngx_dlss.dll" ,
62
+ " nvngx_dlss" ,
63
+ };
64
+
61
65
inline std::vector<std::string> nvapiNames =
62
66
{
63
67
" nvapi64.dll" ,
@@ -70,8 +74,14 @@ inline std::vector<std::wstring> upscalerNamesW =
70
74
{
71
75
L" nvngx.dll" ,
72
76
L" nvngx" ,
77
+ L" libxess.dll" ,
78
+ L" libxess"
79
+ };
80
+
81
+ inline std::vector<std::wstring> nvngxDlssW =
82
+ {
73
83
L" nvngx_dlss.dll" ,
74
- L" nvngx_dlss"
84
+ L" nvngx_dlss" ,
75
85
};
76
86
77
87
inline std::vector<std::wstring> nvapiNamesW =
@@ -160,6 +170,15 @@ inline static HMODULE LoadLibraryCheck(std::string lcaseLibName)
160
170
return nvapi;
161
171
}
162
172
173
+ // nvngx_dlss
174
+ if (Config::Instance ()->DLSSEnabled .value_or (true ) && Config::Instance ()->DLSSLibrary .has_value () && CheckDllName (&lcaseLibName, &nvngxDlss))
175
+ {
176
+ auto nvngxDlss = LoadNvgxDlss (string_to_wstring (lcaseLibName));
177
+
178
+ if (nvngxDlss != nullptr )
179
+ return nvngxDlss;
180
+ }
181
+
163
182
if (!isNvngxMode && CheckDllName (&lcaseLibName, &dllNames))
164
183
{
165
184
LOG_INFO (" {0} call returning this dll!" , lcaseLibName);
@@ -200,6 +219,15 @@ inline static HMODULE LoadLibraryCheckW(std::wstring lcaseLibName)
200
219
}
201
220
}
202
221
222
+ // nvngx_dlss
223
+ if (Config::Instance ()->DLSSEnabled .value_or (true ) && Config::Instance ()->DLSSLibrary .has_value () && CheckDllNameW (&lcaseLibName, &nvngxDlssW))
224
+ {
225
+ auto nvngxDlss = LoadNvgxDlss (lcaseLibName);
226
+
227
+ if (nvngxDlss != nullptr )
228
+ return nvngxDlss;
229
+ }
230
+
203
231
// NvApi64.dll
204
232
if (!isWorkingWithEnabler && Config::Instance ()->OverrideNvapiDll .value_or (false ) && CheckDllNameW (&lcaseLibName, &nvapiNamesW))
205
233
{
You can’t perform that action at this time.
0 commit comments