FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows ME, 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.27k stars 145 forks source link

Twisted Metal 2 #40

Closed LuKeSt0rm closed 4 years ago

LuKeSt0rm commented 4 years ago

Hello, first thank you very much for your effort and work. I tried to use "cnc-ddraw" on Twisted Metal 2, but the following error occurs when starting the game: "DirectDraw Error A DirectDraw object could not be created (code: 1). You may need to restart your computer and/or reinstall DirectX." cnc-ddraw.log

FunkyFr3sh commented 4 years ago

For me the game will crash if i enable DirectDraw in the settings + 800x600 with and without cnc-ddraw. So It's not possible for me to see the new hud. Do high resolutions work for you without cnc-ddraw?

LuKeSt0rm commented 4 years ago

In my case it just doesn't work without Wrapper and DirectDraw enabled and the compatibility settings for the tm2.exe, wanted to make a GIF

It works before, this crap with directdraw..

FunkyFr3sh commented 4 years ago

For me the game works fine without cnc-ddraw, but only at 640x480... if i set it to 800x600 then it will crash, so there is definitely something wrong with the high res patch because it's not a compatibility issue

LuKeSt0rm commented 4 years ago

And you haven't seen the new hud without the wrapper ? strange, should work normally

FunkyFr3sh commented 4 years ago

Yeah no new hud... looks always the same, no matter what values I try

image

image

LuKeSt0rm commented 4 years ago

Yes, I'm just trying to fix it again, I've had it before with new hud, but it just doesn't work anymore...

Edit: You can also try to start directly the ID exe and see if you can see the new hud.

FunkyFr3sh commented 4 years ago

If I start it via ld.exe then the game works at 800x600 without cnc-ddraw... That's good! With cnc-ddraw it doesn't work yet, but I'll check what's wrong with it tomorrow. Maybe the new hud will work if high res works

LuKeSt0rm commented 4 years ago

Thank you very much! If this still works, we would have the best package.

FunkyFr3sh commented 4 years ago

Ok I know what's going on with it now. If you set "Enable DirectDraw" then it will enable Direct3d and not DirectDraw, that's why it's not working. The loading screen you were talking about only shows up if the game is using Direct3d. The new hud and high resolution patch doesn't work with DirectDraw. So everything is fine...

LuKeSt0rm commented 4 years ago

Ah ok, so the function is actually at least wrongly named in the settings of the mod. So there is no way to achieve this via DirectDraw with the new Hud ?

FunkyFr3sh commented 4 years ago

It's probably possible to have the new Hud and also have higher resolutions, but you need to ask the guy who made this ld.exe. Might be easy for him to make it working for DirectDraw as well

LuKeSt0rm commented 4 years ago

Thanks, I will talk to the developers of the mod about this. Question: Would you like to see the finished "Ready2Play" package with your Wrapper then ?

FunkyFr3sh commented 4 years ago

I guess we're done here! Closing it now