Clownacy / Cave-Story-Mod-Loader

DLL mod loader for Freeware Cave Story (+ sample mods)
19 stars 4 forks source link

Fix NICE Ogg music #6

Open Clownacy opened 7 years ago

Clownacy commented 7 years ago

Somewhere, the Org file redirection is interfering with NICE's Ogg playback.

Clownacy commented 7 years ago

Sort-of-fixed-but-not-really in cdd4319468f7c866c3d99e7604e11b5915339a9a

20kdc commented 7 years ago

NICE Ogg playback is performed using DirectSound as it's "more integrated" than using two sound APIs at the same time. Possibly the cause...???

(EDIT: Checking RedirectOrgFiles. My previous theory was wrong, the real reason is because NICE hooks the resource loader to know when to stop Ogg music IIRC...) (...no, wait, NICE Ogg music is handled via custom TSC (VOC). NICE's implementation of custom Org files is what uses the resource loader changearound.)