TROPHY.TRP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Trophy installation data.
[[Trophy_files|Trophy]] installation data.


* Version 1 Structure (for PS3):
* Version 1 Structure (for PS3):
Line 9: Line 9:
   uint32_t files_count;
   uint32_t files_count;
   uint32_t element_size;
   uint32_t element_size;
   uint32_t unknown;
   uint32_t dev_flag; // 1: dev
   unsigned char padding[36];
   unsigned char padding[36];
</code>
</code>
Line 21: Line 21:
   uint32_t files_count;
   uint32_t files_count;
   uint32_t element_size;
   uint32_t element_size;
   uint32_t unknown;
   uint32_t dev_flag; // 1: dev
   unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file
   unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file
   unsigned char padding[16]
   unsigned char padding[16]
Line 30: Line 30:
<code>
<code>
   uint32_t magic;
   uint32_t magic;
   uint32_t version; // 2
   uint32_t version; // 3
   uint64_t file_size;
   uint64_t file_size;
   uint32_t files_count;
   uint32_t files_count;
   uint32_t element_size;
   uint32_t element_size;
   uint32_t unknown;
   uint32_t dev_flag; // 1: dev
   unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file
   unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file
    
    

Latest revision as of 18:09, 26 December 2014

Trophy installation data.

  • Version 1 Structure (for PS3):

 uint32_t magic;
 uint32_t version; // 1
 uint64_t file_size;
 uint32_t files_count;
 uint32_t element_size;
 uint32_t dev_flag; // 1: dev
 unsigned char padding[36];

  • Version 2 Structure (for PS3/PS Vita):

 uint32_t magic;
 uint32_t version; // 2
 uint64_t file_size;
 uint32_t files_count;
 uint32_t element_size;
 uint32_t dev_flag; // 1: dev
 unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file
 unsigned char padding[16]

  • Version 3 Structure (for PS4):

 uint32_t magic;
 uint32_t version; // 3
 uint64_t file_size;
 uint32_t files_count;
 uint32_t element_size;
 uint32_t dev_flag; // 1: dev
 unsigned char sha1[20]; // placeholder for the checksum SHA-1 of the whole file