Editing Rights Information Files
Jump to navigation
Jump to search
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 [[Rif/samples|Sample RIF files]]. | See also [[Rif/samples|Sample RIF files]]. | ||
Line 12: | Line 10: | ||
* <code>Sc0/license.dat</code> (in PKG entries) | * <code>Sc0/license.dat</code> (in PKG entries) | ||
== | == Rights Information Files == | ||
For a RIF file that is paired with an IDX file, see [[#RIFA File|RIFA file]]. | For a RIF file that is paired with an IDX file, see [[#RIFA File|RIFA file]]. | ||
=== RIF | === RIF === | ||
Fields are big-endian. | Fields are big-endian. | ||
Line 70: | Line 68: | ||
|} | |} | ||
=== Type === | ==== Type ==== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 156: | Line 154: | ||
=== Secret === | === Secret === | ||
On debug/fake RIFs, the decrypted secret is empty except the first 16 bytes, which are the second 16 bytes of the Content ID hash. | On debug/fake RIFs, the decrypted secret is empty except the first 16 bytes, which are the second 16 bytes of the Content ID hash. | ||
Line 191: | Line 187: | ||
When in this form, a [[#RIFA Header|RIFA header is present]], followed by sequential [[#RIF|RIFs]]. | When in this form, a [[#RIFA Header|RIFA header is present]], followed by sequential [[#RIF|RIFs]]. | ||
=== RIFA | === RIFA Header === | ||
Fields are big-endian. | Fields are big-endian. | ||
Line 211: | Line 207: | ||
== RIDX File == | == RIDX File == | ||
=== RIDX | === RIDX Header === | ||
Fields are little-endian. | Fields are little-endian. | ||
Line 256: | Line 252: | ||
| Unknown || <code>0x21</code> || 1 || <code>00</code> || | | Unknown || <code>0x21</code> || 1 || <code>00</code> || | ||
|- | |- | ||
| RIF | | RIF HMAC || <code>0x22</code> || 8 || - || First 8 bytes of HMACSHA256 of RIF data using per-console data as key | ||
|- | |- | ||
| Unknown || <code>0x2A</code> || 6 || - || | | Unknown || <code>0x2A</code> || 6 || - || |