DirectX游戏,无需运行任何必备软件 [英] DirectX game with no prerequisite software to run

查看:133
本文介绍了DirectX游戏,无需运行任何必备软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是DirectX编程的新手,我想知道如何创建DirectX游戏。

I'm new to programming with DirectX and I want to know how should I create a DirectX game.

将有一种方法可以打包所有必需的文件使人们无需其他软件即可运行?我将添加他们需要安装DirectX的例外。我的意思是,当我尝试在未设置为创建DirectX项目的计算机上运行DirectX程序的可执行版本时,出现类似 d3dx10_43.dll丢失的错误,并且安装了DirectX版本11那台机器。现在我知道我可以将d3dx10_43.dll放在人们将下载的文件夹中,但是这样做时是否存在法律问题?

Will there be a way to package all the required files for people to run without the need for additional software? I'll add the exception that they'll need to install DirectX. What I mean is, when I try to run an executable version of a DirectX program on a computer that isn't setup to create DirectX projects, I get an error like "d3dx10_43.dll is missing" and I have directX version 11 installed on that machine. Now I know I can just place d3dx10_43.dll inside the folder people will download but are there any legal issues when I do this?

基本上我想使用所需的必备软件数量最少,或者至少能够将其包括在下载中而没有任何法律问题。 (之所以说法律问题,是因为我知道XNA需要它的框架才能运行游戏...而且我知道您不允许将XNA框架与下载文件打包在一起。)

Basically I want to make games with the least amount of prerequisite software required, or at least be able to include it in their download without any legal issues. (The reason why I say legal issues, is because I know XNA requires its framework in order to run games with it... and I know you're not allowed packaging the XNA framework with your download.)

谢谢。

Jason

推荐答案


  1. 如果使用本机DirectX,则可以免费分发运行时库,安装DirectX SDK时可以查看详细信息。

  2. 可以,最终用户需要安装dll才能运行您的程序,因此他们可以自己安装运行时库,也可以由您随程序一起提供。

这是DirectX SDK 2010(6月)中的ELUA

Here is the ELUA from DirectX SDK 2010(June)


b。可分发代码。如果您遵守以下
条款,则该软件包含允许您在开发的程序中分发
的代码。

b. Distributable Code. The software contains code that you are permitted to distribute in programs you develop if you comply with the terms below.


i。使用和分发权。下面列出的代码和文本文件
是可分发代码。

i. Right to Use and Distribute. The code and text files listed below are "Distributable Code."


•DIRECTX REDIST.TXT文件。
您可以复制并分发
DIRECTX REDIST.TXT文件中列出的代码的对象代码形式

• DIRECTX REDIST.TXT Files. You may copy and distribute the object code form of code listed in DIRECTX REDIST.TXT files



DIRECT REDIST.TXT所说的

And what the DIRECT REDIST.TXT said


可再发行代码被标识为DirectX SDK CD /下载中 Redist目录下
中的所有文件:

Redistributable Code is identified as all of the files in the following "Redist" directory on the DirectX SDK CD/Download:

redist /

redist文件夹包含运行程序所需的运行时dll文件。

the redist folder contains the run time dll files required to run your program.

这篇关于DirectX游戏,无需运行任何必备软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