View Single Post
Posts: 3 | Thanked: 0 times | Joined on Nov 2011
#330
Originally Posted by m0001 View Post
Trying to use the decompiler from the previous post and I'm getting an error on line 219:

Code:
ICBM:lua m0001$ ls -al
total 832
drwx------@  7 m0001  staff     238 Nov  4 08:40 .
drwxr-xr-x@ 15 m0001  staff     510 Nov  4 13:47 ..
-rw-r--r--   1 m0001  staff    6160 Aug 28 02:57 Level1.lua
-rwxr-xr-x   1 m0001  staff    7218 Jan 20  2010 decompile_levels.lua
-rwxr-xr-x@  1 m0001  staff   61440 Feb  2  2009 lua.exe
-rwxr-xr-x@  1 m0001  staff  320000 Feb  2  2009 lua51.dll
-rwxr-xr-x@  1 m0001  staff   23060 Jan 19  2010 luaconf.h

ICBM:lua m0001$ lua decompile_levels.lua Level1.lua 
lua: Level1.lua:1: '=' expected near '?'
stack traceback:
	[C]: in function 'dofile'
	decompile_levels.lua:219: in main chunk
	[C]: ?

ICBM:lua m0001$
I compiled Lua on OS X, and figured that was it, so I did it on Windows XP in a VM, and get the same thing.
I also receive this error and a similar one on Windows XP. Any clues as to how to get the lua.exe to work? I would sure like to edit my levels. thx