LÖVE 0.5.0
- SamPerson12345
- Prole
- Posts: 41
- Joined: Sat Aug 30, 2008 5:35 pm
Re: LÖVE 0.5.0
I can't figure out how to make it into one .exe. Can you please give more explicit instructions?
- nightvenom
- Prole
- Posts: 36
- Joined: Sat Aug 16, 2008 3:07 pm
Re: LÖVE 0.5.0
This is great news.
So what im getting for this is that we can now save our games as say:
lol.exe ? Sort of ?
Pretty much what im asking is that will we be able to now distribute the games without love as the reader/compiler ?
(standalone )
and great work on this new update to, already we have access to mp features now ?
That's some great stuff.
So what im getting for this is that we can now save our games as say:
lol.exe ? Sort of ?
Pretty much what im asking is that will we be able to now distribute the games without love as the reader/compiler ?
(standalone )
and great work on this new update to, already we have access to mp features now ?
That's some great stuff.
Re: LÖVE 0.5.0
Yes, games would still run in love, but users won't have to download it separately.nightvenom wrote:...
Pretty much what im asking is that will we be able to now distribute the games without love as the reader/compiler ?
(standalone )
SamPerson12345, I haven't tried it on windows, but assuming your game is called myGame.love, the process should be as follows
1. Download Zipped binaries of LÖVE, and extract them somewhere
2. Place your myGame.love file in the directory where you have extracted LÖVE
3. Open terminal, cd into the directory where you extracted LÖVE (and also copied your myGame.love) then run the following command
4. copy /b love.exe+myGame.love myGame.exe
5. Delete love.exe
6. Delete myGame.love
7. Distribute whole folder
P.S: It can also be done with installer version.
Re: LÖVE 0.5.0
I made a batch file to automate the above.
Save this as a .bat file then drag whatever .love file you want to use onto it.
Edit: Makes a folder on your desktop.
Save this as a .bat file then drag whatever .love file you want to use onto it.
Code: Select all
@ECHO OFF
SETLOCAL
SET LoveFolder=C:\Program Files\LOVE
SET file=%1
IF NOT (%file:~-6,-1%) == (.love) (
ECHO Not a .love
GOTO END
)
SET dir=%USERPROFILE%\Desktop\%~n1_executable
MKDIR "%dir%"
COPY /B "%LoveFolder%\love.exe"+%1 "%dir%\%~n1.exe"
COPY /B "%LoveFolder%\love.ico" "%dir%\love.ico"
COPY /B "%LoveFolder%\DevIL.dll" "%dir%\DevIL.dll"
COPY /B "%LoveFolder%\ILU.dll" "%dir%\ILU.dll"
COPY /B "%LoveFolder%\msvcp80.dll" "%dir%\msvcp80.dll"
COPY /B "%LoveFolder%\msvcr80.dll" "%dir%\msvcr80.dll"
COPY /B "%LoveFolder%\SDL.dll" "%dir%\SDL.dll"
COPY /B "%LoveFolder%\SDL_mixer.dll" "%dir%\SDL_mixer.dll"
COPY /A "%LoveFolder%\Microsoft.VC80.CRT.manifest" "%dir%\Microsoft.VC80.CRT.manifest"
COPY /A "%LoveFolder%\license.txt" "%dir%\license.txt"
:END
- SamPerson12345
- Prole
- Posts: 41
- Joined: Sat Aug 30, 2008 5:35 pm
Re: LÖVE 0.5.0
Thanks, but the .exe returns an error once i'm finished running the .bat. Also, what terminal do you mean aqeeliz?
Re: LÖVE 0.5.0
What error? It works fine for meSamPerson12345 wrote:Thanks, but the .exe returns an error once i'm finished running the .bat. Also, what terminal do you mean aqeeliz?
Command prompt. Run->cmd
- nightvenom
- Prole
- Posts: 36
- Joined: Sat Aug 16, 2008 3:07 pm
Re: LÖVE 0.5.0
Nice, tyKaze wrote:I made a batch file to automate the above.
Save this as a .bat file then drag whatever .love file you want to use onto it.
Edit: Makes a folder on your desktop.Code: Select all
@ECHO OFF SETLOCAL SET LoveFolder=C:\Program Files\LOVE SET file=%1 IF NOT (%file:~-6,-1%) == (.love) ( ECHO Not a .love GOTO END ) SET dir=%USERPROFILE%\Desktop\%~n1_executable MKDIR "%dir%" COPY /B "%LoveFolder%\love.exe"+%1 "%dir%\%~n1.exe" COPY /B "%LoveFolder%\love.ico" "%dir%\love.ico" COPY /B "%LoveFolder%\DevIL.dll" "%dir%\DevIL.dll" COPY /B "%LoveFolder%\ILU.dll" "%dir%\ILU.dll" COPY /B "%LoveFolder%\msvcp80.dll" "%dir%\msvcp80.dll" COPY /B "%LoveFolder%\msvcr80.dll" "%dir%\msvcr80.dll" COPY /B "%LoveFolder%\SDL.dll" "%dir%\SDL.dll" COPY /B "%LoveFolder%\SDL_mixer.dll" "%dir%\SDL_mixer.dll" COPY /A "%LoveFolder%\Microsoft.VC80.CRT.manifest" "%dir%\Microsoft.VC80.CRT.manifest" COPY /A "%LoveFolder%\license.txt" "%dir%\license.txt" :END
-
- Party member
- Posts: 101
- Joined: Mon Aug 11, 2008 5:19 am
Re: LÖVE 0.5.0
I want to add a network layer to my current project - it's nothing I've ever done personally before, but I'm not afraid of it.
However, I'm really not sure what it means that love "supports" lua socket. What do I need to grab, and where do I need to put it? I can follow the documentation for actually using lua socket in my app I believe, but I don't know how to get started.
--Mr. Strange
However, I'm really not sure what it means that love "supports" lua socket. What do I need to grab, and where do I need to put it? I can follow the documentation for actually using lua socket in my app I believe, but I don't know how to get started.
--Mr. Strange
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LÖVE 0.5.0
Just use
And I'll also like to use this opportunity to direct you to my networking lib (located under projects & development)
Code: Select all
require "socket"
-
- Party member
- Posts: 101
- Joined: Mon Aug 11, 2008 5:19 am
Re: LÖVE 0.5.0
Awesome! thanks for pointing that out.
--Mr. Strange
--Mr. Strange
Who is online
Users browsing this forum: No registered users and 1 guest