Page 1 of 2

Other APIs ?

Posted: Sat Aug 20, 2016 1:21 am
by Peixoto
This is a long shot, but at each new version of windows, more and more DirectDraw\Direct3D games start to run poorly or with glitches. You have any plans for a DirectDraw\Direct3D wrapper to a more recent Direct3D version

Re: Other APIs ?

Posted: Sat Aug 20, 2016 10:23 pm
by Gamecollector
Use dgVoodoo2. Or a different ddraw wrapper. Or VirtualPC + WinXp.
One of best nGlide features - it works with Win9x and needs DX9.0 without any index (DX 9.0a, DX 9.0b or DX 9.0c).

Re: Other APIs ?

Posted: Sat Aug 20, 2016 11:10 pm
by Zeus
Hmm... Would anyone like to see my own DDraw/D3D wrapper...?

Re: Other APIs ?

Posted: Sun Aug 21, 2016 12:28 am
by Peixoto
Gamecollector wrote:Use dgVoodoo2. Or a different ddraw wrapper. Or VirtualPC + WinXp.
One of best nGlide features - it works with Win9x and needs DX9.0 without any index (DX 9.0a, DX 9.0b or DX 9.0c).


VirtualPCs suck.
nGlide beats dgVoodoo in usability. Besides, it's always good to have options

Re: Other APIs ?

Posted: Sun Aug 21, 2016 12:41 am
by Gamecollector
Zeus wrote:Hmm... Would anyone like to see my own DDraw/D3D wrapper...?

Only if the destination is WinXp + d3d9 + SM 2.0 (ddraw -> d3d9, d3d5 -> d3d9 etc). For DX11 and DX10 there is dgVoodoo 2.x.
And yes, I want to play old DX games w/o black squares and w/o others z-buffer effects. *Censored* AMD not have DX5-DX7 compatibility since HD2xxx series of videocards...

Re: Other APIs ?

Posted: Sun Aug 21, 2016 1:29 am
by Peixoto
Zeus wrote:Hmm... Would anyone like to see my own DDraw/D3D wrapper...?


I certainly would.

Since you seemed receptive to the idea, here goes other suggestion:

I really like the fact that you don't have to copy ngide's dlls to every single game folder. And with the use of environment variables is gets even better: Just put your configs in the game shortcut and you're done. Of course, with ddraw/D3D it's a different story, because there is already a ddraw.dll in the system, but i imagine you could use something like SetWindowsHookEx and the wrapper could work like dxwnd (https://sourceforge.net/projects/dxwnd/) does.

DDraw/D3D may seem huge API's, but that is just because of com (if you want to add an extra method to a object, you have to create a new interface to that object) and because there is lot of redundant things. In the end of the day, many DDraw/D3D methods would encapsulate a lot o common output routines

D3D1-7 also is almost identical to D3D9's fixed function pipeline (the only difference is that D3D9 doesn't support colorkeys) The main problem is DDraw, which is most of the time the reason for old games to run poorly on modern OSes\cards

Re: Other APIs ?

Posted: Sun Aug 21, 2016 2:05 pm
by Gamecollector
Peixoto wrote:D3D1-7 also is almost identical to D3D9 (the only difference is that D3D9 doesn't support colorkeys)
Ha.

Re: Other APIs ?

Posted: Sun Aug 21, 2016 5:33 pm
by Sammy75
What do i need to run nglide in Win9x?

I tryed with a ATI X600 and a Geforce FX 5200 in Windows 98SE.

I use DX7 and 9.0a.

Have i chances to get it working with DX9.0 only?

Re: Other APIs ?

Posted: Sun Aug 21, 2016 9:10 pm
by Gamecollector
Sammy75 wrote:What do I need to run nglide in Win9x?

Well, my X850 XT PE is dead (*censored* leadless soldering) so I'm not 100% sure about the current version of nGlide.
But prevuous versions needs Win9x, DX9.0 compatible videocard and DX9.0 itself. Just unpack the nglide installer to the %system% directory, install the game and play.

Have i chances to get it working with DX9.0 only?

I will try to find Radeon 9800 Pro/XT to test.
But IIRC, nGlide uses the DX 9.0 shader model (without a or b). Several times my Radeon X850 had epic visual bugs because this card is DX9.0b.

Re: Other APIs ?

Posted: Tue Aug 23, 2016 10:09 am
by Sammy75
Nvidia says the Geforce FX 5200 is a DX9.0 Model.
And i found Directx 9.0 on the Web.

So i give it a try.

I tryed Nglide 1.05 earlier on a PC with ATI x600 , but the games say something like "no 3d hardware" or "memory failure" when testing.

The same games work under XP with NGlide.

PS: i have an ATI X850XT PE too, should i try something for you?