Sirius902 / LuaBackend

A standalone script interpreter for PC games. Compatible with LuaEngine.
GNU General Public License v3.0
34 stars 3 forks source link

Lua not launching. Steam version #13

Open ShyDoughnut opened 1 month ago

ShyDoughnut commented 1 month ago

I watched a video to confirm i had it all right. From what I can tell I do. Once i get to the menu of KH1 and press F2 nothing happens

Screenshot 2024-06-13 214333

Screenshot 2024-06-13 214615

Dekirai commented 1 month ago

Duplicate of https://github.com/Sirius902/LuaBackend/issues/12

spongebob902 commented 1 month ago

Same here. i tried multiple times but nothing happened

HydroSulphide commented 1 month ago

As a default Steam puts the "KINGDOM HEARTS HD 1.5+2.5 ReMIX" folder, where your scripts are located in: C:\Users\<user_name>\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts The LuaBackend.toml by default searches for scripts inside the Documents folder itself, because as a default EPIC puts it there: C:\Users\<user_name>\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts

You can either copy the "KINGDOM HEARTS HD 1.5+2.5 ReMIX" directory into Documents and put your scripts there or the better alternative you edit the paths in the LuaBackend.toml to the correct path. This means your LuaBackend.toml should look like this:

[kh1]
scripts = [{ path = "scripts/kh1/", relative = true }]
base = 0x0
thread_struct = 0x22BAA20
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 }]
base = 0x0
thread_struct = 0x8A0930
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 }]
base = 0x0
thread_struct = 0x110B84A0
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 }]
base = 0x0
thread_struct = 0xC072C0
exe = "KINGDOM HEARTS Re_Chain of Memories.exe"
game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"
[kh3d]
scripts = [{ path = "scripts/kh3d/", relative = true }]
base = 0x0
thread_struct = 0x14DA6F20
exe = "KINGDOM HEARTS Dream Drop Distance.exe"
game_docs = "My Games/KINGDOM HEARTS HD 2.8 Final Chapter Prologue"

Notice how the game_docs now point to "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX" instead of just "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

I hope this was the problem, please also notice that all lua mods need to be updated, because of the v1.0.0.9 update of Kingdom Hearts. You can see on Nexus when mods were updated. If it's a date before the steam release and they use lua scripts, you can't use them.

julianrios commented 1 week ago

I’m facing the same issue. I’m on the latest version and went through the dock and everything looks good but its not launching for me.