narzoul / DDrawCompat

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

Sims 1 crashing on launch #133

Closed kttx9 closed 1 year ago

kttx9 commented 2 years ago

For quite a while I'm experiencing a crash when I try to run The Sims 1 using this wrapper. The game crashes on startup, and the stkdmp file logs this error: Exception code: C0000005 ACCESS_VIOLATION Thread ID: 3044 Sound exec count: 0

narzoul commented 2 years ago

Does that mean it was working before, with the same version of DDrawCompat? What has changed on your system since then?

Please attach the debug logs of DDrawCompat using the ReleaseWithDebugLogs build.

kttx9 commented 2 years ago

Exactly, not really sure what changed, I'd say nothing (apart from maybe a windows 10 update). Here's the log:

DDrawCompat-Sims.log

narzoul commented 2 years ago

It looks like the "typical" crash when G-Sync is enabled in DirectDraw exclusive fullscreen mode. Try turning it off for the game, if it's on.

kttx9 commented 2 years ago

You're 100% right! Turning off g-sync fixed the issue. Thanks!

narzoul commented 1 year ago

The G-Sync issue should also be solved in v0.4.0 when using the FullscreenMode=borderless setting, there should be no need to disable it manually anymore.