4DBug
43df95f6e0
merge master (ws/tex, ws/3d3, ws/video2, ...)
2026-10-31 15:51:07 -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
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
0b1c5ebfec
ws-game: docs/guide sections (game archives, game models, game textures) with tested snippets (tools/fixtures/docs_game.py); bench lines (explode, mpq, wad map)
2026-10-31 15:30:18 -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
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
77479b6a2f
merge ws/video2-theora (Theora codec, ogv)
2026-10-31 15:22:40 -05:00
4DBug
625e21431b
ws-3d3: docs/guide/scene.md sections for PMX / PMD, VRML and X3D (tested snippets); bench lines for vrml / x3d
2026-10-31 15:21:12 -05:00
4DBug
98b04367c6
merge master into ws/3d3 (ws/roblox, ws/voxel, ...)
2026-10-31 15:20:28 -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
918c8310af
ws-tex: docs/guide sections (textures / HDR, OpenRaster); DDS / KTX pixelFormat option; XBM / XPM names from F.save
...
F.save sets opts.format to the file format, so the DDS / KTX layout option is pixelFormat; XBM / XPM make a C
identifier of opts.name (F.save passes the file name).
2026-10-31 15:18:40 -05:00
4DBug
d618795ce7
ws-tex: layered/ora (OpenRaster read + write through the PNG hooks)
...
stack.xml tree (nested isolate / auto stacks, offsets, opacity, visibility, svg composite-ops), mergedimage,
thumbnail. Tested against spec-built files and our file taken apart by python zipfile / ElementTree / Pillow.
2026-10-31 15:12:53 -05:00
4DBug
00d47096ed
ws-tex: image/ani (animated cursors -> frames through the decodeImage hook; write through encodeImage)
...
seq / rate steps, jiffy delays, CUR hotspots, INFO title; AF_ICON clear is UNSUPPORTED. Tested against
Pillow-written ICO / CUR frames assembled into ANI files.
2026-10-31 15:09:35 -05:00
4DBug
74c3b63615
merge ws/voxel
2026-10-31 15:08:58 -05:00
4DBug
9e114fba8b
ws-tex: image/icns (read RLE / ARGB / 1-bit / PNG-hook entries, JP2 skipped; write PNG via encodeImage or RLE)
...
Tested against libicns (png2icns / icns2png -x), Pillow's writer and a hand-written file.
2026-10-31 15:07:07 -05:00
4DBug
9fe5f8d658
ws-roblox: docs/guide/roblox.md (tested snippets: places, building trees, meshes) + docs_roblox inputs; F.Rbx (codecs/model/Rbx) exported by the api; bench lines (rbxm / rbxmx / robloxmesh); STYLE.md codec list gains Lz4 and Rbx
2026-10-31 15:06:55 -05:00
4DBug
e5c0873a79
ws-game: image/tim (PlayStation TIM read: 4/8-bit CLUT, 15-bit, 24-bit; write 4/8/16/24-bit)
2026-10-31 15:06:05 -05:00
4DBug
406b894635
ws-3d3: model/3ds writer samples camera / light channels through codecs/model/Sampler (drops its local sampler); scene.md intro wrap
2026-10-31 15:03:40 -05:00
4DBug
ce4845ae13
ws-tex: image/ilbm (IFF ILBM / PBM read: planar, EHB, HAM6/8, deep 24/32, masks; write palette / 24 / 32 planes)
...
Chunks through containers/Chunks, ByteRun1 through codecs/compress/PackBits. Tested against ppmtoilbm files and
hand-written EHB / PBM / mask / transparent-colour files decoded by ilbmtoppm; our files read by ilbmtoppm.
2026-10-31 15:03:24 -05:00
4DBug
44cda7256c
merge ws/3d3-b (model/lwo, model/x, model/iqm, codecs/model/Sampler; brings ws/game af4488d for codecs/model/Rig)
2026-10-31 15:02:25 -05:00
4DBug
24f471bccb
merge ws/tex b32d45e (codecs/image/Bcn + Half, for VTF / BLP)
2026-10-31 15:01:27 -05:00
4DBug
4932fa7148
ws-game: model/bsp (Quake 1 / Half-Life / Quake II brush maps, Quake III maps with patches and lightmaps, entities); core/Input.sibling (opts.files / opts.resolve lookup shared by mdl / bsp / md5 / vpk; additive)
2026-10-31 15:01:06 -05:00
4DBug
ef460955d4
ws-tex: image/xbm + image/xpm (read + write)
...
XBM: X11 / X10 arrays, hex / decimal / octal, hotspot; xbmtopbm reference (netpbm, ImageMagick, Pillow files).
XPM: XPM 3 + XPM 2, c / g / g4 / m keys, hex depths, None, CSS / X11 names + grey0..100 (image/xpm/Names);
ImageMagick reference.
2026-10-31 14:58:20 -05:00
4DBug
2be536bd98
ws-voxel: docs/guide/voxel.md (NBT / SNBT, schematics, regions, Qubicle; tested snippets) + inputs generator; bench lines for NBT, SNBT, packed arrays, schem, qb
2026-10-31 14:56:33 -05:00
4DBug
feb8d18cfb
merge ws/3d3-a (model/3ds, model/ms3d)
2026-10-31 14:55:36 -05:00
4DBug
76128bf381
ws-3d3: codecs/model/Vrml (VRML97 / X3D classic parser, X3D XML adapter, node graph -> Scene builder, writer) + model/vrml (.wrl read / write) + model/x3d (.x3d / .x3dv read / write; .x3db UNSUPPORTED); tests against VTK and assimp
2026-10-31 14:54:56 -05:00
4DBug
36770d7a8b
ws-video2: docs/guide/video.md MPEG-2 section (tested snippet, tsBytes clip), formats table; docs/video.md layers
2026-10-31 14:53:04 -05:00
4DBug
403a4d6f31
ws-tex: image/sgi + image/sunras (read + write)
...
SGI: verbatim / RLE, 1-2 bytes per channel, 1-4 channels (rgba16 native); write RGB(A) RLE / verbatim.
Sun Raster: 1 / 8 / 24 / 32-bit, standard / byte-encoded / RGB types, colour maps; write 24 / 32-bit.
References: ImageMagick, netpbm (sgitopnm-era writers, rasttopnm), Pillow.
2026-10-31 14:52:47 -05:00
4DBug
9b2b50fe75
ws-game: model/md5 (Doom 3 md5mesh + md5anim: skeleton, weighted bind pose, skin, animations via opts.anims / resolve / files; standalone md5anim)
2026-10-31 14:52:15 -05:00
4DBug
f86e12f051
ws-voxel: model/qb (Qubicle Binary read + write: RGBA / BGRA, z orientation, RLE, visibility masks; exact colours in Voxels.colors)
2026-10-31 14:52:15 -05:00
4DBug
d294c211f9
ws-tex: image/pcx (read 1/2/4/8-bit, planes, palettes; write 8-bit palette / 24 / 32-bit RLE)
...
Tested against netpbm ppmtopcx / ImageMagick / Pillow files decoded by pcxtoppm; our files read by
ImageMagick. Shared test helper tests/image/_raster.luau and fixture helper tools/fixtures/_raster_ref.py.
2026-10-31 14:48:46 -05:00
4DBug
08045ba813
ws-game: model/smd (Valve SMD read + write: skeleton, skin, weights links, frames as animation, animation SMDs); Rig.influences merges a joint listed twice
2026-10-31 14:47:06 -05:00
4DBug
286d193f14
ws-voxel: model/mca (Anvil regions read-only: gzip / zlib / LZ4Block / stored / external .mcc chunks; 1.18+, 1.13-1.17 and pre-1.13 chunk layouts) into Voxels with exact block states; block entity shapes moved into codecs/model/Minecraft
2026-10-31 14:47:05 -05:00
4DBug
3e33639272
docs: legacy video (guide section, formats table rows, docs/video.md layers row); docs_legacy inputs
2026-10-31 14:43:48 -05:00
4DBug
1013925a85
ws-video2-theora: Theora speed (fused prediction + IDCT add, inlined token decode, table-driven tokens), bench lines, guide section
...
tools/bench.luau: a ws-video2-theora block (320x240 testsrc2 / mandelbrot, decode and
decode + image()). docs/guide/video.md: an Ogg Theora section (tested snippet; inputs
from the new tools/fixtures/docs_theora.py) and the formats / writers tables.
2026-10-31 14:43:22 -05:00
4DBug
abd01270f0
ws-tex: image/exr (read NONE/RLE/ZIPS/ZIP/PIZ, half/float/uint, scanline + tiled + multipart, mips; write NONE/ZIPS/ZIP)
...
Tested against the OpenEXR 3.5 python bindings, exrmaketiled (one level / mipmap / ripmap / round up),
exrmultipart, a hand-written subsampled file; PXR24 / B44 / DWAA give UNSUPPORTED; our files read back by
the bindings and exrheader. Broken / zeroed offset tables are rebuilt (exrmultipart writes them zeroed).
2026-10-31 14:43:02 -05:00
4DBug
1d45c66108
ws-3d3-b: docs/guide/scene.md: LWO, .x and IQM (sections with tested snippets, Formats table, intro list)
2026-10-31 14:41:36 -05:00
4DBug
f14d5ac4ef
ws-game: model/mdl (Quake 1 IDPO: skins via palette, frames as morph targets; Half-Life 1 IDST: bones, skin, body parts, strips / fans, textures with palettes, sequences as animations); Rig.angles, Rig.skeleton returns world matrices
2026-10-31 14:41:33 -05:00
4DBug
51daa00a67
ws-3d3-b: model/iqm (Inter-Quake Model v2 read + write: meshes, every vertex array format, joints -> skin, poses / frames / anims -> channels, bounds; writer merges skins, samples and quantizes animations); new codecs/model/Sampler (channel evaluation STEP / LINEAR + slerp / CUBICSPLINE, animation poses at a time) with tests
...
mrfixit.iqm matches assimp and an independent Python IQM reader (its skinning reproduces the bounds the IQM tool stored; ours matches it to 1e-4); round trips and glTF skinned models written by us are skinned identically by the Python reader.
2026-10-31 14:39:22 -05:00
4DBug
09354cbd12
merge ws/roblox (codecs/compress/Lz4 for Anvil LZ4 chunks); registry regenerated
2026-10-31 14:38:23 -05:00
4DBug
fea56f4391
ws-voxel: model/schematic (.schem v1-3, .schematic, .litematic read + write), codecs/model/Minecraft (block states, default colours, legacy ids, packed arrays)
...
Types change (backward compatible): Types.Voxels gains optional blocks (VoxelBlocks: exact block states as
u16 indices into a state palette, block entities, entities) and colors (exact u32 RGBA per cell).
2026-10-31 14:37:43 -05:00
4DBug
bf639260e4
video/smk: Smacker (SMK2 / SMK4) with its video codec and audio
...
containers into containers/Demux (palette updates ride on each video packet as packet.palette); the Smacker video
codec (header Huffman trees with the escape cache, MONO / FULL (+ SMK4 doubled modes) / SKIP / FILL blocks) lives in
codecs/video/Legacy/Smacker and registers as 'smackvid'; Smacker's packed DPCM-Huffman audio (8 / 16-bit, mono /
stereo) and raw PCM tracks decode in video/smk/Audio, the Decoder built by the format over codecs/audio/Stream
(Smk.openAudio; open() installs it as the openAudio hook). Fixtures encoded by tools/fixtures/smk.py: video and
audio bit-exact with ffmpeg.
2026-10-31 14:37:39 -05:00
4DBug
730820d1f6
ws-3d3: model/ms3d (MilkShape 3D) read + write
...
Groups, materials (texture uri), joints -> nodes + skin + one animation,
version 4 sub-versioned blocks (comments, vertex extras with up to four
bones, joint colours, model extras). Writer: groups per placed primitive,
the first skin plus animated nodes as joints (rigid meshes bound to them),
weights in percent. Tested against assimp and through glTF skin models.
2026-10-31 14:33:46 -05:00
4DBug
3a1965486f
ws-roblox: model/robloxmesh (.mesh 1.00-5.00, 6.00/7.00 chunked with raw COREMESH read; Draco COREMESH UNSUPPORTED; 2.00 / 4.00 write with skinning subsets and LODs) mapped to Scene; rbxm / rbxmx variant() for F.detect (rbxl / rbxlx); api tests
2026-10-31 14:33:15 -05:00
4DBug
50eb827897
ws-game: model/md3 (Quake III MD3 -> Scene: surfaces as primitives, frames as morph targets, tags as nodes with channels, shaders as URIs)
2026-10-31 14:32:47 -05:00
4DBug
ef2cd93c88
ws-tex: image/ktx (KTX1 + KTX2 read: BCn / ETC2 / EAC / uncompressed, mips, cube, arrays, 3D, Zstd / ZLIB; Basis UNSUPPORTED; KTX2 write)
...
KTX2 writer: rgba8 (UNORM / SRGB), rgba16, rgba16f / rgba32f with a full DFD, mips, cube / array frames, ZLIB.
Tested against ktx create / deflate / extract, toktx, nvcompress -ktx and hand-written KTX1 (big-endian, packed,
row padding, T=u); our files pass ktx validate.
2026-10-31 14:30:30 -05:00
4DBug
de2695b87d
merge ws/3d3-d (model/b3d, model/ldraw)
2026-10-31 14:30:17 -05:00