glrage icon indicating copy to clipboard operation
glrage copied to clipboard

Supporting other games ?

Open aybe opened this issue 9 years ago • 8 comments

I've started a branch for Star Wars: Shadows of the Empire @ https://github.com/aybe/glrage/commits/shadows_of_the_empire and while it doesn't yet work, it does start ... but the list of devices/resolutions is empty.

Do you know where I could find examples I could base myself on for this DirectX 3 game ?

You can get the demo here if you want to give it a try: https://archive.org/details/SHADOWS_201406

EDIT: I use the demo for now because it's simpler than the original which has 16-bit setup and CD protection ... a bit cumbersome for now.

aybe avatar May 16 '16 20:05 aybe

Are you sure that Star Wars: Shadows of the Empire supports ATI 3D CIF? Readme says that it supports 3D Rage and 3D Rage II, but that doesn't mean it's using its API. The configuration screen only lists D3D and software rendering for me, even when the ati3dcif.dll is placed in the game directory.

ata4 avatar Jul 16 '16 22:07 ata4

No it doesn't ... but since your project also emulates parts of old DirectX, this was the main motive.

I could be wrong but wouldn't emulation of some DirectX parts bring compatibility with many other games ? The great thing with your project is that one can then inject patches and overall experience is much better with glrage than with DxWnd for instance :)

aybe avatar Jul 17 '16 18:07 aybe

Well, the DirectDraw implementation is nowhere near complete, it's just supporting what the 3D CIF games require. But I'm considering to use this code as a base for a more generic retro-API wrapping project one day, possibly based on Vulkan.

ata4 avatar Aug 05 '16 20:08 ata4

Sorry for the 3 months late answering ... :) Looks promising, good luck !

aybe avatar Nov 05 '16 02:11 aybe

Forgot to mention,

Have you had a look at the Star Wars Shadows Of The Empire re-released by GOG recently ?

I was skeptical but when I played it it just works amazingly well on Win10, speed is correct and so on. Looking at the files, they wrote their own implementation of DirectDraw, if that can be of any interest to you :)

aybe avatar Nov 05 '16 02:11 aybe

Looking at the files, they wrote their own implementation of DirectDraw, if that can be of any interest to you :)

Without the source code, probably not that much. ;)

But experimenting with Vulkan sounds more interesting anyway. AFAIK, there isn't a DirectDraw wrapper using Vulkan yet, or is there?

ata4 avatar Nov 11 '16 13:11 ata4

True,

I was going to suggest why not looking at WineD3D as source is available ? It's a shame because many pre DirectX7 games do run in Linux though they're way too fast, and the Windows port does not work because of an infinite loop when loading the OpenGL DLL.

However, by trying to find that page again it looks like it has vanished: (see Obsolete Third Party Applications) https://wiki.winehq.org/Third_Party_Applications

There's somebody that seems to have continued the work (untested): https://github.com/adolfintel/wined3d4win

Wouldn't this be of some help to you ?

Now for Vulkan I think you'll be the first person in this world to write such thing :)

aybe avatar Nov 11 '16 17:11 aybe

Old post, but speaking of other games have you ever thought of supporting MechWarriors 2? There are so many versions of the game including a 3DRage. I imagine it would be a tremendous undertaking, but considering the game's cult like status it wont go unnoticed. Also have to thought of back merging Glidos' Tomb Raider changes back into your version? He no longer updates his.

3371-Alpha avatar Apr 04 '19 17:04 3371-Alpha