Commit Graph
559 Commits
Author SHA1 Message Date
4DBug e6d78a3033 docs/guide: index lists Godot, T3D, ASE, Unity packages, .tres, LDtk, Ogmo 2026-11-01 20:08:45 -06:00
4DBug cc4aa331eb build: regenerate bundles 2026-11-01 19:35:47 -06:00
4DBug 74df2ed607 bench: Godot tscn decode / encode, LDtk, ASE lines 2026-11-01 19:35:11 -06:00
4DBug 8d305bb942 model/t3d: Unreal T3D (UE1-4) brushes through codecs/model/Brush and actors as nodes 2026-11-01 19:33:35 -06:00
4DBug 37aa29d03e merge ws/quake (codecs/model/Brush for model/t3d) 2026-11-01 19:26:29 -06:00
4DBug 1e69799c21 docs/guide: Quake maps and BSP, WAD2 / WAD3, lmp / spr, Quake III shaders and skins; bench lines; q3skin sniff needs a path 2026-11-01 19:25:25 -06:00
4DBug 8f26e32a71 model/godot + data/tres + codecs/text/GodotVariant: Godot text scenes (.tscn / .escn) read + write against Godot 4's loader, .tres resources as data
docs/STYLE.md: the layout block lists codecs/text/GodotVariant (DOCS lint).
2026-11-01 19:25:15 -06:00
4DBug 175ca9e823 archive/wad2, image/lmp, image/spr, data/q3shader, data/q3skin
WAD2 / WAD3 with miptex / qpic / conchars / font / palette images and addImage; Quake .lmp pictures, palette and
colormap (palette never embedded); Quake / Half-Life / SPR32 sprites with frame groups; Quake III shader scripts and
.skin files. Miptex gains qpic decode / encode and palette mapping; Pixels.keyed keeps the key colour (alpha 0).
2026-11-01 19:17:00 -06:00
4DBug 67e116a6c6 model/bsp: BSP2 / 2PSB, Quake 1 / 2 / Half-Life lightmap atlas (TEXCOORD_1, .lit), tree / hulls / visibility in meta.bsp
Bsp.leafAt / contents / pvs point queries; tested on ericw-tools qbsp + vis output in all three Quake 1 layouts.
2026-11-01 19:03:55 -06:00
4DBug 9c02ebdee5 vector/ogmo: Ogmo Editor 3 levels and projects read + write as a TileMap (tile / grid / entity / decal layers, every save layout, values; HaxeFlixel TurnBasedRPG sample, MIT) 2026-11-01 19:00:07 -06:00
4DBug 2704653a3e model/map: Quake / Valve 220 / Quake II / Quake III editor maps, read and write
Entities as nodes (keys in extras, brushes as parsed), brushes through codecs/model/Brush, patchDef2 / patchDef3
through codecs/model/Patch, texture sizes from WAD2 / WAD3 / .wal / images; tested against ericw-tools qbsp.
2026-11-01 18:52:31 -06:00
4DBug 1f74419ccf vector/ldtk: LDtk projects read + write as a TileMap (levels as groups, worlds, IntGrid / auto / tile / entity layers, fields, external levels through resolve) 2026-11-01 18:49:26 -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 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 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 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