Page 21 of 28

Re: Distributing your games (making a .love file)

Posted: Mon Jul 07, 2014 1:26 pm
by murks
Separate game.love and love.exe would work, "love.exe \path\to\game.love" or drag and drop is not what most Windows users are used to. I guess with your last suggestion you mean creating bat script?

Re: Distributing your games (making a .love file)

Posted: Mon Jul 07, 2014 4:51 pm
by tio
murks wrote:I guess with your last suggestion you mean creating bat script?
A nicely configured shortcut will do :D

Re: Distributing your games (making a .love file)

Posted: Mon Jul 07, 2014 8:30 pm
by murks
I don't have windows available to create/check a shortcut.

Code: Select all

20#\game\love.exe \game\game.love
Would the above code work, assuming:
1) the file was named game.lnk
2) in the same directory there was a directory called game, containing both love.exe and game.love ?

Re: Distributing your games (making a .love file)

Posted: Wed Jul 09, 2014 10:05 pm
by lumlune
Having some trouble. I've followed the instructions on the Wiki only to have my executable hang on start.

Here's my code if anyone else would give it a shot. :roll:
http://www.mediafire.com/download/adzop ... xwords.rar

Re: Distributing your games (making a .love file)

Posted: Wed Jul 09, 2014 10:31 pm
by Robin
lumlune wrote:Having some trouble. I've followed the instructions on the Wiki only to have my executable hang on start.
That's a .rar, though. You need to make a .zip to make a .love from. Are you using WinRAR? It might have an option to make a .zip instead of a .rar.

Re: Distributing your games (making a .love file)

Posted: Wed Jul 09, 2014 10:46 pm
by lumlune
Robin wrote:That's a .rar, though. You need to make a .zip to make a .love from. Are you using WinRAR? It might have an option to make a .zip instead of a .rar.
I did use a .zip to create the .love, I just made that in haste to share the source. I'm wondering whether the issue is in my code.

Re: Distributing your games (making a .love file)

Posted: Thu Jul 10, 2014 7:59 am
by Robin
Well, me and many other people on this forum can't look inside a .rar, so it's not really useful for us.

Re: Distributing your games (making a .love file)

Posted: Thu Jul 10, 2014 8:28 am
by lumlune
I forgot about you Linux guys. :crazy:

Here's the .love.
http://www.mediafire.com/download/fv93u ... words.love

Re: Distributing your games (making a .love file)

Posted: Thu Jul 10, 2014 10:01 am
by Robin
Two things: replace word[1] by word:sub(1,1), because the first doesn't work, so it goes all the way to "z".

The other thing: even when I replace "g" by "b", it takes a few seconds to load the wordlist on my computer. It's much faster when not in a .love, because it doesn't need to uncompress the 1.9MB file. My suggestion: use a script to filter the wordlist beforehand. Since you only need hexadecimal words of length 3 or 6, you don't need the whole words.txt in your .love.

(Also, please use another upload site in the future, Mediafire has really obnoxious pop-up ads :( )

Re: Distributing your games (making a .love file)

Posted: Wed Jul 16, 2014 4:44 pm
by lumlune
Thanks, it was the word file, after all — but I managed to work around it by making it one great Lua table. It loads in less than a second. :awesome: