Skip to content

v0.8.0

Choose a tag to compare

@Ratty123 Ratty123 released this 01 Dec 14:24

First public release of CDAL 0.8.0 and CDAL Studio 0.8.0 (Public Beta), together with BSX 0.4.0 and BSX Lua 0.4.0 (Public Alpha), BSX Overlay 0.4.0 (Experimental, default off), and the 6-tab CDAL & BSX Hub.

CDAL Runtime, Hooks & Diagnostics

  • C API 8, Symbolicated Crash Notes & Crash Signatures (include/cdal/, src/, tools/cdal-diagnostics.ps1):
    • Added cdal_set_crash_context(const char* context) (CDAL_API_VERSION = 8u) and C++ helpers cdal::set_crash_context / cdal::ScopedCrashContext, plus zero-heap nearest-ID symbolication (active crash context:, nearest CDAL ID:, and Game addresses on the crashed stack (nearest CDAL IDs):) in src/cdal_hooks.cpp.
    • Added a copyable Signature: line (build=, cdal=<ver>/<sha12>, bsx=, exc=, at=, pe=) to crash-*.txt notes and Collect report.cmd summaries.
    • Added duplicate loaded-module detection via the PEB (warning: duplicate module ... in CDAL/hooks.log, game-relative entries in session.json, and Duplicate loaded modules in crash/hang/exit notes).
    • Hardened session.json lock-retry handling, logged early cdal_init failures once per session to CDAL/hooks.log, added SEH module PE guards in cdal_watchdog.cpp, and hardened cdal_hook_function / cdal_hook_mid (unsafe_to_move) and header-only mutex locking in include/cdal/cdal.hpp.
    • Updated examples/hello_cdal, examples/shared_hooks, PORTING.md, and QUICKSTART.md to resolve plugin .ini/.log paths relative to g_module.
  • Function-Relative Recipe Ops & Scanner Rules (include/cdal/cdal.hpp, python/cdal_tools/):
    • Added func_start (resolving the start of the .pdata function holding the cursor, including chained blocks) and find_in_func <pattern> (unique match inside that function). Both fail closed, read through CDAL's own hooks, and behave identically in C++ and Python (FORMAT.md).
    • Restricted code signature scanning to executable sections (IMAGE_SCN_MEM_EXECUTE, falling back to IMAGE_SCN_CNT_CODE only when none are executable), added cdal::Options::allow_hooked, Library::prefetch(), Library::resolve_signatures(id), and cdal-resolve (native C++17 resolver).

Database & Game Builds

  • Support for game builds 1.0.0.3840 (2.06.00) and 1.0.0.3850 (2.06.01) (db/symbols/, db/builds/):
    • Added db/builds/1.0.0.3840.json and db/builds/1.0.0.3850.json (with bsx_checked enabled on 1.0.0.3850 while CoSave and Gamepad stay opt-in).
    • Updated definition-table layout IDs (DefinitionEntry::InternalName 6137, DefinitionRow::Key 452, DefinitionTable::RowEntries 5689, DefinitionEntry::Row 5690) for the 2.06 0x30-byte entry stride (PF-074), added Lua API 8 IDs (6138-6146), and added ClientEquipSlotActorComponent::EquipAck (6139) for manual equip/unequip completion tracking (PF-071).
    • Carried unavailable (changed meaning / removed) and held entries forward across builds so cdal.dll fails closed instead of guessing, retired decompiler-scaled IDs 6048 and 6049 (PF-067), and split independent game_code proof totals from historical mod credits in docs/reference/credits.md.

