4DBug
6c26e349f8
merge master (ws/roblox, ws/voxel, ...)
2026-10-31 15:30:37 -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
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
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
74c3b63615
merge ws/voxel
2026-10-31 15:08:58 -05:00
4DBug
9f9e423cb3
merge ws/roblox
2026-10-31 15:07:40 -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
e5c0873a79
ws-game: image/tim (PlayStation TIM read: 4/8-bit CLUT, 15-bit, 24-bit; write 4/8/16/24-bit)
2026-10-31 15:06:05 -05:00
4DBug
24f471bccb
merge ws/tex b32d45e (codecs/image/Bcn + Half, for VTF / BLP)
2026-10-31 15:01:27 -05:00
4DBug
4932fa7148
ws-game: model/bsp (Quake 1 / Half-Life / Quake II brush maps, Quake III maps with patches and lightmaps, entities); core/Input.sibling (opts.files / opts.resolve lookup shared by mdl / bsp / md5 / vpk; additive)
2026-10-31 15:01:06 -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
9b2b50fe75
ws-game: model/md5 (Doom 3 md5mesh + md5anim: skeleton, weighted bind pose, skin, animations via opts.anims / resolve / files; standalone md5anim)
2026-10-31 14:52:15 -05:00
4DBug
f86e12f051
ws-voxel: model/qb (Qubicle Binary read + write: RGBA / BGRA, z orientation, RLE, visibility masks; exact colours in Voxels.colors)
2026-10-31 14:52:15 -05:00
4DBug
08045ba813
ws-game: model/smd (Valve SMD read + write: skeleton, skin, weights links, frames as animation, animation SMDs); Rig.influences merges a joint listed twice
2026-10-31 14:47:06 -05:00
4DBug
286d193f14
ws-voxel: model/mca (Anvil regions read-only: gzip / zlib / LZ4Block / stored / external .mcc chunks; 1.18+, 1.13-1.17 and pre-1.13 chunk layouts) into Voxels with exact block states; block entity shapes moved into codecs/model/Minecraft
2026-10-31 14:47:05 -05:00
4DBug
f14d5ac4ef
ws-game: model/mdl (Quake 1 IDPO: skins via palette, frames as morph targets; Half-Life 1 IDST: bones, skin, body parts, strips / fans, textures with palettes, sequences as animations); Rig.angles, Rig.skeleton returns world matrices
2026-10-31 14:41:33 -05:00
4DBug
09354cbd12
merge ws/roblox (codecs/compress/Lz4 for Anvil LZ4 chunks); registry regenerated
2026-10-31 14:38:23 -05:00
4DBug
fea56f4391
ws-voxel: model/schematic (.schem v1-3, .schematic, .litematic read + write), codecs/model/Minecraft (block states, default colours, legacy ids, packed arrays)
...
Types change (backward compatible): Types.Voxels gains optional blocks (VoxelBlocks: exact block states as
u16 indices into a state palette, block entities, entities) and colors (exact u32 RGBA per cell).
2026-10-31 14:37:43 -05:00
4DBug
3a1965486f
ws-roblox: model/robloxmesh (.mesh 1.00-5.00, 6.00/7.00 chunked with raw COREMESH read; Draco COREMESH UNSUPPORTED; 2.00 / 4.00 write with skinning subsets and LODs) mapped to Scene; rbxm / rbxmx variant() for F.detect (rbxl / rbxlx); api tests
2026-10-31 14:33:15 -05:00
4DBug
50eb827897
ws-game: model/md3 (Quake III MD3 -> Scene: surfaces as primitives, frames as morph targets, tags as nodes with channels, shaders as URIs)
2026-10-31 14:32:47 -05:00
4DBug
7fc5d3f5f0
regenerate registry after merging master
2026-10-31 14:26:01 -05:00
4DBug
b5964d4afc
merge master
2026-10-31 14:25:41 -05:00
4DBug
58d7e08397
ws-voxel: wip: codecs/model/Minecraft, model/schematic, Types.Voxels blocks / colors
2026-10-31 14:25:41 -05:00
4DBug
897a386c4f
merge master (ws/apifix)
2026-10-31 14:25:36 -05:00
4DBug
de1d2c2bba
ws-game: model/md2 (Quake II MD2 -> Scene: frames as morph targets + grouped animations, skins as URIs); codecs/model/Rig.normals
2026-10-31 14:25:36 -05:00
4DBug
bd696dea1e
merge master (ws/apifix) into ws/roblox
2026-10-31 14:25:18 -05:00
4DBug
6829c37487
merge ws/apifix
2026-10-31 14:24:12 -05:00
4DBug
ec32f359bc
ws-game: licenses: blast.c (zlib) for the DCL tables in codecs/compress/Explode
2026-10-31 14:21:50 -05:00
4DBug
b02e59809f
ws-game: archive/mpq (MPQ v1-4 read: hash / block tables, encryption, listfile names, zlib / implode / bzip2 / LZMA / sparse sectors; Huffman / ADPCM UNSUPPORTED); codecs/compress/Explode (PKWARE DCL implode decompressor, binary + ASCII, tested against StormLib); licenses: blast (format reference)
2026-10-31 14:21:34 -05:00
4DBug
ea9c0b36df
ws-roblox: codecs/model/Rbx (RbxTree, typed values, CFrame rotation ids, binary property columns), model/rbxm (binary rbxm / rbxl read + write; LZ4 / Zstd / raw chunks; unknown chunks and property types round trip raw), model/rbxmx (XML rbxmx / rbxlx read + write); tests vs rojo 7.7 + lune 0.11 both ways
...
init.luau: KIND_CATEGORY gains rbxtree = model (F.save of an RbxTree finds the model category).
2026-10-31 14:19:46 -05:00
4DBug
5bbb4227c2
ws-apifix: API.md / STYLE.md / README: music as audio, video as animated image, F.save extra files, variant(r), caps.extraFiles, F.music builder, bitrate in bit/s; type baseline 92
2026-10-31 14:14:11 -05:00
4DBug
6274eedd12
ws-apifix: MP4 AAC length matches ffmpeg: the edit list's length (Track.playDuration) cuts the end padding as well as the priming (codecDelay); a 1 s clip decodes to 44100 frames, not 45056. AudioWrap.trim(dec, skip, length?); the MP4 writer keeps the edit length of copied audio. Video tests compare the whole decoded audio length with ffmpeg (not yet for Matroska)
2026-10-31 14:13:08 -05:00
4DBug
998177e5ab
ws-voxel: codecs/text/Nbt (NBT Java / Bedrock / network varint, SNBT parse + print, typed values), data/nbt, data/snbt
...
Shared change: codecs/compress/Deflate gains Deflate.peek(buf, off, len, n) (the first n inflated bytes of a
gzip / zlib / raw stream, for sniffing gzip-wrapped NBT) through a backward-compatible prefix flag on
Inflate.raw; gunzip's header parsing moved into a local helper both use.
2026-10-31 14:12:46 -05:00
4DBug
34d0600109
ws-game: archive/vpk (Valve VPK v1 / v2 read incl. multi-part via opts.resolve / opts.files, preload, CRC checks; single-file v1 / v2 write with MD5 section)
2026-10-31 14:09:50 -05:00
4DBug
ac47545aa3
ws-apifix: one bitrate unit: every encoder's bitrate option is bit/s (MP3 now too), values below 1000 are kbit/s (the old MP3 values keep working; Opus accepts them too); the MP3 Decoder's bitrate field is bit/s as the Decoder contract says (was kbit/s)
2026-10-31 14:06:51 -05:00
4DBug
5ec3121f65
ws-game: archive/wad (IWAD / PWAD read + write; lumps with namespaces and maps; flats / pictures / composed textures as Images via PLAYPAL; maps as Scenes: triangulated sector floors / ceilings, walls with vanilla alignment, things); codecs/model/Polygon (2D polygons with holes -> triangles); licenses: Freedoom (fixture source only)
2026-10-31 14:05:53 -05:00
4DBug
f17a54395d
ws-tex: codecs/image/Bcn (BC1-7 decode, BC1/3/4/5 encode) + codecs/image/Half
...
Decoders ported from Pillow BcnDecode.c (CC0) with D3D11 rules (BC6H +32 rounding, float output, reserved modes,
signed RGTC). Tests against Pillow and Godot 4 (bcdec) over random blocks of every BC6H / BC7 mode; encoder PSNR
above Pillow's encoder. Bench lines in tools/bench.luau.
2026-10-31 14:05:10 -05:00
4DBug
3c2a646365
ws-apifix: type fixes (no new diagnostics)
2026-10-31 14:04:21 -05:00
4DBug
2f0ff81c95
ws-apifix: an outline font saved as BMFont writes its pages (opts.files; without a destination F.save returns them as a third value { [page file] = PNG bytes }; caps.extraFiles); pages named after the destination
2026-10-31 14:03:45 -05:00
4DBug
d73b93c740
ws-apifix: videos save as animated images (F.save(video, gif | apng | webp), F.convert(avi, "gif"): frames / fps / maxFrames (300) / maxPixels (2^25)); VideoFrame.index restarts at the seek position; F.detect names WebM files "webm"
...
api: encoderFor finds image formats for a VideoDecoder, videoToImage() collects the frames; F.detect asks a
format's optional variant(r) for a more precise name (video/mkv: Mkv.variant, from Parse.docType).
codecs/video/Video: index after seek = round(pts * frameRate) + 1.
2026-10-31 14:00:36 -05:00
4DBug
eac069f7dc
ws-game: archive/grp (Build engine GRP read + write)
2026-10-31 13:56:30 -05:00
4DBug
10bd6b021f
ws-apifix: music is audio (F.save / F.convert of a Module or Midi to an audio format renders it, render options from opts; F.audio.open / load render music bytes), F.music builder (ops/MusicOps: new, addPattern, setCell / getCell, addSample, addInstrument, note; also F.ops.music), MIDI writer writes track.name as a 0x03 event
...
api (init.luau): detectFor() falls back from audio to rendering music formats; encoderFor finds audio formats for
music values; renderMusic() through codecs/audio/Tracker or music/midi render.
2026-10-31 13:56:21 -05:00
4DBug
5af4aa361e
ws-game: codecs/model/Rig (morph targets + weights animations, skeletons + skins, influences, joint TRS animations for the game model formats); codecs/image/Pixels.palette (RGB / BGR triples -> u32 palette; additive)
2026-10-31 13:54:43 -05:00
4DBug
1ed25296ba
ws-roblox: codecs/compress/Lz4 (LZ4 block decode + encode, decodeInto with history for linked blocks), tests vs python-lz4 both ways, bench line
2026-10-31 13:53:23 -05:00
4DBug
d41d64219a
ws-game: archive/pak (Quake PACK / SiN SPAK read + write); containers/Archive: slice() lazy loader and collect() for simple archive writers (additive)
2026-10-31 13:52:17 -05:00
4DBug
25d8e4ff25
ws-apifix: F.ops.layers.flatten applies the mask of a passThrough group (codecs/image/Blend lerp takes a mask)
2026-10-31 13:50:05 -05:00
4DBug
de4f14a343
merge ws/docs
2026-10-31 13:45:55 -05:00
4DBug
23e0c13f52
ws-docs: examples/cad.luau: typed tables (no new type diagnostic)
2026-10-31 13:40:59 -05:00
4DBug
1d21568af8
merge ws/cleanup: restructure C (codecs by domain, shared Chunks/Stream/Pixels/Sniff/Mat4, audio codecs out of format folders, DUP lint, type gate 93), dedup, consistency, F.ops, README
2026-10-31 13:32:16 -05:00
4DBug
3fde582f8c
Merge branch 'ws/cleanup' into ws/docs
2026-10-31 13:25:13 -05:00