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: #1
recompress PRX files
Spoiler for gopez's Documentation:
ZiNgA BuRgA Wrote:By the way, for anyone interested, the following is taken from gopez's PSP Documentation:

26.5 PSP

start end size description
0x00   3    4  '~PSP'
0x04        2  attribute

               1 SCE_MODULE_ATTR_CANT_STOP
               2 SCE_MODULE_ATTR_LOAD
               4 SCE_MODULE_ATTR_START

0x06        2  comp_attribute

               1 FLAG_COMPRESS
               2 FLAG_NORELOC (ie. norel=PFX; rel=PRX)

0x08        1  module version lo
0x09        1  module version hi
0x0a       28  name
0x26        1  fileformat version (=1)
0x27        1  nsegments
0x28        4  elf_size (unencrypted)
0x2c        4  psp_size (encrypted)
0x30        4  entry
0x34        4  modinfo_offset (high 8 bits are substracted from low 24 bits)
0x38        4  bss_size
0x3c           alignment (4 16bit values)
0x44           address (4 32bit values)
0x54           size (4 32bit values)
0x64           ? (6 32bit values)
0x7c        1  type
0x7d        3  ? (3 8bit values)
0x80      0x30 ?
0xb0        4  elf_size_comp; (*1) psp_size - 0x150 ( == elf_size if uncompressed file)
0xb4        4  ? always 0x00000080 ?
0xb8      0x18 ? always 0x00 ?
0xd0        4  ID ?
0xd4      0x7c ?

*1) elf_size_comp is the size of the compressed elf; if the file is not compressed, it is equal to elf_size; rounded up
to the next align boundary, is equal to psp_size - 0x150

non sigchecked prx files header
0x28 - size of decrypted prx file
0x2C - overall size !
0xB0 - size of gzipped .prx file without ~PSP header !

0x130/0x132 - dunno ;p but taking the values from vshmain.prx will basicly allow to compress any vsh related prx file. ! (not needed for vshmain.prx and vshctrl.prx)

0x150 - body, gzipped prx file

the with ! marked ones are the ones you have to change.

compress prx files with gzip, you can use 7-Zip for this job.
the rest is just copy/pasting and editing the header.

Note: the default M33 3.51/3.52 vshmain.prx is different from default sony 3.51/3.52, so make sure you using M33's one as base. for the lazy ones i attached the default M33 3.52 decrypted vshmain.prx file.

i also attached a repacked paf.prx file so you can see the header.

Note2: this is not possible on OE because sigcheck protection hasn't been removed on any OE version.


Zmathue's picture tutorial
Zmathue Wrote:Here's a picture tutorial
Spoiler:
[Image: untitledzk8.png]
Spoiler:
[Image: untitled2qs5.png]
Spoiler:
[Image: untitled3ua3.png]
Spoiler:
[Image: untitled4at4.png]
Spoiler:
[Image: untitled5rn9.png]


Attached File(s)
.rar  vshmain.rar (Size: 89.23 KB / Downloads: 789)
.rar  paf.rar (Size: 757.95 KB / Downloads: 758)
(This post was last modified: 03/08/2007 01:28 AM by bstronga.)
30/07/2007 07:29 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #2
RE: recompress vshmain.prx & vshctrl.prx
Thanks!!


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
30/07/2007 07:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
squee666
Grand Warlock

Posts: 3,567.1000
Threads: 351
Joined: 4th May 2007
Reputation: 12.17831
E-Pigs: 555.9025
Offline
Post: #3
RE: recompress vshmain.prx & vshctrl.prx
ok now im confused what about recompressed prxs

[Image: IuZelj2.png]
Spoiler for anime watched:
[Image: squee666.jpg]
30/07/2007 07:50 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #4
RE: recompress vshmain.prx & vshctrl.prx
squee666 Wrote:ok now im confused what about recompressed prxs

You mean prxdecrypter 1.4b
!?


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
30/07/2007 07:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
squee666
Grand Warlock

Posts: 3,567.1000
Threads: 351
Joined: 4th May 2007
Reputation: 12.17831
E-Pigs: 555.9025
Offline
Post: #5
RE: recompress vshmain.prx & vshctrl.prx
recompress vshmain.prx & vshctrl.prx (forget vsh.prx and patchsfo)

its the title does that mean theres a prx encrypter

[Image: IuZelj2.png]
Spoiler for anime watched:
[Image: squee666.jpg]
30/07/2007 07:54 AM
Find all posts by this user Quote this message in a reply
double_x
Paradigmatic Apprentice

Posts: 46.3795
Threads: 5
Joined: 14th Apr 2007
Reputation: 1.36544
E-Pigs: 1.0279
Offline
Post: #6
RE: recompress vshmain.prx & vshctrl.prx
That's very cool when this works good I start to modify my prx's. Does this mean no patchsfo anymore??? And for which FW is this??? I hope it is for 3.52M33-2

Setting the date when the daylight shined in the sky of the night: March 33, 2007; 3:33:33 am! M33 rulez
(This post was last modified: 30/07/2007 08:08 AM by double_x.)
30/07/2007 08:05 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #7
RE: recompress vshmain.prx & vshctrl.prx
Awesome thanks ,.. do i need to use both files..

I mean is 1 for the color font and 1 for the firmware edit..!?

I do not want "Bstronga" as firmware name that's weird.. :mdr:

EDIT:
vshctrl.prx is for the custom firmware name..
vsh.prx is for font color..

Thanks !!


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
(This post was last modified: 30/07/2007 08:18 AM by Vegetano1.)
30/07/2007 08:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gsmoke
Noob

Posts: 2,184.2572
Threads: 103
Joined: 14th Apr 2007
Reputation: 1.65351
E-Pigs: 36.9914
Offline
Post: #8
RE: recompress vshmain.prx & vshctrl.prx
Lol , the best news so far , waiting for the guide . Thanks B

“Fear not for the future, weep not for the past.”
30/07/2007 08:17 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #9
RE: recompress vshmain.prx & vshctrl.prx
vshctrl.prx conflicts with my shadow and glow icon's but i got the font color to work..with no problem's..


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
30/07/2007 08:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
double_x
Paradigmatic Apprentice

Posts: 46.3795
Threads: 5
Joined: 14th Apr 2007
Reputation: 1.36544
E-Pigs: 1.0279
Offline
Post: #10
RE: recompress vshmain.prx & vshctrl.prx
Vegetano1 Wrote:vshctrl.prx conflicts with my shadow and glow icon's but i got the font color to work..with no problem's..

On my PSP both prxs work good but this black font color is very very black I can't read the Text anymore is this witzh all colors

Setting the date when the daylight shined in the sky of the night: March 33, 2007; 3:33:33 am! M33 rulez
30/07/2007 08:42 AM
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: