Commit Graph
284 Commits
Author SHA1 Message Date
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 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 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 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 492d6662df codecs/text: comments to specs only 2026-11-01 01:59:16 -05:00
4DBug f1ad32105b codecs/font: comments to specs only 2026-11-01 01:57:58 -05:00
4DBug 6dcce481bb codecs/audio: comments to specs only 2026-11-01 01:55:39 -05:00
4DBug 8e78869f0e codecs/video: comments to specs only 2026-11-01 01:54:40 -05:00
4DBug 878e1b3a44 codecs/entropy: comments to specs only 2026-11-01 01:50:17 -05:00
4DBug 753ae98d4a docs: rosetta naming in README, docs, guide, licenses 2026-11-01 01:19:16 -05:00
4DBug b5cdd77a5b merge ws/arch2: cpio ar/deb rpm .Z lz4 iso lha arj zoo cab, uu/yenc/binhex/macbinary/applesingle, d64 adf fat, bdf pcf psf fon type1 eot hershey 2026-10-31 16:44:01 -05:00
4DBug 3e83879a6e merge ws/arch2-cab (archive/cab; codecs/compress/Lzx, Quantum; Deflate preset dictionary + mszip) 2026-10-31 16:27:11 -05:00
4DBug 3cebe7d4e7 merge ws/game 2026-10-31 16:16:07 -05:00
4DBug a02ece071b merge ws/video2-flv 2026-10-31 15:59:44 -05:00
4DBug f0a23eb676 merge ws/audio2 2026-10-31 15:59:38 -05:00
4DBug 79fd3c05dd merge master into ws/arch2 (ws/video2, ws/3d3, ws/game Archive.slice / collect) 2026-10-31 15:57:05 -05:00
4DBug 43df95f6e0 merge master (ws/tex, ws/3d3, ws/video2, ...) 2026-10-31 15:51:07 -05:00
4DBug 9761df1af1 ws-arch2-cab: codecs/compress/Quantum (CAB Quantum: 16-bit arithmetic decoder, the adaptive models with their rescale / re-sort rules, windows 2^10..2^21, one frame per CFDATA; written from the format descriptions) + cab Quantum folders, checked against cabextract on cabinets of a fixture Quantum compressor (tools/fixtures/_quantum.py) and libmspack's mszip_lzx_qtm sample 2026-10-31 15:50:37 -05:00
4DBug c54c8daff5 ws-arch2-cab: codecs/compress/Lzx (CAB LZX: windows 2^15..2^21, verbatim / aligned / uncompressed blocks, delta-coded trees, R0..R2, E8 translation, 32 KB frames; written from the spec) + cab LZX folders, checked against cabextract on cabinets of a fixture LZX compressor (tools/fixtures/_lzx.py) and libmspack's samples; Deflate.mszip (generic MSZIP blocks: CK + deflate, dictionary carried across blocks; for cab and later model/x); cab bench lines 2026-10-31 15:46:28 -05:00
4DBug 93a5afbe65 merge ws/tex 2026-10-31 15:44:25 -05:00
4DBug 47345b2c8f merge ws/3d3 2026-10-31 15:39:55 -05:00
4DBug d7697a8688 ws-audio2: merge master (c5f2777) 2026-10-31 15:37:55 -05:00
4DBug 825c45b03c ws-arch2-cab: archive/cab (MSCF read: stored / MSZIP folders with the carried-over deflate dictionary, reserve areas, checksums, attributes, UTF-8 names, spanned files UNSUPPORTED; write: one stored / MSZIP folder) vs cabextract / gcab / 7z; Deflate.inflate gains an optional preset dictionary (5th argument, Inflate.raw 7th; backward compatible) 2026-10-31 15:37:25 -05:00
4DBug da743e2fb8 merge master (ws/video2: MPEG-2, Theora, legacy codecs) into ws/video2-flv 2026-10-31 15:35:03 -05:00
4DBug a417d07978 ws-video2-flv: flv extensions (f4v is ISO BMFF, not FLV), H263 Decoder comments 2026-10-31 15:33:36 -05:00
4DBug c65a66695f merge ws/video2 2026-10-31 15:31:56 -05:00
4DBug 6c26e349f8 merge master (ws/roblox, ws/voxel, ...) 2026-10-31 15:30:37 -05:00
4DBug 94783a86d1 merge ws/3d3-c (model/pmx, model/vrml, model/x3d, codecs/model/Vrml); README model list 2026-10-31 15:29:37 -05:00
4DBug 53b41c7275 ws-arch2: font/type1 (PFB / PFA, eexec, Subrs / CharStrings, Type 1 charstrings with flex / hint replacement / seac, AGL code points, rasterize; read) vs fontTools and FreeType; codecs/font/GlyphNames 2026-10-31 15:25:02 -05:00
4DBug 3d01293b82 ws-game: image/vtf (Valve VTF 7.0-7.5 read: every common texel format incl. DXT / ATIxN via codecs/image/Bcn, halves / floats, frames, mips / faces / slices; checked against srctools) 2026-10-31 15:24:50 -05:00
4DBug 9694c652ec merge ws/video2-legacy (FLIC, Cinepak, MSV1, QT RLE / SMC, Smacker; video/fli, video/smk) 2026-10-31 15:23:13 -05:00
4DBug 0ee0859298 merge master into ws/arch2 2026-10-31 15:22:43 -05:00
4DBug 77479b6a2f merge ws/video2-theora (Theora codec, ogv) 2026-10-31 15:22:40 -05:00
4DBug 242e38c4fe merge ws/arch2-unix (cpio, ar/deb, rpm, z, iso, lz4; containers/Cpio, Iso9660; codecs UnixCompress, Xxh32, Lz4 from ws/roblox) 2026-10-31 15:22:07 -05:00
4DBug 98b04367c6 merge master into ws/3d3 (ws/roblox, ws/voxel, ...) 2026-10-31 15:20:28 -05:00
4DBug 270eccab0f ws-audio2: merge ws/audio2-tracker (MTM, 669, STM, ULT, OKT, MED, PTM, FAR, UMX; Tracker engine families) 2026-10-31 15:19:31 -05:00
4DBug 7a86e357ed ws-game: image/blp (BLP1 JPEG / palette, BLP2 palette + alpha planes / DXT1-5 via codecs/image/Bcn / BGRA read; BLP2 BGRA write); codecs/image/Jpeg: opts.raw (components without colour conversion, 4th as alpha; additive) 2026-10-31 15:18:41 -05:00
4DBug f6188764b8 ws-audio2: merge ws/audio2-lossless (WavPack, Monkey's Audio, TTA, ApeTag)
codecs/audio/Stream: both branches extended pull(): buffer pcm (adpcm) and scale / ints (lossless); combined.
2026-10-31 15:18:31 -05:00
4DBug e34e32901f ws-arch2: font/eot (EOT 1.0 / 2.1 / 2.2, XOR; read via codecs/font/TrueType, write 2.1; MTX unsupported) 2026-10-31 15:16:30 -05:00
4DBug 375140ece2 ws-arch2: font/hershey (JHF stroke fonts, ascii / id mapping, stroked rasterization; read) 2026-10-31 15:14:05 -05:00