Streaming game development: https://www.twitch.tv/stabyourself Image

I need help with compiling...

Hyperfenix
User avatar
Posts: 14
Joined: 14 Apr 2017, 08:20
Reputation: 1

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
User avatar
Posts: 691
Joined: 12 Mar 2015, 16:05
Reputation: 190
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
User avatar
Posts: 14
Joined: 14 Apr 2017, 08:20
Reputation: 1

Post » 15 Apr 2017, 18:03

main.lua is AT the root of the zip file. Would a screenshot help?
Image
I tried to hide the left side, but forgot beforehand. Anyways, that should explain.

Qcode
User avatar
Posts: 1464
Joined: 05 Feb 2012, 18:00
Reputation: 72
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!
User avatar
Posts: 36
Joined: 10 May 2016, 20:18
Reputation: 5

Post » 09 May 2017, 02:00

Sry Hyperfenix I can I can see what you've hidden.


Return to “Mari0”

Who is online

Users browsing this forum: No registered users and 1 guest

cron