Closed egordorichev closed 7 years ago
It doesn't include any project directories. Unpacked love file consists only from top-path files.
First, you can edit your posts, no need to double post (double posting means that persons subscribed to the thread receive two emails while if you edit we receive one and we will come and read the whole thing over here)
Second, could you show what you mean with a project structure written like this:
> lib
-->mylib.lua
> src
-->file.lua
>main.lua
>config.lua
Or similar, this lets us see what the structure actually looks like, alternatively post an image of how your folders are structured....
From your posts it's not that easy to understand what you mean
On another note, this issue may be related to #36 so be sure to check that one and see if it matches your problem
You can find the whole project here.
It structured kind-of like you've showed:
> data
--> images
--> music
--> sounds
--> fonts
> lib
--> libs here
> linit
--> engine here
> main.lua
> config.lua
> other game scripts
So when you package the LÖVE file only has main.lua
, config.lua
and other game scripts
?
Or does it have config.lua
and the data
folder? Cause this may be #36 as I said above
It has only main.lua, config.lua and other game scripts.
Can you try patching project.lua
with the fix I proposed at #36 and see if that works?
Hm, sorry, where the project.lua
can be found in linux system? I can find only a binary.
Try luarocks path
in the command line and that should give you a few locations. In one of those you will find a love-release
folder.
Inside that there should either be a src
folder or the project.lua
file, if you see the src
folder then project.lua
is inside of it.
Ok, thanks a lot! The patch fixed this issue.
My game has
lib
directory, and it seems, like it is not included into generated love file. How to fix that?