XpoZed said...As far as I remember, scratches.sc a LUA file. Open it with notepad and verify if the first three bytes are "LUA" or something. If that's the case, it means it's not a package that Unpakke can unpack, but a compiled LUA script. There are tools that can decompile it (I think LuaDec or something was the name).
hi,
Sorry for late reply, but I've been all afternoon looking for a decompiler. Good memory, scratches.sc is a Lua file compiled.
Well explain some of the process to help anyone who wants to do the same in the future.
scratches.sc normal version is easily decompiled with lua 5.0 "LuaDec".
scratches.sc the director's cut version uses Lua 5.1 and is more complicated, "LuaDec" does not work with this file, there is an improved version of "LuaDec" for version 5.1 but does not work with scratches.sc file, I found a java application called "unluac.jar" with this application decompiled the file without problems but can not compile, it is not necessary to make the decompiled in the root directory of the game and rename decompiled file as scratches.sc and works properly.
Thank you very much for your help.
P.D. If you have time i can propose a complicated challenge with Mad Engine of Microprose.