skacekamen's Recent Posts
I'm unable to import .mcz file into the game. (Game Data > Restore a Game file). It throws "File not found" error, but the filename seems to be the contents of the save file.
Looking into the source code, it looks like "onGameFileImportNew" expects two arguments: (name, contents). But it's used as event handler that only provides one argument: (contents), so the loading function thinks the filename is the file contents.
I've fixed this by changing the "importFile" function to call the callback with empty first argument: callback("", data);
It would be nice if this was also fixed - I usually play on Android and I can't fix the files there :(
Looking into the source code, it looks like "onGameFileImportNew" expects two arguments: (name, contents). But it's used as event handler that only provides one argument: (contents), so the loading function thinks the filename is the file contents.
I've fixed this by changing the "importFile" function to call the callback with empty first argument: callback("", data);
It would be nice if this was also fixed - I usually play on Android and I can't fix the files there :(
skacekamen
Member
Member Since
September 13th, 2023