The rules have been updated, read them now: Rules!

Battle Heroes - custom 5.2 LUA

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
Sekretmnicha
ultra-n00b
Posts: 1
Joined: Sat Mar 20, 2021 11:42 am

Battle Heroes - custom 5.2 LUA

Post by Sekretmnicha » Sat Mar 20, 2021 4:10 pm

Hello
I want to mod a LUA file from game called Battle Heroes:
https://play.google.com/store/apps/deta ... l=pl&gl=US

The game uses LUA 5.2 but its not a standard LUA setup. Header is modified: altered from LuaR to nxsR. The fromat byte is 01 and header tail is changed.

Code: Select all

1B6E78735201010404040800196E780AF00A
nxsR.nx
I tried use luadec, unluac,chunkspy but all failed due to custom header so i cant manage to make the LUA "readable". Those LUA is not encrypted but just compiled bytecode.
I think nx in header stands for nx-crypto Linux library (im not 100%sure).

I tried use IDA pro on *.so from apk but its black magic to me.
Can any1 help me on how to make the file readable?

In attachments i added one LUA file. Cant add *.so due to file size.
HeroWerewolf.rar
You do not have the required permissions to view the files attached to this post.

Post Reply