LuaBackend icon indicating copy to clipboard operation
LuaBackend copied to clipboard

no longer works with pc update (EGS)

Open ryjx opened this issue 1 year ago • 21 comments

after reinstalling the game, i put the three files from the DBGHELP folder into my game directory. this was how i used lua mods before, but doesn't work now.

ryjx avatar Jun 13 '24 07:06 ryjx

Can confirm this is an issue on the steam version aswell

HitoHitoNika avatar Jun 13 '24 18:06 HitoHitoNika

Most, if not all, Lua mods are broken aswell

Dekirai avatar Jun 13 '24 21:06 Dekirai

I'm on Steam and I have the same problem. I even tried with luafrontend. It didn't work.

DreamyNightingale avatar Jun 14 '24 21:06 DreamyNightingale

Open LuaBackend.toml and replace it with this Won't fix all the other lua mods though, they all need to be updated.

[kh1] scripts = [{ path = "scripts/kh1/", relative = true }] base = 0x3A29A6 thread_struct = 0x22BAA20 exe = "KINGDOM HEARTS FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[kh2] scripts = [{ path = "scripts/kh2/", relative = true }] base = 0x56668E thread_struct = 0x8A0930 exe = "KINGDOM HEARTS II FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

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

[recom] scripts = [{ path = "scripts/recom/", relative = true }] base = 0x4E7040 thread_struct = 0xC072C0 exe = "KINGDOM HEARTS Re_Chain of Memories.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

Dekirai avatar Jun 15 '24 09:06 Dekirai

Open LuaBackend.toml and replace it with this Won't fix all the other lua mods though, they all need to be updated.

[kh1] scripts = [{ path = "scripts/kh1/", relative = true }] base = 0x3A29A6 thread_struct = 0x22BAA20 exe = "KINGDOM HEARTS FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[kh2] scripts = [{ path = "scripts/kh2/", relative = true }] base = 0x56668E thread_struct = 0x8A0930 exe = "KINGDOM HEARTS II FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

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

[recom] scripts = [{ path = "scripts/recom/", relative = true }] base = 0x4E7040 thread_struct = 0xC072C0 exe = "KINGDOM HEARTS Re_Chain of Memories.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

That's for EGS or STEAM? I'm not be able to make it work with steam version.

ItsNekoRx28 avatar Jun 15 '24 10:06 ItsNekoRx28

I got it to work for the steam version by creating a folder in documents "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" instead of "\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts".

You should be able to change this in the LuaBackend.toml as well.

ItsNekoRx28 avatar Jun 15 '24 10:06 ItsNekoRx28

I got it to work for the steam version by creating a folder in documents "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" instead of "\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts".

You should be able to change this in the LuaBackend.toml as well.

What do you change the path or game_docs?

DrHojo123 avatar Jun 15 '24 11:06 DrHojo123

I got it to work for the steam version by creating a folder in documents "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" instead of "\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts". You should be able to change this in the LuaBackend.toml as well.

What do you change the path or game_docs?

I didn't changed the LuaBackend.toml, I only created a "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" folder. But I think it should work by replacing the game_docs with "My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX" inside LuaBackend.toml.

ItsNekoRx28 avatar Jun 15 '24 12:06 ItsNekoRx28

I got it to work for the steam version by creating a folder in documents "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" instead of "\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts". You should be able to change this in the LuaBackend.toml as well.

What do you change the path or game_docs?

I didn't changed the LuaBackend.toml, I only created a "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" folder. But I think it should work by replacing the game_docs with "My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX" inside LuaBackend.toml.

Darn tried it the mods I want not wroking the BBS better battle system.

DrHojo123 avatar Jun 15 '24 12:06 DrHojo123

I got it to work for the steam version by creating a folder in documents "\Documents\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts" instead of "\Documents\My Games\KINGDOM HEARTS HD 1.5+2.5 ReMIX\scripts".

You should be able to change this in the LuaBackend.toml as well.

Does changing the file path get Lua to open with F2 in game? In the Steam version, I can't get it to pop up.

tjsteele810 avatar Jun 17 '24 02:06 tjsteele810

@tjsteele810 You need the LuaBackend.toml change to open the console:

Open LuaBackend.toml and replace it with this Won't fix all the other lua mods though, they all need to be updated.

[kh1] scripts = [{ path = "scripts/kh1/", relative = true }] base = 0x3A29A6 thread_struct = 0x22BAA20 exe = "KINGDOM HEARTS FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

[kh2] scripts = [{ path = "scripts/kh2/", relative = true }] base = 0x56668E thread_struct = 0x8A0930 exe = "KINGDOM HEARTS II FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

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

[recom] scripts = [{ path = "scripts/recom/", relative = true }] base = 0x4E7040 thread_struct = 0xC072C0 exe = "KINGDOM HEARTS Re_Chain of Memories.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

