Replies: 2 comments 2 replies
-
Sounds like you are compiling the debug version. That will cause large logs and it is much slower. Try switching the build configuration to "Release": |
Beta Was this translation helpful? Give feedback.
-
Thanks Elisha. That was it :) Was looking to see if file size could be reduced - possibly by just targeting d3d9. The dxwrapper.dll can be reduced from 7855 KB to 2290 KB by commenting out these two lines in d3dx9.cpp:
The d3d9 game I'm working with still functions with these lines removed. Would some functionality be lost? I turned on all the d3d9 features in dxwrapper.ini and didn't witness any issues in-game or see errors in the log... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The latest release works perfectly, but when I try compiling it myself - I encounter a strange issue.
The game I tested would struggle to reach 30 FPS, compared to the stable 144 FPS of the release version.
GPU was at 30% and CPU around 15% for both.
The compiled version produces a very large log, so I just opened the game and closed it quickly to reduce size.
dxwrapper-compiled.log
dxwrapper-release.log
I am running Visual Studio 2022 with SDK 10.0.22621.0 and WDK 10.0.22621.311
Git Commands:
Build Solution and then copy files from dxwrapper\bin\Debug\Build.
Note: The compiled dxwrapper and stubs were larger in size than the release.
Thoughts? Please let me know if I've made a mistake somewhere here.
Beta Was this translation helpful? Give feedback.
All reactions