[BUG] - Linux: LuaBackend not working in Mods Manager, 24.07.17.0
Closed this issue · 5 comments
OpenKH Build 24.07.17.0
Mods Manager Program
Describe the Bug
I used to use LuaBackend on this computer, but after an away period of a few months, some update has changed things. Installing LuaBackend via the mods manager does not create function for Lua-based mods. I have attempted with GOA Randomizer, Autosave, and Soft Reset. I have removed and re-installed LuaBackend multiple times but with no result.
To Reproduce
- "Run Wizard" in mods manager
- Select KH2 in LuaBackend page, install
- Add Lua-based KH2 mods
- Start game, mods not functioning
Expected behavior
Autosave and Soft Reset would create an alternate save file or allow a controller reset, respectively. GOA would load each world from a distinct starting point.
Additional context
Linux Mint
Epic Games Store
Heroic 2.41.1
Soft Reset/Autosave 2.0
GOA Randomizer 1.54.1
I tried adding Panacea for Linux but with it, KH2 refuses to boot at all. It remains active in the Heroic launcher but never brings up a window.
I added DLL overrides for version, lua54, and luabackend in Winecfg through Heroic.
Will look into this very soon.
Upon checking the KHPCSpeedrunTools repo, my own issue there has a response stating most of those scripts for KH2 are not updated. Under Windows I can confirm the randomizer works. I will be testing in my own Linux Mint environment shortly.
Thanks for looking into that. I decided to download and try some 1FM mods that were updated now, to see if Lua could work on them. They aren't functioning either. Screenshots show health bar (expected to be 1 but is normal; also tried on a new game with same result), and gummi map (travel should be instant and have no warp drive). Soft reset via autosave lua also doesn't work.
I went to the LuaBackend repository and downloaded DBGHelp.dll from there, and renamed it dinput8 like before. With that, the Lua files are working; I have autosave and soft reset working in KH2 now. Rando also seems to work, though I encountered a strange glitch in Sim TT. About an hour in and things seem stable.
Looking back at this issue the setup wizard install of Lua Backend is for use with panacea if you do not use install panacea you will need to rename the file named LuaBackend.dll
to whatever linux needs DBGHELP.dll
which iirc is for windows or version.dll
or dinput8.dll
for linux.
it says as much on the Lua Backend window Lua Backend is installed! for use with Panacea.
closing as if you intend to use with patching manual installation is required.