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

Lua not launching. Steam version #13

Open
ShyDoughnut opened this issue Jun 14, 2024 · 5 comments
Open

Lua not launching. Steam version #13

ShyDoughnut opened this issue Jun 14, 2024 · 5 comments

Comments

@ShyDoughnut
Copy link

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
Copy link

Dekirai commented Jun 14, 2024

Duplicate of #12

@spongebob902
Copy link

spongebob902 commented Jun 24, 2024

Same here. i tried multiple times but nothing happened

@HydroSulphide
Copy link

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
Copy link

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.

@cahudson94
Copy link

cahudson94 commented Aug 10, 2024

The third option is to set an absolute path in the .toml as well. The above example is actually outdated as well and the most recent version of the .toml can be found here The file structure is good for what is captured above so the only real reasons it might not come up is not pointing to the proper script location in the .toml OR a lack of further files/folders inside the script folder.

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

6 participants