Playstation Update Package (PUP)

From Vita Developer wiki
Revision as of 13:26, 18 December 2011 by Deroad (talk | contribs) (→‎Structure)
Jump to navigation Jump to search

Extraction

The PS VITA update files can be extracted using the "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:

Offsets.png


Header

Offset Length Type Information
0x0 0x8 Magic
0x6 0x2 Package Version
0x08 0x2 Image Version
0x18 0x8 File Count
0x10 0x8 ?? 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.
The PS Vita however gets the psp2-updatelist.xml from different servers, depening on the region of that model.

Retail:

<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>

Shop:

<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>

Retail basic structure of the update URL:

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)

Revisions

1.03

SKU Release version in Japan

1.50

Update released online together with Japanese launch

01.500.000 PSP2UPDAT.PUP's (266.73 MB)