Add ReShade support;' add instructions to use it

This commit is contained in:
rebtd7 2021-03-21 11:08:03 -03:00
parent 2249c4cdb0
commit 3bca88bd72
2 changed files with 15 additions and 1 deletions

View File

@ -51,6 +51,13 @@ You may wish to patch the games to allow them to access more than 4GB of RAM. Th
## FF13-2:
* Patch ```ffxiii2img.exe``` (you can use https://ntcore.com/?page_id=371)
# Usage with Reshade
## Regular Direct3D9 users:
* Rename ReShade's ```d3d9.dll``` to ```ReShade32.dll```, keep FF13Fix as ```d3d9.dll```
## DXVK users:
* Install ReShade targeting Vulkan; enable it globally
# Reporting issues
* Please specify what game are you talking about, which mods are you using (dxvk?) post system specs, and post FF13Fix.log
* Add a save file and steps to reproduce the issue if possible

View File

@ -80,7 +80,14 @@ public:
D3D9DLL()
{
WrapperLoad("dxvk.dll", false, false) ? m_isdxvk = true : WrapperLoad("d3d9.dll");
m_isdxvk = WrapperLoad("dxvk.dll", false, false);
if (!m_isdxvk) {
const bool isreshade = WrapperLoad("ReShade32.dll", false, false);
if (!isreshade) {
WrapperLoad("d3d9.dll");
}
}
StoreAddress(&Direct3DCreate9, "Direct3DCreate9");
StoreAddress(&Direct3DCreate9Ex, "Direct3DCreate9Ex");