Linkrulezall Posted April 13, 2014 So say I accidentally forgot to create a text backup of a script before compiling it. Is there any way to get it back? 0 Share this post Link to post
Kappes Buur Posted April 13, 2014 http://www.jspenguin.org/software/listacs/ eg:listacs -d file.o >> file.acs 1 Share this post Link to post
Gez Posted April 13, 2014 Keep in mind what you'll get is a disassembly, not a decompilation. There isn't a 1:1 mapping between ACS source code and ACS byte code (even if you ignore issues like comments and variable names) so the disassembly is most probably not going to be like the original. It'll still recompile to the same bytecode, though. 0 Share this post Link to post
Enjay Posted April 13, 2014 While certainly true, listacs has given me very good results even from maps with very complicated scripts. I'm sure there will be some code somewhere that can trip it up but everything that I have tried has worked, been output in a nice, ordered, readable way and recompiled without error. So while it may not be exactly like the original appearance, chances are, in most cases, it will be functionally the same. i.e. for most modders, most of the time, I suspect that it will do what is needed. 0 Share this post Link to post