BSX 0.4.0 & BSX Lua 0.4.0 (Public Alpha)

  • BSX Loader & Services (bsx/src/, bsx/include/bsx/):
    • Added /DELAYLOAD:cdal.dll preflight diagnostics (BSX/bsx.log reports missing or outdated cdal.dll and keeps BSX safely idle), bsx.old.log rotation, and robust BSX/loading-plugin.txt cleanup retries.
    • Exported bsx_get_service(const char* name) from BSX.asi for standalone .asi mods (BSX.Overlay.UI/1, BSX.Overlay.State/1, BSX.World/1, BSX.Lua.UI/5, BSX.Lua.Settings/1, BSX.Lua.Conflicts/1, BSX.Status/1), and added bsx/examples/world_hud plus bsx/include/bsx/ui.h and bsx/include/bsx/world.h.
    • Updated CoSave::finish() so two-partition native save files open cleanly (PF-070), fixed CoSave title-screen replay wipes (PF-068), clarified WEAPON_SWAP vs weapon_draw / weapon_watch, and expanded key/OEM/mouse/gamepad capture (bsx/src/key_observer.cpp).
  • BSX Lua API 4 to 8 (bsx/lua/, bsx/lua/README.md):
    • Added lua_api 4 through 8 with manifest "uses" capability bundles, topological "requires" loading, cancellable event/timer handles (handle:off()), bsx.every, bsx.bus, bsx.export / bsx.mods, bsx.json, sandboxed bsx.fs, bsx.audio, bsx.tween, bsx.memory, bsx.system, and lossless config.set / config.save.
    • Enabled read-only [Lua] SnapshotProvider=1 by default (0 remains an explicit opt-out), while keeping [Lua] ServerCommands=0, [Lua] DevMode=0, [BSX] CoSave=0, [BSX] Gamepad=0, and [Overlay] Enabled=0 safe by default, and added 1-step setup/INI toggles to Approve BSX scripts.cmd and BSX.Lua.Approval/2.
    • Added tweaks.json up to schema v5 with zero-code "data_only": true packs, 19 priority-ordered composable game.hooks.add(...) channels (BSX/lua_overrides.ini), and automatic reversion on script stop, reload, :pause, :pause-all, or Overlay All Off (PF-086).
    • Added game.stats, game.inventory, game.equipment, game.gameplay, game.combat, game.buffs, game.actors, game.camera (pose, FOV, roll, Free Cam, DOF, world_to_screen, unproject_ray), game.world (time, weather/cloud/WindPack overrides, ground height, teleport, 3D raycast_segment/raycast_dir), game.appearance (live MeshSet part visibility + presets), game.ui (state(), open_panel, close_panel), game.audio (Wwise catalog, observed events/objects, playback/RTPC/state/switch), 8 definition table readers, and reactive/passive events (weapon_draw, combat_damage, attack_hit, kill, just_action, groggy_changed, buff_applied, buff_removed, zone_changed, weather_changed, and API 7 passive hooks).
    • Added game.vfx v2 (lua_api: 7+, Experimental Test: .effect catalog, world/actor/socket/part:@MainWeapon attachment, color/emissive/glow/opacity overrides, playback methods, and socket_transform).
    • Added BSX.Lua.UI/5 (retained panels, Mini HUDs, bsx.ui.mcm, listbox, hotkey, theme, bsx.ui.toast), BSX.Lua.Draw/4 (2D/3D HUD primitives and 16 font slots), [Lua] DevMode=1 DevBridge pipe (\\.\pipe\BSX.Lua.DevBridge.v1), and bsx-lua-run --mock-world.
    • Added new Lua examples and cookbook showcase mods under bsx/lua/examples and bsx/lua/cookbook (with unified "BSX Example" authors, player_toolkit simplified to Items & Currency + Stats, godmode_sandbox, dps_meter, resume_anywhere, combat_overhaul_kit, world_controller, photo_studio, appearance_studio, and Experimental Test spellcraft_enchants), plus tools/package-showcase.ps1 for standalone per-mod archives.

BSX Overlay 0.4.0 (Experimental, Default Off)

  • Added BSX.Overlay.dll (shipped default-off with [Overlay] Enabled=0 in BSX/plugins/BSX.Overlay.dll.ini and notices in BSX/licenses/) featuring DX12 and ReShade rendering, HDR10 PQ / scRGB / 10-bit SDR compositing ([Overlay] HdrPaperWhiteNits), Mods / Status / Console / Log / All View tabs, Mini HUD position persistence (BSX.Overlay.hud.ini), toggle-key rebinding, 1-click script approvals, corner toasts, and frame-generation rate checks (bsx/overlay/README.md).

