clementgallet / libTAS

GNU/Linux software to (hopefully) give TAS tools to games
GNU General Public License v3.0
477 stars 56 forks source link

Return to Monkey Island Startup Issue (FMOD version mismatch) #560

Open SpectralPlatypus opened 10 months ago

SpectralPlatypus commented 10 months ago

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

clementgallet commented 9 months ago

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)?

SpectralPlatypus commented 8 months ago

Yeah, that should work.