Skip to content

OnlyWorlds SDK for Godot 0.13.1

Choose a tag to compare

@tmoosting tmoosting released this 28 Nov 13:22
· 49 commits to main since this release

A world folder write refuses an element id that cannot be one file name inside the folder. Update from any earlier release.

  • write_folder and pack refuse, before writing anything, an element whose id is empty, holds a path separator (/ or \), a colon or a control character, or is . or .., and any file name made from an id that the archive's own name checks refuse (a drive, a character Windows does not allow in a file name, a reserved device name). OWWorld.write_refusal names the type, the id and why; write_folder returns ERR_INVALID_DATA. This holds for a world read from the onlyworlds.com download too.
  • Every path a write makes is also checked to lie inside the folder being written.
  • pack now runs the archive reader's own name checks before packing, so it never writes an archive its reader refuses.
  • A UUID and a hand-made id such as c-1 are written as before.

A patch release: no API changed.

onlyworlds-godot-0.13.1.zip holds the addons/onlyworlds/ folder: copy it into your project. Built from the tag and proven by installing it in an empty Godot 4.7 project that reads a world through it.

README · CHANGELOG

sha256 fb94184f20e6394dd1aa89006b782ac9e2dfa2bc62575e7c4c6e7c7c6991a181