Can someone tell me whether all zip programs are similar in terms of compressing a file? I mean if I compress a 1.7mb file(epsxe savestate) using Winzip(and selecting maximum compression) its compressed to 1.6 mb only.Any other zip programs can further compress it ? Which program has the best compression ratio ?
The second question is more interesting. When I right click the same 1.7 mb file and choose add to zip option I still get 1.6 mb zip file.But when I right click and select add to zip and email option the file is reduced to 1.25 mb (as an attachment in outlook express).
umm, the savestate is already in zip format, you can't compress it much more.. that's why zipping the savestate (for epsxe anyway), will not yield much improvement..
Originally posted by prafull These two have really got me confused.
Can someone tell me whether all zip programs are similar in terms of compressing a file? I mean if I compress a 1.7mb file(epsxe savestate) using Winzip(and selecting maximum compression) its compressed to 1.6 mb only.Any other zip programs can further compress it ? Which program has the best compression ratio ?
The second question is more interesting. When I right click the same 1.7 mb file and choose add to zip option I still get 1.6 mb zip file.But when I right click and select add to zip and email option the file is reduced to 1.25 mb (as an attachment in outlook express).
I could only answer some of those.... to the best of my knowledge, they all differ in compression algorithm.... *on average*, RAR and ACE give you much better compression ration compared to ZIP. Note that I said *on average*.. there are always special cases, ePSXe savestates being one of them. I tested all 3 just now, and WinZip gave me the best compression (although the difference is within 2-3kbytes only).
Now as for that add & e-mail option.... I'm not sure why there's a difference there....
yes RAR and ACE seem to give better compression ratios.. although at the expense of being flamed to hell, the best or at least the one that always gave me a better compression ratio that ACE/ZIP/RAR was using CAB..
I still prefer ZIP because it's the most used (same reason I prefer mp3 over wma)
...In the diskette days I used ARJ a lot too. I still have it in my 'sacred utils directory'. That directory is VERY important and must be on every pc I use. What it contains? Lots of command line utils (also unace32.exe) ...and Alley Cat!
I used ACE sometime ago but the ease of use drove me towards Zip.Neway I will try Samor's trick to check the size factor.(I recently mailed winning eleven4 save state in 14 minutes on my 33k really really slow connection).
Originally posted by Samor 2.4? that's probably the mail + attachment...and maybe a little bigger...anyways, I dont think outlook compresses it any further....
May be winzip uses some special settings when you use that email option coz it just dont ask for any settings, just automatically puts it as an attachment in whatever mail client you are using.
Something is tricky here but I cant get it. Now if I zip the file and right click on zipped file selecting email file the size is shown as 1.25 mb while if I manually attach the same file from outlook express menu it shows it as 1.6 mb.
May be winzip uses some special settings when you use that email option coz it just dont ask for any settings, just automatically puts it as an attachment in whatever mail client you are using.
Oh I just remembered something... IIRC, Outlook Express seem to underestimate attachment size all the time... whether it actually compresses it a little bit further (doubtful), or they f***ed up the attachment size calculation in Outlook Express, I don't know for sure.
prafull, why don't you try re-saving only the attachment back to disk, and check the filesize.
I dunno but probably some **cked up function in winzip kairi00, it seems the size computation is screwed up when using the "zip and e-mail" feature of winzip, but using the attach function in OE gives the accurate size.. Just look at this i attached the same file using the winzip function and the OE attach function and they are giving different file sizes.. :eyes: ..
Xev, prafull: ah... seems like the blame is on WinZip after all.... I couldn't test that myself because my WinZip is so old that it doesn't have that feature
Originally posted by kairi00 Xev, prafull: ah... seems like the blame is on WinZip after all.... I couldn't test that myself because my WinZip is so old that it doesn't have that feature
I can't be bothered when I'm looking for my hentai pictures.... uh.... did I just say that out loud?... how can I explain that the freezing process has impaired my ability for internal monologue...... :heh: .....
well... as a matter of fact, you could use winzip, winrar, winace or whatever, but a very good compression utility, (the one I use) is windows commander... a very neat one, that isn't just for compressing... let's call it a computer's "swiss knife" ,gotta check it!
I would rather ask the guy whom I sent the save state about what size file he got ?
"Swiss Knife" hmm,sounds more like a movie name to me.I will have to google search for it.
Though I'm not certain if a Windows version exists, under Linux & BSD there's a compression program named bzip2. I've found that it tends to compress files somewhat better than ordinary zip. For instance, a binary system log file that's created where I work is limited to a size of two megs prior to it being swapped out. However, not wanting to just delete the file, I have a script that mails it to me after being compressed. With typical zip the resulting filesize was roughly 1.8 megs. Bzip2 compressed it to 1.4. A marginal savings, I'll admit, but it's space savings 'for free,' as it were.
Of course, my findings are relative. As someone above had mentioned, it all depends on the type of data. In my case, the log was already partially compressed. I'd imagine textual data would show a better compression ratio.
prafull, you got that 2.4 MB .eml file out of a 1.6MB zip because it get's uuencoded for email transfer. UUE files are encoded (not zipped) in text only so you could literally cut and paste a file from pure text and "unzip" it. Try this code, save it as .uue
_=_
_=_ Part 001 of 001 of file temp.zip
_=_
begin 666 temp.zip
M4$L#!`H``````-(L:BOZ67S_#@````X````(````=&5M<"YT>'1(96QL;R!P
M<F%F=6QL(5!+`0(4``H``````-(L:BOZ67S_#@````X````(``````````$`
F(`"V@0````!T96UP+G1X=%!+!08``````0`!`#8````T````````
`
end
Originally posted by Fou-lu prafull, you got that 2.4 MB .eml file out of a 1.6MB zip because it get's uuencoded for email transfer. UUE files are encoded (not zipped) in text only so you could literally cut and paste a file from pure text and "unzip" it. Try this code, save it as .uue
I didnt get what you meant to say in the rest of the document.
Neway you were right.If I already convert the file in .uue format then the size has no much difference before and after conversion.
But I still didnt understand the so called problem (if it is the problem) where the size of attachment is shown reduced.
Uh, I meant that you get that code, copy it and paste to the notepad. Then save it as whatever.uue and unzip it.
About the filesize becoming smaller, that must be a bug in outlook or something like that, the file didn't got smaller, it just is being reported as smaller.
Oh Ok Fou-lu got it now.
Seems interesting.
"Archive contains one file temp.zip and ......"
So in that manner format of file is also conserved.Right?
Thanks neway
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Related Threads
?
?
?
?
?
Next Generation Emulation
2.2M posts
459.8K members
Since 2001
A forum community dedicated to all emulation enthusiasts. Come Join discussion on all platforms from Nintendo, Microsoft Xbox, Sony Playstation, to PC. Coding, tips, builds, specs, tricks and more.