Sign in to follow this  

programs only on windows?

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

Well, DirectX is windows based. There may be some ungodly way to get it onto other systems, but since it uses kernel32, I HIGHLY doubt it.


Mushu - trying to help those he doesn't know, with things he doesn't know.
Why won't he just go away? An question the universe may never have an answer to...[/

Share this post


Link to post
Share on other sites
There is currently no way to use DirectX on a platform other than Win32/XBOX (unless you hack it up, like Oluseyi said). If you architect your engine carefully, you can make it very portable. For example, you could have the following componets:

- IGraphics interface
 - DX9 Renderer (for PC)
 - DX8.1 Renderer (for XBOX)
 - PS2 Renderer

- ISound interface
.
.
.

- Entry point
 - PC
 - XBOX
 - PS2


It's tough, though, because different platforms handle a lot of things differently. For example, the PC likes a few batches of a lot of vertices, while the PS2 likes a lot of batches of a few vertices.

Share this post


Link to post
Share on other sites
wine supports nearly all older (ddraw-based) games that dont rely too heavily on non-standard win32 libs. Even those you may be able to port dlls for however. wine is rock solid on nearly every adventure/2D rts I've ever played.
winex has successfully managed to run warcraft3 at comparable frame-rates to windows boxes. That's kindof a neat achievement, but I believe other than one or two others winex is mostly weak-kneed.

One thought though, since a lot of games have openGL ports (RTCW, Doom3, Warcraft3) shouldnt it be relatively simple to release linux-versions of them?

I know Wolf-ET (q3 engine) has a free linux client...

Share this post


Link to post
Share on other sites
Quote:
Original post by dhanji
One thought though, since a lot of games have openGL ports (RTCW, Doom3, Warcraft3) shouldnt it be relatively simple to release linux-versions of them?


There are plenty of DirectX -> OpenGL wrappers out there too, but that only covers the graphics. There's a lot more to games than graphics.

But even in the cases where it is relatively simple, there needs to be a compelling reason and most companies do not see Linux as a viable gaming platform.

Share this post


Link to post
Share on other sites
Quote:
Original post by Oluseyi
The WineX project attempts to reimplement the DirectX interface for Linux. It's been somewhat successful, but it's a stupid idea.


There's at least one Mac-based project as well. It's commercial and I can't remember it's name at the moment.

Quote:

DirectX is Windows (and Xbox) only for the forseeable future.

Unless XNA takes off in a really big way. It will have to target x86 and PPC processors already, so that's a start.

Share this post


Link to post
Share on other sites
Quote:
Original post by DrunkenHyena
Quote:

DirectX is Windows (and Xbox) only for the forseeable future.

Unless XNA takes off in a really big way. It will have to target x86 and PPC processors already, so that's a start.

Unfortunately, it looks like Sony and Nintendo have already put large damper on it's scope [sad]. It would be great if all the large gaming companies could develop a common interface for all next-generation gaming platforms.

Share this post


Link to post
Share on other sites

This topic is 4834 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this