Endless Paradigm

Full Version: recompress PRX files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
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]
Thanks!!
ok now im confused what about recompressed prxs
squee666 Wrote:ok now im confused what about recompressed prxs

You mean prxdecrypter 1.4b
!?
recompress vshmain.prx & vshctrl.prx (forget vsh.prx and patchsfo)

its the title does that mean theres a prx encrypter
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
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 !!
Lol , the best news so far , waiting for the guide . Thanks B
vshctrl.prx conflicts with my shadow and glow icon's but i got the font color to work..with no problem's..
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
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Reference URL's