Console program to print out the information in the ps4 update pup main header.
os: windows
usage: ps4pupheader filename
output:
obviously only first two digits matter for version field and file count field.
os: windows
usage: ps4pupheader filename
output:
Code:
G:\>ps4pupheader I:\Ps4update.pup
Magic: 534C4232
Version: 0100000000000000
File Count: 02000000
Total Block Count: 039F0900
Offset_1: 01000000
Size_1: 0076AE0D
Filename_1: 505334555044415445312E5055500000
Filename_1: PS4UPDATE1.PUP
Offset_2: 3CD70600
Size_2: 908D8F05
Filename_2: 505334555044415445322E5055500000
Filename_2: PS4UPDATE2.PUP
Offset_3: 00000000
Size_3: 00000000
Filename_3: 00000000000000000000000000000000
Filename_3:
Offset_4: 00000000
Size_4: 00000000
Filename_4: 00000000000000000000000000000000
Filename_4:
Offset_5: 00000000
Size_5: 00000000
Filename_5: 00000000000000000000000000000000
Filename_5:
Offset_6: 00000000
Size_6: 00000000
Filename_6: 00000000000000000000000000000000
Filename_6:
Offset_7: 00000000
Size_7: 00000000
Filename_7: 00000000000000000000000000000000
Filename_7:
Offset_8: 00000000
Size_8: 00000000
Filename_8: 00000000000000000000000000000000
Filename_8:
Offset_9: 00000000
Size_9: 00000000
Filename_9: 00000000000000000000000000000000
Filename_9:
Offset_10: 00000000
Size_10: 00000000
Filename_10: 00000000000000000000000000000000
Filename_10: