Defold 1.5.0 BETA

I found that the engine can mount data from multiple sources based on the uri (the info is from LIVEUPDATE.md) passed to the function liveupdate.add_mount(name, uri, priority, callback):

  • file - Used during development to read built files from the project folder
  • archive - Used for the base game archive (.dmanifest, .arci, .arcd)
  • zip - Used to read content from regular .zip files (e.g. .obb on Android)
  • http - Used to read files over http when the engine is attached to the editor.
  • mutable - Used for live update when downloading individual files. Same formats as archive

As I understand it right, if uri is specified as zip:/path/to/file, then the engine will read the file at the specified path from the file system. That’s great! I would like to use this for html5, i.e. mount an externally loaded zip archive, but it is probably not supported? There is no file system access in html5.

4 Likes