Post Reply 
recompress PRX files
forget vsh.prx and patchsfo
Author Message
bstronga
Vimperator

Posts: 457.2241
Threads: 19
Joined: 11th Mar 2007
Reputation: -5.33618
E-Pigs: 22.6748
Offline
Post: #221
RE: recompress PRX files
elac Wrote:I'm on 3.51 m33 and have only experienced this since commpressing my vshmain, paf,music main plugin,vshctrl .prx's
So it has to be one of 'em.

OK just put back the uncompressed paf.prx and now my battery is correct again:D
I hope this isssue can be worked out of the compressor.


you sure its due compression and not due strangely edited paf.prx? ;p
could you try the attachment below? its the default paf.prx just repacked.


Attached File(s)
.rar  repacked m33 351 paf.rar (Size: 757.28 KB / Downloads: 168)
(This post was last modified: 05/08/2007 03:01 PM by bstronga.)
05/08/2007 03:00 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: #222
RE: recompress PRX files
@ bstronga: I solved the exact module type identification in my program, only one left: how do I know which module is vsh module and which one is firmware kernel module? I wouldn't let the users decide which key is eligible for the selected prxes because it's really hard to know. Is it as simple as:
vsh modules » everything in vsh folder
firmware kernel modules » everything NOT in vsh folder?
05/08/2007 04:05 PM
Find all posts by this user Quote this message in a reply
bstronga
Vimperator

Posts: 457.2241
Threads: 19
Joined: 11th Mar 2007
Reputation: -5.33618
E-Pigs: 22.6748
Offline
Post: #223
RE: recompress PRX files
s_king Wrote:@ bstronga: I solved the exact module type identification in my program, only one left: how do I know which module is vsh module and which one is firmware kernel module? I wouldn't let the users decide which key is eligible for the selected prxes because it's really hard to know. Is it as simple as:
vsh modules » everything in vsh folder
firmware kernel modules » everything NOT in vsh folder?

for sce modules yes. but not for third party modules.
05/08/2007 04:42 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: #224
RE: recompress PRX files
bstronga Wrote:for sce modules yes. but not for third party modules.
I see, thanks. And is there any special sign in sce files (except the name inside) which can help me to realize the module type?

And another question: if you compressed the inacor.prx, how did you do that? I de- and recompressed it and I got 2kB larger file than the original. It's almost 8% difference in a relatively small file and could be useful with larger files... :)
05/08/2007 05:03 PM
Find all posts by this user Quote this message in a reply
bstronga
Vimperator

Posts: 457.2241
Threads: 19
Joined: 11th Mar 2007
Reputation: -5.33618
E-Pigs: 22.6748
Offline
Post: #225
RE: recompress PRX files
s_king Wrote:
bstronga Wrote:for sce modules yes. but not for third party modules.
I see, thanks. And is there any special sign in sce files (except the name inside) which can help me to realize the module type?

And another question: if you compressed the inacor.prx, how did you do that? I de- and recompressed it and I got 2kB larger file than the original. It's almost 8% difference in a relatively small file and could be useful with larger files... :)

not sure yet.

i used 7-zip ;p by the way you should listen to Zinga Burga and use zlib for de/inflating.
05/08/2007 05:23 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: #226
RE: recompress PRX files
bstronga Wrote:not sure yet.
So the only way is the read the name from the file... bad news.

bstronga Wrote:i used 7-zip ;p by the way you should listen to Zinga Burga and use zlib for de/inflating.
I didn't think I could use zlib in my program because I'm not as good coder as you or Zinga Burga. I thought using gzip is the simpliest way, but now I realized that I can implement zlib to my program and it's really comfortable. Thank you and Zinga Burga for the information and help.
05/08/2007 05:41 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: #227
RE: recompress PRX files
Can't really check now, but If I recall correctly, in the encrypted vshmain.prx - isn't there some text which says something like vsh* at the beginning of the file?

PS: bstronga, do you program?  I think many of your mods would do well in a program from you XD

Can't figure out why recompression would have that much of an impact, other than using different compression levels...
(This post was last modified: 05/08/2007 06:00 PM by ZiNgA BuRgA.)
05/08/2007 05:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zmathue
Paradigmatic Apprentice

Posts: 46.4434
Threads: 1
Joined: 13th Apr 2007
Reputation: 0
E-Pigs: 0.5863
Offline
Post: #228
RE: recompress PRX files
well at lvl nine your compression is the exact size of sony's.
05/08/2007 06:08 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: #229
RE: recompress PRX files
@ Zinga Burga: I mean "good modder as bstronga or good coder as Zinga Burga". :)

@ Zmathue: Actually at level 9 smaller than original S0NY or M33 prx, but with zlib even smaller (8%) which is enough reason to change the compression method to zlib. ;)
05/08/2007 06:22 PM
Find all posts by this user Quote this message in a reply
bstronga
Vimperator

Posts: 457.2241
Threads: 19
Joined: 11th Mar 2007
Reputation: -5.33618
E-Pigs: 22.6748
Offline
Post: #230
RE: recompress PRX files
ZiNgA BuRgA Wrote:Can't really check now, but If I recall correctly, in the encrypted vshmain.prx - isn't there some text which says something like vsh* at the beginning of the file?

PS: bstronga, do you program?  I think many of your mods would do well in a program from you XD

Can't figure out why recompression would have that much of an impact, other than using different compression levels...

my coding skills are not even worth to be mentioned ;p
06/08/2007 02:48 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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

 Quick Theme: