I have been trying to simply make an .exe to allow people to download off my site.
I have made a zip, put main.lua, the .love executable (which I got by right clicking love, "Go to file location") and got the love.exe from there and coped the DLLS and put them into the zip. I renamed it to .love, and the icon changed to the blue face or whatever it is. I am lost now, what do I do next? How can I make the simple .exe.
Thanks anyways.
I am going to explode now...
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: I am going to explode now...
Follow the instructions on this page:
https://love2d.org/wiki/Game_Distribution
(Making an executable file out of a .love-file )
https://love2d.org/wiki/Game_Distribution
(Making an executable file out of a .love-file )
Re: I am going to explode now...
I tried that, I tried everything.
Can you gave be possibly the simplest step-by-step tutorial?
If you do, i'll thank you a thousand times.
Can you gave be possibly the simplest step-by-step tutorial?
If you do, i'll thank you a thousand times.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: I am going to explode now...
For now the easiest thing to do without jumping through all the hoops is to offer the .love file properly zipped up, and a link to love2d.org so the other people can download the proper version of Löve. Remember, creating an EXE/APP is best left for when the game is completely finished. If you offer an EXE, you also need to offer a proper APP for OS X users and the right DEB for Linux versions. It's not something you want to do all the time. Just at the end. For prototyping and demo stages, just offer a .love (It's also MUCH smaller and saves on bandwidth and hosting costs) and a link to this site.
Worry about application versions at the end.
Unless your game is completely finished. Still... has .love file merging been fixed in 0.8.0? Or are you using a different Löve version?
Worry about application versions at the end.
Unless your game is completely finished. Still... has .love file merging been fixed in 0.8.0? Or are you using a different Löve version?
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: I am going to explode now...
Step 1: zip your love game folder (the one containing main.lua) and rename it to yourgame.love
Step 2: Make a copy of the folder containing love.exe and the various dll files.
Step 3: Open a new command prompt and type:Step 4: Zip the copied folder which should now contain a working game exe, and distribute.
Step 2: Make a copy of the folder containing love.exe and the various dll files.
Step 3: Open a new command prompt and type:
Code: Select all
copy /b C:\path\to\lovecopy\love.exe + C:\path\to\yourgame.love C:\path\to\lovecopy\yourgame.exe
Re: I am going to explode now...
Isn't it 'copy -b'?
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
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: I am going to explode now...
Nixola wrote:Isn't it 'copy -b'?
DOS used / to prefix command line options. That was why they had to use \ as a path separator when they added directories.Roland_Yonaba wrote:Nah, definitely 'Copy /b'...
Help us help you: attach a .love.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: I am going to explode now...
The Windows command prompt often accepts both / and -, but not always I think.
Re: I am going to explode now...
you probably know this already but just in case you don't, when you're zipping your project for the .love file, only zip the contents of the project folder and not the folder itself. in other words, if you have a folder myProject that contains your main.lua and all the rest, go into myProject, select main.lua and all other project related files and folder, and zip those. then rename the zip to whatever.love. if you zip the folder itself it won't work.
good luck.
good luck.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests