Commit Graph
378 Commits
Author SHA1 Message Date
4DBug 45f6cbc7a8 chunked build: detect check (F.detect on common headers loads the Detect chunk only, Detect under 160 KB); sniff extraction skips table and type keys (Aac.adts no longer pulls core/Bits into Detect); guide: chunk layout 2026-11-03 01:54:24 -06:00
4DBug a1a3971207 model/blend: drivers (object, object data, shape keys: variables, targets, keys, f-curve modifiers) and custom properties (objects, pose bones, bones) as data; f-curve modifiers on raw action curves; limit rotation use_legacy_behavior; 5.0 bone hide driver move for older files 2026-11-03 00:16:12 -06:00
4DBug b4e1ffebd4 merge ws/blendrig2 2026-11-02 23:58:36 -06:00
4DBug f1d98ec904 merge ws/downscale 2026-11-02 23:41:47 -06:00
4DBug 8d7f3e4d34 png / jpeg: maxSide + yield docs (guide, API) and tested snippet; jpeg destuff calls the yield hook per 64 KB; F.model.loadTextures passes maxSide / yield / yieldRows / maxPixels to the image decoders; bench lines (4096^2 16-bit PNG full vs maxSide 1024, JPEG 1/4); build/ regenerated
init.luau (small, backward compatible): loadTextures forwards those four options to F.load.
2026-11-02 23:39:52 -06:00
4DBug 56e1449b97 model/blend: action / transform / stretch to / armature / floor / limit distance / track to / locked track constraint fields, copy scale add / uniform; bone inheritance and b-bone fields; stored pose basis; every action raw in meta.blend.actions (first layer / strip / channel bag for layered actions) 2026-11-02 23:18:18 -06:00
4DBug d1e2e25bdf merge ws/videoctl 2026-11-02 22:46:27 -06:00
4DBug f7c8abc1b4 merge master into ws/videoctl 2026-11-02 22:17:23 -06:00
4DBug f9e2e6a455 merge master 2026-11-02 22:17:13 -06:00
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
4DBug 9a15a71b4a model/blend: rig data docs section and snippet (docs_blend: control bone, collection, damped track, widget), header; type fixes; rebuild 2026-11-02 21:57:10 -06:00
4DBug 4231149f3e model/gltf: mesh.extras.targetNames from and to glTF mesh extras; ops/MeshOps.merge: targets = true concatenates morph targets by name 2026-11-02 21:53:22 -06:00
4DBug 0b2d8774b9 video: frame reuse (opts.reuse, v:release, decoder:release) and the control tests
- codecs/video/Video/Pool: Images a decoder made, handed back and reused (only its own; fresh meta)
- H264 / Vp8 / Mpeg2 output Images come from a Pool; H264 / Vp8 decoder:release, VideoCodecDecoder.release
- Video.open: opts.reuse recycles the previous frame's Image at the next nextFrame; v:release(frame); the yuv Image
  under an rgba / scaled frame (never seen by the caller) goes back to the codec at once
- tests/video/control.luau: yield hook (identical frames, H.264 / VP8 / MPEG-1, conversions), disposable packets in
  every container, skipDisposable bit-exact at the right index, reuse identical and recycled, fuzz
- docs/guide/video.md: Skipping and reusing frames; docs/API.md
2026-11-02 21:46:59 -06:00
4DBug 10f70c3a8a codecs/audio/Aac/SbrQmf: fused analysis fold; comment tidy 2026-11-02 00:43:03 -06:00
4DBug 028bee3f59 docs/guide/audio: HE-AAC section and opts.sbr; audio/caf: SBR only at the described rate 2026-11-02 00:40:25 -06:00
4DBug 95efdd7e3e codecs/audio/Aac: faster SBR windows and HF assembly 2026-11-02 00:33:56 -06:00
4DBug 8bd15840d8 merge ws/engines 2026-11-01 20:14:34 -06:00
4DBug 58df9e8a3a merge ws/quake 2026-11-01 20:08:48 -06:00
4DBug e6d78a3033 docs/guide: index lists Godot, T3D, ASE, Unity packages, .tres, LDtk, Ogmo 2026-11-01 20:08:45 -06:00
4DBug 11d0df9418 merge ws/blend 2026-11-01 19:48:59 -06:00
4DBug 0e0b213a80 merge ws/idtech: UDMF (codecs/model/DoomMap), Doom 3 / Quake 4 .map + .proc, Wolf3D VSWAP + GAMEMAPS, codecs/text/Lexer 2026-11-01 19:48:30 -06:00
4DBug e100366cb8 merge ws/source: VBSP v19-21, VMF, KeyValues / data/vdf, codecs/model/Displacement (with ws/quake's Brush / Patch / Miptex) 2026-11-01 19:46:56 -06:00
4DBug 8d305bb942 model/t3d: Unreal T3D (UE1-4) brushes through codecs/model/Brush and actors as nodes 2026-11-01 19:33:35 -06:00
4DBug 37aa29d03e merge ws/quake (codecs/model/Brush for model/t3d) 2026-11-01 19:26:29 -06:00
4DBug 3e4170288b docs/guide/scene.md: close the Build engine snippet (merge of ws/sourcemdl) 2026-11-01 19:25:52 -06:00
4DBug 1e69799c21 docs/guide: Quake maps and BSP, WAD2 / WAD3, lmp / spr, Quake III shaders and skins; bench lines; q3skin sniff needs a path 2026-11-01 19:25:25 -06:00
4DBug 8f26e32a71 model/godot + data/tres + codecs/text/GodotVariant: Godot text scenes (.tscn / .escn) read + write against Godot 4's loader, .tres resources as data
docs/STYLE.md: the layout block lists codecs/text/GodotVariant (DOCS lint).
2026-11-01 19:25:15 -06:00
4DBug c19a68dfae merge ws/sourcemdl: Source MDL v44-49 (+vvd/vtx/phy/ani, flexes, animations), VMT materials, codecs/model/SourceAnim 2026-11-01 19:25:04 -06:00
4DBug 3c8d5e99d7 model/blend: Blender 1.6x-2.0x files (big-endian, 32-bit, TFace / MCol, IPO curves, additive dsize), easing curves, owner-scoped address lookup; containers/Blend tests; docs section; bench line 2026-11-01 19:23:28 -06:00
4DBug 9ae847d2a3 merge ws/build 2026-11-01 19:18:53 -06:00
4DBug 175ca9e823 archive/wad2, image/lmp, image/spr, data/q3shader, data/q3skin
WAD2 / WAD3 with miptex / qpic / conchars / font / palette images and addImage; Quake .lmp pictures, palette and
colormap (palette never embedded); Quake / Half-Life / SPR32 sprites with frame groups; Quake III shader scripts and
.skin files. Miptex gains qpic decode / encode and palette mapping; Pixels.keyed keeps the key colour (alpha 0).
2026-11-01 19:17:00 -06:00
4DBug e4840b719b model/vmf: Hammer VMF read and write (Brush solids with Valve 220 axes, displacements, entities, cameras, visgroups, byte-exact write back, document builders); KeyValues: escapes = "quotes", bare / flat block layout for writing 2026-11-01 19:15:54 -06:00
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 6baa698abe build: build/Rosetta.rbxm / .rbxmx, the native Roblox build: a Rosetta root ModuleScript (registry, _internal) and chunk ModuleScripts loaded on first include, each under the native codegen budget; build/Rosetta.luau is the no-native single file; Rojo mounts the rbxm; chunked test suite and lune / rojo check 2026-11-01 19:04:51 -06:00
4DBug 67e116a6c6 model/bsp: BSP2 / 2PSB, Quake 1 / 2 / Half-Life lightmap atlas (TEXCOORD_1, .lit), tree / hulls / visibility in meta.bsp
Bsp.leafAt / contents / pvs point queries; tested on ericw-tools qbsp + vis output in all three Quake 1 layouts.
2026-11-01 19:03:55 -06:00
4DBug 9c02ebdee5 vector/ogmo: Ogmo Editor 3 levels and projects read + write as a TileMap (tile / grid / entity / decal layers, every save layout, values; HaxeFlixel TurnBasedRPG sample, MIT) 2026-11-01 19:00:07 -06:00
4DBug c30e8618fc codecs/model/Displacement: Source displacement surfaces (CCoreDispInfo grid, normals, triangles); model/vbsp uses it
STYLE.md: Displacement listed in the layout block and the section 2a table.
2026-11-01 18:59:58 -06:00
4DBug 9efeea304e merge ws/quake (codecs/model/Brush, Patch, Miptex) 2026-11-01 18:57:46 -06:00
4DBug 4bd59a30c8 merge ws/quake (codecs/model/Brush, codecs/model/Patch, model/map) for model/d3map 2026-11-01 18:55:23 -06:00
4DBug 69ee08a600 vector/gamemaps: own test file (CONTRACT); type fixes in vswap / gamemaps 2026-11-01 18:54:01 -06:00
4DBug 2e82b7d0af 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
4DBug 52d2d7ebf9 model/vbsp: Source BSP 19-21 (L4D2 header, LZMA lumps): faces, displacements, static props v4-v13, brush entities, lights, entities, the pak lump as an Archive; KeyValues bench 2026-11-01 18:53:15 -06:00
4DBug 2704653a3e model/map: Quake / Valve 220 / Quake II / Quake III editor maps, read and write
Entities as nodes (keys in extras, brushes as parsed), brushes through codecs/model/Brush, patchDef2 / patchDef3
through codecs/model/Patch, texture sizes from WAD2 / WAD3 / .wal / images; tested against ericw-tools qbsp.
2026-11-01 18:52:31 -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 80fd9cf1e8 model/sourcemdl: .vmt materials through codecs/text/KeyValues (cdmaterials search, patch include / insert / replace, $basetexture / $bumpmap as .vtf references), docs/guide scene section 2026-11-01 18:49:39 -06:00
4DBug 1f74419ccf vector/ldtk: LDtk projects read + write as a TileMap (levels as groups, worlds, IntGrid / auto / tile / entity layers, fields, external levels through resolve) 2026-11-01 18:49:26 -06:00
4DBug 082ea2019e build engine: docs/guide sections (ART tiles, Build maps) with inputs from tools/fixtures/docs_build.py, bench lines, type fixes; bundles rebuilt 2026-11-01 18:46:54 -06:00
4DBug d8212c6839 merge ws/source (codecs/text/KeyValues for .vmt materials) 2026-11-01 18:46:27 -06:00
4DBug 4b97caa7cc docs/STYLE: list codecs/model/SourceAnim (layout block, 2a table) 2026-11-01 18:45:16 -06:00
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