Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuaBackend still not working even after new version #18

Open
atera93 opened this issue Jun 26, 2024 · 13 comments
Open

LuaBackend still not working even after new version #18

atera93 opened this issue Jun 26, 2024 · 13 comments

Comments

@atera93
Copy link

atera93 commented Jun 26, 2024

I recently switched from Epic Games to Steam version of KH. I tried to load Kingdom Hearts but it would crash. What should I do?

@HydroSulphide
Copy link

What were the exact steps you tried? What system are you using? Where is your scripts folder and how does your LuaBackend.toml look like?

@atera93
Copy link
Author

atera93 commented Jun 28, 2024

I am using Steam for Kingdom Hearts and I am using LuaBackend. My system goes something like this;

[kh1]
scripts = [{ path = "scripts/kh1/", relative = true }]
exe = "KINGDOM HEARTS FINAL MIX.exe"
game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[kh2]
scripts = [{ path = "scripts/kh2/", relative = true }]
exe = "KINGDOM HEARTS II FINAL MIX.exe"
game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[bbs]
scripts = [{ path = "scripts/bbs/", relative = true }]
exe = "KINGDOM HEARTS Birth by Sleep FINAL MIX.exe"
game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[recom]
scripts = [{ path = "scripts/recom/", relative = true }]
exe = "KINGDOM HEARTS Re_Chain of Memories.exe"
game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"

@HydroSulphide
Copy link

This seems right, did you copy all 3 files to the directory, where your exe is located? And are you playing on Linux/Steam Deck or Windows? Are your scripts located in the directory specified by your LuaBackend.toml? Do your games even work without the LuaBackend hook? Maybe you need to verify your game files via steam.

@atera93
Copy link
Author

atera93 commented Jun 29, 2024

I copied the files onto my D:/ Steam directory. My games work without the LuaBackend hook.

@HydroSulphide
Copy link

Could you post screenshots of your file manager (directory and path where you put your lua files and also the one where you put your script folder) and also one of the content of your LuaBackend.toml? It's weird that it crashes, but maybe you are just putting them in the wrong location.

@atera93
Copy link
Author

atera93 commented Jun 29, 2024

Where the scripts are
image

Where my game is located (Steam Version)
image

@HydroSulphide
Copy link

Yeah this should be right. Are there specific mods that crash the game at start? Or does it also crash with no mod at all? Maybe you are using an outdated mod? Could you try checking without mods and identify the mod that causes the crash? Because lua backend should not cause any crash with your setup.

@Djokaire
Copy link

Hey !
How are you ?

I have the same issue actually. The game can't run with DBGHELP.ddl. I have a entrypoint symgetsymfromaddr64 alert message when I try to launch the game. If I change DBGHELP to DINPUT8, the game launches but nothing happens, scripts won't work.
I have the steam version btw

@HydroSulphide
Copy link

This error sounds like a mod tries to access an address, that isn't valid. Same question to you: What mods are you using? Does it only happen with one specific mod? Was the mod you are using updated after the steam release?

You shouldn't rename it to dinput8.dll on windows. That's for Linux/Proton.

@atera93
Copy link
Author

atera93 commented Jun 30, 2024

Yeah this should be right. Are there specific mods that crash the game at start? Or does it also crash with no mod at all? Maybe you are using an outdated mod? Could you try checking without mods and identify the mod that causes the crash? Because lua backend should not cause any crash with your setup.

I removed all my mods except for some that were recently downloaded and it worked. I think its because of the software switch from EGS to Steam.

Hey ! How are you ?

I have the same issue actually. The game can't run with DBGHELP.ddl. I have a entrypoint symgetsymfromaddr64 alert message when I try to launch the game. If I change DBGHELP to DINPUT8, the game launches but nothing happens, scripts won't work. I have the steam version btw

Try removing all of your mods first and reintroducing some that were downloaded recently.

@Djokaire
Copy link

Sadly, any script causes a crash. :/

@NezomiFloof
Copy link

Can confirm as well, all scripts crash KH1.

@cahudson94
Copy link

To be honest (as a dev on the mods) this is not an issue with the backend but the mods themselves. If you can open the F2 prompt window the dlls from here are working correctly. Direct the questions where you have picked up the mods, it is likely one of three issues either the mod has not been updated (slightly less likely at this point), you have an outdated version of the file, or you are on a yet unsupported platform (Steam Deck has known issues but is hard to do dev work for). For my share of work All PC ports of the lua mods I maintain have been updated.

TL;DR work with the maintainers of the mods if F2 is working as it is a problem on that end not on the backend side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants