(STEAM) I didn't know that I had to make a change to the LuaBackend.toml and that the file itself specifies it. I made that change and it opened with luabackend. and used the downloadbigmods edit to not hold the L3 button. The console displays “[100% Drop Rate Enemy Cards.lua] 100% Enemy Card Drop Rate: true” when activated.
Edit: I did all the stuff to install the mod, then I get that problem where the game wont launch. I just un-installted and re-installed the game and now it works. When I press F2 while I am in the recom game, it shows the the little menu as well. Try my method if you have any problems. Use CHickenii's Updated code as well.
Steam Version.
When I double click to open the game using the 1-5 2-5 desktop shortcut, it refuses to launch the game. Can anyone tell me what I am doing wrong? I have installed this twice now and it still does this. Says that Steam api64.dll is missing. Again I have done this twice now and I get this problem. Seems this needs updated again?
If anyone is having issues with this on LuaBackend, I got it to work using LuaFrontend instead. Im not sure what the issue was, I tried everything. The only thing I changed on this script before putting it into FrontEnd was copy CHickenii's updated code below.
Hey, so everything seems to be working with the script itself according to the console, and other LUA mods are working, but the enemies don't actually drop. I'm playing on the Steam Deck if anyone has any experience getting it to work on there. Thank you!
I'm on Epic Global and this isn't working for me, I tried two different controllers just to make sure but holding down L3 does not guarantee an enemy card drop. The LUA script is loading fine however.
I didn't like having to hold down a button to get cards to drop, so here's a version of CHickenii's updated script that toggles this behavior each time you click the configured toggle, only tested on Steam but it should work for Epic: LUAGUI_NAME = "100% Enemy Card Drop Rate" LUAGUI_AUTH = "TheLegendOfLame" LUAGUI_DESC = "100% Enemy Card Drop Rate"
------------------------------------------------------------------------- function _OnInit() if ENGINE_TYPE == "BACKEND" then end
if ReadLong(IsEpicGLVersion) == 0x7265737563697065 then epic = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Epic GL is initialized") end
if ReadLong(IsSteamGLVersion) == 0x7265737563697065 then compat = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Steam GL is initialized") end
if ReadLong(IsSteamJPVersion) == 0x7265737563697065 then compat = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Steam JP is initialized") end
enableDrop = false toggleHeldOnLastFrame = false end
------------------------------------------------------------------------- function _OnFrame() if compat == 1 then if ((ReadShort(0x8223EA) & buttonMask) == buttonMask) then if (not toggleHeldOnLastFrame) then enableDrop = not enableDrop ConsolePrint("100% Enemy Card Drop Rate: " .. tostring(enableDrop)) end toggleHeldOnLastFrame = true else toggleHeldOnLastFrame = false end
if enableDrop then WriteByte(0x180F0D, 0x0F) WriteArray(0x180EF9, {0x90,0x90,0x90,0x90,0x90,0x90}) else WriteByte(0x180F0D, 0x10) WriteArray(0x180EF9, {0x0F,0x86,0x80,0x00,0x00,0x00}) end end if epic == 1 then if (ReadShort(0x82217A) & buttonMask) == buttonMask then if (not toggleHeldOnLastFrame) then enableDrop = not enableDrop ConsolePrint("100% Enemy Card Drop Rate: " .. tostring(enableDrop)) end toggleHeldOnLastFrame = true else toggleHeldOnLastFrame = false end
if enableDrop then WriteByte(0x180B7D, 0x0F) WriteArray(0x180B69, {0x90,0x90,0x90,0x90,0x90,0x90}) else WriteByte(0x180B7D, 0x10) WriteArray(0x180B69, {0x0F,0x86,0x80,0x00,0x00,0x00}) end end end
Is it still working for you? I've tried copy and pasting this into my version of the lua file, but I can't seem to get it to work, and nothing happens when I press F2.
The three files from LuaBackend download are all in my KH folder that has the .exe files (KINGDOM HEARTS -HD 1.5+2.5 ReMIX-)
The lua is placed in a folder labled "recom" that follows this path My Documents -> My Games - KINGDOM HEARTS HD 1.5+2.5 ReMIX -> scripts -> recom
Those seem to be the directions I needed to follow, so I'm not sure what I'm doing wrong.
Are you using a controller by any chance? If so you need to press and hold L3 first before hitting the last enemy before the 100% Drop Rate can take effect throughout the game session. Note there is no L3 equivalent for PC, you can change the button to activate the mod by following what's written on this mod's description page.
Was going to implement toggle but I realized quickly there wasn't a way that I knew how to make it visible that it's in effect. Toggling a cheat you can't see the effect being active until it happens behind a button press can be weird imo but I should've still given people the option and that's my bad. Was going to first try to figure out how to make an audio or visual cue but again I should've just made it an option to begin with. Thanks for helping people get that done.
Since the author seems to be busy, the mod can be fixed by simply editing the lua file manually. LUAGUI_NAME = "100% Enemy Card Drop Rate" LUAGUI_AUTH = "TheLegendOfLame" LUAGUI_DESC = "100% Enemy Card Drop Rate"
------------------------------------------------------------------------- function _OnInit() if ENGINE_TYPE == "BACKEND" then end
if ReadLong(IsEpicGLVersion) == 0x7265737563697065 then epic = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Epic GL is initialized") end
if ReadLong(IsSteamGLVersion) == 0x7265737563697065 then compat = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Steam GL is initialized") end
if ReadLong(IsSteamJPVersion) == 0x7265737563697065 then compat = 1 ConsolePrint("100% Enemy Card Drop Rate Cards Steam JP is initialized") end
end
------------------------------------------------------------------------- function _OnFrame() if compat == 1 then if (ReadShort(0x8223EA) & buttonMask) == buttonMask then WriteByte(0x180F0D, 0x0F) WriteArray(0x180EF9, {0x90,0x90,0x90,0x90,0x90,0x90}) else WriteByte(0x180F0D, 0x10) WriteArray(0x180EF9, {0x0F,0x86,0x80,0x00,0x00,0x00}) end end if epic == 1 then if (ReadShort(0x82217A) & buttonMask) == buttonMask then WriteByte(0x180B7D, 0x0F) WriteArray(0x180B69, {0x90,0x90,0x90,0x90,0x90,0x90}) else WriteByte(0x180B7D, 0x10) WriteArray(0x180B69, {0x0F,0x86,0x80,0x00,0x00,0x00}) end end end
Note that the only differences are in the address to find game version, as well as changing the ReadByte to ReadLong. This should fix the mod until the author has time to update it.
God send thank you for updating this, going for the 100% and the last enemy card was kicking my ass. Got three random jokers trying to farm it -_- none of the RNG manipulation tricks were working either.
56 comments
and used the downloadbigmods edit to not hold the L3 button.
The console displays “[100% Drop Rate Enemy Cards.lua] 100% Enemy Card Drop Rate: true” when activated.
Steam Version.
When I double click to open the game using the 1-5 2-5 desktop shortcut, it refuses to launch the game. Can anyone tell me what I am doing wrong? I have installed this twice now and it still does this. Says that Steam api64.dll is missing. Again I have done this twice now and I get this problem. Seems this needs updated again?
LUAGUI_NAME = "100% Enemy Card Drop Rate"
LUAGUI_AUTH = "TheLegendOfLame"
LUAGUI_DESC = "100% Enemy Card Drop Rate"
IsEpicGLVersion = 0x616149
IsSteamGLVersion = 0x6116C1
IsSteamJPVersion = 0x611671
buttonMask = 0x0002
-------------------------------------------------------------------------
function _OnInit()
if ENGINE_TYPE == "BACKEND" then
end
if ReadLong(IsEpicGLVersion) == 0x7265737563697065 then
epic = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Epic GL is initialized")
end
if ReadLong(IsSteamGLVersion) == 0x7265737563697065 then
compat = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Steam GL is initialized")
end
if ReadLong(IsSteamJPVersion) == 0x7265737563697065 then
compat = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Steam JP is initialized")
end
enableDrop = false
toggleHeldOnLastFrame = false
end
-------------------------------------------------------------------------
function _OnFrame()
if compat == 1 then
if ((ReadShort(0x8223EA) & buttonMask) == buttonMask) then
if (not toggleHeldOnLastFrame) then
enableDrop = not enableDrop
ConsolePrint("100% Enemy Card Drop Rate: " .. tostring(enableDrop))
end
toggleHeldOnLastFrame = true
else
toggleHeldOnLastFrame = false
end
if enableDrop then
WriteByte(0x180F0D, 0x0F)
WriteArray(0x180EF9, {0x90,0x90,0x90,0x90,0x90,0x90})
else
WriteByte(0x180F0D, 0x10)
WriteArray(0x180EF9, {0x0F,0x86,0x80,0x00,0x00,0x00})
end
end
if epic == 1 then
if (ReadShort(0x82217A) & buttonMask) == buttonMask then
if (not toggleHeldOnLastFrame) then
enableDrop = not enableDrop
ConsolePrint("100% Enemy Card Drop Rate: " .. tostring(enableDrop))
end
toggleHeldOnLastFrame = true
else
toggleHeldOnLastFrame = false
end
if enableDrop then
WriteByte(0x180B7D, 0x0F)
WriteArray(0x180B69, {0x90,0x90,0x90,0x90,0x90,0x90})
else
WriteByte(0x180B7D, 0x10)
WriteArray(0x180B69, {0x0F,0x86,0x80,0x00,0x00,0x00})
end
end
end
The three files from LuaBackend download are all in my KH folder that has the .exe files (KINGDOM HEARTS -HD 1.5+2.5 ReMIX-)
The lua is placed in a folder labled "recom" that follows this path My Documents -> My Games - KINGDOM HEARTS HD 1.5+2.5 ReMIX -> scripts -> recom
Those seem to be the directions I needed to follow, so I'm not sure what I'm doing wrong.
Thanks for any help you can provide.
LUAGUI_NAME = "100% Enemy Card Drop Rate"
LUAGUI_AUTH = "TheLegendOfLame"
LUAGUI_DESC = "100% Enemy Card Drop Rate"
IsEpicGLVersion = 0x616149
IsSteamGLVersion = 0x6116C1
IsSteamJPVersion = 0x611671
buttonMask = 0x0002
-------------------------------------------------------------------------
function _OnInit()
if ENGINE_TYPE == "BACKEND" then
end
if ReadLong(IsEpicGLVersion) == 0x7265737563697065 then
epic = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Epic GL is initialized")
end
if ReadLong(IsSteamGLVersion) == 0x7265737563697065 then
compat = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Steam GL is initialized")
end
if ReadLong(IsSteamJPVersion) == 0x7265737563697065 then
compat = 1
ConsolePrint("100% Enemy Card Drop Rate Cards Steam JP is initialized")
end
end
-------------------------------------------------------------------------
function _OnFrame()
if compat == 1 then
if (ReadShort(0x8223EA) & buttonMask) == buttonMask then
WriteByte(0x180F0D, 0x0F)
WriteArray(0x180EF9, {0x90,0x90,0x90,0x90,0x90,0x90})
else
WriteByte(0x180F0D, 0x10)
WriteArray(0x180EF9, {0x0F,0x86,0x80,0x00,0x00,0x00})
end
end
if epic == 1 then
if (ReadShort(0x82217A) & buttonMask) == buttonMask then
WriteByte(0x180B7D, 0x0F)
WriteArray(0x180B69, {0x90,0x90,0x90,0x90,0x90,0x90})
else
WriteByte(0x180B7D, 0x10)
WriteArray(0x180B69, {0x0F,0x86,0x80,0x00,0x00,0x00})
end
end
end
Note that the only differences are in the address to find game version, as well as changing the ReadByte to ReadLong. This should fix the mod until the author has time to update it.