I had to pin the version of the LuaJIT library to a specific commit,
and have reworked the build scripts heavily to work with the XWin setup,
sacrificing the more flexible approach that existed before.
As such it is heavily customized to the specific usage here. There is no
reason to assume that it will be reconciled with the main project in the
future.
The previous fix when the compiled bytecode wasn't accepted by the game
did work fine for Linux. But apparently on Windows, it procudes a stack
overflow when attempting to open a Lua state.
This reverts LuaJIT to a commit from 2019, which is quite old, but does
work. Further investigation is needed to determine if or how never
versions of LuaJIT could be used.
Fixes#110.