libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

Return to Monkey Island Startup Issue (FMOD version mismatch)

Open SpectralPlatypus opened this issue 2 years ago • 2 comments

Return to Monkey Island (Linux release) seems to fail during startup due to a clobbered parameter in FMOD_System_Create function (see +7 and +18): image

This results in the following error, presumably due to the hook in fmod.h omitting the second paramter for this function: (20) There is a version mismatch between the FMOD header and either the FMOD Studio library or the FMOD Low Level library.

Notes: The game was launched with --nosteam argument during testing

SpectralPlatypus avatar Aug 31 '23 17:08 SpectralPlatypus

If I understand correctly, it would work if you define FMOD_System_Create(void **system, int version), and pass version to the original function orig::FMOD_System_Create(system, version)?

clementgallet avatar Sep 29 '23 15:09 clementgallet

Yeah, that should work.

SpectralPlatypus avatar Oct 20 '23 17:10 SpectralPlatypus