CDAL Studio 0.8.0 (Public Beta)

  • Upgraded CDAL Studio (studio/, STUDIO.md) with:
    • CodeMirror 6 Lua Scripter workstation with context-aware autocomplete, hover docs, inline diagnostics, BSX Lua Helper Kit (lib/kit.lua + 6 modular feature packs), 1-Click AI Assist, Tweak Pack (tweaks.json v5) editor, Visual Flow Builder 2.0 (triggers, conditions, actions, MCM controls, 16:9 2D HUD designer, live game pickers), Working examples gallery, offline Test Offline runner, Nexus/Vortex/MO2 .zip packager, and 1-click Deploy & Approve.
    • Live Game Inspector ([Lua] DevMode=1), Event Spy, 8-table browser, shared hook conflict UI, and cdal-studio mcp stdio MCP server.
    • Updated port scanner (C/C++/C# #ifdef CDAL switch awareness, .inc/.ixx/.cppm/.tpp, contiguous/escaped patterns, why_none ID reasons, public_ids enrollment, bundled bsx-lua-run.exe, and anonymous GitHub ID catalog downloads across all 7 languages).

CDAL & BSX Hub, Tools & Documentation

  • Launched the static 6-tab CDAL & BSX Hub (index.html, docs.html, lua-api.html, examples.html, game-builds.html, mods.html, plus report-api.html) with client-side My Tracked IDs watchlists, opt-in public_mods tags on game-builds.html, compact paginated mods.html, and per-API issue reporting (.github/ISSUE_TEMPLATE/lua-api-issue.yml).
  • Updated Update CDAL.cmd (tools/update-data.ps1) and Collect report.cmd (tools/cdal-diagnostics.ps1) for public GitHub downloads without requiring gh auth login, .cmd/.ps1 BSX zip extraction, crash signatures, early init checks, and path/secret redaction.
  • Published BSX Integration Guide, Interoperability & Load Order, SECURITY.md, staged Patch Day expectations in GAME_UPDATES.md, Helping on Patch Day, and updated all 6 translated guide sets (fr, de, es, zh-CN, ja, ko).

Licensing

  • Adopted the CDAL and BSX Source-Available License 1.0 (LICENSE), added the License & continuity FAQ in MOD_AUTHORS.md, updated THIRD_PARTY_NOTICES.md (adding CDAL Studio's SIL OFL 1.1 fonts and bundled runtime notices), and removed legacy MIT notice references (preserving Section 6 terms for earlier releases).

SHA-256

To check a file, run Get-FileHash <file> in PowerShell and compare it with its line here (also in SHA256SUMS.txt).

54cfbfbda022a9baf70b2a9c793627c53f98f90067f4232f348b24440425e66d  CDAL-BSX-v0.8.0.zip
97461ad1bc350087187965765473004f80e57bbe05550ffab966039148cac741  CDAL-Report-Tool-v0.8.0.zip
8881846f0fa8d2dc03644ec2477c71e540d388d82f28a66dd5c85adcd7d6e39f  CDAL-SDK-v0.8.0.zip
cad9223c5387bc72b9270a3034c062469f23117a95f03d23328c2e288f84d11b  CDAL-v0.8.0.zip
a9a76457781bdfcce7659d2449da27f12ed850eb76914ec680785392c4f90682  CDAL-Studio-v0.8.0-setup.exe
2fd1cf9bf2281cec057b7acfd1aeca2b8a48098f21ad2fd6b5f3ec620e973b29  cdal.dll
87ec42a6d7ac05e727561961ff3410f8f560a5604fb9c65a497320b86a616da4  BSX.asi
10da54cdc76c7fe9c3ca662c2487c02a81941b4a25c9e71c1222ed22f08dccdd  BSX.Lua.dll
c21f8f172f7d2172152dca0bed35f9cdc7fbfd77543d701241514aa2bf485890  BSX.Overlay.dll