eglaysher / rlvm

RealLive clone for Linux and OSX
http://rlvm.net
GNU General Public License v3.0
150 stars 25 forks source link

Clannad Side Stories Crash (Steam) #98

Open JeodC opened 1 month ago

JeodC commented 1 month ago

Using the steam version of Clannad Side Stories, crashes during the Key logo.

(SEEN1000)(Line 19): std::bad_alloc

Happy to report that Clannad HD from Steam seems to run ok.

Mickey-snow commented 1 month ago

Hi JeodC!

Thanks for reporting the crash issue with the Steam version of Clannad Side Stories. It looks like the crash is caused by a memory allocation error (std::bad_alloc) that occurs because the parser gets confused during the handling of input. The grammar definitions for <string> and <tag> are leading to ambiguities, causing the parser to misinterpret the input from SEEN1001, which is needed by SEEN1000 Line 19, and exhausting all available memory.

I'm currently working on resolving this and several other unimplemented opcodes that are also affecting gameplay. But it's a complex issue and I can't guarantee a fix just yet.

JeodC commented 1 month ago

Hey I didn't expect it to even be worked on. Appreciate the update. :)

JeodC commented 2 weeks ago

Hello Serina, have you had any luck with this one?

Mickey-snow commented 2 weeks ago

Sorry JeodC, this is more complicated than I thought, but I'm still working on it.