bo3b / 3Dmigoto

Chiri's DX11 wrapper to enable fixing broken stereoscopic effects.
Other
688 stars 109 forks source link

3dmigoto is crashing/giving me errors for Watch_Dogs #180

Open Tuzore opened 8 months ago

Tuzore commented 8 months ago

For the past week, I have been trying to figure out a way to install 3dmigoto to watch dogs, but somehow it never works. I've been getting the same results, those can be:

image

Having d3d11.dll in my bin folder would never work and would always crash so, I've switched d3d11.dll to 3dmigoto.dll, but again. it does not work. I always leave the 3dmigoto loader open as well, it will say that the target has been found and 3dmigoto is going to load, (cant remember it off the top of my head.) I have also replaced the original dxgi.dll to 3dmigoto's dxgi.dll. listed in the home page, but still, same thing happens, either crashing after splash screen, or giving me the memory error.

Please can somebody help me fix this issue, in fact, I asked somebody else and they said that they are experiencing an issue where sometimes it will load but 3dmigoto isn't in the game, (for example in this situation, pressing f10 in game to reload shaders), and no green text in game.

EDIT: I accidentally deleted d3dx.ini and somehow I know 3dmigoto is in my game because:

image

so, now I know that something in d3dx.ini is causing it give me errors.

DarkStarSword commented 8 months ago

Having d3d11.dll in my bin folder would never work and would always crash

Please enable debug logging in the d3dx.ini (under [Logging] enable calls=1 and debug=1) and provide the d3d11_log.txt corresponding to this crash.

Don't use any external loader while obtaining this log file - the fact it crashed kind of proves that 3DMigoto was loaded, but something went wrong afterwards.

I've switched d3d11.dll to 3dmigoto.dll, but again. it does not work. I always leave the 3dmigoto loader open as well

I don't think the external loader is required for this game - at least 3DMigoto loads fine for me without it, and this mod was released years before I wrote that loader. That loader is more for games that actively block mods located in the game directory.

I have also replaced the original dxgi.dll to 3dmigoto's dxgi.dll.

I also don't believe the dxgi loader is usually required for this game, though let's see your d3d11_log.txt first.

Tuzore commented 8 months ago

Thanks for replying and sorry for the late response.

I've enabled debug under the [Logging] Section. Here is my d3d11_log.txt

d3d11_log.txt

DarkStarSword commented 8 months ago

The log seems to show the game continually retries initialising DirectX trying different feature levels, and eventually appears to settle on 10.0 (pFeatureLevels=0xa000. It wants DirectX 10, yikes, no wonder it's crashing, 3DMigoto is a DirectX 11 modding tool, DirectX 10 support was only ever experimental at best and is not available in the DX11 build at all).

I can see from your log that you are using a vanilla d3dx.ini. Is there any reason you aren't using the mod from here:

https://helixmod.blogspot.com/2014/09/watch-dogs-dx11-3dmigoto-3d-vision-fix.html Direct link: https://s3.amazonaws.com/duselpaul86/Watch_Dogs/Watch_Dogs_3dfix.zip

A key difference in the config is that the defaults in [System] changed - the released mod doesn't fill this out, so will block every feature level other than 11.0 (default if no allow_create_device), while the vanilla d3dx.ini allows the game to dictate feature levels (allow_create_device=1). There's some other settings in this section that can also alter compatibility.

Tuzore commented 8 months ago

I put the files from your attached download to my bin folder. (That is where my game.exe is). I have actually no idea why I'm using a vanilla d3dx.ini version. I only got it from the official download site. (3Dmigoto). I'm going to try it out now.

It doesn't seem to be working again, (I drag and dropped it into my bin folder).

DarkStarSword commented 8 months ago

Is it the same crash? Can you enable debug logging again and send the new d3d11_log.txt

Can you also give me some more info about your system: OS version, graphics card and driver version, etc.

It might also be worth trying to disable any other overlays as they have been known to cause trouble sometimes. If you are running it through Ubisoft Connect you can follow these instructions to disable their overlay: https://www.ubisoft.com/en-us/help/connectivity-and-performance/article/disabling-the-ubisoft-connect-pc-overlay/000064954

Tuzore commented 8 months ago

Here's my log: (I'm using the 3dmigoto you sent me)

d3d11_log.txt

If it helps, ill provide my nvapi_log

nvapi_log.txt