Direct3D 11 via DDraw.dll
Moderator: JeremyaFr
Re: Direct3D 11 via DDraw.dll
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
This don't come from the drivers.
Just in case, I have recompiled the dll.
Just in case, I have recompiled the dll.
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
Same error, but different details.JeremyaFr wrote:This don't come from the drivers.
Just in case, I have recompiled the dll.
https://dl.dropboxusercontent.com/u/885 ... 282%29.txt
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hi,
I've inspected the code where the crash occured.
The code fills a struct with 0. I don't understand why it crashes on your system.
I've inspected the code where the crash occured.
The code fills a struct with 0. I don't understand why it crashes on your system.
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
I tried to reinstall previous video drivers without good results. I tried to run the launcher in compatibility mode: nothing. Maybe i'm missing something like another version of Microsoft Visual C++? Could be usefull reinstalling everyone of them?
Anyway this is my dxdiag: https://www.dropbox.com/s/wdl9ufum1dnvt ... g.txt?dl=0
If anyone will have something could be useful, please state it 'cause i'm missing this game
Anyway this is my dxdiag: https://www.dropbox.com/s/wdl9ufum1dnvt ... g.txt?dl=0
If anyone will have something could be useful, please state it 'cause i'm missing this game
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
It seems that i was missing a dll.
Now i get this, using the dll inside your test folder: https://www.dropbox.com/s/v8vq3ys68pqgr ... 9.txt?dl=0
Did you change something?
Now i get this, using the dll inside your test folder: https://www.dropbox.com/s/v8vq3ys68pqgr ... 9.txt?dl=0
Did you change something?
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
What dll was it?Anco wrote:It seems that i was missing a dll.
Maybe you can try to reinstall the c++ runtime.
I have removed unnecessary struct emptyings.Anco wrote:Did you change something?
Now an access violation (c0000005) occurs on reading in strncpy from xwa exe.
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
It was msvcp120.dll. I reinstalled a c++ runtime and the problem seemed to be gone.JeremyaFr wrote:What dll was it?
Maybe you can try to reinstall the c++ runtime.
So you think it is still related to some c++? Sorry but i'm bit ignorant in this part of programmingJeremyaFr wrote: I have removed unnecessary struct emptyings.
Now an access violation (c0000005) occurs on reading in strncpy from xwa exe.
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The question is: why the dll doesn't crash on an other system?
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
This is really hilarious...
I'm running it without problems in the Preview Version of Windows 10 that i'm trying on another PC. (obviously now i've got problems make the system recognizing my joystick lol). Now i can't really understand why in my windows 7 pc it is crashing. And i can't understand why this game hates me
I'm running it without problems in the Preview Version of Windows 10 that i'm trying on another PC. (obviously now i've got problems make the system recognizing my joystick lol). Now i can't really understand why in my windows 7 pc it is crashing. And i can't understand why this game hates me
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
No, the game doesn't hate you.
I think that, on your Win7 system, there is a problem with the c++ runtime dlls.
On your Win10tp, if a device is not recognized, you can install the drivers made for Win8 or older ones.
I think that, on your Win7 system, there is a problem with the c++ runtime dlls.
On your Win10tp, if a device is not recognized, you can install the drivers made for Win8 or older ones.
-
- Posts: 5
- Joined: Mon Nov 18, 2013 7:09 pm
Is there a solution to the choppy framerate? you mentioned about a cache, and that you can disable it, is there a way to disable it?
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hi,
The cache I have mentioned is related to textures. I suspected it to not work correctly. Therefore I have traced its activities. What I have found is that the cache does what it was designed for. So there is none anomaly here.
When you measure the xwa process activity, you can see that the gpu usage is low and the cpu usage (on one core) is high.
The cache I have mentioned is related to textures. I suspected it to not work correctly. Therefore I have traced its activities. What I have found is that the cache does what it was designed for. So there is none anomaly here.
When you measure the xwa process activity, you can see that the gpu usage is low and the cpu usage (on one core) is high.
-
- Posts: 5
- Joined: Mon Nov 18, 2013 7:09 pm
I see, The DLL is still a WIP, right? I hope the DLL can make the game run as smoothly like before. The only problem is the frame rate... (I don't care less about the starfield! I just want to blow up some TIEs)
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
An update:
- a couple of performance optimizations (reduce fps drops)
- added SSE2 requirement in the readme
- Ramshu
- Posts: 74
- Joined: Sat Sep 21, 2013 10:42 am
- Contact:
new issue detected!!
When use your ddraw.dll, i can't record or stream the game using nvidia shadowplay.
When use your ddraw.dll, i can't record or stream the game using nvidia shadowplay.
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
With the new update, it works even on my windows7 system! Thank you very much!
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Plus with this new dll, in the Pilot Proving Ground, in the hangar there seems to be some Infinite Triangulation where there wasn't with the previous dll just the issue with the FPS
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The triangling issues are not caused by the dll. They are caused by the exe.
With the previous dll, triangling issues were not clearly visible. Now, they are more visible.
To solve these issues, the following modifications are needed:
See "Triangling to infinity" problem workaround for more informations.
With the previous dll, triangling issues were not clearly visible. Now, they are more visible.
To solve these issues, the following modifications are needed:
Code: Select all
At offset 193C4A, replace 750C with 9090.
At offset 193C53, replace 02 with 08.
- Ramshu
- Posts: 74
- Joined: Sat Sep 21, 2013 10:42 am
- Contact:
Lol nice info, thanks!JeremyaFr wrote:The triangling issues are not caused by the dll. They are caused by the exe.
With the previous dll, triangling issues were not clearly visible. Now, they are more visible.
To solve these issues, the following modifications are needed:See "Triangling to infinity" problem workaround for more informations.Code: Select all
At offset 193C4A, replace 750C with 9090. At offset 193C53, replace 02 with 08.
I have good news, using the last ddraw.dll "ligthing/difuse ligthing" works perfect.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
-
- Posts: 5
- Joined: Mon Nov 18, 2013 7:09 pm
JeremyaFr, I wish I could shake your hand right f--king now!! The game works excellent! Now run a few tests on it to get the perfect graphics setup.
Thank You so much for giving this game new life.
Thank You so much for giving this game new life.
-
- Posts: 1
- Joined: Thu Oct 16, 2014 6:44 am
This is wonderful, I was searching for long time solution for this problem. At last it allows me to play in 3D HW mode. But there is one problem I encounter, occationally when flying games tent to freeze (happens on button press or just when flying), there is on error message. Could you verify that is related to your .dll. I am pretty sure it did not happened when I was playining before using your library.
-
- Posts: 20
- Joined: Wed Jun 06, 2012 6:31 pm
Sometimes i get this CTD:
https://dl.dropboxusercontent.com/u/885 ... 284%29.txt
I think it's the problem that buartos has reported before this post.
https://dl.dropboxusercontent.com/u/885 ... 284%29.txt
I think it's the problem that buartos has reported before this post.
-
- Posts: 1
- Joined: Fri Oct 17, 2014 9:26 am
Thanks a lot! I haven't played XWA in four years, and boy does this do a big difference!
After applying the upgrade I had a bad fps in missions, but with the new dll, everything works flawlessly with my Nvidia Geforce 9800 GT on 64bit Win7. It looks amazing!
I had an issue because i inadvertently installed the 64bit version of the C++ package, and I got an error (0xc000007b), however, when I installed the 32bit version everything went smooth from there!
Keep up the good work!
After applying the upgrade I had a bad fps in missions, but with the new dll, everything works flawlessly with my Nvidia Geforce 9800 GT on 64bit Win7. It looks amazing!
I had an issue because i inadvertently installed the 64bit version of the C++ package, and I got an error (0xc000007b), however, when I installed the 32bit version everything went smooth from there!
Keep up the good work!