Hello - Using the included disney infinity 3.0 config, but am getting an error on startup.
d3d11.CreateDeviceAndSwapChain ERROR: res=0x887a0001(unknown)
Log attached.
I've tried adjusting hook settings but so far no luck finding a combination that works. My PC is windows 10, nvidia 3070 gpu.
The application provided invalid parameter data; this must be debugged and fixed before the application is released.
Since the call to DXGIFactory::CreateSwapChain is done inside the DxWnd wrapper, I will admit that very likely this is a DxWnd error. I will have to set a testbed (the game is avvailable, but it's a pretty big download if I remember correctly) so it will take a while.
In the meanwhile I can only suggest a few experiments:
1) try to uncheck the "Run in window" flag (though this way the game would run in fullscreen)
2) running the game in native mode, check if there's a resolution setting and try to set a resolution value identical to the window size, just in case that the problem is about the stretching
3) try to drop in the game folder the DDrawCompat ddraw.dll proxy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi gho - Thanks so much for the help. Unfortunately the suggestions didn't work for me. I reinstalled the game from scratch via Steam to ensure there's no issue related to having reshade in the game directory. But despite reinstalling it still gives same error in the end.
ere's a few log files for each attempt:H
1) Enabled run in window - error
2) Disabled run in window. Successfuly starts in fullscreen, but it started fullscreen without DXWnD anyways.
3) With ddraw.dll in game directory, and enabled run in window - error
My monitor native resolution is 2560x1440. The game is set to the same resolution. I tried changing my monitor and game resolution to 1920x1080 but still get the same d3d11.CreateDeviceAndSwapChain error.
progress report: sorry, but the small game demo doesn't work and the full package can be downloaded with a painfully slow speed. It will take a few days, I'm afraid ... please be patient.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I found and fixed the problem about the DXGI_ERROR_INVALID_CALL error, but what follows is still not ok, the intro movies are run in fullscreen mode and the game runs in a white window .... in short, I still will have to work on it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got something: the game shows the videos using the bink2w32.dll library. DxWnd hooks the former release, binkw32.dll, so it currently ignores this newer library.
If I can find some documentation about the call interfaces, I could add to DxWnd the capability to hook and manipulate this additional library, but it will take some work and patience.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Progress report:
The situation is troublesome. The DX11 error can be bypassed by creating a dedicated window before the operation and the Bink2 movies can be rendered in window mode by setting the "Hook > Mixed mode" flag. It seems a good result, but when the game starts I get two windows, a DxWnd window where the game is rendered and a white game window that listens to message events like mouse clicks. In practice, the game can be seen but not controlled ....
Too bad, because I really thought I was so close ....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I don't know why and how, but this DxWnd version and this configuration seem to work well enough, though the game and the movies are rendered on a DxWnd service window and there are other windows floating around the desktop. But you can minimize / close them, so they shouldn't bother you too much.
The real problem is the replicability of the result, so without touching anything else I'm shipping you all the necessary. You'd better make a new DxWnd folder for this release, you never know ...
Please, let me know if it works.
gho you really are awesome! I'm able to start the game with your settings, and i was able to set 1920x1080 resolution to make the window a bit bigger. I noticed that I can't minimize it, and its always on top of other windows.
Question: Is there a setting so I can minimize it or put the window in the background?
Well, the way things are working now is surprising, I don't fully understand what's going on but for sure having a regular game window (one that you can minimize / restore / suspend when focus is lost) is my goal too, so I will try to achieve it.
In the meanwhile, since testing this game is painfully annoying when you have to forcefully watch a lot of intro videos, I adapted the "Skip movies" flag to shorten the startup time sensibly.
It takes the attached updated dll and setting the flags "Libs > Hook Binkw32" and "Libs > No movies". It works on Bink movies, but not on the animated 3D sequences.
If for some reason it won't work, you can always revert to the previous dll.
Thanks I'm trying it out. It skips the intro movies for me. I agree it can be a bit annoying when you Disney Infinity for the first time you have to play thru the intro level before it lets you into the main menu.
My kids who play this game, they love that intro level. But for us.. not so much :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello - Using the included disney infinity 3.0 config, but am getting an error on startup.
d3d11.CreateDeviceAndSwapChain ERROR: res=0x887a0001(unknown)
Log attached.
I've tried adjusting hook settings but so far no luck finding a combination that works. My PC is windows 10, nvidia 3070 gpu.
Any ideas?
Last edit: Calaei 2024-06-01
The error 0x887a0001, reported in the last log lines, corresponds to the macro DXGI_ERROR_INVALID_CALL with this explanation ( https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/dxgi-error )
Since the call to DXGIFactory::CreateSwapChain is done inside the DxWnd wrapper, I will admit that very likely this is a DxWnd error. I will have to set a testbed (the game is avvailable, but it's a pretty big download if I remember correctly) so it will take a while.
In the meanwhile I can only suggest a few experiments:
1) try to uncheck the "Run in window" flag (though this way the game would run in fullscreen)
2) running the game in native mode, check if there's a resolution setting and try to set a resolution value identical to the window size, just in case that the problem is about the stretching
3) try to drop in the game folder the DDrawCompat ddraw.dll proxy
It is unlikely a DirectX1-7 wrapper fixes a Direct3D11 error
Hi gho - Thanks so much for the help. Unfortunately the suggestions didn't work for me. I reinstalled the game from scratch via Steam to ensure there's no issue related to having reshade in the game directory. But despite reinstalling it still gives same error in the end.
ere's a few log files for each attempt:H
1) Enabled run in window - error
2) Disabled run in window. Successfuly starts in fullscreen, but it started fullscreen without DXWnD anyways.
3) With ddraw.dll in game directory, and enabled run in window - error
I downloaded ddraw.dll from here: https://github.com/narzoul/DDrawCompat/releases/tag/v0.5.2
My monitor native resolution is 2560x1440. The game is set to the same resolution. I tried changing my monitor and game resolution to 1920x1080 but still get the same d3d11.CreateDeviceAndSwapChain error.
progress report: sorry, but the small game demo doesn't work and the full package can be downloaded with a painfully slow speed. It will take a few days, I'm afraid ... please be patient.
transfer complete ...
gho you really are amazing. thank you for looking into this.
Problem replicated here. Now the difficult part: find a solution! It seems that this demanding game doesn't like too much to be run in a window ....
I think I found and fixed the problem about the DXGI_ERROR_INVALID_CALL error, but what follows is still not ok, the intro movies are run in fullscreen mode and the game runs in a white window .... in short, I still will have to work on it.
ah, very interesting. I was thinking the intro video might be contributing to the issue.
I got something: the game shows the videos using the bink2w32.dll library. DxWnd hooks the former release, binkw32.dll, so it currently ignores this newer library.
If I can find some documentation about the call interfaces, I could add to DxWnd the capability to hook and manipulate this additional library, but it will take some work and patience.
Progress report:
The situation is troublesome. The DX11 error can be bypassed by creating a dedicated window before the operation and the Bink2 movies can be rendered in window mode by setting the "Hook > Mixed mode" flag. It seems a good result, but when the game starts I get two windows, a DxWnd window where the game is rendered and a white game window that listens to message events like mouse clicks. In practice, the game can be seen but not controlled ....
Too bad, because I really thought I was so close ....
Well, I don't know why and how, but this DxWnd version and this configuration seem to work well enough, though the game and the movies are rendered on a DxWnd service window and there are other windows floating around the desktop. But you can minimize / close them, so they shouldn't bother you too much.
The real problem is the replicability of the result, so without touching anything else I'm shipping you all the necessary. You'd better make a new DxWnd folder for this release, you never know ...
Please, let me know if it works.
Last edit: gho 2024-06-04
Wow, it really works, though you must pay attention to the task switching because you can easily lose the control of the game window.
gho you really are awesome! I'm able to start the game with your settings, and i was able to set 1920x1080 resolution to make the window a bit bigger. I noticed that I can't minimize it, and its always on top of other windows.
Question: Is there a setting so I can minimize it or put the window in the background?
Thanks!
Well, the way things are working now is surprising, I don't fully understand what's going on but for sure having a regular game window (one that you can minimize / restore / suspend when focus is lost) is my goal too, so I will try to achieve it.
In the meanwhile, since testing this game is painfully annoying when you have to forcefully watch a lot of intro videos, I adapted the "Skip movies" flag to shorten the startup time sensibly.
It takes the attached updated dll and setting the flags "Libs > Hook Binkw32" and "Libs > No movies". It works on Bink movies, but not on the animated 3D sequences.
If for some reason it won't work, you can always revert to the previous dll.
Thanks I'm trying it out. It skips the intro movies for me. I agree it can be a bit annoying when you Disney Infinity for the first time you have to play thru the intro level before it lets you into the main menu.
My kids who play this game, they love that intro level. But for us.. not so much :)