Could not set write Directory - Only occurs with .exe
Posted: Mon Sep 26, 2011 5:52 pm
Hello Everyone -
I have recently be toying around with creating an executable for my Love game. I am running into issues regarding love.filesystem.write when the .love file is merged into an .exe file.
When I run my game from the .love file, everything works fine - However, when I merge it into the .exe file, I now get the error "Could not set write directory"
I have tried setting t.identity in conf.lua - but it always yields the same error - When I get rid of all love.filesystem calls in my project, the .exe version runs perfectly fine - So I think the exe is getting created properly.... This is in Windows 7 Home 64 bit. Love version is 0.7.2
To create the exe - I am using the command "copy /b love.exe BoxBreaker.love BoxBreaker.exe"
The project in question is located here:
https://github.com/jdfight/BoxBreaker
I have recently be toying around with creating an executable for my Love game. I am running into issues regarding love.filesystem.write when the .love file is merged into an .exe file.
When I run my game from the .love file, everything works fine - However, when I merge it into the .exe file, I now get the error "Could not set write directory"
I have tried setting t.identity in conf.lua - but it always yields the same error - When I get rid of all love.filesystem calls in my project, the .exe version runs perfectly fine - So I think the exe is getting created properly.... This is in Windows 7 Home 64 bit. Love version is 0.7.2
To create the exe - I am using the command "copy /b love.exe BoxBreaker.love BoxBreaker.exe"
The project in question is located here:
https://github.com/jdfight/BoxBreaker