View Full Version : Import ZASM -> Crash

05-29-2017, 12:18 AM
ZQuest will crash if when the user imports a ZASM script, they enter an invalid filename in the file lister.


Note than I import ZASM for one of three main reasons:

When a quester provides a quest in which they need me to add an ffc, but they do not apply, or they do not have all of the ZScript files.
When recompiling requires rearranging headers, and importing precompiled ZASM is easier.
When I wish to 'idiot-proof' adding a script; usually ffcs.

06-15-2017, 03:40 PM
This one is a bug. ffasm.cpp is due for a complete rewrite, but it's not a high priority for me right now (and ZASM will soon be a deprecated feature: still available for "hardcore scripters" but hidden by default from the ZQ GUI).

09-25-2018, 08:49 AM
Fixed this today, in both 2.53 and 2.55. All of the ASM Import file dialogues now use the same file check error routine as importing a C-style script, and I corrected the error handling for them so that they don't have unhandled exceptions.