HitoHitoNika avatar Jun 17 '24 07:06 HitoHitoNika

Hm. if I do something funny like put each game in one line, I get an entry error of "s". But if I do it correctly, nothing seems to happen on steam deck. F2 doesn't pull it up at all either.

Only using mods that were updated too.

After more tinkering;

Finally got it to at least pull up F2 by changing my scripts and game docs to my games/kingdom hearts... but it seems to be doing nothing as the box is blank. Had to change launch options as well.

NotAGreyWombat avatar Jun 17 '24 15:06 NotAGreyWombat

I have the f2 box up and the scripts initialize, but they dont do anything. The scripts in question were updated too. Any pointers?

damjammer410 avatar Jun 17 '24 23:06 damjammer410

@tjsteele810 You need the LuaBackend.toml change to open the console:

Open LuaBackend.toml and replace it with this Won't fix all the other lua mods though, they all need to be updated. [kh1] scripts = [{ path = "scripts/kh1/", relative = true }] base = 0x3A29A6 thread_struct = 0x22BAA20 exe = "KINGDOM HEARTS FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX" [kh2] scripts = [{ path = "scripts/kh2/", relative = true }] base = 0x56668E thread_struct = 0x8A0930 exe = "KINGDOM HEARTS II FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX" [bbs] scripts = [{ path = "scripts/bbs/", relative = true }] base = 0x6107B4 thread_struct = 0x110B84A0 exe = "KINGDOM HEARTS Birth by Sleep FINAL MIX.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX" [recom] scripts = [{ path = "scripts/recom/", relative = true }] base = 0x4E7040 thread_struct = 0xC072C0 exe = "KINGDOM HEARTS Re_Chain of Memories.exe" game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"

Yeah, I replaced the quoted text in the .toml file, but the F2 menu still wouldn't activate in my Steam version.

tjsteele810 avatar Jun 17 '24 23:06 tjsteele810

Hm. if I do something funny like put each game in one line, I get an entry error of "s". But if I do it correctly, nothing seems to happen on steam deck. F2 doesn't pull it up at all either.

Only using mods that were updated too.

After more tinkering;

Finally got it to at least pull up F2 by changing my scripts and game docs to my games/kingdom hearts... but it seems to be doing nothing as the box is blank. Had to change launch options as well.

I have multiple drives on my PC, with one being dedicated to all my games. Does your "tinkered" .method mean the game has to be on the C:/ drive in a specific folder path? Because all my games are on my T:/ drive

tjsteele810 avatar Jun 17 '24 23:06 tjsteele810

Hm. if I do something funny like put each game in one line, I get an entry error of "s". But if I do it correctly, nothing seems to happen on steam deck. F2 doesn't pull it up at all either.

Only using mods that were updated too.

After more tinkering;

Finally got it to at least pull up F2 by changing my scripts and game docs to my games/kingdom hearts... but it seems to be doing nothing as the box is blank. Had to change launch options as well.

I have multiple drives on my PC, with one being dedicated to all my games. Does your "tinkered" .method mean the game has to be on the C:/ drive in a specific folder path? Because all my games are on my T:/ drive

I have the same Setup and it works for me

HitoHitoNika avatar Jun 18 '24 03:06 HitoHitoNika

F2 works for me now and say it has installed updated mods but they don't work...

DreamyNightingale avatar Jun 18 '24 05:06 DreamyNightingale

how do you get this to work with DDD?

disrook avatar Jun 19 '24 01:06 disrook

Has anyone gotten this to work on EGS with the latest update?

vashorchihide avatar Jun 21 '24 22:06 vashorchihide

crashes the whole system for me for a few seconds and quits game when trying to use soft reset on egs version

shinra358 avatar Jun 26 '24 00:06 shinra358

This thread should be resolved at this point with the 1.8.0 release and the updates to the various mods (I can not speak to all of them). If there are any further issues of crashing/not running it will be a mod side issue and not with the back end. For anyone still wondering the documentation and base .toml files have been updated to reflect how you could go about doing either EG or Steam.

cahudson94 avatar Aug 10 '24 07:08 cahudson94

LuaBackend has been updated to support all game versions since v1.8.0. Mods need to be updated to support the new game version and also account for the fact that the usage of the base config option is discouraged. If you used LuaBackend prior to v1.8.0 you should do the following:

  • Make sure all your lua mods are up to date.
  • Edit your LuaBackend.toml to make sure there is no more base or thread_struct options.
  • If you're using the Steam version now you may want to change your game docs to be prefixed with My Games as seen here with the default config using KH2 as an example.
game_docs = "KINGDOM HEARTS HD 1.5+2.5 ReMIX"
# For Steam Version replace with below line
# game_docs = "My Games/KINGDOM HEARTS HD 1.5+2.5 ReMIX"

Sirius902 avatar Jan 17 '25 23:01 Sirius902