Port DirectX Games to the Mac
tassii writes "MacCentral reports that Coderus' MacDX provides PC game developers with a way of moving that DirectX code to the Mac without having to rewrite it from scratch. Coderus claims that most code which uses DirectX can simply be recompiled and linked to the MacDX libraries. Maybe I can finally play the full Command and Conquer series."
since i didnt see anyone else replied/posted with this mandatory link i did, whoring an' all. the recent starcon2 port uses sdl as well, and thus wa s quickly available on very many platforms instantly.
world was created 5 seconds before this post as it is.
There is one already. It is called OpenPlay. Here is a quote from the site:
The Myth series uses OpenPlay, as well as some other games
Sapere aude!
Directx is Satan spawn. I would hate for this to be the primary graphic base for games on my mac
:-).
I hate to break it to you, but this technique (a wrapper that implements Direct3D/Draw/etc on top of OpenGL) is the primary graphic base for games on your Mac. Every Mac porting house already has their own set of libraries to do just this, it's just none of them have bothered to make them public like MacDX.
The real market for this is for PC developers, and it remains to be seen how many of them will actually take the bait and try and port titles over themselves (making money off developer tools is a real challenge, as you're selling to the very people who could write it themselves
There are a lot of other issues you need to consider when doing a port (endian-swapping is the biggest time sink normally, followed by code using VC-- "extensions", then platform specific issues - working around bugs in OpenGL on 9 which will never be fixed, etc), and the code which talks to DirectX is normally a pretty small part of a game's code base.
Nae bother