OpenKH/OpenKh

[BUG] - Name of the Issue

Closed this issue · 3 comments

OpenKH requires LuaBackend files for mods to work.
Kingdom Hearts 2 Final Mix quits unexpectedly due to the dll and tombl files.
The rest of the games in the compilation work correctly, except on KH2FM.

openkh does not require lua backend for mods to work. it provides an easy way in the setup wizard to install it to work with panacea/mod loader since Lua Backend needs to be renamed/installed differently.
Mods that use lua files require lua backend to work and the lua files (mods) themselves need to update this is not an issue with openkh.
the only thing openkh has not been updated to do would be change the .toml depending on if you are installing for steam/EGS since their default scripts locations differ inside of the documents folder. This would just be a niceity if it gets added but as of now if a steam user has both EGS and steam version installed (and still uses both for some reason) they can open the .toml located in each respective game install in any text editor and update it so the filepath is correct depending on EGS/Steam (by defualt the TOML is configured for EGS so the EGS install would not need to be edited but for steam the user would need to comment out the first game_docs line for each game by adding a # before it and uncomment out the steam line by removing the # before it

when using openkh DBGHELP.dll is from openkh aswell as panacea_settings.txt if you are crashing with these in and not the other 3 mentioned files then you need to update your mod manager. Note if you use the mod manager the KH2Rando server they have not pulled the changes that fix this issue. If you wish to use mod manager with the newest game you must get it from the latest release of this github repository.
if you have and are still crashing as i said this is a lua script issue. Not only are Lua Scripts not openkh's problem to fix they arent even Lua Backends problem to fix each mod author needs to fix and update their own lua scripts and then each user of those lua scripts needs to delete the old ones and get the new ones.

when you install panacea it renames if from Openkh.Panacea.dll to DBGHELP.dll and copies it to the game install folder. if you for some reason then copy a different file named DBGHELP.dll over it it will ofc overwrite panacea. So the first statement is made assuming you arent touching any of the 5 files mentioned in the game install folder and only installing/uninstalling them through openkh mod manager.