Commit Graph
75 Commits
Author SHA1 Message Date
4DBug 0f0da6e8ea model/d3map: Doom 3 / Quake 4 editor .map (Version 2 / 3): brushDef3 through codecs/model/Brush, patchDef2 / 3 through codecs/model/Patch, entities as nodes; side areas checked against qhull 2026-11-01 19:06:29 -06:00
4DBug e51fd3585e archive/vswap (Wolfenstein 3D pages: walls, sprites and sounds through a palette passed in) and vector/gamemaps (GAMEMAPS + MAPHEAD, Carmack + RLEW, into a TileMap); test data from the fixture's own writers 2026-11-01 18:50:33 -06:00
4DBug 719abb97c0 model/proc: Doom 3 / Quake 4 .proc render geometry (models / surfaces to meshes, clockwise-front turned CCW; portals, BSP nodes, shadow models as data) 2026-11-01 18:40:10 -06:00
4DBug 7d4e0381fe codecs/model/DoomMap: the Doom map-to-Scene builder moved out of archive/wad, plus a UDMF 1.1 TEXTMAP parser (fields kept, namespace flag bits); Wad.map loads UDMF maps; model/udmf for a standalone TEXTMAP; codecs/text/Lexer (C-style tokens for id Tech / UDMF text)
STYLE.md: layout block and the 2a table list DoomMap and Lexer. tests/archive/wad: the UDMF stub map now loads (empty) instead of UNSUPPORTED.
2026-11-01 18:33:24 -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 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 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 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 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 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 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 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
4DBug 74c3b63615 merge ws/voxel 2026-10-31 15:08:58 -05:00
4DBug 085e385674 ws-audio2: TTA: codecs/audio/Tta (written from the TTA1 format description; no libtta / ffmpeg code) + audio/tta
TTA1 format 1, 8/16/24 bits, any channel count, header / seek table / frame CRC-32s, seeking, ID3v2 skipped, APEv2
tags; password-protected files -> UNSUPPORTED. 20 fixtures (ttaenc 3.4.1, the FATE inside.tta sample) bit-exact
against ttaenc -d. Branch-free filter steps (LuaJIT: no register-coalescing aborts, 7 -> 40 MB/s).
WavPack: the unary / gamma counts a byte at a time (LuaJIT traces). APE: the predictor rotations as single
assignments. docs/guide/audio.md: the lossless section (+ tools/fixtures/docs_lossless.py inputs) and the Formats
table.
2026-10-31 15:08:47 -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 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 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 0a7b74ec49 ws-audio2: docs/guide/music.md: the other tracker formats (table rows, Module.engine, More tracker formats with tested snippets; docs_av inputs mtm / med / umx); bench: render 669 / med 2026-10-31 14:58:37 -05:00
4DBug 39da2f6648 ws-audio2: merge ws/audio2-lossy (Musepack SV7/SV8, AC-3, AudioWrap AC-3 hook) 2026-10-31 14:57:05 -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 29afbfb165 ws-arch2-unix: docs/guide/archive.md sections for cpio, ar / .deb, rpm, .Z / .lz4, ISO (inputs: tools/fixtures/docs_arch_unix.py); archive/cpio: variant option (default: the source's variant) 2026-10-31 14:56:18 -05:00