Trophy00.ucp: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
(Many thanks to Unity3D ;))
 
(fix formatting.)
Line 8: Line 8:
| style="background-color:#FFFFFF; color:#123AAA;" |'''description'''  
| style="background-color:#FFFFFF; color:#123AAA;" |'''description'''  
|-
|-
|0x00||int32|Magic Number
|0x00||int32||Magic Number
|-
|-
|0x04||int32|version
|0x04||int32||version
|-
|-
|0x13||int32|Number of Files
|0x13||int32||Number of Files
|-
|-
|0x17||int32|Location of Table of Contents
|0x17||int32||Location of Table of Contents
|-
|-
|0x20||char[0x10]|HMAC?
|0x20||char[0x10]||HMAC?
|-
|-
|}
|}
Line 29: Line 29:
| style="background-color:#FFFFFF; color:#123AAA;" |'''description'''  
| style="background-color:#FFFFFF; color:#123AAA;" |'''description'''  
|-
|-
|0x40||char[0x10]|Reserved? (only on first entry)
|0x40||char[0x10]||Reserved? (only on first entry)
|-
|-
|0x50||char[0x10]|Reserved2
|0x50||char[0x10]||Reserved2
|-
|-
|0x60||char[0x20]|File Name
|0x60||char[0x20]||File Name
|-
|-
|0x80||int64 (BIG ENDAIN)|File Location (Absolute)
|0x80||int64 (BIG ENDAIN)||File Location (Absolute)
|-
|-
|0x88||int64 (BIG ENDAIN)|File Size
|0x88||int64 (BIG ENDAIN)||File Size
|-
|-
|0x90||char[0x10]|Reserved3
|0x90||char[0x10]||Reserved3
|}
|}

Revision as of 09:57, 21 February 2021


Data Structure

offset type description
0x00 int32 Magic Number
0x04 int32 version
0x13 int32 Number of Files
0x17 int32 Location of Table of Contents
0x20 char[0x10] HMAC?

Table of Contents

here i assume the TOC is at 0x40, because that's where it is in my sample of trophy00.ucp but technically it can be anywhere,

offset type description
0x40 char[0x10] Reserved? (only on first entry)
0x50 char[0x10] Reserved2
0x60 char[0x20] File Name
0x80 int64 (BIG ENDAIN) File Location (Absolute)
0x88 int64 (BIG ENDAIN) File Size
0x90 char[0x10] Reserved3