Page 1 of 1

Unable to Run Game from Terminal

Posted: Thu Mar 10, 2011 11:06 pm
by Kingdaro

Code: Select all

kingdaro@Epic-win:~/W.I.P$ love ./Accumulate
Error: [string "boot.lua"]:296: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
stack traceback:
	[C]: in function 'error'
	[string "boot.lua"]:296: in function <[string "boot.lua"]:219>
	[C]: in function 'xpcall'
And this is how my folders are organized:

/home/kingdaro/W.I.P/Accumulate --Accumulate being the game folder with main.lua at the root.

I even tried zipping it and I still have problems. And I'm able to drag it to the icon to run it but I just can't run it from my terminal, I want to use the terminal so I can see outputs from the print() function.

Running Ubuntu 10.10 32 bit.

Re: Unable to Run Game from Terminal

Posted: Thu Mar 10, 2011 11:37 pm
by vrld
Yeah, that's a bug that's fixed in the next release. In the meantime, love Accumulate will do the trick.

Re: Unable to Run Game from Terminal

Posted: Fri Mar 11, 2011 1:26 am
by Kingdaro
Worked, thanks. :)