Repository navigation
Releases
v0.8.1: Merge pull request #591 from cdal-dev/release/0.8.1
CDAL 0.8.1 updates CDAL Studio 0.8.1 (CDAL-Studio-v0.8.1-setup.exe), the SDK (CDAL-SDK-v0.8.1.zip), and the database and Python tooling: 23 new IDs (6147-6169), 5 renamed and documented Unclassified IDs, the CharacterAppearanceIndexInfo::CharacterScale (4036) offset fix (PF-092), port-scanner and handover fixes (PF-090), gradual MinHook migration docs, and external-contributor validation updates. Players already on CDAL 0.8.0 and BSX 0.4.0 do not need to update cdal.dll or BSX: cdal.dll, C API 8, hooks API 2, and BSX / BSX Lua / BSX Overlay 0.4.0 are unchanged.
- Three new IDs for package resource read and async decode (
db/symbols/system_depth.json, builds1.0.0.3392through1.0.0.3850):pa::ResourceLoadWorker_Package::ReadSync(6167),pa::ResourceLoadWorker_Package::AsyncDecode(6168), andpa::ResourceLoadWorker_Package::OnReadComplete(6169). Derived statically fromCrimsonDesert.exeand checked offline across builds1.0.0.3392through1.0.0.3850; not hooked in game yet. - Nine new IDs for UI edition and player status modifier requests (
db/symbols/{engine,items,minimap_camera,stats,system_depth,ui_callbacks}.json,db/builds/1.0.0.3850.json,cdal-dev/CDAL#1,cdal-dev/CDAL#3):TrocTrRideOffByServerAck::Receive(6158),TrocTrAttachLinkVehicleAck::Receive(6159),MiniMap::PushIconScratch(6160),UiControl::SetTextWithMode(6161, four-argument successor to retired177 UiControl::SetText),UiStatusGauge::SyncStatValue(6162),ServerStatusActorComponent::UpdateBoundaryTransitionSkills(6163),Inventory::PlanAndInsertItems(6164),InventoryTransfer::PrepareInsertRecords(6165) andInventoryTransfer::DispatchStorageItemMove(6166). Verified offline on 1.0.0.3850 by two independent blind REA 6.9.0 runs and x64 disassembly; not yet hook-tested in game. - Renamed and documented five placeholder
Unclassified::IDs (db/symbols/mod_gaps.json,db/compat/):InventoryLocation::Decode(3131),CharacterScene::UpdateScene_CalleeCall(4875),SceneResolveQueues::CopyBlocksCall(4876),ShaderCache::LoadPasc(4877) andDeferredByteQueue::Push(5620), with offline register/argument contracts checked on 1.0.0.3840 and 1.0.0.3850. - Seven new IDs for actor garbage collection, fixed-step timing, and inventory location encoding (
db/symbols/time_flow.json,db/symbols/damage_health.json,db/symbols/items.json, all 13db/builds/*.json):FrameTimer::FixedStepOverrideDelta(6151),ActorGarbageCollection::Run(6152),ActorGarbageCollection::Run_ActorExclusionTest(6153),ServerStatusActorComponent::IsGarbageCollectionEligible(6154),ActorGarbageCollection::DeadBodyMinAgeMs(6155),ActorGarbageCollection::MaxDeadBodyCount(6156) andInventoryLocation::Encode(6157). Derived from the game's code and checked offline across 1.0.0.2976 through 1.0.0.3850 (two independent blind runs agreed on 1.0.0.3840 and 1.0.0.3850); not hooked in game yet. - Four new IDs for royal supply and trading (
db/symbols/store_prices.json,db/builds/1.0.0.3840.json,db/builds/1.0.0.3850.json):RoyalSupply::RefreshOrders(6147),ServerContentsMiscActorComponent::HandleGameEvent(6148, the game-event callback that rebuilds the royal open list),RoyalSupply::Deliver(6149) andInventory::ExchangeTradeItem(6150). Found from the game's code alone and checked offline on 1.0.0.3840 and 1.0.0.3850; not hooked in game yet. The map is docs/research/ROYAL_SUPPLY.md. - Fix
CharacterAppearanceIndexInfo::CharacterScale(ID4036) on1.0.0.3840and1.0.0.3850(db/symbols/appearance.json,db/builds/1.0.0.3840.json,db/builds/1.0.0.3850.json, PF-092):- Updated stored
1.0.0.3840and1.0.0.3850values from0x18to0x14, removed the stale byte-pattern fallback that collided withMaterialMatchInfo::ReadDefinition, wildcarded the displacement byte in the string signature'sexpect, and documented the1.0.0.3840/1.0.0.3850layout inCharacterAppearanceIndexInfo::ReadDefinition(4037). - Added
test_no_new_pinned_readsandtest_known_pinned_only_shrinksinpython/tests/test_signature_guards.pyand documented the rule in ID_FINDING.md and FORMAT.md.
- Updated stored
- CDAL Studio & Port Scanner (
studio/,python/cdal_tools/port_scan.py, PF-090):- Added
mfreadwriteand related Windows multimedia/graphics/runtime DLLs toSYSTEM_DLLS(plusTEXT()/_T()LoadLibraryparsing), ignored non-executable assetRCDATAlines (.mp4, images, fonts, shaders, text) and standardRT_*/ distant / multi-line asset-onlyFindResourcepairs, and rejected generic x64 prologue-only partial overlaps (such asStatEntry::GetValueAtfalse matches) identically in Rust and Python. - Stopped
plan::best_idfrom auto-picking ambiguous multi-address partial overlaps, listed those candidate IDs instead of"not in CDAL yet"inplan::render, and updated the agent handover prompt so completed ports aren't markedPartly portedfor routine post-port steps. - Separated
cdal-port-handover.md## I could not dolines into non-blockingReport::notesso clean ports show Fully ported and Ship/Enroll only displays Known limits in this version when features are actually off; also added script build detection (build*.{bat,cmd,ps1,sh},Makefile) andlibcdal*.alinking, reparse-point file/dir handling and surfaced skipped-copy notices inworkcopy.rs/PortNext.svelte, folder name suffix stripping (-cdal,- Source, dotted versions), and{tab}localization acrossWhatsLeft.svelte,Ship.svelte, andApp.svelte. - Updated PORTING.md, API.md, and STUDIO.md (and all 6 translated
STUDIO.mdguides) for empty-listcdal_require, immediatecdal_hook_functionenabling, andcdal-studio enroll.
- Added
- Database Validation (
python/cdal_tools/sourcedb.py):- Relaxed
game_code.toolsvalidation from ID5712(TOOLS_REQUIRED_FROM) on socdal_tools validateaccepts any non-empty list of tools (such as IDA, Ghidra, x64dbg, orcdal disasm) instead of requiring"rea", unblocking external contributors while keeping"rea"for maintainer AI research batches.
- Relaxed
- Tooling & Contributor Docs (
python/cdal_tools/,CONTRIBUTING.md,docs/agents/ID_FINDING.md):- Included
bsx/lua/ids.luaincdal_tools genandcdal_tools validate --check-generated(headergen.lua_editor_ids) wheneverbsx/lua/is present alongsidedb/, so contributors do not have to runbsx/lua/generate_ids.pyseparately to satisfytest_lua_ids.py. - Documented external-contributor
found_by: "cdal"/sourceconventions (avoiding PF-047 mod-name conflicts) and maintainer-sidetools/id-check.ps1in ID_FINDING.md, CONTRIBUTING.md, MAINTAINING.md, and MAINTAINER_NOTES.md. - Documented gradual MinHook migration (
install_at,read_original, and multi-hook rollback) in MOD_AUTHORS.md and PORTING.md.
- Included
SHA-256
To check a file, run Get-FileHash <file> in PowerShell and compare it with its line here (also in SHA256SUMS.txt).
059896fa6abf39cb59800b0ce9875bdc34a3999da750faf78dfbe5d239aa1e7f CDAL-BSX-v0.8.1.zip
079074f46255899189cfa6c71ba7dd012c4ec23034fe3066bc4a4be1a0ab53d7 CDAL-Report-Tool-v0.8.1.zip
e5187025669067ca21b937235cb2f270df916ab0f92c83c1f6a0a7b0c7925505 CDAL-SDK-v0.8.1.zip
0fe692fe836bfbb22fd2c5ac6a9d04077eaedb8da4aab71704646c6b72454f04 CDAL-v0.8.1.zip
e63c678778bc9f0118577c40d7d37a2cef238a0ac9706ecd347626e81fc31728 CDAL-Studio-v0.8.1-setup.exe
2e9e1c620e506cda39b8e4ab7b9d299ed597a3ae1b5e55c94a2fd76f5f83e6f7 cdal.dll
13d40ab4b4d64904fd32154505c298452d16a3888337f8d53b04cceba4054020 BSX.asi
90e4636d0544d1c00c80813c028ced75894ffc235ed187c683a6c0f3e3761823 BSX.Lua.dll
dd4cfed176aaecfe7c0ec707a7a2342fc447d6278d22bd787c9abf57497ed746 BSX.Overlay.dll
v0.8.0
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++ helperscdal::set_crash_context/cdal::ScopedCrashContext, plus zero-heap nearest-ID symbolication (active crash context:,nearest CDAL ID:, andGame addresses on the crashed stack (nearest CDAL IDs):) insrc/cdal_hooks.cpp. - Added a copyable
Signature:line (build=,cdal=<ver>/<sha12>,bsx=,exc=,at=,pe=) tocrash-*.txtnotes andCollect report.cmdsummaries. - Added duplicate loaded-module detection via the PEB (
warning: duplicate module ...inCDAL/hooks.log, game-relative entries insession.json, andDuplicate loaded modulesin crash/hang/exit notes). - Hardened
session.jsonlock-retry handling, logged earlycdal_initfailures once per session toCDAL/hooks.log, added SEH module PE guards incdal_watchdog.cpp, and hardenedcdal_hook_function/cdal_hook_mid(unsafe_to_move) and header-only mutex locking ininclude/cdal/cdal.hpp. - Updated examples/hello_cdal, examples/shared_hooks, PORTING.md, and QUICKSTART.md to resolve plugin
.ini/.logpaths relative tog_module.
- Added
- Function-Relative Recipe Ops & Scanner Rules (
include/cdal/cdal.hpp,python/cdal_tools/):- Added
func_start(resolving the start of the.pdatafunction holding the cursor, including chained blocks) andfind_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 toIMAGE_SCN_CNT_CODEonly when none are executable), addedcdal::Options::allow_hooked,Library::prefetch(),Library::resolve_signatures(id), andcdal-resolve(native C++17 resolver).
- Added
Database & Game Builds
- Support for game builds
1.0.0.3840(2.06.00) and1.0.0.3850(2.06.01) (db/symbols/,db/builds/):- Added
db/builds/1.0.0.3840.jsonanddb/builds/1.0.0.3850.json(withbsx_checkedenabled on1.0.0.3850whileCoSaveandGamepadstay opt-in). - Updated definition-table layout IDs (
DefinitionEntry::InternalName6137,DefinitionRow::Key452,DefinitionTable::RowEntries5689,DefinitionEntry::Row5690) for the2.060x30-byte entry stride (PF-074), added Lua API 8 IDs (6138-6146), and addedClientEquipSlotActorComponent::EquipAck(6139) for manual equip/unequip completion tracking (PF-071). - Carried
unavailable(changed meaning/removed) andheldentries forward across builds socdal.dllfails closed instead of guessing, retired decompiler-scaled IDs6048and6049(PF-067), and split independentgame_codeproof totals from historical mod credits in docs/reference/credits.md.
- Added
BSX 0.4.0 & BSX Lua 0.4.0 (Public Alpha)
- BSX Loader & Services (
bsx/src/,bsx/include/bsx/):- Added
/DELAYLOAD:cdal.dllpreflight diagnostics (BSX/bsx.logreports missing or outdatedcdal.dlland keeps BSX safely idle),bsx.old.logrotation, and robustBSX/loading-plugin.txtcleanup retries. - Exported
bsx_get_service(const char* name)fromBSX.asifor standalone.asimods (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), fixedCoSavetitle-screen replay wipes (PF-068), clarifiedWEAPON_SWAPvsweapon_draw/weapon_watch, and expanded key/OEM/mouse/gamepad capture (bsx/src/key_observer.cpp).
- Added
- BSX Lua API 4 to 8 (
bsx/lua/, bsx/lua/README.md):- Added
lua_api4 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, sandboxedbsx.fs,bsx.audio,bsx.tween,bsx.memory,bsx.system, and losslessconfig.set/config.save. - Enabled read-only
[Lua] SnapshotProvider=1by default (0remains an explicit opt-out), while keeping[Lua] ServerCommands=0,[Lua] DevMode=0,[BSX] CoSave=0,[BSX] Gamepad=0, and[Overlay] Enabled=0safe by default, and added 1-step setup/INI toggles toApprove BSX scripts.cmdandBSX.Lua.Approval/2. - Added
tweaks.jsonup to schemav5with zero-code"data_only": truepacks, 19 priority-ordered composablegame.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, 3Draycast_segment/raycast_dir),game.appearance(liveMeshSetpart 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.vfxv2 (lua_api: 7+, Experimental Test:.effectcatalog, world/actor/socket/part:@MainWeaponattachment, color/emissive/glow/opacity overrides, playback methods, andsocket_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=1DevBridge pipe (\\.\pipe\BSX.Lua.DevBridge.v1), andbsx-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_toolkitsimplified to Items & Currency + Stats,godmode_sandbox,dps_meter,resume_anywhere,combat_overhaul_kit,world_controller,photo_studio,appearance_studio, and Experimental Testspellcraft_enchants), plustools/package-showcase.ps1for standalone per-mod archives.
- Added
BSX Overlay 0.4.0 (Experimental, Default Off)
- Added
BSX.Overlay.dll(shipped default-off with[Overlay] Enabled=0inBSX/plugins/BSX.Overlay.dll.iniand notices inBSX/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.jsonv5) editor, Visual Flow Builder 2.0 (triggers, conditions, actions, MCM controls, 16:9 2D HUD designer, live game pickers), Working examples gallery, offlineTest Offlinerunner, Nexus/Vortex/MO2.zippackager, and 1-click Deploy & Approve. - Live Game Inspector (
[Lua] DevMode=1), Event Spy, 8-table browser, shared ho...
- CodeMirror 6 Lua Scripter workstation with context-aware autocomplete, hover docs, inline diagnostics, BSX Lua Helper Kit (
Game build 1.0.0.3850
Addresses for game executable 1.0.0.3850 (PE timestamp 0x6B0D18E9, SizeOfImage 0x142F3000, Steam build 27031466): 4799 values.
Unzip into the game's bin64 folder, next to CrimsonDesert.exe, and replace the files in CDAL\. It holds the databases for this game version and the two before it. cdal.dll stays as it is; get it from the latest v* release if you don't have it.
ids.json.gz is CDAL Studio's ID list for this data. Studio downloads it by itself (Settings, ID catalog, Update from GitHub); nothing to do by hand.
Updated 2026-12-02 from commit c0dbdba with the latest IDs and signatures.
Game build 1.0.0.3840
Addresses for game executable 1.0.0.3840 (PE timestamp 0x6B07E5E9, SizeOfImage 0x13D05000, Steam build 26949954): 4787 values.
Unzip into the game's bin64 folder, next to CrimsonDesert.exe, and replace the files in CDAL\. It holds the databases for this game version and the two before it. cdal.dll stays as it is; get it from the latest v* release if you don't have it.
ids.json.gz is CDAL Studio's ID list for this data. Studio downloads it by itself (Settings, ID catalog, Update from GitHub); nothing to do by hand.
Updated 2026-12-02 from commit c0dbdba with the latest IDs and signatures.
Game build 1.0.0.3732
Addresses for game executable 1.0.0.3732 (PE timestamp 0x6AFDC0CF, SizeOfImage 0x13C7E000, Steam build 26776744): 4906 values.
Unzip into the game's bin64 folder, next to CrimsonDesert.exe, and replace the files in CDAL\. It holds the databases for this game version and the two before it. cdal.dll stays as it is; get it from the latest v* release if you don't have it.
ids.json.gz is CDAL Studio's ID list for this data. Studio downloads it by itself (Settings, ID catalog, Update from GitHub); nothing to do by hand.
Updated 2026-12-02 from commit c0dbdba with the latest IDs and signatures.