Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jericho22 opened this issue Jul 1, 2024 · 4 comments
Open

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

jericho22 opened this issue Jul 1, 2024 · 4 comments

Comments

@jericho22
Copy link

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
Copy link
Owner

narzoul commented Jul 2, 2024

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
Copy link
Author

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.

  • GlobalMemoryStatusLie
  • MapMemoryB0000
  • SingleProcAffinity
  • CorrectCreateSurface

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

  • Cpu affinity
  • Initial window resolution fix (height)
  • Initial window resolution fix (width)
  • Numlock fix
  • Handle exceptions fix
  • 8-bit color error fix
  • NoCD patch
    You can use this exe that I attached.
    NFS.zip

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
Copy link
Author

jericho22 commented Jul 3, 2024

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

@BEENNath58
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants