Editing Playstation Update Package (PUP)

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
#REDIRECT [https://www.psdevwiki.com/ps3/Playstation_Update_Package_(PUP)]
[[Category:Software]]
== Extraction ==
The PS VITA update files can be extracted using the "[http://www.vitadevwiki.com/index.php?title=Tools PS VITA Firmware xTractor]".
 
== Decryption ==
To decrypt the files which are unpacked using the tool, the key is available under PS Vita Keys
 
== Structure ==
It is not complete but here you can see the basic structure:
 
[[File:Offsets.png]]
 
{| class="wikitable"
|-
! Offset
! Length
! Type
! Information
|-
| 0x0
| 0x8
|
| Magic
|-
| 0x6
| 0x2
|
| Package Version
|-
| 0x08
| 0x2
|
| Image Version
|-
| 0x18
| 0x8
|
| File Count
|-
| 0x10
| 0x4
|
| Firmware/SDK Version?
|-
| 0x14
| 0x4
| ??
| UNKNOWN
|-
| 0x20
| 0x8
|
| Header Length
|-
| 0x28
| 0x8
|
| File Length
|}
 
== Regioning ==
If simular to PS3, then there is no regioning in the .PUP files, they are the same for all different regions.<br />
The PS Vita however gets the psp2-updatelist.xml from different servers, depening on the region of that model.
 
Retail:
* [http://fjp01.psp2.update.playstation.net/update/psp2/list/jp/psp2-updatelist.xml Japan (jp)]
* [http://fus01.psp2.update.playstation.net/update/psp2/list/us/psp2-updatelist.xml USA (us)]
* [http://feu01.psp2.update.playstation.net/update/psp2/list/eu/psp2-updatelist.xml Europe (eu)]
* [http://fshop01.psp2.update.playstation.net/update/psp2/list/shop/psp2-updatelist.xml shop]
<pre>
<update_data_list>
  <region id="jp">
    <np level0_system_version="01.500.000" level1_system_version="01.500.000" level2_system_version="01.500.000"/>
    <version system_version="01.500.000" label="01.500">
      <update_data update_type="full">
        <image size="94496256">
          http://djp01.psp2.update.playstation.net/update/psp2/image/2011_1214/rel_f090a69bcf392b5c311b9e786c5cc0b5/PSP2UPDAT.PUP?dest=jp
        </image>
      </update_data>
    </version>
    <recovery spkg_type="systemdata">
      <image spkg_version="01.000.010" size="56817152">
        http://djp01.psp2.update.playstation.net/update/psp2/image/2011_1214/sd_484243f3964158b38ad1adaac0332a3e/PSP2UPDAT.PUP?dest=jp
      </image>
    </recovery>
    <recovery spkg_type="preinst">
      <image spkg_version="01.000.000" size="128837120">
        http://djp01.psp2.update.playstation.net/update/psp2/image/2011_1214/pre_24b5601c3b3aa63b51cf5eaeab718a4c/PSP2UPDAT.PUP?dest=jp
      </image>
    </recovery>
  </region>
</update_data_list>
</pre>
 
Shop:
* [http://fjp01.psp2.update.playstation.net/update/psp2/list/shop/psp2-updatelist.xml Japan (jp)]
* [http://fus01.psp2.update.playstation.net/update/psp2/list/shop/psp2-updatelist.xml USA (us)]
* [http://feu01.psp2.update.playstation.net/update/psp2/list/shop/psp2-updatelist.xml Europe (eu)]
<pre>
<update_data_list>
  <region id="shop">
    <np level0_system_version="00.000.000" level1_system_version="00.000.000" level2_system_version="00.000.000"/>
    <version system_version="00.000.000">
      <update_data update_type="full">
        <image>NA</image>
      </update_data>
    </version>
  </region>
</update_data_list>
</pre>
 
Retail basic structure of the update URL:
<pre>http://d<TLD>01.psp2.update.playstation.net/update/psp2/image/<YYYY_MMDD>/pre_<md5>/PSP2UPDAT.PUP?dest=<TLD>
(TLD=2 letter abbreviation from above region, YYYY_MMDD is release date, md5 is 22-digits long HASH)</pre>
 
== Revisions ==
 
=== 1.03 ===
SKU Release version in Japan
 
=== 1.50 ===
Update released online together with Japanese launch
 
[http://www.multiupload.com/18TJMHBSQU 01.500.000 PSP2UPDAT.PUP's (266.73 MB)]
 
 
==PUP Files==
 
{| class="wikitable"
|-
! Information
! From Offset
! To Offset
! Length
! Notes
|-
| LICENCE
| 0xA00
| 0x713DF
| 0x709E0
| -
|-
| PSP2SWU_0
| -
| -
| -
| this file is the binary0<.self/.sprx>. it should update the filesystem (this file is exactly the same on v1.00, v1.00b, v1.50)
|-
| PSP2SWU_1
| -
| -
| -
| this file is the binary1<.self/.sprx>. it should check the new filesystem (this file is exactly the same on v1.00, v1.00b, v1.50)
|-
| -
| -
| -
| -
| -
|-
|}
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)