4DBug
a146611a27
model/sourcemdl: tests against the writer's values and srctools (v44 / v48 / v49, fixups, strips, flexes, sections, .ani, .phy)
2026-11-01 18:43:32 -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
0bd7b87d2b
tools/comment_diff.py: a comment-only edit must leave every changed Luau file's token stream unchanged
2026-11-01 01:46:49 -05:00
4DBug
22ddcd78fa
rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
2026-11-01 01:19:16 -05:00
4DBug
05eedbc8cf
codecs: JPEG / MPEG-1/2 yield hooks (per MCU row, per slice), banded Mpeg2.toRgba with RGB clamp table; build.py: reserved child names pass (work from the userspace session)
2026-11-01 01:16:04 -05:00
4DBug
f4d8cc9b4d
ws-polish: lint.sh names the dup / docs rules in its summary
2026-10-31 18:03:50 -05:00
4DBug
9c10defad8
ws-polish: bench line for Flash ADPCM decode
2026-10-31 17:52:47 -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
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
df02b05c9f
ws-arch2-cab: cab fixture header
2026-10-31 16:16:52 -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
862f8e459a
ws-game: image/vtf decodes its uncompressed texel formats through the shared codecs/image/Texel (image/vtf/Texel removed); packed 5/6-bit formats within 1 of srctools' bit replication
2026-10-31 15:53:12 -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
714780a54a
ws-game: fix the bench.luau merge (the wad block's end)
2026-10-31 15:49:49 -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
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
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
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
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
4DBug
f23d0aa3e8
ws-video2-flv: FLV writer test from ADTS AAC (MPEG-TS), bench lines (H.263 / Sorenson CIF fps), docs/guide/video.md FLV and H.263 section (inputs: tools/fixtures/docs_flv.py)
2026-10-31 15:13:14 -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
703af4cc71
ws-audio2: merge ws/audio2-adpcm (codecs/audio/Adpcm, Qoa; adx, vag, brstm/bcstm/bfstm, raw adpcm, qoa; wav/aiff/caf/xm ADPCM)
2026-10-31 15:10:09 -05:00