Code: Select all
copy /b c:\path\to\love.exe+c:\path\to\your\game.love c:\path\to\game.exe
Code: Select all
copy /b c:\path\to\love.exe+c:\path\to\your\game.love c:\path\to\game.exe
For viewing .zip (or .love, whatever) contents, you can use Terminal:gravyferry wrote:I'm on a mac,(...) now viewing and editing the contents, you'll need a program for that. (I'm still looking for one, I'll be sure to edit this if I find one.)
Code: Select all
zip -sf file.zip
Code: Select all
zip -r file.zip -i \*.lua
Code: Select all
zip -d file.zip file1 folder1/file1 folder1/file2 \*.o
Code: Select all
copy /b C:\Program Files\LOVE\love.exe+C:\Program Files\LOVE\game.love C:\Program Files\LOVE\game.exe
After this, isn't there a "game.exe" file in LOVE folder?voyager wrote:Hello everyone, i have problem with making a exe file from love file. I have love file (game.love) which contains single main.lua Hello World script which is work as it should when i double click on it. But when i try to convert this file to exe, cmd file doing just nothing. Cmd window appears for a little moment and immediately disappears. im using this command:
Code: Select all
copy /b C:\Program Files\LOVE\love.exe+C:\Program Files\LOVE\game.love C:\Program Files\LOVE\game.exe
It's always better to do these commands on command line (press Win+R, then type "cmd" without quotes, then hit Enter). It probably will show you some message if something goes wrong.voyager wrote:Yeah, there is already a game.exe, but when i run it, it says "No game"
I just renamed my game.love to game1.love but there is still nothing after cmd window. Maybe i do something wrong from the begining? I saw some other games with love like Mari0 they have dll files in distros etc... i dont know realy.
tio wrote:It's always better to do these commands on command line (press Win+R, then type "cmd" without quotes, then hit Enter). It probably will show you some message if something goes wrong.voyager wrote:Yeah, there is already a game.exe, but when i run it, it says "No game"
I just renamed my game.love to game1.love but there is still nothing after cmd window. Maybe i do something wrong from the begining? I saw some other games with love like Mari0 they have dll files in distros etc... i dont know realy.
Users browsing this forum: Bing [Bot] and 7 guests