Open Firmeteran opened 4 years ago
I believe that I've figured this out. Just because a material says it uses rpMATFXEFFECTUVTRANSFORM
doesn't mean that it actually does. RpMatFXMaterialGetUVTransformMatrices
will return NULL matrices in this case which leads to the crash.
I've submitted PR #20 as my first Pull Request ever ( be gentle :P ) which is a workaround to this issue.
Can't skip the cutscene, the game always freeze first. then crash. Always conflicting with Modloader (cause the message down below always appear on modloader.log).
Game version: GTA SA 1.0 US Unhandled exception at 0x6A0E96E5 in d3d9.dll (+0x696e5): 0xC0000005: Access violation reading location 0x00000000. Register dump: EAX: 0x05CCE9C0 EBX: 0x00000004 ECX: 0x01984CA0 EDX: 0x00000000
EDI: 0x05CCE9C0 ESI: 0x00000000 EBP: 0x0177F270 EIP: 0x6A0E96E5
ESP: 0x0177F238 EFL: 0x00210206 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B
Shutting down Mod Loader... Shutting down filesystem watcher... Shutting down menu... Unloading plugin "gta3.std.fx" Unloading plugin "gta3.std.asi" Unloading plugin "gta3.std.bank" Unloading plugin "gta3.std.data" Unloading plugin "gta3.std.movies" Unloading plugin "gta3.std.scm" Unloading plugin "gta3.std.text" Unloading plugin "gta3.std.tracks" Unloading plugin "gta3.std.sprites" Unloading plugin "gta3.std.stream" Mod Loader has been shutdown.