GZIP compression safe?
#1
Hi,

So I read through thread about GZIP and wanted to know is it safe to go ahead and compress all my games or are there any bugs or problems that might occur in doing so.
Reply

Sponsored links

#2
It's pretty safe, however newer versions of the emulator support CSO compression, which is pretty much as good and much cooler Tongue
[Image: ref-sig-anim.gif]

Reply
#3
Okay cool so should I use CSO instead?
Reply
#4
CSO compresses faster. Gzip compresses slightly better.

Take your pick. See this comparison I made:

[Image: chart1.png]

But gzip takes about 5 times as long to compress.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#5
Thanks for graph, is that with CSO compressing at highest settings also? plus which application are you using for CSO compression please.
Reply
#6
You have to use maxcso for making CSO for PCSX2 as it is the only CSO compressor that can handle files larger than 4GB properly.

https://github.com/unknownbrackets/maxcso

The coder of maxcso is also the guy who added support for it to PCSX2.

Those graph were with default settings which are basically the highest. It's command line and you can't tweak the compression settings too much unless you wanna get super advanced, in which you can pick the algorithm. But the default is the strongest.

And for the gzip ones I used 7zip on gzip setting if you wondered. CSO files compressed in about 10 mins each with maxcso, gzip files took about an hour each.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#7
Brilliant thanks for detailed response, I'm going with CSO.
Reply
#8
My test on MOH Frontline US
ISO: 3,15GB
CSO: 2,73GB
ISZ: 2,62GB

Wonder which one of compressed formats above has faster decompression or random access.

Can this cso tool be used for psp discs too?
Reply
#9
(11-10-2015, 11:09 AM)sirdaniel Wrote: Can this cso tool be used for psp discs too?

Should be. CSO is a standard format. The only reason you have to use maxcso only for PCSX2 is some PS2 ISO are > 4 GB. This was never originally accounted for in the CSO format since it was designed for PSP UMDs which could not exceed that size. But maxcso was originally written for PSP CSO so it's fine. Only later was > 4GB support added(at the same time unknownbrackets added CSO support to PCSX2)

Also CSO supports random access natively. Gzip doesn't we get around this by having PCSX2 generate an index file the first time it loads a gzip compressed ISO which allows us to do a form of random access(block random access). Neither introduced significant overhead in my tests. Unless your PC is already struggling with PCSX2 it shouldn't be a problem.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#10
I don't remember this, but CSO for PSP causes quite a bit longer load times in some games. Is that the case for PCSX2 as well?
AMD Ryzen 5 3600 @ 3.60~4.20 GHz | Corsair Vengeance LPX 32 GB (2x16GB) DDR4-3200
MSI GeForce GTX 1660 Super @ 6 GB | Samsung 980 1TB | Windows 10 Pro x64 (22H2)
Reply




Users browsing this thread: 3 Guest(s)