General Mar0 discussion has been moved to this subforum!
-
Hyperfenix
- Posts: 14
- Joined: 14 Apr 2017, 08:20
Post
» 15 Apr 2017, 06:58
I have been trying to make a simple poison mushroom mod and have no idea how to compile. I have the actual "Mario 1.6.love" file (which runs) and I can turn it into a zip and mod it from there but when I'm done modding it, I can't play it, and turning it into "Mari0poisonshroom.love" from .zip doesn't work; Only this error message.
Code: Select all
Error:
boot.lua:355: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
This also happens if I try to recompile a unmodded version into a .love
It would be nice to have some help.
-
Technochips
- Posts: 608
- Joined: 12 Mar 2015, 16:05
-
Contact:
Post
» 15 Apr 2017, 13:27
Read the error.
Make sure main.lua is at the root of the zip file. Make sure if you open the zip file, there is not only one folder called "Mari0poisonshroom" or something
-
Hyperfenix
- Posts: 14
- Joined: 14 Apr 2017, 08:20
Post
» 15 Apr 2017, 18:03
main.lua is AT the root of the zip file. Would a screenshot help?
I tried to hide the left side, but forgot beforehand. Anyways, that should explain.
-
Qcode
- Posts: 1479
- Joined: 05 Feb 2012, 18:00
-
Contact:
Post
» 15 Apr 2017, 18:10
Yeah, the issue is you're compiling the mari0poisonshroom folder. Don't compress the folder, compress all the files inside the folder.
-
Hatopher YeaH!
- Posts: 36
- Joined: 10 May 2016, 20:18
Post
» 09 May 2017, 02:00
Sry Hyperfenix I can I can see what you've hidden.