Patched the blurry texture issue (properly)
Posted: Sun Aug 24, 2014 12:36 am
Firstly, many people know about the blurry texture issue. And those who know the currently-recommended fix, the hacked d3d8.dll file which returns 512MB for GetAvailibleTextureMemory, might not know that if you launch the game through Steam (I have the disc version somewhere around here, I just launch through Steam), the "fix" causes the game to crash whenever it changes resolutions.
I have been doing work on trying to find a fix, and nothing has ended correctly so far:
* The d3d8.dll fix doesn't seem like it will be a solution, since Steam hooks into DirectX to provide e.g. the Overlay (and does so even with the Overlay disabled). I had checked the vtable for a known IDirect3DDevice8, and it pointed into the SteamOverlay.dll; chances are, Steam ends up trying to make use of the hacked DLL as well.
* Running my disassembler and debugger, I tried to find all calls to get the availible VRAM through the patched function. It was only referenced once, to write a value to an unaccessed (in the scope of my testing) memory location, probably for the debug info stuff. Meanwhile, the textures continued to go into the low-res versions.
* Replacing the textures with their _A.dds versions. This had the interesting effect of making everything appear normal at first, then this happened. I have since reverted to the original .pk4 files, but have my "conversion program" still availible.
I'm running 1.05 on Win7x64, GPU is an AMD Radeon HD 7520G (3026MB) running at 1366x768x32. I _don't_ think I have any unofficial fixes installed, excluding the nocd.
Anyone have any more musing to share with regard to the issue? I can't say anything about the Steam version of the game, as I said, I'm on the disc version, just launching with Steam.
EDIT: Changed topic, hopefully, to clarify that Steam is only being used to launch the game; it was not purchased through Steam.
EDIT: Another change, and here is a link to viewtopic.php?f=5&t=3734&p=37988#p37988
EDIT: Another topic change
I have been doing work on trying to find a fix, and nothing has ended correctly so far:
* The d3d8.dll fix doesn't seem like it will be a solution, since Steam hooks into DirectX to provide e.g. the Overlay (and does so even with the Overlay disabled). I had checked the vtable for a known IDirect3DDevice8, and it pointed into the SteamOverlay.dll; chances are, Steam ends up trying to make use of the hacked DLL as well.
* Running my disassembler and debugger, I tried to find all calls to get the availible VRAM through the patched function. It was only referenced once, to write a value to an unaccessed (in the scope of my testing) memory location, probably for the debug info stuff. Meanwhile, the textures continued to go into the low-res versions.
* Replacing the textures with their _A.dds versions. This had the interesting effect of making everything appear normal at first, then this happened. I have since reverted to the original .pk4 files, but have my "conversion program" still availible.
I'm running 1.05 on Win7x64, GPU is an AMD Radeon HD 7520G (3026MB) running at 1366x768x32. I _don't_ think I have any unofficial fixes installed, excluding the nocd.
Anyone have any more musing to share with regard to the issue? I can't say anything about the Steam version of the game, as I said, I'm on the disc version, just launching with Steam.
EDIT: Changed topic, hopefully, to clarify that Steam is only being used to launch the game; it was not purchased through Steam.
EDIT: Another change, and here is a link to viewtopic.php?f=5&t=3734&p=37988#p37988
EDIT: Another topic change