Hello again, all. I’m hoping someone can help me understand how to properly save games. Right now, when I type
save, I pop up a system file selection window, choose the save file, then grab the data generated by vm_save in quixe.js. Basically, instead of
Which then uses NodeJS fs.writeFileSync to output the data as utf8 to a file. This seems to go okay. However, when I reverse the process for
restore, the data isn’t accepted. Specifically
vm_restore failed: file doesn't start with FORM/IFZS header
which suggests that unpack_iff_chunks(), quixe.js line 5876, “succeeded” but that there’s something wrong with the data that it returns.
Any help is appreciated!