Post Reply 
recompress PRX files
forget vsh.prx and patchsfo
Author Message
h901
Paradigmatic Apprentice

Posts: 47.4828
Threads: 1
Joined: 20th Apr 2007
Reputation: 0
E-Pigs: 0.9067
Offline
Post: #231
RE: recompress PRX files
bstronga you underestimate yourself
;)

h901
06/08/2007 03:13 PM
Find all posts by this user Quote this message in a reply
.RVCA.
Neophitic Presence

Posts: 6.1280
Threads: 0
Joined: 21st Jul 2007
Reputation: 0
E-Pigs: 0.7101
Offline
Post: #232
RE: recompress PRX files
As much as i don't want to, i may update to M33. Good work, B.

[Image: sig1qi7.jpg]
06/08/2007 04:36 PM
Find all posts by this user Quote this message in a reply
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #233
RE: recompress PRX files
@ 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.
06/08/2007 06:34 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #234
RE: recompress PRX files
bstronga Wrote:my coding skills are not even worth to be mentioned ;p
Lol - 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.
Thank you for the 7z tip, the next version of my program will use 7z.
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...
08/08/2007 05:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #235
RE: recompress PRX files
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 09:19 AM
Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #236
RE: recompress PRX files
i changed my system version to "PirataNervo", lol, but i don't think its the same way as this one.

08/08/2007 11:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Undertaxxx
Able One

Posts: 114.4357
Threads: 9
Joined: 13th Apr 2007
Reputation: 2.42214
E-Pigs: 1.1597
Offline
Post: #237
RE: recompress PRX files
Nvrmd
(This post was last modified: 12/08/2007 02:48 AM by Undertaxxx.)
10/08/2007 05:05 PM
Find all posts by this user Quote this message in a reply
GoldMembr
Existential Entity

Posts: 16.3950
Threads: 0
Joined: 14th Apr 2007
Reputation: 0
E-Pigs: 1.1366
Offline
Post: #238
RE: recompress PRX files
Will this manual method still work to compress 3.71 paf.prx and vshmain.prx
03/10/2007 10:45 AM
Find all posts by this user Quote this message in a reply
Vibestar
Able One

Posts: 57.2831
Threads: 2
Joined: 21st May 2007
Reputation: 0
E-Pigs: 0.6473
Offline
Post: #239
RE: recompress PRX files
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:10 PM
Find all posts by this user Quote this message in a reply
ephumuris
Able One

Posts: 123.1796
Threads: 8
Joined: 15th Apr 2007
Reputation: 2.04707
E-Pigs: 1.0565
Offline
Post: #240
RE: recompress PRX files
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.
03/10/2007 02:35 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 18 Guest(s)

 Quick Theme: