75 Commits
Author SHA1 Message Date
4DBug fe1ee676c6 model/sourcemdl: type annotations (lint type baseline back at 92); bundles regenerated 2026-11-01 19:23:12 -06:00
4DBug 7a69ba8455 build: regenerate bundles (model/sourcemdl, codecs/model/SourceAnim) 2026-11-01 19:21:22 -06:00
4DBug 9ae847d2a3 merge ws/build 2026-11-01 19:18:53 -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 e4840b719b model/vmf: Hammer VMF read and write (Brush solids with Valve 220 axes, displacements, entities, cameras, visgroups, byte-exact write back, document builders); KeyValues: escapes = "quotes", bare / flat block layout for writing 2026-11-01 19:15:54 -06:00
4DBug 0f0da6e8ea model/d3map: Doom 3 / Quake 4 editor .map (Version 2 / 3): brushDef3 through codecs/model/Brush, patchDef2 / 3 through codecs/model/Patch, entities as nodes; side areas checked against qhull 2026-11-01 19:06:29 -06:00
4DBug 6baa698abe build: build/Rosetta.rbxm / .rbxmx, the native Roblox build: a Rosetta root ModuleScript (registry, _internal) and chunk ModuleScripts loaded on first include, each under the native codegen budget; build/Rosetta.luau is the no-native single file; Rojo mounts the rbxm; chunked test suite and lune / rojo check 2026-11-01 19:04:51 -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 9efeea304e merge ws/quake (codecs/model/Brush, Patch, Miptex) 2026-11-01 18:57:46 -06:00
4DBug 4bd59a30c8 merge ws/quake (codecs/model/Brush, codecs/model/Patch, model/map) for model/d3map 2026-11-01 18:55:23 -06:00
4DBug 69ee08a600 vector/gamemaps: own test file (CONTRACT); type fixes in vswap / gamemaps 2026-11-01 18:54:01 -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 e51fd3585e archive/vswap (Wolfenstein 3D pages: walls, sprites and sounds through a palette passed in) and vector/gamemaps (GAMEMAPS + MAPHEAD, Carmack + RLEW, into a TileMap); test data from the fixture's own writers 2026-11-01 18:50:33 -06:00
4DBug 082ea2019e build engine: docs/guide sections (ART tiles, Build maps) with inputs from tools/fixtures/docs_build.py, bench lines, type fixes; bundles rebuilt 2026-11-01 18:46:54 -06:00
4DBug d8212c6839 merge ws/source (codecs/text/KeyValues for .vmt materials) 2026-11-01 18:46:27 -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 524179ec67 archive/unitypackage: type annotations 2026-11-01 18:39:06 -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 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 5acb050047 build: regenerate bundles after the comment cleanup of tests and codecs 2026-11-01 01:30:08 -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