-
Notifications
You must be signed in to change notification settings - Fork 51
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
Midnight Club II crashes on startup #88
Comments
Was doing some investigation, and seems like the game uses DirectMusic for the menu music and DSOAL doesn't like that very much, so it crashes whenever it tries to load it. |
Unfortunately the c++-rewrite branch build hasn't fixed this, still crashes.
@kcat Is there a way to disable DirectMusic on Windows or ignore it like DirectSound's native FX API (SetFX) to prevent crash in #39 (comment)? |
Not as far as I know. Maybe some registry edit to disable DirectMusic, which would likely cause problems with stuff that relies on it. Or maybe some way to override the DLL for specific apps with something that won't work (and hope the app won't fail without dmusic being available). |
I see. I wonder how NOLF2 manages to avoid the crash tho 🤔 #61 (comment) |
Different apps behave differently in response to DirectMusic not working. Depending on how DirectMusic itself behaves from not being able to get that interface, some apps may or may not be prepared to deal with that failure mode. |
Is it possible to replace dsoal with modified Alchemy? |
@UserGit-2021 I managed to get it working and was gonna record a video, but reverb is behaving quite oddly, even without OpenAL Soft. Like, the intro video and main menu start with audible reverb (made even more noticeable by using I hope this wasn't just an afterthought and they actually did make use of proper EAX, though apparently it wasn't optimized for it, since I only see mentions of Miles in the executable, and there are complaints of missing car sounds when using EAX[1][2], though I didn't notice it happening on my end. The manual doesn't even mention EAX, only a
And the only relevant setting I could find was options.cfg where it was already set: I also tried updating the EAX 3 provider with one from a different game using the same Miles version but it just gave me an error on startup and refused to load it. |
hmm... it turns out it's easier to develop the dsoal project from scratch than to implement it from Alchemy. |
Game basically doesn't post at all with the dsoal files present, crashes every time after the intro.
Here's the log files:
alsoft_error.txt
dsoal_error.txt
The text was updated successfully, but these errors were encountered: