It seems when I package my game as a .love file, love2d has trouble finding files within it. If I run the game directly from main.lua or from the folder, it runs just fine. But when I try to run it from the .love file: I get the following error.
Error
cannot open obj/bootscreen/sweep.lua: No such file or directory
Traceback
[C]: in function 'dofile'
states/bootscreen.lua:15: in function '__NULL__'
lib/gamestate.lua:43: in function 'switch'
main.lua:103: in function 'load'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
This does not make much sense, since if I unzip the .love file or look in it using 7zip, I see that the file does exist.