Dear Bryan, Can you provide the information about what game makes the program crash? Probably with your save file if you don't mind :)
Or how can we make a script from scratch to crash the program? I'd like to reproduce this bug by myself because I'm not very sure this is a bug. Yes, as you mentioned, each numeric characters (double-width 0123456789) in Shift-JIS is two bytes long. But when compiling with ENABLE_1BYTE_CHAR and FORCE_1BYTE_CHAR, the data stored in save_file_info.* are pure ASCII numeric characters (single-width 0123456789). Thus, even each field of save_file_info.* is 5 bytes long, only 3 of them is used when using ENABLE_1BYTE_CHAR and FORCE_1BYTE_CHAR. (two digits and NUL terminator) Please take a look at ScriptHandler::getStringFromInteger() in ScriptHandler.cpp which is used to write to the fields of save_file_info. Thanks, Ying-Chun Liu -- PaulLiu(劉穎駿) E-mail address: [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature