narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
885 stars 67 forks source link

The Need for Speed ​​SE (1996) crash issue #334

Open jericho22 opened 6 days ago

jericho22 commented 6 days ago

When I try latest version, game crashes instantly (it won't work with any other wrappers anyway). The game only runs on dxwnd without any issues. It also works natively, but there is a color issue. Is there any support possible in the future?

NFS1_new_look

narzoul commented 5 days ago

When I try latest version, game crashes instantly (it won't work with any other wrappers anyway).

Does that mean it worked with an older version? If so, which one?

It also works natively, but there is a color issue.

Unfortunately it doesn't work for me, and the crashes don't seem to be related to DirectDraw. Did you install some patches or compatibility fixes to make it work? What version of Windows are you using?

Is there any support possible in the future?

Only if it's actually a bug on DDrawCompat's side, which I find rather unlikely in this case. I don't have time to patch non-graphics related crashes or bugs in games.

That said, since you can apparently get further than I can natively, if you enable LogLevel=debug and CrashDump=full in the configuration, and send both the log file and the crash dump to me, I can make sure it's at least not a crash caused by DDrawCompat.

jericho22 commented 4 days ago

Does that mean it worked with an older version? If so, which one? I think doesn't work on any version.

Crashes must be ddraw related (unless your files are missing or you have not set cd letter correctly). I even checked via debug tool. An address (must be related to window) does not take any value and this causes it to crash. Gho (dxwnd developer) said that this was an issue with starting with a window that was too large, like 100000x100000. But I think there's more to it than that. Of course I'm talking about dxwnd. I'm more interested in game modding. and I have no knowledge about renders/graphics. But I will try to help you as much as I can.

What version of Windows are you using?

Windows 10 pro 64 bit (22H2)

Of course, some compatibility is needed to run game natively.

Already some fixes are included in exe. and added Nocd patch by me.

Finally, you may need to run repeatedly for it to work.

Only if it's actually a bug on DDrawCompat's side, which I find rather unlikely in this case. I don't have time to patch non-graphics related crashes or bugs in games.

NP, I believe it will work at least just fixing ddraw part. I don't expect you to be able to fix anything non graphics anyway. If I had known, I would have fixed completely myself. But as I said, I'm not knowledgeable about graphics.

Here is dump you asked for from me (only patched exe was used. no compatibility): https://www.sendspace.com/file/u9ay1c

jericho22 commented 4 days ago

I forgot to mention, in version 0.5.2, error message of game is: Screenshot_11

BEENNath58 commented 3 days ago

CorrectCreateSurface

If I am not wrong, this is the setting that causes the colour issue. As to what I remember, I have successfully tested the game without this shim