Hi everyone,
I've been using the love-release script, but also tried manually as is described in the wiki, but still can't get an exe file to work.
I pack everything properly, and when I run the .exe the screen goes blank (as if it is trying to load the game) and then crashes to the desktop without any error.
The strange thing is, if I open a command line and run the exe from there to check if there is any output, instead of this behaviour I get the Love baby Inspector screen.
Any hints? :/
PS - yes, I packed the zip file properly. If I drag it to the love executable the game runs fine
Can't make an .exe file work :(
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3132
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Can't make an .exe file work :(
Can you upload your .love and the fused .exe?
Re: Can't make an .exe file work :(
sent by PMslime wrote:Can you upload your .love and the fused .exe?
- slime
- Solid Snayke
- Posts: 3132
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Can't make an .exe file work :(
After running the game via cmd.exe and outputting stdout to a file (e.g. C:\game\game.exe > output.txt), it gives this error:
Normally LOVE will automatically set the game's save directory if the identity (t.identity in conf.lua, or [wiki]love.filesystem.setIdentity[/wiki]) isn't set, but in some cases when the game is fused in Windows it doesn't for some reason.
I believe explicitly setting the identity should fix things.
Code: Select all
Error saving data.
Error saving. Sorry, can't start the game :(
Error: chest.lua:936: Could not open file chest.dat. Does not exist.
stack traceback:
[C]: in function 'lines'
chest.lua:936: in function 'load'
main.lua:46: in function 'load'
[string "boot.lua"]:407: in function <[string "boot.lua"]:399>
[C]: in function 'xpcall'
I believe explicitly setting the identity should fix things.
Re: Can't make an .exe file work :(
that's it! its fixed thanks slime!
strange, though, because in my previous game I used the same method, and I'm also saving files in the same way and didn't got any problems running it on windows...
strange, though, because in my previous game I used the same method, and I'm also saving files in the same way and didn't got any problems running it on windows...
Re: Can't make an .exe file work :(
ah, nevermind I noticed that in the previous game I set the identity in conf.lua to nil.. somehow it helped!nuno wrote:that's it! its fixed thanks slime!
strange, though, because in my previous game I used the same method, and I'm also saving files in the same way and didn't got any problems running it on windows...
Who is online
Users browsing this forum: Google [Bot] and 197 guests