06/08/2007, 03:13 PM
06/08/2007, 04:36 PM
As much as i don't want to, i may update to M33. Good work, B.
06/08/2007, 06:34 PM
@ bstronga: Well, I tested zlib with max compression and I got only few bytes smaller files than the original one. It seems like gzip is better than zlib. So I took a closer look at 7z and I was impressed. After a number of test compressions and discovering the magical world of command line options my recompressed "reference file' inacor.prx is 13 bytes smaller than you made, which is really good news. A 7z-gzip recompressed file is an average 4-5% smaller than the original, so theoretically, if I recompress all prx files I could free up about 1MB space in flash0.
Thank you for the 7z tip, the next version of my program will use 7z.
Thank you for the 7z tip, the next version of my program will use 7z.
08/08/2007, 05:28 AM
bstronga Wrote:my coding skills are not even worth to be mentioned ;pLol - I think you'd do quite well, considering how much about data types and stuff you know.
s_king Wrote:@ bstronga: Well, I tested zlib with max compression and I got only few bytes smaller files than the original one. It seems like gzip is better than zlib. So I took a closer look at 7z and I was impressed. After a number of test compressions and discovering the magical world of command line options my recompressed "reference file' inacor.prx is 13 bytes smaller than you made, which is really good news. A 7z-gzip recompressed file is an average 4-5% smaller than the original, so theoretically, if I recompress all prx files I could free up about 1MB space in flash0.I really don't think 13 bytes matters that much... It could even be part of the header. Not certain, but I've got a feeling that 7-Zip uses zlib for deflating anyways. Note that the gzip format is really just a deflate with a few headers and CRC32 at the end, If I recall correctly. Hmm, you might even be able to get a pure deflate stream to work, IDK, but 13 bytes is really nothing...
Thank you for the 7z tip, the next version of my program will use 7z.
08/08/2007, 09:19 AM
ZiNgA BuRgA Wrote:I really don't think 13 bytes matters that much... It could even be part of the header. Not certain, but I've got a feeling that 7-Zip uses zlib for deflating anyways. Note that the gzip format is really just a deflate with a few headers and CRC32 at the end, If I recall correctly. Hmm, you might even be able to get a pure deflate stream to work, IDK, but 13 bytes is really nothing...I totally agree with this, just some bytes, moreover a few kbytes is not too much. I wrote it only to show the difference between the 7z GUI and command line compressed files. (That was a joke only. ;) )
How come that a zlib max compressed file is 4-5% bigger than a 7z compressed gzip file? I haven't got enough skill to implement zlib compressor into my program so I used a premade code which uses the zlib.dll library. Maybe that is the reason for the relatively big difference? (4-5% means 35kB smaller file in a file like paf.prx)
08/08/2007, 11:13 AM
i changed my system version to "PirataNervo", lol, but i don't think its the same way as this one.
10/08/2007, 05:05 PM
Nvrmd
03/10/2007, 10:45 AM
Will this manual method still work to compress 3.71 paf.prx and vshmain.prx
03/10/2007, 02:10 PM
recompress is still the same... I use the new prx files for headers in the recompression tool and it works fine...
03/10/2007, 02:35 PM
Vibestar Wrote:recompress is still the same... I use the new prx files for headers in the recompression tool and it works fine...
What version of which tool? I tried with Takeshi's and with s_kings tool and no go.