Page 1 of 1

HELP! I AM STUCK!!

Posted: Sat Sep 10, 2022 12:00 pm
by Blitzer1001
So i made an .love file and when i run it this is the error message i get:

Error

[love "boot.lua"]:321: No code to run
Your game might be packaged incorrectly.
Make sure main.lua is at the top level of the zip.

I have checked that main.lua is on top and i dont know what to do, it driving me mad :halloween:
Somebody pls help

Re: HELP! I AM STUCK!!

Posted: Sat Sep 10, 2022 1:13 pm
by pgimeno
Make sure you haven't capitalized anything in main.lua:

- Main.lua won't work.
- main.Lua won't work
- MAIN.lua won't work
and so on.

Otherwise please post your .love file so we can check what may be happening.

Re: HELP! I AM STUCK!!

Posted: Sat Sep 10, 2022 1:14 pm
by darkfrei
myGameFolder/main.lua als won't work

Re: HELP! I AM STUCK!!

Posted: Sat Sep 10, 2022 1:43 pm
by Darlex
Get sure that main.lua is ACTUALLY at the top of the zip, and not inside any other folder, happened to me once

Re: HELP! I AM STUCK!!

Posted: Sat Sep 10, 2022 5:41 pm
by Blitzer1001
Thank you pgimeno! you helped me so much!