New Release D3D9Client Development

Thanks Kuddel, but no, it doesn't.
Too bad, sorry.

Since I probably am the last Orbinaut running on XP, I don't want you to devolve D3D9's development time "wasting" it on my (or few else's people) doomed jurassic pc (hopefully I'll be building a new rig soon).
No problem with XP. It's not the "bleeding edge" in OSes but it served me well running Orbiter for a loooong time :thumbup:

Out of curiosity I'll start up my (vitual) XP machine and see if I can get any more insight into this.
You were ttying this setup, right?:
Orbiter 2016 (revision 54) with D3D9Client (revision 23)
I'll also try D3D9Client revision 22.

/Kuddel
 
Last edited:
...You were ttying this setup, right?:
Orbiter 2016 (revision 54) with D3D9Client (revision 23)...
Yes.
With client 23 I see the splash screen, and after some loading I get the crash.
With client 22+fix, it crashes as soon as I launch the scenario.
 
Yes.
With client 23 I see the splash screen, and after some loading I get the crash.
With client 22+fix, it crashes as soon as I launch the scenario.

I think is has to do with changing our build-environment (here Visual Studio 2015) which per default does not compile/link for XP anymore.
I have Visual Studio 2012 handy at work, I'll try to build one there. Maybe it's that easy.
I can change the Project files accordingly, but I don't know whether I really have to install the "110 Platform SDK" here. I'll give it a shot tomorrow at work and than we can see if that really is the culprit.

/Kuddel

P.S.: If anybody else could build with e.g. VS2010, please do so and post the D3D9Client.dll ! Thanks
 
P.S.: If anybody else could build with e.g. VS2010, please do so and post the D3D9Client.dll ! Thanks
I have VC++ 2010 Express and can build it if someone tells me where I can obtain the latest R16 sources.
 
Hi Cras,

Do you experience a similar behavior with Launch MFD's HUD drawing?

No, Launch MFDs HUD displays correctly.

---------- Post added at 01:05 AM ---------- Previous post was at 12:59 AM ----------

Does this fix the problem ?

SSKJaMW.png


No, I still get similar abnormalities with the rendered boxes.
 
I have VC++ 2010 Express and can build it if someone tells me where I can obtain the latest R16 sources.
"R16" is for Orbiter 2010-P1 (please don't confuse)

All the sources are available in the (new) SVN-Repository here:
svn://mirror.orbiter-radio.co.uk/D3D9client/

For Orbiter BETA:
svn://mirror.orbiter-radio.co.uk/D3D9client/trunk
For Orbiter 2010-P1:
svn://mirror.orbiter-radio.co.uk/D3D9client/branches/2010-P1
 
Hi Ripley,

here's the VS2012 build of D3D9Client (Beta23 - for Orbiter BETA r54).
Does it behave nicer?
 

Attachments

No, I still get similar abnormalities with the rendered boxes.

I can't reproduce the problem anymore after the fix. There was also a similar problem in stock HSI MFD.

Here is a new build. Maybe the D3D9Client.dll extracted to orbiter root. If the problem is still present then you you post a scenario.
 

Attachments

Last edited:
I'm getting a whole bunch of error messages when I try to build the latest Beta D3D9Client sources. So it looks like I'm out.

Here's the log: https://dl.dropboxusercontent.com/u/24122088/Orbiter stuff/D39DClient_build_log.txt

Did you install the DirectX SDK? This is not optional ;)
Setting up your build-environment is nothing trivial, but also not extremely difficult...
Orbitersdk\D3D9Client\README.txt should answer most of your questions on how to compile. Although it might contain some outdated information, it's still worth a read!
Once you've mastered these initial steps, all you have to do is run
Utils\D3D9Client\build_release.bat to build new releases.
For debug builds however your choice of using the according solution at
Orbitersdk\D3D9Client\ is of course correct!
 
Last edited:
With the SDK installed, you should be able to compile with VC++ 2010 Express...

You have the Orbiter-libs & -headers in the
Orbitersdk\include\ resp. Orbitersdk\lib\ paths, right?
(Can be easily obtained by running
Utils\D3D9Client\get_orbiter_libs.bat)

Apart from that I have to think a bit about possible other reasons for that.
I've compiled almost all versions until last month with VC++ 2010 Express.
 
With the SDK installed, you should be able to compile with VC++ 2010 Express...

You have the Orbiter-libs & -headers in the
Orbitersdk\include\ resp. Orbitersdk\lib\ paths, right?
(Can be easily obtained by running
Utils\D3D9Client\get_orbiter_libs.bat)

Apart from that I have to think a bit about possible other reasons for that.
I've compiled almost all versions until last month with VC++ 2010 Express.
My fault. I had the wrong Orbiter SDK files. I copied the correct files and everything builds correctly. Here's the new D3D9Client.dll: https://dl.dropboxusercontent.com/u/24122088/Orbiter stuff/D3D9ClientBeta23-for(r54).zip
 
Hi Ripley,

here's the VS2012 build of D3D9Client (Beta23 - for Orbiter BETA r54).
Does it behave nicer?

Hello,

At first sight, no ctd anymore with your dll. For all other functions, i don't know. I can't create symbolics links with it but i can't with the standard version for D3D9 too; but it's another question.

Thank you.

I'm at work but i'll make an extensive investigation later tonight.

fort
 
Why I can´t see shaders options?
1. Could you be more specific? What Orbiter version, what client, etc.
2. The DLLs in some of the last couple of post where only to check the "XP issue". They are neither complete, nor official ;)

---------- Post added at 18:59 ---------- Previous post was at 18:55 ----------

My fault. I had the wrong Orbiter SDK files. I copied the correct files and everything builds correctly. Here's the new D3D9Client.dll: https://dl.dropboxusercontent.com/u/24122088/Orbiter stuff/D3D9ClientBeta23-for(r54).zip

Thanks for building :tiphat:
It seems, that the VS2010 build works on XP!
Now I have to figure out how to set up the VS2015 (& VS2012?) projects!
@Ripley: Can you also confirm that DaveS's version works for you?
 
Beta D3D9Client bug: Using the HUD extend/retract switch in the DG VC results in an immediate CTD. It works fine in the inline client.
 
DaveS's version works for me also ( xpsp3 ).
 
Back
Top