Raised This Month: $62 Target: $400
 15% 

Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]


Post New Thread Reply   
 
Thread Tools Display Modes
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-25-2010 , 18:47   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #11

The Idea that I have with this module, isn't make big files. It to create example:
I make a plugin that have many models, sound, sprites and other things. Well compress all in one file and then uncompress so make more easy de instalation.

Tomorrow I will fix some plugin that have the library that I found an my module code.

__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-25-2010 , 19:27   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #12

It's path traverse.

EDIT: Wow man, how did you compile that?! Can you send me your project files?

Last edited by Seta00; 04-25-2010 at 19:38.
Seta00 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-25-2010 , 19:38   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #13

Quote:
Originally Posted by AntiBots View Post
The Idea that I have with this module, isn't make big files. It to create example:
I make a plugin that have many models, sound, sprites and other things. Well compress all in one file and then uncompress so make more easy de instalation.
Install a plugin from a plugin? I see no logic in that.
__________________
fysiks is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-25-2010 , 20:03   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #14

Quote:
Originally Posted by stupok View Post
@fysiks
It depends on the algorithm and how much time you want to spend compressing.

You can expect something like 2:1 or 3:1 compression.

Some links here: http://answers.google.com/answers/th...id/749492.html
And for text (log files) the ratio could be from 10:1 to 100:1
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-25-2010 , 21:56   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #15

Quote:
Originally Posted by Seta00 View Post
It's path traverse.

EDIT: Wow man, how did you compile that?! Can you send me your project files?
Yep, I will add MSVC++ project and make file for Linux.

__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Drak
Veteran Member
Join Date: Jul 2005
Old 09-10-2010 , 01:00   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #16

Quote:
Originally Posted by joropito View Post
But if the zip creation is not made using threads it will block other calls when using over big files.

In that case, it should be done at map load, intermission, etc.
REALLY QUICK. Is this 100% true? Or maybe I read it wrong. I thought, everything runs of like a "stack" so, when it's compressing (not in a separate thread) it would lock up everything (the game) and NOTHING will be called, until it's done. Or is that what you were saying? I kinda thought you might of meant like, it would block them (skip them).
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 09-10-2010 , 07:27   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #17

Quote:
Originally Posted by Drak View Post
REALLY QUICK. Is this 100% true? Or maybe I read it wrong. I thought, everything runs of like a "stack" so, when it's compressing (not in a separate thread) it would lock up everything (the game) and NOTHING will be called, until it's done. Or is that what you were saying? I kinda thought you might of meant like, it would block them (skip them).
That's right, the whole process will be locked.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
tripc
Senior Member
Join Date: Aug 2006
Old 02-09-2013 , 12:51   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #18

sorry to bump that theard

but that no longer working?
tripc is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 09-07-2013 , 05:11   Re: Module: AmxxZip ( Compress & UnCompress .Zip ) [UnFixed]
Reply With Quote #19

Anyone knows how to unzip something with this?
I don't understand the code, and since there is no example to unzip something I can't help myself.
__________________
Kia is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:45.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode