[Requests] Kingdom Rush 5: Alliance TD

Ask about cheats/tables for single player games here
Messiah
Noobzor
Noobzor
Posts: 8
Joined: Wed Jan 29, 2020 3:19 pm
Reputation: 0

Re: [Requests] Kingdom Rush 5: Alliance TD

Post by Messiah »

Smaug wrote:
Sat Aug 10, 2024 5:34 pm
ign1z wrote:
Sat Aug 10, 2024 1:37 pm
[remembered it now, it was XMLs not LUAs]

on the previous game, i could edited the XML of kingdrom rush vengeance, the XML code is visible and editable so that we can change the tower skill cooldown, hero skil cooldown, tower / hero damage, etc ...

but in this version, as you mentioned, it is using LUA and its uneditable ...
would you care to teach us on how the converting of the byte lua code to be readable one and then back to byte version, to be able to be inserted in the exe(zip) again ?
Lua editing is as easy as xml tho, the only difference is the bytecode now.
You can use a luajit decompiler to get most of the luas sourcecode.
Stuff like tower strength, hero stuff etc. was inside kr5\balance\balance.lua if I'm not mistaken.
And yes, if you have the plaintext sourcecode luas and there wasn't any decomp. error, you can just put them inside the .exe and replace the existing file and it should work, without being bytecode. And if it somehow needs to be bytecode, for whatever reason, you would have to run the file through LuaJIT-2.0.4 to generate bytecode again.
I'm running my modified version through LuaJIT-2.1 (I like to do it myself if people say it is simple enough :))) ), but I'm getting a not-compatible error.
I used "-bgd" as the command for bytecode generation. Any advice would be very helpful.

Devila
What is cheating?
What is cheating?
Posts: 2
Joined: Mon Jan 27, 2025 1:55 pm
Reputation: 0

Re: [Requests] Kingdom Rush 5: Alliance TD

Post by Devila »

Please ignore this message :( :(
Last edited by Devila on Mon Jan 27, 2025 2:07 pm, edited 1 time in total.

Devila
What is cheating?
What is cheating?
Posts: 2
Joined: Mon Jan 27, 2025 1:55 pm
Reputation: 0

Re: [Requests] Kingdom Rush 5: Alliance TD

Post by Devila »

Smaug wrote:
Fri Aug 09, 2024 4:49 pm
BigBear743 wrote:
Thu Aug 01, 2024 2:17 am
I have no luck, so none of your suggest can be fulfill :?
Table sharing 2 will be my last update for this game until I learn more about reverse engine :(
You could just straight up use lua in CE, because it's a love2d game, which is made using lua.
Hook a lua function, patch your own code in and rdy to take off.

You can extract the executable file (Kingdom Rush Alliance.exe) with 7zip to get the assets and lua files, then convert the lua files to actual lua code, because they are converted to bytecode with LuaJIT 2.0.4

And with lua code, you can also look at the games logic or parts you want to modify, so you don't have to boot up any decompiler and reverse the game.

Alternatively, open the "Kingdom Rush Alliance.exe" with 7zip, replace the version.lua with the one I have attached and play the game in debug mode.

Debug menu key is F12, which lists all other keys and their functionality.
For most people, these should be enough:
l/L = +/- lives
m/M = +/- gold
z/Z = +/- speed

In Debug mode, heroes can be levelled in the hero selection menu, so you can max them out pretty easily.
And you can start the stage with auto-upgrade in Debug mode, so you'll have all tower upgrades available.
With unlimited gold and speedup, you can clear stages in a few seconds.

Password: fearless

Hello, how do I enable the debug menu in kingdom rush vengeance?

M_Oxzorio
Novice Cheater
Novice Cheater
Posts: 16
Joined: Sun Oct 27, 2024 12:42 pm
Reputation: 3

Re: [Requests] Kingdom Rush 5: Alliance TD

Post by M_Oxzorio »

+1

Post Reply

Who is online

Users browsing this forum: AhrefsBot, almightyigor, mikemyers, wawawa58