Releases: Sirius902/LuaBackend
v1.8.0-hook
Config Changes
thread_struct
has been removed, hook addresses are determined automatically.base
address has been removed, addresses are now relative to the game module without an added offset. This is the same as ifbase
is set to0
.- For compatibility,
base
will be respected if set in the config file but new scripts should not rely on this behavior and expect it may be removed in the future.
- For compatibility,
Overall Changes
Due to the removal of thread_struct
and automatic address detection, v1.8.0-hook
will work for all PC releases of Kingdom Hearts with no config changes (addresses between different versions of the game could be different though of course).
v1.7.3-hook
Changes
- Fixes scripts leaking when reloading scripts, this ensures resources from previous instances of scripts are properly deleted.
- Compilers other than MSVC can now be used to build the project (only Clang has been tested so far).
v1.7.2-hook
Changes
Reverts memory access changes introduced in v1.7.1.
- Fixes crashes related to memory permissions changing after the game starts.
v1.7.1-hook
Changes
- Add support for hooking as either
DBGHELP.dll
orDINPUT8.dll
.- To change what the DLL is hooking as, rename the file to the appropriate name.
- Further optimize memory accesses. (Thanks to @MainMemory!)
v1.7.0-hook
Changes
- Added support for Dream Drop Distance.
Note: You will need to install LuaBackend Hook separately for KH 1.5+2.5 and KH 2.8.
Upgrading
- Each game in the config now have a
game_docs
key, which is the game's Documents folder. Adding the following line to each game in an existingLuaBackend.toml
used for KH 1.5+2.5 will be enough to update.
game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"
v1.6.0-hook
Changes
- Added proper Unicode support, file paths containing Unicode characters should now work.
- Statically link Discord RPC instead of dynamically linking.
- Update config file to use hex numbers for addresses instead of strings.
Upgrading
- If you have a
Lua.dll
ordiscord-rpc.dll
in yourKH_1.5_2.5
directory, delete it.lua54.dll
is now required. - Change
base
andthread_offset
inLuaBackend.toml
to be hex numbers instead of strings.- For example,
base = "123ABC"
must be changed tobase = 0x123ABC
.
- For example,
v1.5.0-hook
Added a config file to configure script paths and game offset addresses. Lua and Discord libraries are now dynamically linked and are separate DLL files.
v1.4.1-hook
Commits
- 9e8f4ae: Check INVALID_HANDLE_VALUE
Fix bug where crash report would sometimes fail to dump.
v1.4.0-hook
Commits
- b6efd22: Create crash dump exception handler
Now game crashes are intercepted with an exception handler, writing a crash dump file to CrashDump.dmp
in the game directory.
v1.3.0-hook
Commits
- 56930e8: Hook DBGHELP instead of DINPUT8
Fixes Steam Input not working. Since DBGHELP.dll
is used now instead of DINPUT8.dll
, to update simply remove the old DINPUT8.dll
and put DBGHELP.dll
in its place.