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 4: | Line 4: | ||
* <code>/mnt/disc/license/rif</code> | * <code>/mnt/disc/license/rif</code> | ||
* <code>/preinst2/app/CUSA00001/app.rif</code> | * <code>/preinst2/app/CUSA00001/app.rif</code> | ||
[[Rif/samples|Sample rif files]]. | [[Rif/samples|Sample rif files]]. | ||
== | == RIF File == | ||
For a rif file that is paired with | For a rif file that is paired with a idx file, see [[#RIFA File|RIFA file]]. | ||
=== RIF === | === RIF === | ||
Line 25: | Line 24: | ||
| Signature || <code>0x000</code> || 4 || <code>52 49 46 00</code> ('RIF\0') || | | Signature || <code>0x000</code> || 4 || <code>52 49 46 00</code> ('RIF\0') || | ||
|- | |- | ||
| Version || <code>0x004</code> || 2 || <code>00 01</code> || | | Version || <code>0x004</code> || 2 || <code>00 01</code> || 1 (current) | ||
|- | |- | ||
| Unknown || <code>0x006</code> || 2 || <code>FF FF</code> || | | Unknown || <code>0x006</code> || 2 || <code>FF FF</code> || | ||
Line 35: | Line 34: | ||
| End Timestamp || <code>0x018</code> || 8 || <code>7F FF FF FF FF FF FF FF</code> || End timestamp (unix/epoch), typically INT64_MAX | | End Timestamp || <code>0x018</code> || 8 || <code>7F FF FF FF FF FF FF FF</code> || End timestamp (unix/epoch), typically INT64_MAX | ||
|- | |- | ||
| | | Content ID || <code>0x020</code> || 48 || <code>IP9100-CUSA00001_00-PLAYROOM00000000</code> || | ||
|- | |- | ||
| Type || <code>0x050</code> || 2 || <code>01 01</code> || | | Type || <code>0x050</code> || 2 || <code>01 01</code> || | ||
* <code>0x000</code> KDS RIF | |||
* <code>0x101,0x302</code> Isolated RIF | |||
* <code>0x102</code> Disc RIF | |||
* <code>0x200-0x202</code> Fake/Debug RIF | |||
|- | |- | ||
| | | Unknown || <code>0x052</code> || 2 || <code>00 0F</code> || | ||
|- | |- | ||
| | | Unknown || <code>0x054</code> || 2 || <code>00 1A</code> || | ||
|- | |- | ||
| SKU | | SKU Flags || <code>0x056</code> || 2 || <code>00 01</code> || | ||
|- | |- | ||
| Extra Flags || <code>0x058</code> || 4 || <code>00 00 00 00</code> || | | Extra Flags || <code>0x058</code> || 4 || <code>00 00 00 00</code> || | ||
|- | |- | ||
| Unknown || <code>0x060</code> || 4 || <code>00 02 00 00</code> || | | Unknown || <code>0x060</code> || 4 || <code>00 02 00 00</code> || | ||
|- | |- | ||
| Unknown || <code>0x064</code> || | | Unknown || <code>0x064</code> || 476 || - || | ||
|- | |- | ||
| Disc Key || <code>0x240</code> || 32 || - || | | Disc Key || <code>0x240</code> || 32 || - || | ||
|- | |- | ||
| Secret Encryption IV || <code>0x260</code> || 16 || - || | | Secret Encryption IV || <code>0x260</code> || 16 || - || | ||
|- | |- | ||
| Encrypted Secret || <code>0x270</code> || 144 || - || See [[#Secret|Secret]] for when decrypted | | Encrypted Secret || <code>0x270</code> || 144 || - || See [[#Secret|Secret]] for when decrypted | ||
|- | |- | ||
| RSA Signature || <code>0x300</code> || 256 || - || Verified using public key depending on type | | RSA Signature || <code>0x300</code> || 256 || - || Verified using public key depending on type | ||
|} | |} | ||
Line 160: | Line 72: | ||
! style="width: 40%" | Remark | ! style="width: 40%" | Remark | ||
|- | |- | ||
| Unknown || <code>0x00</code> || 16 || - || | | Unknown || <code>0x00</code> || 16 || - || | ||
|- | |- | ||
| | | Unknown || <code>0x10</code> || 16 || - || | ||
|- | |||
| Unknown || <code>0x20</code> || 16 || - || | |||
|- | |- | ||
| Content Key Seed || <code>0x30</code> || 16 || - || Used to generate PFS key | | Content Key Seed || <code>0x30</code> || 16 || - || Used to generate PFS key | ||
Line 168: | Line 82: | ||
| SELF Key Seed || <code>0x40</code> || 16 || - || Used to generate SELF key | | SELF Key Seed || <code>0x40</code> || 16 || - || Used to generate SELF key | ||
|- | |- | ||
| Unknown || <code>0x50</code> || 16 || - || | | Unknown || <code>0x50</code> || 16 || - || | ||
|- | |- | ||
| Unknown || <code>0x60</code> || 16 || - || | | Unknown || <code>0x60</code> || 16 || - || | ||
|- | |- | ||
| Entitlement Key || <code>0x70</code> || 16 || - || | | Entitlement Key || <code>0x70</code> || 16 || - || | ||
|- | |- | ||
| | | Unknown || <code>0x80</code> || 16 || - || | ||
|} | |} | ||
Line 196: | Line 110: | ||
| Signature || <code>0x000</code> || 4 || <code>52 49 46 00</code> ('RIF\0') || | | Signature || <code>0x000</code> || 4 || <code>52 49 46 00</code> ('RIF\0') || | ||
|- | |- | ||
| | | Title ID || <code>0x004</code> || 48 || <code>IP9100-CUSA00001_00</code> || ''Size assumed'' | ||
|- | |- | ||
| Unknown || <code>0x034</code> || 972 || - || | | Unknown || <code>0x034</code> || 972 || - || | ||
Line 220: | Line 134: | ||
| Version || <code>0x08</code> || 1 || <code>01</code> || 1 (current) | | Version || <code>0x08</code> || 1 || <code>01</code> || 1 (current) | ||
|- | |- | ||
| | | Title ID || <code>0x09</code> || 19 || <code>IP9100-CUSA00001_00</code> || | ||
|- | |- | ||
| Unknown || <code>0x1C</code> || 4 || <code>01 00 00 00</code> || | | Unknown || <code>0x1C</code> || 4 || <code>01 00 00 00</code> || | ||
|- | |- | ||
| Entries || <code>0x20</code> || 48 * RIF Count | | Entries || <code>0x20</code> || 48 * RIF Count || See [[#RIDX Entry|RIDX entry]] | ||
|} | |} | ||
Line 238: | Line 152: | ||
! style="width: 40%" | Remark | ! style="width: 40%" | Remark | ||
|- | |- | ||
| | | Entitlement ID || <code>0x00</code> || 16 || <code>PLAYROOM00000000</code> || | ||
|- | |- | ||
| | | Offset || <code>0x10</code> || 8 || <code>00 04 00 00 00 00 00 00</code> || Offset into [[#RIFA File|RIFA file]] | ||
|- | |- | ||
| | | Size || <code>0x18</code> || 8 || <code>00 04 00 00 00 00 00 00</code> || | ||
|- | |- | ||
| Unknown || <code>0x20</code> || 1 || <code>01</code> || | | Unknown || <code>0x20</code> || 1 || <code>01</code> || | ||
|- | |- | ||
| Unknown || <code>0x21</code> || | | Unknown || <code>0x21</code> || 15 || - || | ||
|} | |} | ||
{{File Formats}} | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |