In http://www.love2d.org/wiki/Game_Distribution , the wiki states that to create a .exe out of a .love file, you run the line "copy /b love.exe+game.love game.exe" in the command line.
What exactly is "copy /b love.exe+game.love game.exe" doing to produce an executable?
Making an Exe out of a .love file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Making an Exe out of a .love file
I think it just appends the .love file to the LÖVE executable, resulting in game.exe; when run, LÖVE checks if it has an appended .love in the executable, and runs it if it finds it.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Making an Exe out of a .love file
Huh, that's an odd way to handle it, but certainty correct and tested.
Re: Making an Exe out of a .love file
It's actually a very nice and easy way to do it. Too bad building for Mac isn't as easy.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Making an Exe out of a .love file
It's even easier: you just stick the .love file in love.app/Contents/Resources/, and rename love.app to game.app. Presto!T-Bone wrote:It's actually a very nice and easy way to do it. Too bad building for Mac isn't as easy.
Although, you might want to remove the plist stuff that makes .love files open with that app, as the wiki says.
Re: Making an Exe out of a .love file
Exactly. Editing the plist things are kind of important, because of you don't fix that then all .love files will be associated with your game. And that's trickier to script than building for Windows.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest