Editing PS2 Savedata

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:
See also [https://www.psdevwiki.com/ps2/Savedata PS2 savedata page on PS2 dev wiki].
=Common terms used in this page=
=Common terms used in this page=
{{Savedata common terms}}
{{Savedata common terms}}
Line 175: Line 173:
Last place to store a PS3 identifyer is inside the FAT filesystem ?... maybe there is none
Last place to store a PS3 identifyer is inside the FAT filesystem ?... maybe there is none


===PS2 Single Save (.PSV)===
===PS2 Single Save ? (.PSV)===


PSV is a PS2 savegame in "PS3 format". When exporting a save from a PS2 internal memory card to a USB device the Game Saves are converted to a .PSV file in PS3 format. The name of the exported file is the identifier of the block on Hexa format
PSV is a PS2 savegame in "PS3 format". When exporting a save from a PS2 internal memory card to a USB device the Game Saves are converted to a .PSV file in PS3 format. The name of the exported file is the identifier of the block on Hexa format
Line 207: Line 205:
  00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  00000150  f4 66 01 00 00 00 01 00  01 00 00 00 06 00 00 00  |.f..............|
  00000150  f4 66 01 00 00 00 01 00  01 00 00 00 06 00 00 00  |.f..............|
00000160  00 00 80 3f 24 00 00 00  00 dc 00 f7 00 fe 00 04  |...?$...........|
00000170  00 00 00 00 00 f0 00 04  00 00 00 0e 7f 7f 7f 80  |................|
00000180  00 24 00 c1 00 fe 00 04  00 00 00 00 00 f0 00 04  |.$..............|
00000190  00 10 00 02 7f 7f 7f 80  00 dc 00 c1 00 fe 00 04  |................|
000001a0  00 00 00 00 00 f0 00 04  00 00 00 02 7f 7f 7f 80  |................|


====Filename Format====
====Filename Format====
The Filename is generated from the saved ps2 data with the format:
The Filename is generated from the saved ps2 data with the format:
   Internal PS2 ID String followed by the Description Text in HEX
   Internal PSX ID String followed by the Description Text in HEX
   For the above header the Exported PSV file name would be "BASLUS-20963464631323030.PSV"
   For the above header the Exported PSV file name would be "BASLUS-20963464631323030.PSV"


Line 219: Line 222:
|0x00 || 0x08 || 00 56 53 50 00 00 00 00 || " VSP"
|0x00 || 0x08 || 00 56 53 50 00 00 00 00 || " VSP"
|-
|-
|0x08 || 0x14 || 77 77 77 2E 62 75 63 61 6E 65 72 6F 2E 63 6F 6D 2E 61 72 00 || Key seed, any value is accepted (not validated by the PS3)
|0x08 || 0x14 || 5D EF E2 10 2A D0 F0 1D 0C 56 59 FF B9 7F 8C D2 AA D1 BC 8D || Key seed, any value is accepted (not validated by the PS3)
|-
|-
|0x1C || 0x14 || FA 09 5F F3 8B C9 DA 44 2F 08 4F 56 28 91 19 EA A3 23 08 E1 || Sha1 hmac digest
|0x1C || 0x14 || F6 FA 58 3C 53 10 80 D1 91 2F ED 10 CC C9 CF BC C9 F8 9D 88 || Sha1 hmac digest
|-
|-
|0x30 || 0x08 || 00 00 00 00 00 00 00 00 || padding related with the alignment of the previous 2 values ?
|0x30 || 0x08 || 00 00 00 00 00 00 00 00 || padding related with the alignment of the previous 2 values ?
Line 229: Line 232:
|0x3C || 0x04 || 02 00 00 00 || PS1=0x1, PS2=0x2
|0x3C || 0x04 || 02 00 00 00 || PS1=0x1, PS2=0x2
|-
|-
|0x40 || 0x04 || 64 69 01 00 || '''Used Bytes''' (Size displayed on XMB).
|0x40 || 0x04 || 00 20 00 00 || '''Use Byte''' (Size displayed on XMB).
|-
|0x44 || 0x04 || F4 66 01 00 || start offset in file of icon.sys (start of "'''PS2D'''" area in PS2)
|-
|0x48 || 0x04 || C4 03 00 00 || icon.sys file size
|-
|0x4C || 0x04 || 54 01 00 00 || position of 1st icon (start offset)
|-
|0x50 || 0x04 || 98 83 00 00 || size of 1st icon
|-
|-
|0x54 || 0x04 || 54 01 00 00 || position of 2nd icon (start offset)
|0x44 || 0x04 || f4 66 01 00 || First slot absolute start offset (start of "'''PS2D'''" area in PS2)
|-
|-
|0x58 || 0x04 || 98 83 00 00 || size of 2nd icon
|0x48 || 0x04 || 00 02 00 00 || Savedata offset (relative to the start offset of "SC" section)
|-
|-
|0x5C || 0x04 || 54 01 00 00 || position of 3rd icon (start offset)
|0x4C || 0x10 || 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || ?
|-
|-
|0x60 || 0x04 || 98 83 00 00 || size of 3rd icon
|0x5C || 0x04 || 00 20 00 00 || ?
|-
|-
|0x64 || 0x04 || 03 00 00 00 || number of files in the .PSV container
|0x60 || 0x04 || 03 90 00 00 || ?
|-
|-
|0x68 || 0x38 || 00 2E 17 10 .. || PS2 Main Dir Info
|0x64 || 0x14 || 42 41 53 43 55 53 2D 39 34 31 36 33 46 46 37 2D 53 30 31 00 || '''File Name''' (byte 7 enables PocketStation display)
|-
|-
|0xA0 || 0x3C || 00 2E 17 10 .. || PS2 File Info (one for each file in the folder)
|0x78 || 0x0C || 00 00 00 00 00 00 00 00 00 00 00 00 || padding ?
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| colspan="4" |
| colspan="4" |
|-
|-
|0x0166F4 || 0x3C4 || 50 53 32 44 || "'''PS2D'''" icon.sys file, see PS2 format
|0x84 || 0x02000 || 53 43 ... || "'''PS2D'''" icon.sys file, see PS2 format
|-
|-
|}
|}
Line 266: Line 261:
===Virtual Memory Card Encrypted (.VME)===
===Virtual Memory Card Encrypted (.VME)===


When exporting Game Saves for "PS2 classics" (CATEGORY 2P) to a external USB drive there is a "rare" PARAM.SFO exported. This PARAM.SFO seems to be a copy of the main PARAM.SFO from the installed game folder with an added "signature" "injected" at the end of the file (out of his structure) with a length of 20 bytes. Is supposed to be a security feature when exporting the gamesave, is not confirmed if this PARAM.SFO (with the injected "signature" out of his structure) exists in the internal HDD (when importing, or present at some time with the "PS2 virtual memory cards").
When exporting Game Saves for "PS2 classics" (CATEGORY 2P) to a external USB drive there is a "rare" PARAM.SFO exported. This PARAM.SFO seems to be a copy of the main PARAM.SFO from the installed game folder with an added "signature" "injected" at the end of the file (out of his structure) with a lenght of 20 bytes. Is supposed to be a security feature when exporting the gamesave, is not confirmed if this PARAM.SFO (with the injected "signature" out of his structure) exists in the internal HDD (when importing, or present at some time with the "PS2 virtual memory cards").


  Wrote by ps3hen in ps3hax forums
  Wrote by ps3hen in ps3hax forums
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 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)