codecs/text/KeyValues: Valve KeyValues text (conditions, #include / #base, duplicates, escapes, entity lump) and binary; data/vdf over it

STYLE.md: KeyValues listed in the layout block and the section 2a table.
This commit is contained in:
4DBug committed 2026-11-01 18:35:33 -06:00
1 parent 01c044805f
commit 1c79609ecb
15 files changed
+4391 -1074

No files matched your search

+3 -2
View File
@@ -44,7 +44,7 @@ print(F.detect(webp), #F.formats()) -- "webp", the format list
## Formats
<!-- formats:begin -->
174 formats. Generated from the format contracts by `tools/gen_registry.py`; [docs/FORMATS.md](docs/FORMATS.md)
175 formats. Generated from the format contracts by `tools/gen_registry.py`; [docs/FORMATS.md](docs/FORMATS.md)
adds each format's capabilities.
| Category | Format | Extensions | Read | Write |
@@ -190,6 +190,7 @@ adds each format's capabilities.
| Data | plist | .plist | yes | yes |
| Data | snbt | .snbt | yes | yes |
| Data | toml | .toml | yes | yes |
| Data | vdf | .vdf .acf .res .kv | yes | yes |
| Data | xml | .xml .xsd .xsl .xslt .rss .atom .xhtml | yes | yes |
| Data | yaml | .yaml .yml | yes | yes |
| Vector graphics and tile maps | svg | .svg | yes | yes |
@@ -239,7 +240,7 @@ Shared by the formats, not loadable on their own (`src/Rosetta/codecs/<domain>/`
| font | Bitmap, Cff, GlyphNames, TrueType |
| image | Bcn, Blend, Dct, Etc, Half, Jpeg, Pixels, Quantize, Raster, Texel, Texture, Vp8, Vp8L, Yuv |
| model | Draco, Mat4, MeshFlatten, Minecraft, Polygon, Rbx, Rig, Sampler, Vrml |
| text | Json, Nbt, Text, Url, Xml |
| text | Json, KeyValues, Nbt, Text, Url, Xml |
| video | Dsp, H263, H264, Legacy, Mpeg1, Mpeg2, Theora, Video |
| containers | Archive, AudioWrap, Avi, Chunks, Cpio, Demux, Ebml, Fat, Iso9660, IsoBmff, MacFile, MpegEs, MpegPs, MpegTs, Ogg, Riff, Tar, Zip |
<!-- codecs:end -->