4DBug
197ddc561a
ws-arch2-unix: containers/Iso9660 (volume descriptors, directory records, multi-extent, Joliet, Rock Ridge SUSP / RRIP incl. CE, NM, PX, PN, TF, SL, CL / RE relocation, El Torito catalog) + archive/iso, tests vs xorriso / genisoimage images, the source tree and pycdlib
2026-10-31 14:33:57 -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
d3ea84bb57
ws-audio2: api renderMusic uses a Module's own render method for non-tracker engines (AHX / HVL); docs/guide/music.md: AHX / HVL and MIDI variants section, Formats rows (docs inputs: tools/fixtures/docs_chip.py)
...
src/Formats/init.luau: renderMusic: a kind "music" value whose format is not mod/s3m/xm/it and that has a render
method renders through it (a failed render's .err becomes the error). Backward compatible.
2026-10-31 14:32:05 -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
4DBug
8362dbafae
merge master into ws/3d3
2026-10-31 14:30:01 -05:00
4DBug
c3711a7ab1
ws-3d3: model/gltf: KHR_draco_mesh_compression through codecs/model/Draco
...
Draco primitives decode on load (attributes as their accessors declare them,
u32 indices), written back uncompressed without the extension; meshopt stays
UNSUPPORTED. Tests: transcoded Khronos samples (two quantizations), Draco's and
assimp's Draco glTF files, each Draco primitive byte for byte against libdraco,
against the uncompressed sources, round trips. Draco bench line; scene.md section.
2026-10-31 14:29:54 -05:00
4DBug
60544a3a77
ws-audio2: music/ptm (PolyTracker): it family, MOD letters with S3M fine slides, note slides, delta 8 / 16-bit samples; engine flags.panLaw = ft2 (square-root panning)
...
ops/MusicOps: accept modules of the other tracker formats by their engine family (Tracker.family), a one-line
backward-compatible change.
2026-10-31 14:29:01 -05:00
4DBug
e3ac2f8b36
ws-3d3-d: model/ldraw (LDR / DAT / MPD read: parts as shared meshes per colour, sub-models as nodes, BFC, LDConfig colours, library paths through files / resolve)
...
Built-in colour table from LDConfig.ldr (CC BY 2.0 / 4.0, licenses/LDRAW_COLOURS.txt + NOTICE.md row).
Tests: independent Python expansion + LeoCAD OBJ export of library parts / car.ldr / pyramid.ldr (read from the nix store).
2026-10-31 14:28:56 -05:00
4DBug
22db57f348
ws-video2: MPEG-2 in MPEG-TS (0x02 / private 0x80), MPEG-PS, MKV, AVI, MP4 caps; tests/video/mpeg2.luau
2026-10-31 14:28:11 -05:00
4DBug
71bb89763e
merge master (ws/apifix) into ws/audio2-chip
2026-10-31 14:28:00 -05:00
4DBug
a3e234cc0d
ws-audio2: MUS, XMI, HMP / HMI (music/mus, music/xmi, music/hmp) -> Types.Midi through codecs/audio/MidiRender (merge, tempoBytes); event streams match wildmidi -x
2026-10-31 14:27:51 -05:00
4DBug
66c3819063
merge master (ws/apifix)
2026-10-31 14:26:53 -05:00
4DBug
5e64334e85
Merge branch 'master' into ws/audio2-adpcm
2026-10-31 14:26:41 -05:00
4DBug
0ce8dd143f
ws-audio2: regenerate the registry
2026-10-31 14:26:41 -05:00
4DBug
5b8f7cba39
ws-audio2: regenerate docs/FORMATS.md after merging master
2026-10-31 14:26:34 -05:00
4DBug
f6349219d8
Merge branch 'master' into ws/audio2-lossy
2026-10-31 14:26:22 -05:00
4DBug
48b4b4cc4e
merge master (ws/apifix)
2026-10-31 14:26:11 -05:00
4DBug
7fc5d3f5f0
regenerate registry after merging master
2026-10-31 14:26:01 -05:00
4DBug
3146ec0936
merge master (ws/apifix) into ws/video2
2026-10-31 14:26:00 -05:00
4DBug
29c8bd1a11
ws-video2: codecs/video/Mpeg2 (MPEG-1/2 core, Main profile, 4:2:2, field pictures, dual prime), bit-exact with ffmpeg -idct int
...
Mpeg1 is now the Mpeg2 module under its old name (core, tables and VLCs moved to Mpeg2/). Dsp.mc takes separate
source / destination strides; Dsp.edge emulates edges. containers/MpegEs: field-picture pairs are one access unit
(pictureStructure). Registry: mpeg1 and mpeg2 decode through Mpeg2.newVideoDecoder; more MPEG-2 FourCCs.
2026-10-31 14:25:51 -05:00
4DBug
b5964d4afc
merge master
2026-10-31 14:25:41 -05:00
4DBug
897a386c4f
merge master (ws/apifix)
2026-10-31 14:25:36 -05:00
4DBug
de1d2c2bba
ws-game: model/md2 (Quake II MD2 -> Scene: frames as morph targets + grouped animations, skins as URIs); codecs/model/Rig.normals
2026-10-31 14:25:36 -05:00
4DBug
94d79313d4
merge master (ws/apifix) into ws/arch2
2026-10-31 14:25:30 -05:00
4DBug
e59f5409a7
merge master (ws/apifix)
2026-10-31 14:25:21 -05:00
4DBug
41c4fbfc6d
ws-arch2: containers/Fat (FAT12 / 16 / 32, VFAT long names, MBR partitions, FAT12 floppy writer) + archive/fat (read + floppy write)
2026-10-31 14:25:20 -05:00
4DBug
bd696dea1e
merge master (ws/apifix) into ws/roblox
2026-10-31 14:25:18 -05:00
4DBug
f3299bf70f
ws-audio2: music/ult (UltraTracker): it family, two effect columns folded into the IT volume column, sustain loops, auto tone portamento (also from the volume column)
2026-10-31 14:25:08 -05:00
4DBug
a1d2e7218c
video/fli: FLI / FLC / FLX animations (read)
...
Header (FLI 1/70 s, FLC ms, depths 8 / 15 / 16 / 24), frame chunks into containers/Demux, open() through the
registry's flic decoder (codecs/video/Legacy/Flic); the ring frame is dropped unless opts.ringFrame. Fixtures
encoded by tools/fixtures/fli.py (every chunk type) with ffmpeg's decode as the reference: bit-exact.
2026-10-31 14:24:29 -05:00
4DBug
6eadacce64
ws-arch2-unix: codecs/compress/UnixCompress (.Z LZW decode + encode, bit-identical to ncompress 5.0: group padding on width changes / CLEAR, ratio-check clears) + archive/z (single-stream, .taz / .tZ -> .tar, writes ncompress's bytes), tests vs ncompress and gzip -d, bench lines
2026-10-31 14:23:51 -05:00
4DBug
4dcb005180
ws-video2-theora: video/ogv, Ogg video (Theora + Vorbis / Opus / FLAC)
...
Demuxes every logical stream of the first Ogg group into containers/Demux:
Theora (frame times from granules, Xiph-laced headers as track.config, comment
tags in meta.tags), Vorbis / Opus / FLAC audio (headers in track.config) for the
api's openAudio hook; open = Video.open. Sniff claims only Ogg files with a Theora
BOS page. encode remuxes Theora (+ Vorbis / Opus pages from AudioWrap, interleaved
by time). codecs/video/Theora gains info / comment helpers.
2026-10-31 14:22:39 -05:00
4DBug
b02e59809f
ws-game: archive/mpq (MPQ v1-4 read: hash / block tables, encryption, listfile names, zlib / implode / bzip2 / LZMA / sparse sectors; Huffman / ADPCM UNSUPPORTED); codecs/compress/Explode (PKWARE DCL implode decompressor, binary + ASCII, tested against StormLib); licenses: blast (format reference)
2026-10-31 14:21:34 -05:00
4DBug
672948f7d7
ws-tex: image/dds (read every DXGI / legacy FourCC / bit-mask format, mips, cube, arrays, volumes; write rgba8 / BC1/3/4/5 / 16-bit / float)
...
New shared codecs: codecs/image/Texel (uncompressed GPU texel formats incl. packed, shared exponent, YUY2),
codecs/image/Texture (dispatch over Bcn / Etc / Texel, surface assembly, mip halving). Tested against
nvcompress / nvassemble / ImageMagick files (Pillow per surface, Godot for BC6H floats), hand-written
formats, and our files read back by Pillow + nvddsinfo.
2026-10-31 14:21:04 -05:00
4DBug
f8a26fc699
ws-arch2: archive/adf (Amiga OFS / FFS, intl, dircache; DD / HD; read)
2026-10-31 14:20:36 -05:00
4DBug
8e3873c9fb
codecs/video/Legacy: Cinepak, Microsoft Video 1, QuickTime RLE / SMC and FLIC decoders
...
Registry decoders (codecs/video/Video BUILTIN: cvid, CRAM / MSVC / WHAM, 'rle ', 'smc ', AFLC), rgba8 pictures
painted over the previous picture, palettes from track.palette (or packet.palette). Bit-exact with ffmpeg on
28 AVI / MOV / MKV fixtures (tools/fixtures/legacy.py: ffmpeg's encoders plus encoders in _legacy_mux.py for
QuickTime RLE 1/2/4/8-bit, 8-bit MS Video 1 and Cinepak). Also fixes QtPalette's big-endian reads.
2026-10-31 14:20:17 -05:00
4DBug
ea9c0b36df
ws-roblox: codecs/model/Rbx (RbxTree, typed values, CFrame rotation ids, binary property columns), model/rbxm (binary rbxm / rbxl read + write; LZ4 / Zstd / raw chunks; unknown chunks and property types round trip raw), model/rbxmx (XML rbxmx / rbxlx read + write); tests vs rojo 7.7 + lune 0.11 both ways
...
init.luau: KIND_CATEGORY gains rbxtree = model (F.save of an RbxTree finds the model category).
2026-10-31 14:19:46 -05:00
4DBug
967b91db91
ws-audio2: WavPack: codecs/audio/WavPack (port of WavPack 5.9.0's decoder, BSD) + audio/wavpack
...
Lossless and hybrid (lossy, and lossless with the .wvc via opts.correction / opts.resolve), 8-32 bit int (int32 modes,
wvx) and 32-bit float, 1-8+ channels, every decorrelation pass, joint stereo, cross decorrelation, noise shaping,
block CRCs; APEv2 tags; sample-accurate seeking. 58 fixtures (wavpack -f..-hhx6, ffmpeg) bit-exact against wvunpack.
codecs/audio/Stream (shared, backward compatible): Stream.packets takes optional spec.scale (read() writes pcm values
times scale) and spec.ints (adds dec:readInt for bit-exact integer reads).
2026-10-31 14:19:23 -05:00
4DBug
80f5fd2c5b
ws-audio2: music/stm (Scream Tracker 2): s3m family with the ST2 tempo byte, deferred Bxx, no effect memory
2026-10-31 14:19:23 -05:00
4DBug
a43d81538e
ws-3d3: model/3ds (Autodesk 3D Studio) read + write
...
Meshes (smoothing-group normals, uvs, mesh matrix, per-face materials), Phong
materials with texture maps (uri), cameras, lights, the keyframer (hierarchy,
pivots, instances, dummies, position / rotation / scale / camera tracks ->
one animation). Writer: objects, materials, cameras, lights, keyframer.
Tested against assimp (test models, its 3DS exporter, and reading our files).
2026-10-31 14:19:08 -05:00
4DBug
4f05c89f01
ws-3d3-b: model/x (DirectX .x read: text, binary, MSZIP tzip / bzip, 32 / 64-bit floats; frames, meshes with normals / uvs / colours, materials and textures, skins, animation sets); assimp's test models plus bin 0064 / tzip variants match assimp's counts, bones, animations and world bounds
2026-10-31 14:17:28 -05:00
4DBug
8183f4d2d7
ws-video2-theora: codecs/video/Theora, a Theora decoder (port of libtheora 1.2.0, BSD)
...
Headers (identification, comment via VorbisComment, setup: loop-filter limits,
quant ranges -> dequant tables, the 80 Huffman trees as collapsed lookup tables),
intra / inter frames, coded SB / block flags, MB modes (8 alphabets), MVs (VLC /
CLC, last / prior, 4MV with per-format chroma averages, half / quarter-pel),
block qi, DCT tokens with EOB runs, DC prediction, the spec IDCT, loop filter,
golden / previous refs, 4:2:0 / 4:2:2 / 4:4:4, picture-region crop, empty-packet
dupes. Bit-exact with ffmpeg on every frame of 12 fixtures (tests/codecs/theora).
Outside the folder: codecs/video/Video BUILTIN entry theora gets a decoder
(track.config = Xiph-laced headers, as Matroska's CodecPrivate);
licenses/libtheora-BSD.txt + NOTICE row.
2026-10-31 14:16:35 -05:00
4DBug
5ca22c4431
ws-arch2: archive/d64 (C64 D64 / D71 / D81 read + write, PETSCII names as c1541)
2026-10-31 14:15:12 -05:00
4DBug
8b94584d0f
ws-arch2-unix: archive/rpm (lead, signature + main headers, file list from dirnames / basenames, payload gzip / bzip2 / xz / lzma / zstd / none decompressed lazily via codecs/compress, cpio via containers/Cpio; meta.rpm), tests vs rpmbuild / rpm -qp / rpm2cpio; containers/Cpio.TYPE_OF
2026-10-31 14:14:56 -05:00
4DBug
9a6ddd5c16
ws-3d3: codecs/model/Draco: Draco decoder (port of Google Draco 1.5.7, Apache-2.0)
...
Meshes (sequential; Edgebreaker standard / predictive / valence, topology splits,
attribute seams) and sequential point clouds, bitstreams 1.0 - 2.2; generic /
integer / quantization / octahedral normal attribute decoders; difference,
parallelogram, multi and constrained multi-parallelogram, tex coords (deprecated
and portable, exact int64 arithmetic) and geometric normal predictions; metadata.
Byte-exact against libdraco on 196 files (Draco test data 0.9 - 2.2 and
draco_encoder outputs at every level / quantization). kd-tree point clouds:
UNSUPPORTED for now.
2026-10-31 14:14:50 -05:00
4DBug
22615b503e
ws-audio2: audio/mpc + codecs/audio/Musepack: Musepack SV7 / SV8 decoding (libmpcdec r475 port, BSD)
...
Gapless (synthesis delay, SV8 leading silence, SV7 last frame length), seeking (SV8 by packet with one packet of
pre-roll: exact; SV7 by frame with 32 frames of pre-roll like libmpcdec), APEv2 tags via codecs/audio/ApeTag (merged
from ws/audio2-lossless), ID3v2 skipped. Fixtures build mpcenc / mppenc / a float libmpcdec dumper from the pinned
upstream tarballs through nix; 132-140 dB SNR vs libmpcdec float, 82.7 dB vs ffmpeg's s16 decode.
2026-10-31 14:14:29 -05:00
4DBug
5bbb4227c2
ws-apifix: API.md / STYLE.md / README: music as audio, video as animated image, F.save extra files, variant(r), caps.extraFiles, F.music builder, bitrate in bit/s; type baseline 92
2026-10-31 14:14:11 -05:00
4DBug
33d87e0c4d
ws-audio2: music/669 (Composer 669 / UNIS 669): s3m family with Hz periods, fast + auto slides, frequency adjust, per-pattern speed and break rows
2026-10-31 14:13:48 -05:00