Tl.Bake 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Tl.Bake --version 1.2.0
                    
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.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tl.Bake&version=1.2.0
                    
nuke :add-package Tl.Bake --version 1.2.0
                    

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 boss.json              # output defaults to boss.tlb; assembly discovered from the JSON's types
tlb                        # exactly one *.json in the directory
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). Explicit --assembly always wins and skips discovery.
  • Lazy forms: tlb boss.json defaults the output to boss.tlb beside the input and discovers the assembly by sweeping DLLs under the launch directory for one defining every (namespace, type) pair the JSON references; bare tlb requires exactly one *.json in the directory. tlb.db in the launch directory caches the last resolution per JSON, is machine-local (gitignored), and is rewritten whenever it goes stale.
  • --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: first complete stable release. API settlement with no compatibility aliases: the consumer method Execute is now OnActive, Step is now Advance, and the typed Apply/Advance overloads live on the Timeline pair surface (the Lane facade is removed). Playback floors receipted on every host shape and CPU tier: shared-clock crowds 0.08 ns/row, per-entity calls 0.80 ns forward, non-AVX2 tiers 0.48 ns via the kernel tier ladder and flat record arena, bit-exact across AVX2, Vector128, and scalar. Bakes dispatch by discovered signature through the IBake marker; the live playground handles arbitrary valid authoring. Pair-typed folding is pair-isolated: Timeline<TTrack,TClip> measures and plays only its own pair, never another pair's consumers. OnActive with no gameplay parameters registers a dispatch-only consumer, fired per row at the position's tick by the no-output Apply(indices, positions, forward) overload.