Skip to content

A SDK to develop C++ plugins for the Haze-Dumper or to extend the existing Lua API.

License

Notifications You must be signed in to change notification settings

hazedumper/plugin-sdk

Repository files navigation

Haze-Dumper Plugin SDK

A software development kit (SDK) to develop C++ plugins for the haze-dumper or to extend the Lua API.

CMake Version Clang Version LuaJIT Version Visual Studio Version Development GitHub Release

Table of Contents

Local Development

  1. Install git
    1. Arch: sudo pacman -S git
    2. Ubuntu/Debian: sudo apt install -y git
    3. Fedora: sudo dnf install git-all
    4. Windows: git for windows
  2. Clone the repository recursively: git clone --recursive https://github.com/hazedumper/plugin-sdk

Windows

  1. Install Visual Studio 2022
  2. Open the Developer PowerShell for VS 2022
  3. Navigate into the repository
  4. Enter the code below to build LuaJIT from source
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
.\build_lua_jit.ps1
  1. Open the plugin-sdk.sln in Visual Studio 2022

Linux / MacOS

  1. Install LuaJIT using your systems package manager or follow their official installation instruction:
    1. Arch: sudo pacman -S luajit
    2. Ubuntu/Debian: sudo apt install -y libluajit-5.1-dev
    3. Fedora: sudo yum install luajit
    4. MacOS: brew install luajit

3rd party libraries