Distributing your games (making 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: Distributing your games (making a .love file)
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)
A nicely configured shortcut will domurks wrote:I guess with your last suggestion you mean creating bat script?
Re: Distributing your games (making a .love file)
I don't have windows available to create/check a shortcut.
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 ?
Code: Select all
20#\game\love.exe \game\game.love
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)
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.
http://www.mediafire.com/download/adzop ... xwords.rar
Here's my code if anyone else would give it a shot.
http://www.mediafire.com/download/adzop ... xwords.rar
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
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.lumlune wrote:Having some trouble. I've followed the instructions on the Wiki only to have my executable hang on start.
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
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.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.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
Well, me and many other people on this forum can't look inside a .rar, so it's not really useful for us.
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
I forgot about you Linux guys.
Here's the .love.
http://www.mediafire.com/download/fv93u ... words.love
Here's the .love.
http://www.mediafire.com/download/fv93u ... words.love
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
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 )
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 )
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
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.
Who is online
Users browsing this forum: No registered users and 1 guest