MAP file
From Wiki
Line 4: | Line 4: | ||
Prior to version 13 MAP files are restricted to [[PRT file]]s with names of the form 0000.prt and 1023.prt, and every number between. In order to work within this space, the files must be overwritten, or replaced, and cannot be easily shared, requiring that participants somehow partition their computers' file systems, or dedicate entire computers to each project in progress. | Prior to version 13 MAP files are restricted to [[PRT file]]s with names of the form 0000.prt and 1023.prt, and every number between. In order to work within this space, the files must be overwritten, or replaced, and cannot be easily shared, requiring that participants somehow partition their computers' file systems, or dedicate entire computers to each project in progress. | ||
− | *A version 13 MAP file accepts any | + | *A version 13 MAP file accepts any profile name that fits both within 30 UTF-8 code units and 10 UTF-16 code points, excluding the dotted file extension. |
*The true identity of the profile is understood to be its icon field. This is a secondary 30 byte field which identifies an icon to be displayed in SOM_MAP. Version 13 assumes that no two profiles share the same icon. And it is strongly recommended that a 22 byte base64 encoded 128-bit universally unique identifier be used for this purpose. The remaining 8 bytes can hold a 4 byte addressing scheme, and the 4 byte dotted file extension. | *The true identity of the profile is understood to be its icon field. This is a secondary 30 byte field which identifies an icon to be displayed in SOM_MAP. Version 13 assumes that no two profiles share the same icon. And it is strongly recommended that a 22 byte base64 encoded 128-bit universally unique identifier be used for this purpose. The remaining 8 bytes can hold a 4 byte addressing scheme, and the 4 byte dotted file extension. |
Revision as of 10:45, 1 October 2013
MAP files are computer files created by Sword of Moonlight's SOM_MAP editing tool.
Portable MAP files
Prior to version 13 MAP files are restricted to PRT files with names of the form 0000.prt and 1023.prt, and every number between. In order to work within this space, the files must be overwritten, or replaced, and cannot be easily shared, requiring that participants somehow partition their computers' file systems, or dedicate entire computers to each project in progress.
- A version 13 MAP file accepts any profile name that fits both within 30 UTF-8 code units and 10 UTF-16 code points, excluding the dotted file extension.
- The true identity of the profile is understood to be its icon field. This is a secondary 30 byte field which identifies an icon to be displayed in SOM_MAP. Version 13 assumes that no two profiles share the same icon. And it is strongly recommended that a 22 byte base64 encoded 128-bit universally unique identifier be used for this purpose. The remaining 8 bytes can hold a 4 byte addressing scheme, and the 4 byte dotted file extension.
- If a profile is missing, the response is to search within the project for a profile with a matching icon. This is in case the profile was renamed. However, if the profile name begins with a digit, 0 though 9, then the search should not be carried out; the profile will not be considered renamed.