poliva / ssf2xj

Super Street Fighter 2X / Super Street Fighter II Turbo
14 stars 11 forks source link

Memory access violation crash #2

Open ghost opened 8 years ago

ghost commented 8 years ago

The script '000_ST_Training_Windows' in the posted Training Mode package will often crash on startup, with a memory access error. Personally, I have seen this 100+ times in a row (on Windows 7) before I was able to get the emulator to run. Fortunately, the fix seems to be easy!

-----------------------------------------------------
Exception at EIP=017E4D38 (not found): ACCESS VIOLATION
While attempting to read memory at D5F2B614
-----------------------------------------------------
EAX=125EAE50 EBX=7E7E7E7D ECX=0E000029 EDX=7E7E7E7E
ESI=D5F2B5A0 EDI=122EF218 EBP=00000029 ESP=0028E570
-----------------------------------------------------
Stack crawl:
  0028E578: 017E4D38 (not found)
  0028E6DC: 01A62CBE (not found)
  0028E76C: 01827AA5 (not found)
  0028E818: 01828999 (not found)
  0028E8F0: 01A2A530 (not found)
  0028EAA8: 77D6E38C (RtlInitUnicodeString+0x0164)
  0028EC58: 01A62C04 (not found)
  0028ED04: 014D283A (not found)
  0028EDFC: 7714A53A (lock+0x00f1)
  0028EE5C: 014DAAD4 (not found)

This can be fixed by replacing Super-Turbo-Training-Mode-2015\cheat\ssf2xj.xml with the version from this repository

Maybe something in fbe310c1ea25d9a78d0d07fd99d9971490a562d8 fixes the issue?

For reference:

I'm not sure whether anything should be done. Could the posted training mode package be updated to include the working ssf2xj.xml?