i have gone through all the steps on the wiki for creating a exe of my program but everytime I run it I just get the normal Rubber Piggy animation.
Anyone know why this is happening, I want to try testing multiplayer out with friends by giving them the client but it does not seem to be working
Problem with the .Exe
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Problem with the .Exe
Hmmmmm what did you do exactly?
Re: Problem with the .Exe
-zipped the main.lua
-renamed it to .love
-turned it into the .exe
-put it into a folder with the .dlls
-then re-zipped it with
But when opening the .exe I just get the rubber piggy animation thing
-renamed it to .love
-turned it into the .exe
-put it into a folder with the .dlls
-then re-zipped it with
But when opening the .exe I just get the rubber piggy animation thing
Re: Problem with the .Exe
So if you'd open game.zip (the one to be renamed to game.love), you'd see main.lua instantly?Snopel wrote:-zipped the main.lua
-renamed it to .love
-turned it into the .exe
-put it into a folder with the .dlls
-then re-zipped it with
But when opening the .exe I just get the rubber piggy animation thing
Does game.love work if you run it with LÖVE?
How did you turn it into and exe?
Why did you zip it again, as the last step?
Re: Problem with the .Exe
Are you sure you used a Zip archive? LÖVE may support (unofficially) 7z or other formats, but only Zip works when appended to the executable.
If you upload the .exe file you created, we should be able to tell you what's wrong.
If you upload the .exe file you created, we should be able to tell you what's wrong.
Shallow indentations.
Re: Problem with the .Exe
Code: Select all
copy /b "C:\Program Files (x86)\LOVE\love.exe" + "C:\Users\Owner\Documents\LOVE Programs\UDP Client" UDPClient.exe
Re: Problem with the .Exe
You used a RAR archive. This is not supported by LÖVE.
Edit: Also, it seems you didn't compress main.lua itself, but the directory where it is in. main.lua needs to be at the top of the archive structure for LÖVE to find it.
Edit2: Technically, you also need to distribute OpenAL32.dll. Some systems may have it already installed in their system directory but others do not and for them this will cause an error.
Edit: Also, it seems you didn't compress main.lua itself, but the directory where it is in. main.lua needs to be at the top of the archive structure for LÖVE to find it.
Edit2: Technically, you also need to distribute OpenAL32.dll. Some systems may have it already installed in their system directory but others do not and for them this will cause an error.
Shallow indentations.
Re: Problem with the .Exe
Thank you, it works now
I kinda feel dumb now
I kinda feel dumb now
Who is online
Users browsing this forum: Google [Bot] and 8 guests