CnCNet / ts-ddraw

Rewrite of cnc-ddraw with Tiberian Sun as the target
396 stars 44 forks source link

Can you help me to write a ddraw.dll for my Game? #10

Closed 515to closed 5 years ago

515to commented 5 years ago

Can you help me to write a ddraw.dll for my Game? This is my game client download url: https://mega.nz/#!aWxWCaSJ!6joDY6pjBGkSJV5irv2qjzEXKL4--uQo37XWyusGuxU when game runs on Win8 or higher , its fps is below 30 or less. and AMD video card, game is black screen. when it runs on Win7 , its fps always around 200 or more.

i can pay for it , and tell me how much. thank you. my skype: nashine@live.cn

dkeetonx commented 5 years ago

Have you tried cnc-ddraw? https://github.com/CnCNet/cnc-ddraw

What's the name of the game?

515to commented 5 years ago

I have tried, the name of the game is TalesWeaver. when i started game with ddraw.dll from CnCNet, it shows "Unable to find an entry point named 'DirectDrawCreateEx' in DLL 'ddraw.dll'" Thank you

elishacloud commented 5 years ago

@515to, have you tried this project: DDrawCompat. It has fixes for these types of issues. Also I have created a project to help with these kind of issues also. See: dxwrapper

FunkyFr3sh commented 5 years ago

Neither ts-ddraw nor cnc-ddraw support DirectX 7. I don't think there is any point in adding support for it since I'm pretty sure all games using DirectX 7 will also take advantage of Direct3D which can't be supported by our projects (We got standalone solutions that don't rely on the old ddraw/d3d dlls shipped with windows).

elishacloud commented 5 years ago

I have tested close to 100 games that use ddraw. Most DirectX7 games use Direct3D. However I found 6 games that use DirectX 7 without taking advantage of Direct3D, or at least without taking advantage of any Direct3DDevice APIs. Some of them use APIs like IDirect3D::EnumDevices or IDirect3D::FindDevice, which are pretty easy to emulate with Direct3D9 without building all the Direct3D support.

Here is a list of games that use only ddraw in DirectX7:

With my dxwrapper project I am trying to do full conversion of ddraw (including Direct3D) into Direct3D9.