Skip to content

Releases: Sirius902/LuaBackend

v1.8.0-hook

23 Jun 05:29
4189006
Compare
Choose a tag to compare

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 if base is set to 0.
    • 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.

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

25 Oct 20:50
Compare
Choose a tag to compare

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

29 Jan 02:28
Compare
Choose a tag to compare

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

30 Dec 07:35
Compare
Choose a tag to compare

Changes

  • Add support for hooking as either DBGHELP.dll or DINPUT8.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

15 Jul 21:41
Compare
Choose a tag to compare

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 existing LuaBackend.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

05 May 10:12
Compare
Choose a tag to compare

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 or discord-rpc.dll in your KH_1.5_2.5 directory, delete it. lua54.dll is now required.
  • Change base and thread_offset in LuaBackend.toml to be hex numbers instead of strings.
    • For example, base = "123ABC" must be changed to base = 0x123ABC.

v1.5.0-hook

01 May 02:54
Compare
Choose a tag to compare

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

20 Feb 11:56
Compare
Choose a tag to compare

Commits

  • 9e8f4ae: Check INVALID_HANDLE_VALUE

Fix bug where crash report would sometimes fail to dump.

v1.4.0-hook

20 Feb 10:17
Compare
Choose a tag to compare

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

17 Nov 16:16
Compare
Choose a tag to compare

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.