NPDRM: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 29: Line 29:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Name !! Offset !! Size !! Example !! Remark
| style="background-color:#123EDA; color:#FFFFFF;" |'''Name'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Offset'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Size'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Example'''
| style="background-color:#123EDA; color:#FFFFFF;" |'''Remark'''
|-
|-
| Version Number || 0x0 || 0x4 || 00000001 ||  
| Version Number || 0x0 || 0x4 || 00 00 00 01 ||  
|-
|-
| License Type || 0x4 || 0x4 || 00000002 ||
| License Type || 0x4 || 0x4 || 00 01 00 02 ||
|-
|-
| User Number || 0x8 || 0x8 || N.A ||
| User Number || 0x8 || 0x8 || 00 00 00 00 00 00 00 02 || Used on Rap2Rif header
|-
|-
| Content ID || 0x10 || 0x30 || N.A ||  
| Content ID || 0x10 || 0x30 || N.A ||  
Line 45: Line 49:
| encrypted klic || 0x50 || 0x10 || N.A  ||
| encrypted klic || 0x50 || 0x10 || N.A  ||
|-
|-
| bought on/ start || 0x60 || 0x8 || N.A || In [http://www.epochconverter.com/ Epoch-Unix] time format
| bought on/ start || 0x60 || 0x8 || 00 00 01 2F 41 5C 00 00 || For human readable, convert to decimal and use one [http://www.epochconverter.com/ Epoch-Unix converter] time format online.
|-
|-
| expires in || 0x68 || 0x8 || N.A || If zeroed,-, there is no time limit.
| expires in || 0x68 || 0x8 || 00 00 00 00 00 00 00 00 || If zeroed,-, there is no time limit. Used on PS+ for example.
|-
|-
| Signature || 0x70 || 0x28 || N.A ||  
| Signature || 0x70 || 0x28 || 11 || Patched on some cfw. See Rif_Junk on Rap2Rif by '''Flatz'''
|-  
|-  
|}
|}
*[http://pastie.org/private/yltlfwubsz8w5pyhmojyfg '''Rap2Rif''' source code by '''Flatz''' ]
*[http://pastie.org/private/pmnmsnqg6zbfnk9xactbw#1 '''Rap2Rif Key''' souce code by '''Flatz''']

Revision as of 18:56, 15 September 2013

Info on the talk page

Info on the talk page The info on this page is an extract of conversations and forum posts, please digest the info and move it this page

act.dat header(encrypted) structure

Name Offset Size Example Remark
Version Number 0x0 0x4 00000001
License Type 0x4 0x4 00000001
User Number 0x8 0x8 N.A
KeyTable Retail 0x10 0x800 N.A
KeyTable Debug? 0x810 0x800 N.A
Signature 0x1010 0x28 N.A

rif header(encrypted) structure

Name Offset Size Example Remark
Version Number 0x0 0x4 00 00 00 01
License Type 0x4 0x4 00 01 00 02
User Number 0x8 0x8 00 00 00 00 00 00 00 02 Used on Rap2Rif header
Content ID 0x10 0x30 N.A
Random Padding 0x40 0xC N.A
act.dat index key 0x4C 0x4 N.A
encrypted klic 0x50 0x10 N.A
bought on/ start 0x60 0x8 00 00 01 2F 41 5C 00 00 For human readable, convert to decimal and use one Epoch-Unix converter time format online.
expires in 0x68 0x8 00 00 00 00 00 00 00 00 If zeroed,-, there is no time limit. Used on PS+ for example.
Signature 0x70 0x28 11 Patched on some cfw. See Rif_Junk on Rap2Rif by Flatz