Let's face it: .love files can be a royal pain in the ass. This is because the major difference most zipping tools think they should zip a folder, and how LÖVE handles them: When most zipping tools (all that I know of, at least) make a .zip file from a folder, they place everything in that folder in the .zip file. And, as we all know, LÖVE doesn't like that. GitHub, for example, is getting quite popular here, and provides a simple Download .Zip-file function, but it uses the no-love method. So you have to unzip it first. It's not that much of a problem, but it is a bit of a mess.
To ease the pain a bit, I wrote Loveify, a Python* script that converts classic .zip or .tar/.tar.gz/.tar.bz archives to working .love files -- without cluttering your harddisk.
*requires Python 2.6 or higher
Loveify
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Loveify
Help us help you: attach a .love.
Re: Loveify
Ive not had much issues with *.love files
i just open the folder ctrl-a, compress and change the extension
but whatever works best for you
i just open the folder ctrl-a, compress and change the extension
but whatever works best for you
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Loveify
That's what I do when I do it manually. I just prefer not to do things manually .osgeld wrote:Ive not had much issues with *.love files
i just open the folder ctrl-a, compress and change the extension
but whatever works best for you
Help us help you: attach a .love.
cold blooded snake doesn't love lua
robin - You wrote the script in python? That's just perverse...
Re: Loveify
Lol, he better had written it in Lua as a .love package.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: cold blooded snake doesn't love lua
would've done it in Lua, if not for the fact that Lua has no standard lib for opening archives. BTW, Python is cool 8-) (just like Lua)subrime wrote:robin - You wrote the script in python? That's just perverse...
Help us help you: attach a .love.
Re: Loveify
theres a few floating around to open an archive, but ive not seen one for creating an archive (yet, eventho i have not been looking ALL that hard)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Loveify
And those libs are floating around for Lua, but for Python they are right in the standard library. Well, each language has their purpose. Python is better suit for small scripts which do relatively complicated things with a minimum of fuss. And I the longer I use both LÖVE and PyGame, the more I get the feeling Lua is better for game programming.
Help us help you: attach a .love.
Who is online
Users browsing this forum: No registered users and 85 guests