Guild II has LUA modding capabilities. Unfortunately, it is very limited. Therefore, I decided to expand those by some GuildII.exe patches and this extension DLL.
Currently this extension adds the following LUA functions:
| Name | Description |
|---|---|
| Number GeeType(Number or Table or String or Boolean variable) | Returns the type of the variable as number(1=bool, 3=number, 4=string, 5=table) |
| Number GeeVersion() | Returns the current engine extension version (=2) |
| Number GeeLength(String or Table) | Returns the length of the parameter |
- Build solution of this project with Visual Studio 2017 Community or download the latest binary release (
Guild2EngineEx.dll). - Copy resulting
Guild2EngineEx.dllto your Guild II program folder. - Patch your GuildII.exe binary according to
gee.1337in this repository with any hex editor. You can also use x64dbg to import the .1337 file and patch your executable. (You don't need to copygee.1337to game folder)
- Build or download newest
Guild2EngineEx.dll - Replace old file.
- If file
gee.1337has been modified in the new version then you need to patch theGuildII.exeagain, but I try to avoid updates there.