Commit Graph
317 Commits
Author SHA1 Message Date
4DBug c95a081127 merge ws/bundle 2026-11-01 01:29:33 -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 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
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 2956576d7f codecs: H.264 / Yuv / video registry work, docs/API + guide/video, yuv + mp4 tests (uncommitted work found in the checkout, owner unknown; tests pass on both runtimes) 2026-11-01 01:16:04 -05:00
4DBug 903507b23c ws-polish: guide index lists every format per page; category pages point to their new formats
Index table rows complete (from docs/FORMATS.md); scene / data Formats tables link the Roblox and
Minecraft pages; image / scene / archive / font / music intros name the wave-3 formats; video's
leftover merge markers removed and the FLI / Smacker rows moved into the table.
2026-10-31 17:17:31 -05:00
4DBug 84fb8f42f1 ws-polish: README / STYLE module lists and format counts from the tree, checked by a DOCS lint rule
tools/lint_rules.py DOCS: the README and STYLE layout blocks must name every codecs/<domain>/<Name>,
containers/ and core/ module; README's format counts must match docs/FORMATS.md; the guide index must
link every guide page. STYLE's 'use what exists' table lists the wave-3 shared modules.
2026-10-31 17:16:08 -05:00
4DBug c420eab820 ws-polish: Flash ADPCM (FLV SoundFormat 1) decodes through codecs/audio/Adpcm.swf
Adpcm.swf / swfFrames: the SWF ADPCM bit stream (2..5-bit codes, 4096-frame blocks), bit-exact with
ffmpeg's adpcm_swf (mono and stereo FLV fixtures). containers/AudioWrap decodes adpcm_swf tracks into a
float WAV, so FLV audio opens through the api hook.
2026-10-31 17:10:51 -05:00
4DBug c0412f76cb docs/guide/archive.md: close the MPQ snippet (merge of ws/arch2) 2026-10-31 16:45:12 -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 95a6a99953 ws-arch2: archive guide merge fix (code fence) 2026-10-31 16:28:45 -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 d2727aeab0 merge ws/3d3-mesh 2026-10-31 16:16:07 -05:00
4DBug 3cebe7d4e7 merge ws/game 2026-10-31 16:16:07 -05:00
4DBug 2768075add ws-3d3: model/robloxmesh: Draco-compressed COREMESH (6.00 / 7.00, chunk v2) through codecs/model/Draco
Parse (native) gets the decode as a pcall-guarded lim.core callback from init, so
nothing throws through a native frame. Tests: draco_encoder streams of a UV sphere
and a coloured PLY at three levels wrapped in v6 / v7 chunks, byte for byte against
libdraco and equal to the same mesh as COREMESH v1; round trips; fuzz. The old
UNSUPPORTED fixture (garbage bytes in a v2 chunk) now expects CORRUPT. roblox.md
updated.
2026-10-31 16:03:50 -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 cb5237aaa9 ws-arch2: docs/guide sections (archive: LHA / ARJ / Zoo, encodings, disk images; font: bitmap fonts, Type 1 / EOT / Hershey) with tested snippets; tools/fixtures/docs_arch2.py inputs 2026-10-31 15:30:20 -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 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 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