Jump to content
  • Advertisement
Sign in to follow this  
Ninja2008

Deploying C++ DirectX 9 games from XP to 7

This topic is 2587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

or you could look into OpenGL, as far as i know it does not require any redists, other then what should be installed with your graphics drivers.


That's one problem right away - there are a frightening amount of business and low-end "multimedia" PCs and laptops out there with Intel graphics. If they've got OEM drivers (which they most likely do) they very probably don't have OpenGL capabilities at all (blame the OEM for that), and even if they do - well, they're Intel aren't they? Decent enough D3D (for non-demanding rendering) but prepare to enter a world of suck if you're using OpenGL.

Share this post


Link to post
Share on other sites
Advertisement
Thanks guys, all of ya!!

No, I am continuing to use DX and I don't think I'll move to OpenGL for now.

ryan20fun, still, even with the web installer which is very good idea (and thanks for that), even with that, I see it a complex thing for a simple game. I am dealing with non-technical people whom wants just run the game and play.

But, you second idea is interesting

copy the d3d redist folder that is in the dx sdk folder.
[/quote]

Can you give me some details on this if possible, where to copy it? should bundle it with the game installer or what? will the user run the "dxsetup.exe" which is in this folder?

Thanks a lot guys, really appreciate this..

Share this post


Link to post
Share on other sites

Thanks guys, all of ya!!

No, I am continuing to use DX and I don't think I'll move to OpenGL for now.

ryan20fun, still, even with the web installer which is very good idea (and thanks for that), even with that, I see it a complex thing for a simple game. I am dealing with non-technical people whom wants just run the game and play.

But, you second idea is interesting

copy the d3d redist folder that is in the dx sdk folder.


Can you give me some details on this if possible, where to copy it? should bundle it with the game installer or what? will the user run the "dxsetup.exe" which is in this folder?

Thanks a lot guys, really appreciate this..
[/quote]
what you can do is when your game is installed, ask the user if they want to "update" there directx version and that it requires an inter net connection, you would use the "-Silant"( if i remember correctly ) switch and it will install silently, its how most game installers work.

the dx redist folder( for me ) is located here
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Redist
now if you are using only d3dx9 and d3d9 etc, you should be able to delete the xaudio and xinput etc.
what you can do is delete everything except the d3d and d3dx dlls, then try installing it in a VM( so that if it works, you can undo the install easilly ( theres normally an option so that it will ask you if you want to save changes to it ) ) and if that works, try deleteing other ones you dont think you need, and soon you will have a nice small installer for dx

Share this post


Link to post
Share on other sites
Thanks a lot ryan20fun for the great suggestions and help..

I'll try that and see to what it will get me to..

Thanks : )

Share this post


Link to post
Share on other sites

Thanks a lot ryan20fun for the great suggestions and help..

I'll try that and see to what it will get me to..

Thanks : )


your welcome :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!