UnitedMel / SA-Community-Map-Fixes

Compilation of map bug fixes with additional improvements.
31 stars 7 forks source link

Apparently, ProcObjs.dat crashes my game, how do I fix it? #16

Open TheLychGamer opened 10 months ago

TheLychGamer commented 10 months ago

So, I tried to load up a save-file on with the same mods I usually use, and when loading with Community Fixes, it crashes. I go and check my files, I went into modloader.txt, and the last line I see on the modloader before the game crashes is, “Loading custom procedural objects "modloader\sa community map fixes\sa community map fixes\data\procobj.dat", then sends off an entire log that makes me confused.

Game version: GTA SA 1.0 US Unhandled exception at 0x005A3280 in gta_sa.exe (+0x1a3280): 0xC0000005: Access violation reading location 0x447A0004. Register dump: EAX: 0x0000005F EBX: 0x00BB7CF4 ECX: 0x00BB7CB8 EDX: 0x00000001
EDI: 0x00BB7CB8 ESI: 0x447A0000 EBP: 0x779A7E70 EIP: 0x005A3280
ESP: 0x0177F87C EFL: 0x00210206 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B

Stack dump:
    0x0177F87C:  00BB7CB8 00000000 00BB7CB0 005A3EF8 00BA3794 00B7D0B8
    0x0177F894:  00000000 0053C5BC 00000001 00000001 00748E09 00748DA3
    0x0177F8AC:  018F4774 0177F958 FFFFFFFF 01662508 47394E19 03571538
    0x0177F8C4:  00000008 00000100 00000008 000001FA 44700000 44070000
    0x0177F8DC:  00000000 00000000 00000780 00000438 00000000 00002710
    0x0177F8F4:  00040302 00000200 00000000 0289029F 0247B65B 0000029F
    0x0177F90C:  00000289 0000002C 00000000 00000001 FFFFFFFF FFFFFFFF
    0x0177F924:  FFFFFFFF FFFFFFFF 00000000 00000000 00000780 00000438
    0x0177F93C:  6365FB94 00400000 00000000 018F4774 00000001 0195AADC
    0x0177F954:  0177FA34 0177F988 6365DE46 0177F9B8 0177F9BC 0177F9C0
    base: 0x01580000   top: 0x0177F87C   bottom: 0x01780000

Backtrace (may be wrong):
    =>0x005A3280 sub_5A3270+0x10 in gta_sa.exe (+0x1a3280) (0x0177F884) 
      0x005A3EF8 sub_5A3EE0+0x18 in gta_sa.exe (+0x1a3ef8) (0x0177F894) 
      0x0053C5BC _ZN5CGame18ShutDownForRestartEv+0x6c in gta_sa.exe (+0x13c5bc)

If there is a way, how do I turn off procedural props so that it does not crash my save-file again, since I have project props mod also.

UnitedMel commented 10 months ago

Try removing that file and see if it fixes the issue.

TheLychGamer commented 9 months ago

Now it says, that law.ipl crashes the game when loading up a save or starting a new game, any other way to fix it?

Game version: GTA SA 1.0 US Unhandled exception at 0x00405CA4 in gta_sa.exe (+0x5ca4): 0xC0000005: Access violation writing location 0x0000002E. Register dump: EAX: 0x00000096 EBX: 0x111A7E48 ECX: 0x0177F38C EDX: 0x14A5DFCC
EDI: 0x14A5D804 ESI: 0x00000000 EBP: 0x00000780 EIP: 0x00405CA4
ESP: 0x0177F12C EFL: 0x00210206 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B

Stack dump:
    0x0177F12C:  14A5DFCC 00000000 111A7E48 008E48AC 0000633D 00000096
    0x0177F144:  1265B7E0 00000030 4482AFEB C4C59BBC 448EB2B8 C4CFD2A2
    0x0177F15C:  004060DF 00000096 14A5D800 00003800 008E48AC 0000633D
    0x0177F174:  00003800 0007C0C4 111A7E48 008E48AC 0040C9DF 00000096
    0x0177F18C:  14A5D800 00003800 0007C0C4 0000633D 00000098 008E4AF8
    0x0177F1A4:  01000000 14A5D800 00003800 00000007 7729ABB9 772B2B2C
    0x0177F1BC:  0499C338 0177F1E8 0040E2CA 14A5D800 0000633D 00000001
    0x0177F1D4:  00000007 00000098 00003400 00000001 00000000 00000007
    0x0177F1EC:  0040EAC8 00000001 00000100 00000006 111A8808 004050E2
    0x0177F204:  00000000 00000000 109442D8 00000006 008E2C90 00824219
    base: 0x01580000   top: 0x0177F12C   bottom: 0x01780000

Backtrace (may be wrong):
    =>0x00405CA4 _ZN9CIplStore18LoadIplBoundingBoxEiPhi+0xa4 in gta_sa.exe (+0x5ca4) (0x0177F158) 
      0x004060DF _ZN9CIplStore7LoadIplEiPhi+0x5f in gta_sa.exe (+0x60df) (0x0177F180) 
      0x0040C9DF _ZN10CStreaming21ConvertBufferToObjectEPci+0x32f in gta_sa.exe (+0xc9df) (0x0177F1B0) 
      0x7729ABB9 RtlRestoreLastWin32Error+0x39 in ntdll.dll (+0x5abb9) (0x0177F1B4) 
      0x772B2B2C ZwClose+0xc in ntdll.dll (+0x72b2c) (0x0177F1C0) 
      0x0040E2CA _ZN10CStreaming21ProcessLoadingChannelEi+0x15a in gta_sa.exe (+0xe2ca) (0x0177F1E8) 
      0x0040EAC8 _ZN10CStreaming22LoadAllRequestedModelsEb+0xb8 in gta_sa.exe (+0xeac8) (0x0177F1FC) 
      0x004050E2 _ZN9CIplStore16SetupRelatedIplsEPKciPP7CEntity+0x302 in gta_sa.exe (+0x50e2) (0x0177F214) 
      0x00824219 __heap_alloc+0x69 in gta_sa.exe (+0x424219) (0x0177F238) 
      0x00824016 __unlock_file+0x22 in gta_sa.exe (+0x424016) (0x0177F24C) 
      0x0082421E __heap_alloc+0x6e in gta_sa.exe (+0x42421e) (0x0177F250) 
      0x0082423B __nh_malloc+0x10 in gta_sa.exe (+0x42423b) (0x0177F258) 
      0x00824266 _malloc+0xf in gta_sa.exe (+0x424266) (0x0177F264) 
      0x008211B7 _Znwj+0x1d in gta_sa.exe (+0x4211b7)