Commit Graph
656 Commits
Author SHA1 Message Date
4DBug 04ddb91340 codecs/model/SourceAnim: codec test 2026-11-01 18:44:37 -06:00
4DBug a146611a27 model/sourcemdl: tests against the writer's values and srctools (v44 / v48 / v49, fixups, strips, flexes, sections, .ani, .phy) 2026-11-01 18:43:32 -06:00
4DBug 5ad934565d codecs/model/Brush, codecs/model/Patch, codecs/image/Miptex; Pixels palette helpers
Brush: plane brushes -> polygons (qbsp-style clipping), Quake standard / Valve 220 / brush-primitive projection,
optional coplanar merge and CSG hull; tested against ericw-tools qbsp -nofill (area per plane, texels per corner).
Patch: Bezier control grids moved out of model/bsp/Quake3, per-axis subdivisions (patchDef2 / patchDef3), normals.
Miptex: Quake / GoldSrc miptex decode / encode and the WAD2 / WAD3 directory (model/bsp uses it now).
Pixels: grey, keyed, colorList, colormap, paletteBytes. STYLE: layout block and 2a table list the new modules.
2026-11-01 18:40:29 -06:00
4DBug 719abb97c0 model/proc: Doom 3 / Quake 4 .proc render geometry (models / surfaces to meshes, clockwise-front turned CCW; portals, BSP nodes, shadow models as data) 2026-11-01 18:40:10 -06:00
4DBug aacc78fac2 model/buildmap: Build engine .map v7-9 (sectors, walls, sprites as raw tables; Scene with sloped floors / ceilings, upper / lower / masked walls, sprites as nodes; v9 room-over-room fields), read + write; tested against an independent Python reader and Ken Silverman's map2stl 2026-11-01 18:39:55 -06:00
4DBug 524179ec67 archive/unitypackage: type annotations 2026-11-01 18:39:06 -06:00
4DBug 5096eb4898 archive/unitypackage: Unity asset packages read + write as an Archive keyed by asset paths (.meta beside each asset, guids, folders, previews) 2026-11-01 18:38:20 -06:00
4DBug 1c79609ecb 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.
2026-11-01 18:35:33 -06:00
4DBug 0b6773db8b model/ase: 3ds Max ASCII Scene Export read + write (geometry, Multi/Sub-Object materials, texture channels, colours, normals, NODE_TM hierarchy, helpers, cameras, lights; checked against assimp) 2026-11-01 18:34:55 -06:00
4DBug c7e0639913 model/sourcemdl: Source MDL v44-49 with .vvd / .vtx / .phy / .ani (WIP, no tests yet); codecs/model/SourceAnim shared with model/mdl's GoldSrc animation values 2026-11-01 18:34:50 -06:00
4DBug 75984be212 image/art: Build engine ART tiles (frames per tile, picanm, PALETTE.DAT / LOOKUP.DAT through opts or resolve, shade / palookup remaps), read + write; tested against arttool from the eduke32 source 2026-11-01 18:33:29 -06:00
4DBug 7d4e0381fe codecs/model/DoomMap: the Doom map-to-Scene builder moved out of archive/wad, plus a UDMF 1.1 TEXTMAP parser (fields kept, namespace flag bits); Wad.map loads UDMF maps; model/udmf for a standalone TEXTMAP; codecs/text/Lexer (C-style tokens for id Tech / UDMF text)
STYLE.md: layout block and the 2a table list DoomMap and Lexer. tests/archive/wad: the UDMF stub map now loads (empty) instead of UNSUPPORTED.
2026-11-01 18:33:24 -06:00
4DBug 9e7d159af8 audio/mpc: newV split in two halves (newVEven, newVOdd): as one function its native lowering failed register allocation and it ran interpreted 2026-11-01 18:20:23 -06:00
4DBug 01c044805f audio/mp3: a Xing/Info frame count of 0 (ffmpeg writing to a pipe) no longer caps the length to 0; the frames found are the length, as ffmpeg does 2026-11-01 18:06:43 -06:00
4DBug 200d7a58f3 build: regenerate bundles after the comment cleanup 2026-11-01 01:34:21 -06:00
4DBug 5e2fe5ab6e merge ws/cm-core: comments to specs only in core / containers / host / ops / api / Types / compat; STYLE comment policy 2026-11-01 01:33:57 -06:00
4DBug 54c55c1615 merge ws/cm-formats 2026-11-01 01:32:04 -06:00
4DBug 5acb050047 build: regenerate bundles after the comment cleanup of tests and codecs 2026-11-01 01:30:08 -06:00
4DBug c95a081127 merge ws/bundle 2026-11-01 01:29:33 -06:00
4DBug c12d5b12bf merge ws/cm-codecs 2026-11-01 01:27:54 -06:00
4DBug ac1d232852 merge ws/cm-tests 2026-11-01 01:27:35 -06:00
4DBug 84f3426217 Merge branch 'ws/cm-image' into ws/cm-codecs 2026-11-01 01:22:45 -06:00
4DBug 95a6b03f70 codecs/image: comments to specs only 2026-11-01 01:22:45 -06:00
4DBug da07ffee8f codecs/model: drop an unverified glTF section number 2026-11-01 01:21:58 -06:00
4DBug cf9e5d2808 Merge branch 'ws/cm-model' into ws/cm-codecs 2026-11-01 01:21:29 -06:00
4DBug fa44ea5751 Merge branch 'ws/cm-video' into ws/cm-codecs 2026-11-01 01:21:29 -06:00
4DBug 4cd879aee7 Merge branch 'ws/cm-audio' into ws/cm-codecs 2026-11-01 01:10:54 -06:00
4DBug 9b6a205844 codecs/model: comments to specs only 2026-11-01 01:04:29 -06:00
4DBug bcf6d46fb7 build: single-file bundles build/Rosetta.luau + build/rosetta.lua (tools/bundle.py), terse README with generated format / codec tables
- tools/bundle.py: every module a function in __FILES with a cached __include; requires become __include
  calls, so only the API and its load-time requires run on require. Rosetta._internal(path) includes any
  module by its src path. --!native modules get @native on each function (NATIVE re-checked on the bundle);
  linemaps map bundle lines back to sources (--where). LuaJIT bundle inlines the compat prelude.
