Code: Select all
fileobject = {
contents: filecontents, // UInt8array
mode: 33206,
timestamp: new Date()
};
Successfully tested in Windows 10 with Chrome and Edge.
On Firefox sometime it works, other it does not... Sometimes I'm getting your same error. Please try loading the space1999-en.dks file in "standard" way (click on the link), then go back to the page and try loading a local file. Maybe I forgot intiializing something, besides filename and fileocontents? Possibily "emscripten_filesystem", which I don't know how to populate, I can't see anything inside it in developer console.
Note: Github enabled some times ago the "discussion" feature, to... well, discuss features separately from issues; you can enable it in repo settings just by clicking its checkbox.