Can Love zip files? (IT CAN NOW!)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Can Love zip files? (IT CAN NOW!)
I know Love can handle /un/zipping... But is it able to zip files (for instance, game save files)?
Last edited by Taehl on Mon Jun 14, 2010 6:45 pm, edited 1 time in total.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Re: Can Love zip files?
I know I made a FR for it, but i'm not sure if it ever actually got done.
"We could make a program for doing this for you, but that is for the LÖVE IDE, planned to be released in March 2142." ~mike
Networking with UDP uLove Proposal CCG: Gangrene
Networking with UDP uLove Proposal CCG: Gangrene
Re: Can Love zip files?
http://lua-users.org/wiki/CompressionAndArchiving has lots of working options. The downside of course being that it becomes harder to release cross compatible products.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Can Love zip files?
Thank you. That may be very handy, depending on how large my latest project's save files start becoming...
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Can Love zip files?
No, love doesn't support it, technically, it isn't even unzipping.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Can Love zip files?
I sunk my coding-claws into LibCompress and hacked it to pieces. I now possess a version that is 1/10 the size of the original script, and no longer has any dependencies. It works pretty nicely, too. It's very fast, and reduces the size of my test save file to 36% of its original size.
If anyone wants a copy, I can upload it somewhere.
If anyone wants a copy, I can upload it somewhere.
Last edited by Taehl on Mon Jun 14, 2010 7:38 pm, edited 1 time in total.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Re: Can Love zip files? (IT CAN NOW!)
Ooh, you should upload everywhere if it's that awesome!!!
- The LOVE tutorials (or some related place on the Wiki).
- GitHub as a Gist.
- The LOVE Wiki.
- A blog if you have one.
Good bye.
Re: Can Love zip files?
Make a repo on Github, and make a LuaRock.Taehl wrote:I sunk my coding-claws into LibCompress and hacked it to pieces. I now possess a version that is 1/10 the size of the original script, and has no longer has any dependencies. It works pretty nicely, too. It's very fast, and reduces the size of my test save file to 36% of its original size.
If anyone wants a copy, I can upload it somewhere.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Can Love zip files? (IT CAN NOW!)
I'm out of touch with the whole open source thing, to be honest. Please inform me why should I use GitHub instead of LuaForge, SourceForge, Google Code, or something?
And I suppose I could put a little tutorial on the wiki (not that it really needs one, IMHO) with a download link or something... Assuming they fixed that old bug, and I'm now able to edit the wiki.
And I suppose I could put a little tutorial on the wiki (not that it really needs one, IMHO) with a download link or something... Assuming they fixed that old bug, and I'm now able to edit the wiki.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Can Love zip files? (IT CAN NOW!)
Because it's the most social place for code. Also, I don't know whether the others can work with distributed version control like Git or Mercurial.Taehl wrote:I'm out of touch with the whole open source thing, to be honest. Please inform me why should I use GitHub instead of LuaForge, SourceForge, Google Code, or something?
Help us help you: attach a .love.
Who is online
Users browsing this forum: Google [Bot] and 69 guests