4DBug
e05392ee8e
api: lazy format detection (Sniffs.luau): F.detect loads no format module
...
tools/gen_registry.py now also writes src/Rosetta/Sniffs.luau: each format's sniff copied
(tools/sniff_extract.py) with the top-level locals, types and load-time loops it reaches;
requires outside core/ become proxies that require on first field access. 198 of 199
sniffs are copied (model/fbx reads Binary.MAGIC at load time: its module sniffs).
Registry entries gain sniff (0 copy, 1 copy reaching a codec / container, 2 module) and
variant (the module has variant(r)).
init.luau detect: the extension's formats first, then by sniff cost and registry order;
a sniff runs only while its cap (1, or LATE) could still win, ties to registry order, so
results equal the eager path. F.detect loads the winner only when it has variant().
tests/detect.luau: every copied sniff against its module's on samples of every fixture
module (tools/fixtures/detect.py), scores within 0..1, and F.detect against the eager
reference with no name, the right / wrong / unknown extension and per category.
Outside init / Registry / gen_registry: tools/fixtures.py (LAST generators run after
the others and rerun when their outputs change), tools/lint_rules.py (Sniffs is api
layer, skipped by DUP), docs/STYLE.md and docs/API.md notes, build/ regenerated.
2026-11-02 21:58:10 -06:00
..
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 09:33:43 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:40:25 -05:00
2026-11-01 18:34:55 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:08:49 -05:00
2026-11-01 19:23:28 -06:00
model/blend, containers/Blend: read .blend files (2.4x-5.x headers, SDNA structs by name, gzip/zstd), scenes with meshes of every storage generation, materials, images, cameras, lights, armatures, skins, shape keys, actions
2026-11-01 18:53:41 -06:00
2026-10-31 08:44:40 -05:00
2026-11-01 18:33:29 -06:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:46:58 -05:00
2026-10-31 14:14:50 -05:00
ws-3d2/fbx: model/fbx (binary 7.x + ASCII read, binary 7.4 / 7.5 + ASCII write): node tree, Objects / Connections -> Scene (full transform model, layer elements, materials, textures, skins, blend shapes, animation stacks, cameras, lights); tests against assimp + Blender, round trips, fuzz; bench lines
2026-10-31 09:46:25 -05:00
ws-3d2/fbx: model/fbx (binary 7.x + ASCII read, binary 7.4 / 7.5 + ASCII write): node tree, Objects / Connections -> Scene (full transform model, layer elements, materials, textures, skins, blend shapes, animation stacks, cameras, lights); tests against assimp + Blender, round trips, fuzz; bench lines
2026-10-31 09:46:25 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:42:57 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:25:15 -06:00
2026-11-01 19:25:15 -06:00
2026-11-01 19:25:15 -06:00
2026-11-01 19:25:15 -06:00
2026-10-31 14:09:29 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:39:22 -05:00
2026-11-01 18:49:26 -06:00
2026-10-31 14:20:17 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:46:28 -05:00
2026-11-01 01:19:16 -05:00
ws-m4a: codecs/Aac (AAC-LC decoder: ASC / PCE / ADTS, all tools, SBR/PS extension hook), codecs/Alac (decoder + encoder), audio/m4a (AAC + ALAC read, ALAC write, tags, gapless, seek), audio/aac (ADTS), audio/caf (lpcm/alac/aac/ulaw/alaw read, lpcm/alac write); fixtures checked by ffmpeg / fdkaac / MP4Box
2026-10-31 09:03:04 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:27:51 -05:00
ws-3d: model/gltf (glTF 2.0 JSON + GLB read/write: accessors of every type incl. normalized/sparse/strided/padded matrices, PBR + KHR_materials_*, KHR_texture_transform, images kept encoded, samplers, cameras, KHR_lights_punctual, skins, animations, morph targets, KHR_mesh_quantization, extras/unknown extensions round trip); Khronos sample assets + gltfpack + assimp fixtures
2026-10-31 09:02:59 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
2026-10-31 09:02:59 -05:00
2026-11-01 19:00:07 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
2026-10-31 09:02:59 -05:00
2026-10-31 14:04:40 -05:00
2026-10-31 08:18:01 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:03:55 -06:00
2026-10-31 14:32:47 -05:00
2026-10-31 15:50:37 -05:00
2026-10-31 14:48:46 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:52:47 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
2026-10-31 09:02:59 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:30:30 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:38:20 -06:00
2026-11-01 01:19:16 -05:00
2026-10-31 09:41:47 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 09:57:26 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 12:25:03 -05:00
2026-10-31 14:13:48 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:20:36 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:09:29 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:09:35 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:28:47 -05:00
2026-10-31 14:09:08 -05:00
2026-10-31 14:42:43 -05:00
2026-11-01 18:33:29 -06:00
2026-11-01 18:34:55 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 09:57:26 -05:00
2026-10-31 14:00:57 -05:00
2026-10-31 08:47:36 -05:00
2026-10-31 14:05:10 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:23:28 -06:00
2026-10-31 15:18:41 -05:00
2026-10-31 08:47:27 -05:00
2026-10-31 08:44:40 -05:00
2026-10-31 08:36:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:40:29 -06:00
2026-11-01 19:03:55 -06:00
2026-11-01 18:39:55 -06:00
2026-10-31 08:27:55 -05:00
2026-10-31 16:16:52 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:50:39 -05:00
2026-10-31 14:02:43 -05:00
2026-10-31 08:52:26 -05:00
2026-11-01 19:06:29 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:18:01 -05:00
2026-11-02 21:58:10 -06:00
2026-10-31 13:25:10 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:37:55 -05:00
2026-11-01 19:23:28 -06:00
2026-11-01 18:46:54 -06:00
2026-10-31 14:32:05 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:29:54 -05:00
2026-11-01 19:33:35 -06:00
2026-10-31 15:13:14 -05:00
2026-10-31 15:30:18 -05:00
2026-11-02 00:40:25 -06:00
2026-11-01 19:06:29 -06:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:43:48 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:25:25 -06:00
2026-10-31 15:06:55 -05:00
2026-11-01 19:15:54 -06:00
2026-11-01 18:49:39 -06:00
2026-10-31 14:43:22 -05:00
2026-10-31 14:56:33 -05:00
2026-10-31 13:05:43 -05:00
2026-10-31 14:14:50 -05:00
2026-10-31 15:16:30 -05:00
2026-10-31 14:09:27 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:36:44 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:39:09 -05:00
2026-10-31 14:41:29 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:42:57 -05:00
2026-10-31 08:34:32 -05:00
2026-10-31 14:29:54 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:25:15 -06:00
2026-10-31 13:56:30 -05:00
2026-10-31 14:56:51 -05:00
2026-10-31 10:53:34 -05:00
2026-10-31 10:53:34 -05:00
2026-10-31 08:51:42 -05:00
2026-11-02 00:25:02 -06:00
2026-10-31 15:14:05 -05:00
2026-10-31 14:27:51 -05:00
2026-10-31 14:09:29 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:54:33 -05:00
2026-11-01 01:19:16 -05:00
imgA-ops: ops/ImageOps (convert between every pixel format incl. yuv420p, crop, resize nearest/bilinear/Lanczos-3 as Pillow, flip, rotate90, rotate bilinear+expand as Pillow, blit/composite with Pillow's alpha_composite, premultiply, get/setPixel, fill, coalesce/fromFrames/frameCount/durations) with Pillow fixtures, tests on both runtimes, bench block
2026-10-31 08:47:30 -05:00
2026-10-31 08:53:45 -05:00
2026-11-01 01:19:16 -05:00
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
2026-10-31 08:37:32 -05:00
2026-10-31 09:34:04 -05:00
2026-10-31 08:44:15 -05:00
2026-10-31 12:25:03 -05:00
2026-11-01 18:35:33 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:49:26 -06:00
2026-10-31 14:41:29 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:17:00 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:32:11 -05:00
2026-10-31 08:25:55 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:52:31 -06:00
2026-10-31 14:47:05 -05:00
2026-10-31 14:25:36 -05:00
2026-10-31 14:32:47 -05:00
2026-10-31 14:52:15 -05:00
2026-10-31 14:41:33 -05:00
2026-10-31 14:51:33 -05:00
2026-10-31 08:37:25 -05:00
2026-10-31 12:25:03 -05:00
2026-10-31 09:45:10 -05:00
2026-10-31 09:34:04 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:30:06 -05:00
2026-10-31 10:02:25 -05:00
2026-10-31 14:14:29 -05:00
2026-10-31 14:30:45 -05:00
2026-10-31 14:50:27 -05:00
2026-10-31 09:50:42 -05:00
2026-10-31 14:21:34 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:46:58 -05:00
ws-audio2: music/mtm (MultiTracker) on the tracker engine; engine: m.engine family, m.preamp, flags (periods amiga/hz, fastPortas, autoTonePorta, autoReset, st2Tempo, oktSlides), extension effects (note slides, auto portamento, frequency adjust), codecs/audio/Tracker/Load helpers (OpenMPT BSD)
2026-10-31 14:11:20 -05:00
2026-10-31 14:27:51 -05:00
2026-10-31 14:12:46 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:26:39 -05:00
2026-11-01 19:00:07 -06:00
2026-10-31 14:40:13 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:33:32 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 13:52:17 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 12:25:03 -05:00
2026-10-31 08:56:36 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:04:40 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:45:33 -05:00
2026-11-01 18:40:10 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:29:01 -05:00
2026-11-01 19:17:00 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 08:42:06 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 16:03:50 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:14:56 -05:00
2026-10-31 09:34:04 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:41:29 -05:00
2026-11-01 18:43:32 -06:00
2026-11-01 19:17:00 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:19:23 -05:00
2026-10-31 08:27:04 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:33:35 -06:00
2026-10-31 08:54:37 -05:00
2026-10-31 08:48:55 -05:00
2026-10-31 14:43:22 -05:00
2026-10-31 08:53:29 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:06:05 -05:00
2026-10-31 08:46:45 -05:00
2026-10-31 15:08:47 -05:00
2026-10-31 15:25:02 -05:00
2026-11-01 18:33:24 -06:00
2026-10-31 14:25:08 -05:00
2026-10-31 14:54:54 -05:00
2026-11-01 18:38:20 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:53:15 -06:00
2026-10-31 10:05:09 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 19:15:54 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
ws-audio: audio/vorbis decoder: stb_vorbis 1.22 port (setup, codebooks, floor 1, residue 0/1/2, coupling) on containers/Ogg + codecs/Mdct, libvorbis-exact trimming, granule-exact seek, packetDecoder for other containers; tests vs oggdec (counts, 1 LSB) + ffmpeg (SNR 138 dB), seeks, fuzz; bench line
2026-10-31 08:53:10 -05:00
ws-3d: model/vox (MagicaVoxel read/write: every chunk, scene graph, materials, layers, render objects, cameras, notes, IMAP, META, unknown chunks kept), ops/MeshOps (triangulate, transform, normals, tangents, weld/unweld, bounds, merge, scale/setUnit/setUp, greedy voxel meshing); Types: Scene.reader/mul/nodeMatrix/flatten helpers; compat: __iter visits t[0] on LuaJIT (was skipped by ipairs)
2026-10-31 08:38:02 -05:00
2026-10-31 09:46:45 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 15:53:12 -05:00
2026-11-01 19:17:00 -06:00
2026-10-31 14:05:53 -05:00
2026-10-31 08:34:39 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 18:50:33 -06:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:37:23 -05:00
2026-10-31 14:27:51 -05:00
2026-10-31 12:25:03 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 09:45:10 -05:00
2026-10-31 08:54:13 -05:00
2026-11-01 01:19:16 -05:00
2026-10-31 14:23:51 -05:00
2026-10-31 08:51:05 -05:00
2026-10-31 14:49:54 -05:00
2026-10-31 12:00:59 -05:00