Solved 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same
-
Brian Gregory Alpha Testerslast edited by Brian Gregory Jul 27, 2017, 1:39 AM Jul 27, 2017, 1:37 AM
When creating a .pa archive using optimise strong which contains various files types I noticed that file.tar.gz and file.tgz are treated differently when they are in fact exactly the same and should be treated identically.
-
@Brian-Gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
When creating a .pa archive using optimise strong which contains various files types I noticed that file.tar.gz and file.tgz are treated differently when they are in fact exactly the same and should be treated identically.
cool - so what method is used for each? And which one gets better compression?
-
Until @Brian-Gregory answers, I did a quick test, and can confirm his point.
For the same file, tar.gz is compressed, while tgz not.
@spwolf said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@Brian-Gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
When creating a .pa archive using optimise strong which contains various files types I noticed that file.tar.gz and file.tgz are treated differently when they are in fact exactly the same and should be treated identically.
cool - so what method is used for each? And which one gets better compression?
-
-
@nikkho sweet, so whats the compression like for the one being reflated? try individual file compression with .tar.gz one. I wonder how it compares to original one. Is it extra 8% or?
-
@spwolf said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@nikkho sweet, so whats the compression like for the one being reflated? try individual file compression with .tar.gz one. I wonder how it compares to original one. Is it extra 8% or?
It can be a huge improvement when there are a lot of them in a solid archive:
-
Did a simple test. Files were from Volkov Commander: https://vvv.kiev.ua/download/vc49908a.zip
I extracted them, and compressed as a tar.gz in PA. Then I copied it to a same file with tgz extension.
Now, added both onto separate archives:98.113 vc49908a.tar.gz.pa
100.103 vc49908a.tgz
100.103 vc49908a.tar.gz
100.685 vc49908a.tgz.pa
106.255 vc49908a.zip -
Brian Gregory Alpha Testerslast edited by Brian Gregory Jul 28, 2017, 1:18 AM Jul 28, 2017, 1:17 AM
@spwolf .tar.gz is handled like a zip file which I think is correct because it gives good results. While .tgz is, I think, handled like an unknown file type.
-
@Brian-Gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf .tar.gz is handled like a zip file which I think is correct because it gives good results. While .tgz is, I think, handled like an unknown file type.
Agree.
-
@Brian-Gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf .tar.gz is handled like a zip file which I think is correct because it gives good results. While .tgz is, I think, handled like an unknown file type.
yes, we use reflate for tar.gz and should be with tgz too… reflate “unpacks” deflate streams and compresses them with plzma instead of deflate… so result is always going to be better, how much is determined by the data inside. If it is something very compressible, then result is going to be much better.
-
@spwolf Why can’t I upload PNG images any more?
-
@Brian-Gregory apparently some bug with this version of forums, try using upload button or paste (not sure which one are you trying)
-
@spwolf Paste how? I’m using the upload image button.
-
@Brian-Gregory copy it first and then ctrl-p into the post you are writing… one of these works, sometimes both… discovered last week by pierrbe… there is new version out, we will update it in the next few days, likely it will solve the problem. Thanks!
-
@spwolf I don’t see how ctrl-p is suddenly not gong to act as the print command.
-
@Brian-Gregory obviously you are much more rested than me last night so you would use ctrl-v :)
-
Brian Gregory Alpha Testerslast edited by Brian Gregory Jul 29, 2017, 12:54 PM Jul 29, 2017, 12:53 PM
@spwolf But nothing happens with ctrl-v or right click paste. Does it have to be a certain kind of image in the clipboard? Or a certain web browser? I’m using Google Chrome.
-
open it in image viewer, copy-c and then copy-v to the post reply…
it should work in chrome right click> copy image but I use Snap for captures and it automatically opens up there so I cant really test it.
I am sure @cetko will update forum software early next week so it should be fixed by then anyway.
-
@spwolf Nope. Doesn’t work.
-
@Brian-Gregory . Very frustrating : sometimes it works but then suddenly ‘not enough privileges’… I use the Edge Explorer Win10 and the standard Snipping Tool of Win10. (copy/past = ctrl-c / ctrl-v ctrl-p-printscreen !!?). I also tried to past first the snip in Word and then copy/past that image and other soft… but the problem is that communication third part soft.
I hope that the new update will avoid a nervous breakdown.
 Not enough privileges for this action… -
@brian-gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf Nope. Doesn’t work.
try now, new forum update installed…
-
@spwolf said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@brian-gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf Nope. Doesn’t work.
try now, new forum update installed…
It works.
Thanks. -
@brian-gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@brian-gregory said in 17.00.90 Creating archive.pa with Optimise strong. file.tar.gz and file.tgz are treated differently when they are in fact exactly the same:
@spwolf Nope. Doesn’t work.
try now, new forum update installed…
It works.
Thanks.sweet!
-
Problem in original post fixed in .91
Thank you.