Skip to the content.

LuaBackend Hook Setup

These instructions guide you through installing LuaBackend Hook and performing the necessary configuration for integration with KH2 Randomizer using OpenKH Mods Manager. This integration allows mods to bundle their own Lua scripts, giving several benefits:

Version 2.1.5 of the seed generator adds a screen to help you configure LuaBackend Hook automatically.

LuaBackend Hook Setup

Check Configuration

After you’ve configured LuaBackend Hook for Mods Manager integration, you can now take advantage of several common mods with bundled scripts.

Mods with scripts

Option 2: Manual setup

It’s recommended to use the automatic setup option above, but below are instructions on how to install and configure LuaBackend Hook manually, if needed.

Installation

Games Install Directory Screenshot

Configuration

[kh2]
scripts = [{ path = "scripts/kh2/", relative = true }]
[kh2]
scripts = [
    { path = "scripts/kh2/", relative = true },
    { path = "C:/kh2rando/openkh/mod/scripts", relative = false }
]

After you’ve configured LuaBackend Hook for Mods Manager integration, you can now take advantage of several common mods with bundled scripts.

Mods with scripts