Release v0.2.16
This release focuses primarily on Developer Experience, with a major new milestone: you can now develop Little Big Adventure 2 mods on Linux or macOS while running LBA2.exe on a Windows VM or remote machine. Mod changes are synchronized immediately and hot-reloaded in the game, giving a workflow that feels close to developing directly on the same Windows box. Alongside that, this release also includes API improvements, documentation updates, and a set of bug fixes.
API and documentation improvements
- Added
useTempStore(), a runtime-only scene store for temporary trigger/state data that should reset on scene load and never be written into save data. - Improved move-script ergonomics by allowing omitted placeholder arguments for several
TM_*commands, includingTM_FACE_TWINSEN,TM_ANGLE_RND,TM_WAIT_NB_ANIM,TM_WAIT_NB_SECOND,TM_WAIT_NB_DIZIEME, and their random variants. - Added validation and clearer documentation for
LM_CAMERA_CENTER, including explicit orientation values for behind/right/front/left camera placement. - Improved object angle helpers so angle conversions normalize correctly.
- Added
getAngleFromToPosition()for deriving an LBA angle directly from two positions. - Improved coroutine error messaging to always provide at least coroutine name, actorId and position in case of and error.
- Added
setCoroutineStackTrace(true|false)to help diagnose coroutine errors by optionally including the originating coroutine stack trace. - Updated all samples to use new useTempStore() API for player action trigger.
Infrastructure and Developer Experience improvements
- Added support for remote mod development from Linux or macOS to a Windows IdaJS setup through the new listener and remote sync/start workflow.
- The mod scaffolder can now accept a remote
host[:port]as the IdaJS target, and generated projects save that configuration correctly in.idajs.json. - Extended setup and prerequisite documentation, including clearer guidance for cross-platform development.
- Added
npx @idajs/create-mod --updateto refresh scaffolder-managed project infrastructure in existing mods without touching user code insrc/. - Improved the scaffolder install/update flow, including safer package refresh behavior and automatic type update support after infrastructure refreshes.
- Switched mod archive creation to
yazl, improving packaging consistency and cleaning up generated project dependencies. - Improved
configure.ps1so git worktree setups are handled more gracefully.
Bugfixes
- Fixed a circular
require()issue that could cause an infinite call stack. IdaJS now follows Node.js-style behavior by returning partial exports during circular module loading. - Fixed the Bathroom sample logic for checking whether Twinsen is actually facing the window before the interaction triggers.
- Synced the TypeScript storm sample with the updated thunder handling.
- Fixed mod build/package-name resolution on non-Windows systems.
- Updated locked dependencies to address known vulnerabilities.