{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/tdimino/bg3se-macos/blob/19f935483917274953ef0532513b6771d6f96188/docs/architecture.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "BG3SE-macOS rebuilds the Baldur's Gate 3 Script Extender for macOS using Ghidra analysis of the Mac game binary and the Windows extender's architecture as a reference. It patches a Mach-O load command to inject a dylib, hooks game functions, and exposes Lua scripting APIs for mods; the author reports partial behavioral parity with the Windows implementation.",
  "description_zh": "BG3SE-macOS 参考 Windows 版脚本扩展器架构，并用 Ghidra 分析 Baldur's Gate 3 的 Mac 二进制文件，重建 macOS 版扩展器。它通过修改 Mach-O 加载命令注入 dylib、钩住游戏函数，为模组提供 Lua 脚本 API；作者报告其行为兼容度仍未达到完整状态。",
  "entry_url": "https://awesomerea.org/resources/bg3se-macos-baldurs-gate-3-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/bg3se-macos-baldurs-gate-3-case/",
  "evidence_url": "https://github.com/tdimino/bg3se-macos/blob/19f935483917274953ef0532513b6771d6f96188/README.md",
  "group": "cases",
  "id": "bg3se-macos-baldurs-gate-3-case",
  "json_url": "https://awesomerea.org/resources/bg3se-macos-baldurs-gate-3-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/bg3se-macos-baldurs-gate-3-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/bg3se-macos-baldurs-gate-3-case/index.md",
  "name": "BG3SE-macOS: rebuilding the Baldur's Gate 3 Script Extender",
  "name_zh": "BG3SE-macOS：重建 Baldur's Gate 3 脚本扩展器",
  "reconstruction_method": "other",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "limits",
    "limits",
    "license"
  ],
  "requirements": [
    "macOS 12 or newer, a Steam copy of Baldur's Gate 3, Xcode Command Line Tools and CMake.",
    "Apple Silicon is recommended; Intel has limited functionality.",
    "Ext.UI/Noesis, Lua Debugger/DAP, Virtual Textures and Input Injection are deferred.",
    "MIT license."
  ],
  "requirements_zh": [
    "需要 macOS 12 或更新版本、Steam 版 Baldur's Gate 3、Xcode Command Line Tools 和 CMake。",
    "推荐 Apple Silicon；Intel 功能有限。",
    "Ext.UI/Noesis、Lua Debugger/DAP、Virtual Textures 和 Input Injection 暂缓实现。",
    "采用 MIT 许可证。"
  ],
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/tdimino/bg3se-macos",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
