Repository navigation
Chef Shared Loader 1.4.1
·
21 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
A patch release: a force-quit no longer blames a mod, it works beside a loader that bundles the HD2 Lua Runtime, older logs are kept, it costs less a frame, and a crash on a unit from an earlier world is fixed.
- A single launch that ends without a clean shutdown no longer blames a mod: closing the game from Task Manager looks just like a crash. A call is skipped, and counted against its mod, only when the next launch ends in it too.
- Works beside a loader that bundles the HD2 Lua Runtime: when that loader hands off to this one, the mods that name the runtime as a requirement are left to it, which runs them on the real runtime; deployed above it, this loader runs them itself. The log and chef_loader_health.txt say which.
- Run by another loader that handed off to it, the loader names that loader in the log and the health file, and the hang watchdog stays on: it takes the host's debug hook during the loader's own calls and gives it back after.
- Older log sessions are kept: when chef_loader.log starts fresh, its launches move to chef_loader.old.log (the newest whole launches within 4 MB).
- The log has a line when the mouse goes back to the game (once, however often a mod holds and lets go), and a mod can't take the mouse while the game closes.
- Lower cost a frame: faster text, chef.call, camera, lines, sprite sheets and triangles, HD2 Lua Runtime unit reads, options menu and performance monitor. The game's settings file is read every 90 s, not 30.
- Removed from the HD2 Lua Runtime look-alike: the live palette and cape calls, the inbox views, and the files and patches requests. Mods built on them run on their own runtime's loader.
- For mod authors: put -- HD2-Requires: chef-shared-loader in every addon that uses chef, so another loader deployed above this one leaves it alone.
- Fixed: a unit kept from an earlier world could pass as usable again two worlds later and end the game. It now stays refused as long as a mod keeps asking about it. (thanks sscoolqaz)
- Fixed: colors with channels that weren't whole numbers could be drawn as another color, and one mod's bad color could slow every mod's bitmaps or turn every mod's triangles into rects for the session.
- Full list: CHANGELOG.md. For mod authors: docs/MODDING.md and docs/TESTING.md.
Updating: replace the old zip (Chef-Shared-Loader-1.4.0.zip, or the one you have) with this zip in your mod manager, keep it at the highest priority, then Purge and Deploy.
Download: Chef-Shared-Loader-1.4.1.zip below (not the source code). Mod authors: chef_loader_stub.lua is the start-up stub to carry as your mod's boot (docs/MODDING.md, "Carrying the stub").