Is it possible to assemble back the ChunkSpy's dissembled LUA files? Here's an example:
0B50 05000000  getglobal 0 0 ; script 0B54 C63E0000  gettable 0 0 251 ; "reload" 0B58 81000001  loadk 1 2 ; "player/common.lua" 0B5C 59000100  call 0 2 1
(And this is how it's actually supposed to look like.)
I tried to use Unluac and Luadec for files I want to decompile, but ChunkSpy is the only program that manages to open them. And these 3 tools are the ones I can use eventually, since all other tools were designed to work with LUB versions 5.1, 5.2 or 5.3. But, the version of my files is 5.0.2. I've searched everywhere for any suggestions about my problem, but I couldn't find anything.
Despite the fact that the needed program may not even exist, and absolutely nothing can't be done with these LUB files, I still would like to know, why Unluac and Luadec fail at decompiling those files, while ChunkSpy doesn't have any problems with them?