- tools/build.py: the multi-file trees move to build/_modules (gitignored); each target also writes its bundle.
- tools/test.sh: api + docs/example tests also run against both bundles; fails when build/ is stale.
- default.project.json mounts build/Rosetta.luau; examples/love loads build/rosetta.lua.
- README: one line, install, quick start, doc links, generated format table and codec list
  (tools/gen_registry.py), licence TODO. DOCS lint checks the generated sections and the links.
2026-11-01 01:00:35 -06:00
4DBug 492d6662df codecs/text: comments to specs only 2026-11-01 01:59:16 -05:00
4DBug f626fb4295 codecs/compress: comments to specs only 2026-11-01 01:57:58 -05:00
4DBug f1ad32105b codecs/font: comments to specs only 2026-11-01 01:57:58 -05:00
4DBug 0c1c99ac70 docs/STYLE.md: the comment policy (specs only) 2026-11-01 01:57:14 -05:00
4DBug a905f48575 comments: wrap long lines 2026-11-01 01:57:14 -05:00
4DBug 31f977ab95 comments: drop the last signature prefixes 2026-11-01 01:57:14 -05:00
4DBug 1cdc76a339 comments: core/Crc16 header 2026-11-01 01:57:14 -05:00
4DBug fd606b8225 comments: ops MeshOps 2026-11-01 01:57:14 -05:00
4DBug fcf8aedb99 comments: ops ImageOps 2026-11-01 01:57:14 -05:00
4DBug 5e6102d4b2 comments: ops AudioOps / ImageOps Kernels 2026-11-01 01:57:14 -05:00
4DBug b8db3ed551 comments: ops LayerOps / MusicOps / Greedy 2026-11-01 01:57:14 -05:00
4DBug facdf124a1 comments: containers MpegTs / IsoBmff Demux 2026-11-01 01:57:14 -05:00
4DBug a0a11af953 comments: containers Fat 2026-11-01 01:57:14 -05:00
4DBug 9c096a6331 comments: containers Avi / Zip 2026-11-01 01:57:14 -05:00
4DBug 24cbddaafa comments: containers IsoBmff Mux / Meta, Iso9660 2026-11-01 01:57:14 -05:00
4DBug 3cda652143 comments: containers Tar / Cpio / Ogg / AudioWrap 2026-11-01 01:57:14 -05:00
4DBug a355bf3ca3 comments: containers Archive / Demux / Ebml / MpegPs / Riff 2026-11-01 01:57:14 -05:00
4DBug e5a8e62fbc comments: containers Chunks / MacFile / MpegEs / Ogg / IsoBmff (part) down to specs 2026-11-01 01:57:14 -05:00
4DBug 9427e6e5fb comments: init.luau docstrings out (usage is in docs/API.md and the guide) 2026-11-01 01:57:14 -05:00
4DBug 07c874574c comments: Types down to layouts, units and spec notes 2026-11-01 01:57:14 -05:00
4DBug f3daec0744 comments: core/Bytes + compat/luajit down to specs and quirks 2026-11-01 01:57:14 -05:00