Tl.Bake 1.0.0-alpha.9

This is a prerelease version of Tl.Bake.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Tl.Bake --version 1.0.0-alpha.9
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Tl.Bake --version 1.0.0-alpha.9
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tl.Bake&version=1.0.0-alpha.9&prerelease
                    
nuke :add-package Tl.Bake --version 1.0.0-alpha.9
                    

Tl.Bake

The tlb command (package Tl.Bake) compiles designer-authored timeline JSON into canonical TLB1 binary assets for the tl runtime. The command was named tlbake before 1.0.0-alpha.8. The output is TLB1 v3 and the loader accepts v3 only; assets baked by earlier alphas (v1, or the v2 layout shipped through 1.0.0-alpha.8) are rejected at load with a diagnostic, so update the tool and re-bake.

dotnet tool install --global Tl.Bake --prerelease --add-source <directory containing the Tl.Bake nupkg>
tlb boss.json boss.tlb --assembly MyGame.Domain.dll
tlb --json --assembly MyGame.Domain.dll
tlb --watch boss.json boss.tlb --assembly MyGame.Domain.dll
tlb --strip boss.tlb boss.ship.tlb
tlb --report boss.tlb
  • Deterministic: identical inputs produce byte-identical assets.
  • --assembly names the assemblies containing the track/clip structs; the assembly name must match the assembly that ships those types at runtime (pair keys hash assembly-qualified names).
  • --json prints the authorable (track, clip) pairs the assemblies expose, with member names, so authoring tools can fill type lists automatically.
  • TLB1 v3 stores each pair's unique track and clip values once in per-pair value pools and references them from frame slots by fixed-width ushort index in 24 B, 8-aligned slot rows (at most 65,535 unique values per pool). --report audits the split, including pool/<pair>/track-unique-count, pool/<pair>/clip-unique-count, and the totals pool/unique-count and pool/value-bytes.
  • --watch re-bakes on save: it bakes every input once at start, then rebuilds only files whose content hash changed, printing JSON events (ready, rebuild, skip, diagnostic). A directory input watches every *.json in it; --debounce <ms> (default 100) coalesces editor saves.
  • --cache <dir>: content-keyed cache; hits preserve timestamps, failures are never cached.
  • Install the matching Tl.CSharp package for the runtime and the build-time consumer binding. Unity consumes the com.iafahim.tl UPM package from the tl.unity repository.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
4.0.0-preview.1 60 11/6/2026
3.0.0 278 10/3/2026
2.0.1 168 10/1/2026
2.0.0 104 10/1/2026
1.3.0 122 9/28/2026
1.2.0 129 9/24/2026
1.1.0 131 9/21/2026
1.0.0 131 9/21/2026
1.0.0-alpha.10 239 9/19/2026
1.0.0-alpha.9 108 9/18/2026
1.0.0-alpha.8 107 9/17/2026
1.0.0-alpha.7 131 9/17/2026
1.0.0-alpha.6 118 9/14/2026
1.0.0-alpha.5 126 9/13/2026

v1.0.0-alpha.9: emits TLB1 v3 assets (24-byte slot rows, trackIndex at byte 6) and validates that JSON input is UTF-8 with a located diagnostic. Assets baked by earlier alphas are rejected at load; update the tool and re-bake.