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

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #181
RE: recompress PRX files
Should I put a firmware selector instead of the 'dunno part' thingie? And when you choose 3.51 the 0x130 part will 0xA7CEA82D and when 3.52, the 0x130 part will 0xC37AED69.

Which files need to be compressed with this method? Because the 0x130 part is really firmware and prx specific. I would have to implement all possible values for 0x130 part? And let the program determines automatically from the selected header and set the right value?

The sad is I could test only the 3.52 related prxes because I'm on 3.52 M33.
(This post was last modified: 03/08/2007 03:06 PM by s_king.)
03/08/2007 03:03 PM
Find all posts by this user Quote this message in a reply
afiser
Paradigmatic Apprentice

Posts: 44.1835
Threads: 0
Joined: 13th Apr 2007
Reputation: 0
E-Pigs: 0.5304
Offline
Post: #182
RE: recompress PRX files
s_king Wrote:Should I put a firmware selector instead of the 'dunno part' thingie? And when you choose 3.51 the 0x130 part will 0xA7CEA82D and when 3.52, the 0x130 part will 0xC37AED69.

Which files need to be compressed with this method? Because the 0x130 part is really firmware and prx specific. I would have to implement all possible values for 0x130 part? And let the program determines automatically from the selected header and set the right value?

The sad is I could test only the 3.52 related prxes because I'm on 3.52 M33.

from my understanding 0x130 is only firmware specific, with the exception of vshctrl.prx
03/08/2007 04:28 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: #183
RE: recompress PRX files
s_king Wrote:Should I put a firmware selector instead of the 'dunno part' thingie? And when you choose 3.51 the 0x130 part will 0xA7CEA82D and when 3.52, the 0x130 part will 0xC37AED69.

Which files need to be compressed with this method? Because the 0x130 part is really firmware and prx specific. I would have to implement all possible values for 0x130 part? And let the program determines automatically from the selected header and set the right value?

The sad is I could test only the 3.52 related prxes because I'm on 3.52 M33.

hmm you need to consider if you do a firmware selector that you need to update your app everytime when a new M33 firmware comes. maybe let the app first read vshctrl.prx/systemctrl.prx and vshmain.prx and save it. well no clue how to do it without confusing the user too much :>

SchmilK Wrote:
bstronga Wrote:http://endlessparadigm.com/forum/showthr...8#pid39048
yep, for M33 3.51 it would be for vsh modules 0xA7CEA82D, firmware kernel modules 0x462FD0F5.

From the few that I've done using the vshmain.prx and paf.prx straight from the freshly flashed 3.52m33 those two files have that data already in there and I have not had to change them.

So, I am now assuming that I can take my recompressed vshmain.prx and paf.prx that work on 3.52 and just change those keys to make it work in 3.51?

yea, i tested with M33 3.51 modules on M33 3.52. but really i don't think its too much work to do it more properly and just replace the whole header instead ;p


vodkkaa {who took my name} Wrote:
bstronga Wrote:@vodkkaa working fine here.

can you please pm the decrypted systemctrl and the M33 header you used please.

default decrypted M33 3.52 (haven't updated to 2 though, they might have changed stuff) systemctrl.prx. just repacked.


Attached File(s)
.rar  repacked 352systemctrl.rar (Size: 18.45 KB / Downloads: 327)
(This post was last modified: 03/08/2007 04:37 PM by bstronga.)
03/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: #184
RE: recompress PRX files
Here it is guys. Feedbacks are welcome.


PRX compressor v0.1 for 3.5x M33

This Windows application can (re)compress 3.5x M33 prxes. The whole method is the work of bstronga. Thank you for it!

You need Microsoft .NET Framework 2.0 to run this program. Before you run it, you have to put a gzip.exe file (61 948 bytes) into 'required' folder. (You can get it from gzip.org. Direct link to gzip windows zip package: http://www.gzip.org/gzip124xN.zip) If you don't do it, the program will not start.

To create a compressed prx you have to select two files:
Header - You can select a original decompressed prx from 3.5x M33 and using it as the header.
Data -   You can select your modified decompressed prx/elf file here. This file will be compressed with gzip and appended the previously selected header.

'Compression level' option - You can select the gzip compression level. "1" is the fastest compression with the largest filesize and "9" is the maximum compression with the smallest filesize (even smaller than the original...)

'Force vshmain dunno part' option - When turned on, the program will automatically set 0x130-0x132 part in the header similar to original vshmain.prx. Some prxes are working only in this way.

v0.1 [04-08-2007]
Initial release


Please visit PRX compressor for 3.5x M33 thread, there you can download the new version of the program.
(This post was last modified: 04/08/2007 06:07 AM by s_king.)
03/08/2007 05:42 PM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #185
RE: recompress PRX files
Thanks alot!

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
03/08/2007 05:47 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: #186
RE: recompress PRX files
You didn't use zlib T_T.
Would be nice to include gzip.exe in the pack though :P


Thanks s_king :)  Good work!
03/08/2007 06:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
safer
Neophitic Presence

Posts: 5.2500
Threads: 0
Joined: 13th Apr 2007
Reputation: 0
E-Pigs: 0.5000
Offline
Post: #187
RE: recompress PRX files
Amazing:@

Good work :yipi:
03/08/2007 07:29 PM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #188
RE: recompress PRX files
ZiNgA BuRgA Wrote:You didn't use zlib T_T.
Would be nice to include gzip.exe in the pack though :P


Thanks s_king :)  Good work!

i just got the gzip.exe from tekashi's program and it works fine for me

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
(This post was last modified: 03/08/2007 07:55 PM by diego.)
03/08/2007 07:55 PM
Find all posts by this user Quote this message in a reply
ibawanzingee
Storm Trooper

Posts: 437.3110
Threads: 71
Joined: 7th Jul 2007
Reputation: 4.649
E-Pigs: 15.8576
Offline
Post: #189
RE: recompress PRX files
Man, I can't find the required gzip.exe file... double you tee eff?

[Image: z4igq9p9ntnysqax2y6.jpg]
03/08/2007 08:04 PM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #190
RE: recompress PRX files
get it from the one maxime uploaded

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
03/08/2007 08:14 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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

 Quick Theme: