DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.86k stars 471 forks source link

DFHack crashes (sometimes?) on Windows with unrecognized DF versions #949

Open lethosor opened 8 years ago

lethosor commented 8 years ago

I haven't managed to test this on Windows yet, but several users on the forums/IRC have reported that DFHack crashes after the "DFHack will now deactivate" message. This doesn't happen on OS X (or Linux, from what I remember). It's possible that this is unavoidable due to how DFHack works with SDL.dll on Windows, or something like that, but I didn't see anything obvious when I looked through Core.cpp.

BenLubar commented 4 years ago

SDL_NumJoysticks will return -1 if DFHack has a fatal error. Could that be breaking something?