Repository navigation
3.24.3
Export as OnlyWorlds folder keeps to what a disk can hold, and no longer follows a link out of records/. Please update if you export worlds to a folder.
What changes:
- A file name is made from the element's id by the folder format's rule, counted in whole characters. An id with a character above the basic plane no longer gets half a character in its file name. The dash rule of the format applies: ids from onlyworlds.com keep the names they have now.
- An element whose file name a disk would refuse is left out and named in the report, with its reason: a Windows device name (
NUL,CON,COM1and the like), one of< > : " | ? *, a control character, half of a character, or a name over 255 bytes. Before, one such id stopped the export part-way and left a partial folder that blocked the next export. - Two elements of one type whose file names are the same name once case is folded (
Ab1andab1,éwritten two ways) are both left out, and each reason names the other id. Before, a disk that ignores case kept one of the two files and the other element was lost without a word. - A link inside a world's
records/is not followed. A link to a file or folder elsewhere on your disk is left out and named in the export report and in the import message; before, its bytes were copied into the world and out again in an export. Ifrecords/RECORDS.jsonis itself a link, the export stops and the import leavesrecords/out, each with a message that says so, since the file that marks private records cannot be read from there; replace the link with the file itself.
What you will notice: a world with ordinary ids exports exactly as before. A world with an id like the above exports without those elements and the report lists each one.
Known limits: the link check works on desktop only; on a phone the plugin cannot tell a link and exports what Obsidian lists. A link above the world's folder (the world folder itself linked elsewhere) is followed, as the notes in it are. Paste world still accepts any id; it is the export that now refuses what a file cannot be named after.
Tried in a real vault on Windows before release: an export of a world holding the ids above (every refused element named, the good ones written, the emoji id's file whole), an export with a link in records/ (the linked file's bytes are not in the export; 3.24.2 side by side copies them), and the earlier export, import and folder cases. Not tried on iOS, Android, macOS or Linux.