ws-polish: guide index lists every format per page; category pages point to their new formats

Index table rows complete (from docs/FORMATS.md); scene / data Formats tables link the Roblox and
Minecraft pages; image / scene / archive / font / music intros name the wave-3 formats; video's
leftover merge markers removed and the FLI / Smacker rows moved into the table.
This commit is contained in:
4DBug committed 2026-10-31 17:17:31 -05:00
1 parent 84fb8f42f1
commit 903507b23c
8 files changed
+30 -21

No files matched your search

+9 -9
View File
@@ -9,20 +9,20 @@ and the host notes. Each standard type has its own page:
| Page | Type(s) | Formats | | Page | Type(s) | Formats |
|---|---|---| |---|---|---|
| [Images](image.md) | `Image`, `Frame` (animation) | PNG / APNG, JPEG, WebP, GIF, BMP, TGA, QOI, TIFF, ICO, PNM, HDR | | [Images](image.md) | `Image`, `Frame` (animation) | PNG / APNG, JPEG, WebP, GIF, BMP, TGA, QOI, TIFF, ICO / CUR, PNM, HDR, OpenEXR, DDS, KTX, VTF, BLP, TIM, PCX, SGI, Sun Raster, ILBM, XPM, XBM, ICNS, ANI |
| [Audio](audio.md) | `Audio`, `Decoder` | WAV, FLAC, MP3, Ogg Vorbis, Opus, AAC, M4A, AIFF, AU, CAF, VOC | | [Audio](audio.md) | `Audio`, `Decoder` | WAV, FLAC, MP3, Ogg Vorbis, Opus, AAC, M4A, AIFF, AU, CAF, VOC, WavPack, APE, TTA, Musepack, AC-3, QOA, ADPCM, ADX, VAG, BRSTM |
| [Music](music.md) | `Module`, `Midi` | MOD, S3M, XM, IT, MIDI, SoundFont 2 | | [Music](music.md) | `Module`, `Midi` | MOD, S3M, XM, IT, MTM, 669, STM, ULT, OKT, MED, PTM, FAR, UMX, AHX / HVL, MIDI, MUS, XMI, HMP, SoundFont 2 |
| [Video](video.md) | `VideoDecoder`, `Demuxer`, `Track`, `Packet` | MP4 / MOV, MKV / WebM, AVI, MPEG-TS / PS, Y4M, H.264 | | [Video](video.md) | `VideoDecoder`, `Demuxer`, `Track`, `Packet` | MP4 / MOV, MKV / WebM, AVI, MPEG-TS / PS, Ogg Theora, FLV, FLI / FLC, Smacker, Y4M, H.264 |
| [3D scenes](scene.md) | `Scene`, `Voxels` | glTF / GLB, OBJ, STL, PLY, FBX, Collada, 3MF, USDA, OFF, VOX | | [3D scenes](scene.md) | `Scene`, `Voxels` | glTF / GLB, OBJ, STL, PLY, FBX, Collada, 3MF, USDA, OFF, VOX, 3DS, MS3D, B3D, LDraw, LWO, .x, IQM, PMX / PMD, VRML, X3D, MD2, MD3, MDL, MD5, BSP, SMD |
| [Roblox](roblox.md) | `RbxTree` (`F.Rbx`), `Scene` | rbxm / rbxl, rbxmx / rbxlx, Roblox .mesh | | [Roblox](roblox.md) | `RbxTree` (`F.Rbx`), `Scene` | rbxm / rbxl, rbxmx / rbxlx, Roblox .mesh |
| [CAD](cad.md) | `Cad` (STEP) | STEP (B-rep through a plug-in) | | [CAD](cad.md) | `Cad` (STEP) | STEP (B-rep through a plug-in) |
| [Fonts](font.md) | `Font` | TTF / OTF, WOFF, WOFF2, BMFont | | [Fonts](font.md) | `Font` | TTF / OTF, WOFF, WOFF2, BMFont, BDF, PCF, PSF, FON, Type 1, EOT, Hershey |
| [Archives](archive.md) | `Archive` | zip, tar, gzip, 7z, xz, zstd, Brotli, bzip2 | | [Archives](archive.md) | `Archive` | zip, tar, gzip, 7z, xz, zstd, Brotli, bzip2, PAK, WAD, GRP, VPK, MPQ, cpio, ar / deb, rpm, .Z, LZ4, ISO 9660, LHA, ARJ, Zoo, uu / yEnc / BinHex / MacBinary / AppleSingle, D64, ADF, FAT, CAB |
| [Data](data.md) | plain values, `XmlNode`, `Date` | JSON, XML, YAML, TOML, CSV, INI, MessagePack, CBOR, plist | | [Data](data.md) | plain values, `XmlNode`, `Date` | JSON, XML, YAML, TOML, CSV, INI, MessagePack, CBOR, plist |
| [Minecraft and voxels](voxel.md) | typed values, `Scene` + `Voxels` | NBT, SNBT, `.schem` / `.schematic` / `.litematic`, Anvil `.mca`, Qubicle `.qb` | | [Minecraft and voxels](voxel.md) | typed values, `Scene` + `Voxels` | NBT, SNBT, `.schem` / `.schematic` / `.litematic`, Anvil `.mca`, Qubicle `.qb` |
| [Vector](vector.md) | `Vector` | SVG | | [Vector](vector.md) | `Vector` | SVG |
| [Layered images](layered.md) | `Layered` | PSD, Aseprite | | [Layered images](layered.md) | `Layered` | PSD, Aseprite, OpenRaster |
| [Tile maps](tilemap.md) | `TileMap` | Tiled TMX / TMJ | | [Tile maps](tilemap.md) | `TileMap` | Tiled TMX / TMJ (+ TSX / TSJ tilesets) |
| [Subtitles](subtitles.md) | `Subtitles`, `Cue` | SRT, WebVTT, ASS / SSA | | [Subtitles](subtitles.md) | `Subtitles`, `Cue` | SRT, WebVTT, ASS / SSA |
| [Playlists](playlist.md) | `Playlist` | M3U / M3U8 (HLS), PLS, XSPF | | [Playlists](playlist.md) | `Playlist` | M3U / M3U8 (HLS), PLS, XSPF |
+5 -1
View File
@@ -3,7 +3,11 @@
Every archive format loads as one `Archive` value: a list of named entries whose bytes you `read` on demand. Zip, Every archive format loads as one `Archive` value: a list of named entries whose bytes you `read` on demand. Zip,
tar and 7z hold many entries; gzip, xz, zstd, bzip2 and Brotli files are *single-stream* archives with one entry tar and 7z hold many entries; gzip, xz, zstd, bzip2 and Brotli files are *single-stream* archives with one entry
(the decompressed data). A `.tar.gz` (`.tgz`, `.tar.xz`, `.tar.zst`, `.tar.bz2`, `.tar.br`) loads straight as the tar (the decompressed data). A `.tar.gz` (`.tgz`, `.tar.xz`, `.tar.zst`, `.tar.bz2`, `.tar.br`) loads straight as the tar
inside. Zip, tar and gzip are writable; any Archive can be written as any of them. inside. Zip, tar and gzip are writable; any Archive can be written as any of them. The same value holds the
[game archives](#game-archives) (PAK, WAD, GRP, VPK, MPQ), the [Unix, package and disc archives](#unix-package-and-disc-archives)
(cpio, ar / .deb, rpm, .Z, .lz4, ISO 9660), [LHA, ARJ and Zoo](#lha-arj-and-zoo), the [text and Mac
encodings](#encodings) (uuencode, yEnc, BinHex, MacBinary, AppleSingle), [disk images](#disk-images) (D64, ADF, FAT)
and [Microsoft Cabinet](#microsoft-cabinet) files: [Formats](#formats) lists them all.
```luau ```luau
local zip = assert(F.archive.load(zipBytes)) local zip = assert(F.archive.load(zipBytes))
+1
View File
@@ -340,6 +340,7 @@ is an error there), CSV needs rows, INI needs sections of scalars, JSON has no b
| msgpack (`.msgpack`, `.mpk`) | yes | yes | values, buffers, Dates | | msgpack (`.msgpack`, `.mpk`) | yes | yes | values, buffers, Dates |
| cbor (`.cbor`) | yes | yes | values, buffers, Dates, tagged values | | cbor (`.cbor`) | yes | yes | values, buffers, Dates, tagged values |
| plist (`.plist`) | XML + binary | XML | values, buffers, Dates | | plist (`.plist`) | XML + binary | XML | values, buffers, Dates |
| nbt (`.nbt`, `.dat`, `.mcstructure`), snbt (`.snbt`) | yes | yes | typed values: see [Minecraft and voxels](voxel.md) |
Full capability list: [FORMATS.md](../FORMATS.md). Full capability list: [FORMATS.md](../FORMATS.md).
+3 -1
View File
@@ -2,7 +2,9 @@
Every font format loads as one `Font`: metrics, a character map, advances, kerning and glyph images. Outline fonts Every font format loads as one `Font`: metrics, a character map, advances, kerning and glyph images. Outline fonts
(TrueType / OpenType `.ttf` / `.otf` / `.ttc`, WOFF, WOFF2) also give glyph outlines and rasterize at any size. (TrueType / OpenType `.ttf` / `.otf` / `.ttc`, WOFF, WOFF2) also give glyph outlines and rasterize at any size.
Bitmap fonts (AngelCode BMFont `.fnt`) crop their glyphs from page images. Fonts are read-only except BMFont, which is Bitmap fonts (AngelCode BMFont `.fnt`) crop their glyphs from page images; the [pixel fonts](#bitmap-fonts) (BDF,
PCF, PSF, Windows FON) carry their glyph bitmaps, and [Type 1, EOT and Hershey](#type-1-eot-and-hershey) fonts load
too. Fonts are read-only except BMFont, which is
also how an outline font is *baked* into a texture atlas for a game. also how an outline font is *baked* into a texture atlas for a game.
```luau ```luau
+3 -2
View File
@@ -1,7 +1,8 @@
# Images # Images
Every image format (PNG / APNG, JPEG, WebP, GIF, BMP, TGA, QOI, TIFF, ICO / CUR, PNM / PAM / PFM, Radiance HDR) loads Every image format (PNG / APNG, JPEG, WebP, GIF, BMP, TGA, QOI, TIFF, ICO / CUR, PNM / PAM / PFM, Radiance HDR,
as one `Image`: a width, a height, a pixel format and one tightly packed `buffer`. Animations (GIF, APNG, animated OpenEXR, the [game textures](#game-textures) DDS / KTX / VTF / BLP / TIM, and the [older formats](#formats) PCX, SGI,
Sun Raster, ILBM, XPM, XBM, ICNS, ANI) loads as one `Image`: a width, a height, a pixel format and one tightly packed `buffer`. Animations (GIF, APNG, animated
WebP) and multi-image files (TIFF pages, ICO entries) add a list of `Frame`s. Editing goes through `F.ops.image`. WebP) and multi-image files (TIFF pages, ICO entries) add a list of `Frame`s. Editing goes through `F.ops.image`.
```luau ```luau
+3 -2
View File
@@ -2,8 +2,9 @@
Music files hold notes and instruments, not a recording. Tracker modules (MOD, S3M, XM, IT, and the Music files hold notes and instruments, not a recording. Tracker modules (MOD, S3M, XM, IT, and the
[other trackers](#more-tracker-formats): MTM, 669, STM, ULT, OKT, MED, PTM, FAR, UMX) load as a **Module**: [other trackers](#more-tracker-formats): MTM, 669, STM, ULT, OKT, MED, PTM, FAR, UMX) load as a **Module**:
the patterns, the order list, the samples and the instruments. Standard MIDI files load as a **Midi**: tracks of the patterns, the order list, the samples and the instruments; AHX / HivelyTracker songs are Modules with their own
timed events. Both render to the standard audio [Decoder](audio.md#decoder), so every music file can also be synth. Standard MIDI files (and Doom MUS, Miles XMI and HMP: see [AHX / HVL and MIDI
variants](#ahx--hvl-and-midi-variants)) load as a **Midi**: tracks of timed events. Both render to the standard audio [Decoder](audio.md#decoder), so every music file can also be
played, analysed or saved as audio. MIDI renders through a SoundFont 2 bank, or through a small built-in set of played, analysed or saved as audio. MIDI renders through a SoundFont 2 bank, or through a small built-in set of
waveforms when you don't give one. waveforms when you don't give one.
+4 -1
View File
@@ -1,7 +1,8 @@
# Scene (3D models) and Voxels # Scene (3D models) and Voxels
Every model format (glTF / GLB, OBJ, STL, PLY, OFF, FBX, Collada, 3MF, USDA, VOX, 3DS, MS3D, B3D, LDraw, LightWave Every model format (glTF / GLB, OBJ, STL, PLY, OFF, FBX, Collada, 3MF, USDA, VOX, 3DS, MS3D, B3D, LDraw, LightWave
LWO, DirectX .x, IQM, PMX / PMD, VRML, X3D) loads as one `Scene`, a structure shaped like glTF 2.0: a node tree, meshes LWO, DirectX .x, IQM, PMX / PMD, VRML, X3D, the [game models](#game-models) MD2 / MD3 / MDL / MD5 / BSP / SMD,
[Roblox meshes](roblox.md) and the [Minecraft and Qubicle voxel files](voxel.md)) loads as one `Scene`, a structure shaped like glTF 2.0: a node tree, meshes
made of primitives, flat attribute buffers (accessors), PBR materials, textures, cameras, lights, skins and animations. made of primitives, flat attribute buffers (accessors), PBR materials, textures, cameras, lights, skins and animations.
Mesh-only formats (STL, PLY, OFF) give a one-node scene. MagicaVoxel files also carry voxel grids (`scene.voxels`). Mesh-only formats (STL, PLY, OFF) give a one-node scene. MagicaVoxel files also carry voxel grids (`scene.voxels`).
Editing goes through `F.ops.mesh`. Editing goes through `F.ops.mesh`.
@@ -745,6 +746,8 @@ assert(back.meshes[1].primitives[1].indices.count == 3)
| STEP | via the CAD plug-in | | see [cad.md](cad.md) | | STEP | via the CAD plug-in | | see [cad.md](cad.md) |
| MD2, MD3, MDL, MD5, BSP | yes | - | game models and maps: see "Game models" above | | MD2, MD3, MDL, MD5, BSP | yes | - | game models and maps: see "Game models" above |
| SMD | yes | yes | Valve studiomdl data | | SMD | yes | yes | Valve studiomdl data |
| Roblox `.mesh` (robloxmesh) | yes | yes | see [roblox.md](roblox.md) |
| Roblox `.rbxm` / `.rbxl`, `.rbxmx` / `.rbxlx` | as an `RbxTree` | yes | instance trees with typed properties: see [roblox.md](roblox.md) |
Capabilities per format: [FORMATS.md](../FORMATS.md). Capabilities per format: [FORMATS.md](../FORMATS.md).
+2 -5
View File
@@ -395,18 +395,15 @@ editable:WritePixelsBuffer(Vector2.zero, editable.Size, v:toRGBA(frame).pixels)
| mpegts, mpegps | yes | - | MPEG-1, MPEG-2, H.264 | | mpegts, mpegps | yes | - | MPEG-1, MPEG-2, H.264 |
| y4m | yes | yes | raw | | y4m | yes | yes | raw |
| h264 (Annex B) | yes | yes (copy) | H.264 | | h264 (Annex B) | yes | yes (copy) | H.264 |
| fli / flc / flx | yes | - | FLIC (8-bit palettised, 15 / 16 / 24-bit): see [Legacy video](#legacy-video) |
| smk | yes | - | Smacker video (SMK2 / SMK4) + Smacker audio / PCM: see [Legacy video](#legacy-video) |
| gif, png (APNG), webp | as video | as video via the image writers | frames | | gif, png (APNG), webp | as video | as video via the image writers | frames |
See [FORMATS.md](../FORMATS.md). Subtitle tracks of Matroska files are read as cues by `F.format("mkv").subtitles`. See [FORMATS.md](../FORMATS.md). Subtitle tracks of Matroska files are read as cues by `F.format("mkv").subtitles`.
<!-- ws-video2-legacy: formats table addition -->
| fli / flc / flx | yes | - | FLIC (8-bit palettised, 15 / 16 / 24-bit) |
| smk | yes | - | Smacker video (SMK2 / SMK4) + Smacker audio / PCM |
AVI, MOV / MP4 and MKV (V_MS/VFW/FOURCC, V_QUICKTIME) also decode the legacy codecs: Cinepak, Microsoft Video 1, AVI, MOV / MP4 and MKV (V_MS/VFW/FOURCC, V_QUICKTIME) also decode the legacy codecs: Cinepak, Microsoft Video 1,
QuickTime Animation (RLE) and QuickTime Graphics (SMC). See [Legacy video](#legacy-video). QuickTime Animation (RLE) and QuickTime Graphics (SMC). See [Legacy video](#legacy-video).
<!-- ws-video2-legacy: section -->
## Legacy video ## Legacy video
The 1990s formats and codecs decode to **rgba8** frames (they are palettised or RGB, not YUV), each frame painted The 1990s formats and codecs decode to **rgba8** frames (they are palettised or RGB, not YUV), each frame painted