Jump to content
  • Advertisement
Sign in to follow this  
Roberto Vbr

How to distribute a game made with DirectX 11

This topic is 1833 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

I'm beginning game programming using directx 11, but I have a doubt can not a clear answer: How to distribute a game made with directx 11 that works on Windows Vista, Windows 7 and Windows 8 (desktop mode) without the end user have to download anything else besides my game? Because there are differences between what is in DirectX 11 SDK (June 2010) and that comes with Visual Studio 2012 and I follow no tutorial talks about how to make a correct distribution for the user to run the game without problems be missing some *. dll.
Thank you for the attention.

Share this post


Link to post
Share on other sites
Advertisement

You'll always need to provide redistributable packages which install alongside your game to make sure your users have no issues with library dependencies. 

To give you an example: if you're programming in C++ using Visual Studio 2012 you'll need to provide the Visual C++ 2012 redistributable, which can be found on the microsoft website.

 

DirectX 11 should be installed by default on Windows 7, Windows 8, and properly updated Vista SP2 installations, so there's no need to provide a redistributable for that. I'm not sure if this also the case for DirectX 11.1 though.

 

In case your game depends on another piece of software which should be installed on a user's computer you'll probably want to provide an installer for that as well, if you are (legally) allowed to do so.

Share this post


Link to post
Share on other sites

Take a look at the MSDN guidance at: http://msdn.microsoft.com/en-us/library/windows/desktop/ee416644%28v=vs.85%29.aspx

 

The simplest way to test installers is using Virtual Machines - you ideally want a clean install of each version of Windows you want to test on. Virtual machines allow rapid rollbacks to that known clean state. By using a clean install you know you're not depending on something that was installed by some other program. Of course the game probably won't run properly in a VM, so you get to test some failure paths in you D3D initialization code that way too.

Share this post


Link to post
Share on other sites

Thanks Radikalizm now understand the issue better package distribution to the end user. It was really hard for me to understand this part of the process. Now it's easier to know what to do and when.
Thanks Adam_42 I had already tested in virtual machine (vmware) but always some error occurred that was not setup but running even with testing app using directx 9 (which works smoothly on vmware) without installing the application.

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!