<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.iquebrew.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon</id>
	<title>iQueBrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.iquebrew.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon"/>
	<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=Special:Contributions/Simon"/>
	<updated>2026-11-12T05:45:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=CMD&amp;diff=962</id>
		<title>CMD</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=CMD&amp;diff=962"/>
		<updated>2019-02-04T08:29:33Z</updated>

		<summary type="html">&lt;p&gt;Simon: Improve clarification of image type, also toilet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;content metadata&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;CMD&amp;#039;&amp;#039;&amp;#039; is a file or structure used to store data about an iQue app, such as encryption keys, its access to secure kernel calls, and its access to various hardware. It is used on its own in [[SKSA]] (where SA1 and SA2 both have their own attached CMD) and also contained as part of every [[ticket]]. &lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
A CMD consists of two parts: &amp;#039;&amp;#039;&amp;#039;contentDesc&amp;#039;&amp;#039;&amp;#039;, an optional 0x2800-byte long structure containing information about a game such as its save type, title, and thumbnail image; and &amp;#039;&amp;#039;&amp;#039;BbContentMetaDataHead&amp;#039;&amp;#039;&amp;#039;. The former is not used in the content metadata for SAs.&lt;br /&gt;
&lt;br /&gt;
=== contentDesc ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Length&lt;br /&gt;
! Type&lt;br /&gt;
! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| EEPROM RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| EEPROM size (either 0x200 or 0x800)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Flash RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Flash size (0x20000 if used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| SRAM RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| SRAM size (0x8000 if used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 0 RDRAM location (could be 0x807C0000 or 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 1 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 2 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 3 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak size (0x8000 when used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osRomBase (always 0xB0000000?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x30&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osTvType (always 1? which is for NTSC)&lt;br /&gt;
|-&lt;br /&gt;
| 0x34&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osMemSize (always 0x400000? for no expansion pak)&lt;br /&gt;
|-&lt;br /&gt;
| 0x38&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Unknown, possibly another libultra boot param&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Unknown, possibly another libultra boot param&lt;br /&gt;
|-&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0x03&lt;br /&gt;
| chars&lt;br /&gt;
| &amp;quot;CAM&amp;quot;, unknown purpose&lt;br /&gt;
|-&lt;br /&gt;
| 0x43&lt;br /&gt;
| 0x01&lt;br /&gt;
| byte&lt;br /&gt;
| Number of &amp;quot;.u0x&amp;quot; files for this game?&lt;br /&gt;
|-&lt;br /&gt;
| 0x44&lt;br /&gt;
| 0x02&lt;br /&gt;
| uint16&lt;br /&gt;
| Thumb image length (can&amp;#039;t be more than 0x4000, decompressed size must be exactly 0x1880)&lt;br /&gt;
|-&lt;br /&gt;
| 0x46&lt;br /&gt;
| 0x02&lt;br /&gt;
| uint16&lt;br /&gt;
| Title image length (can&amp;#039;t be more than 0x10000, how exactly would that even fit?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48&lt;br /&gt;
| &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039;&lt;br /&gt;
| bytes&lt;br /&gt;
| DEFLATE-compressed thumb image, stored as RGBA5551 (56w * 56h)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 + &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;Title image length&amp;#039;&amp;#039;&lt;br /&gt;
| bytes&lt;br /&gt;
| DEFLATE-compressed title image, stored as IA8 (184w * 24h)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 + &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039; + &amp;#039;&amp;#039;Title image length&amp;#039;&amp;#039;&lt;br /&gt;
| 0x27B8 - image lengths&lt;br /&gt;
| chars&lt;br /&gt;
| Title name + ISBN&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BbContentMetaDataHead ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Length&lt;br /&gt;
! Type&lt;br /&gt;
! Description&lt;br /&gt;
! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x2800&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| unusedPadding&lt;br /&gt;
| padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x2804&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| caCrlVersion&lt;br /&gt;
| Certificate Authority(?) CRL version&lt;br /&gt;
|-&lt;br /&gt;
| 0x2808&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| cpCrlVersion&lt;br /&gt;
| Content Protection(?) CRL version&lt;br /&gt;
|-&lt;br /&gt;
| 0x280C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| size&lt;br /&gt;
| Size (in bytes) of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x2810&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| descFlags&lt;br /&gt;
| Seemingly unused/unchecked; bit 0 set if the associated app is SA  &lt;br /&gt;
|-&lt;br /&gt;
| 0x2814&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| commonCmdIv&lt;br /&gt;
| titlekey_iv; IV used to encrypt title key (with common key)                &lt;br /&gt;
|-&lt;br /&gt;
| 0x2824&lt;br /&gt;
| 0x14&lt;br /&gt;
| uint8[20]&lt;br /&gt;
| hash&lt;br /&gt;
| SHA-1 hash of the plaintext of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x2838&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| iv&lt;br /&gt;
| content_iv; IV used to encrypt content&lt;br /&gt;
|-&lt;br /&gt;
| 0x2848&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| execFlags&lt;br /&gt;
| Despite the name, only one use/flag is known: if bit 1 is set (the &amp;quot;recrypt flag&amp;quot;), the associated app will be re-encrypted on first launch&lt;br /&gt;
|-&lt;br /&gt;
| 0x284C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| hwAccessRights&lt;br /&gt;
| bitfield, each bit enables access to some MMIO regs new to iQue Player:&lt;br /&gt;
* bits 0-7: new PI stuff              &lt;br /&gt;
* bit 0: PI buffer used for aes/NAND read output and PI DMA (1KB at PI_BASE+0x10000)    &lt;br /&gt;
* bit 1: NAND flash regs in PI        &lt;br /&gt;
* bit 2: memory mapper for old PI dma &lt;br /&gt;
* bit 3: hardware AES-engine in PI&lt;br /&gt;
* bit 4: new PI dma engine, DMAs  from/to PI buffer&lt;br /&gt;
* bit 5: new GPIO; power + LED&lt;br /&gt;
* bit 6: external IO bus stuff (debug?)&lt;br /&gt;
* bit 7: new PI error stuff&lt;br /&gt;
* bit 8: enables access to USB regs&lt;br /&gt;
* bit 9: enables access to internal ram used for SK stack  &lt;br /&gt;
(0x0000 for games except for Animal Forest which is 0x0033, 0x0013 for iQue Club, 0x01F7/0x01B3 for SA)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2850&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| secureKernelRights&lt;br /&gt;
| Which [[SKC|secure kernel calls]] the associated app can use, one bit per syscall: bit 0 allows SKC 0, etc.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2854&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| bbid&lt;br /&gt;
| If not zero, can only be run on the specified console (used for SAs, not games) &lt;br /&gt;
|-&lt;br /&gt;
| 0x2858&lt;br /&gt;
| 0x40&lt;br /&gt;
| uint8[64]&lt;br /&gt;
| issuer&lt;br /&gt;
| Certificate used to sign the cmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x2898&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| id&lt;br /&gt;
| Content ID of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x289C&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| key&lt;br /&gt;
| The associated app&amp;#039;s title key. It is encrypted once with the common key. If the associated app is not an SA, then it is encrypted &amp;#039;&amp;#039;again&amp;#039;&amp;#039; with a key derived using the result of ECDH with the console&amp;#039;s private key in the Virage2 and the public key in the app&amp;#039;s ticket.&lt;br /&gt;
|-&lt;br /&gt;
| 0x28AC&lt;br /&gt;
| 0x100&lt;br /&gt;
| uint8[256]&lt;br /&gt;
| contentMetaDataSign&lt;br /&gt;
| RSA-2048 signature over all of the above, but before the title key is encrypted a second time.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:File formats]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=Games&amp;diff=960</id>
		<title>Games</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=Games&amp;diff=960"/>
		<updated>2019-01-30T13:10:50Z</updated>

		<summary type="html">&lt;p&gt;Simon: Undo revision 955 by XiongWang99 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Released Games (14) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Title&lt;br /&gt;
! Chinese title&lt;br /&gt;
! Literal translation&lt;br /&gt;
! Release date&lt;br /&gt;
! Game CID&lt;br /&gt;
! Manual CID&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Wave Race 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 水上摩托&lt;br /&gt;
| Motorcycling on Water&lt;br /&gt;
| November 17, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5101104 51011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5101904 51019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Star Fox 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 星际火狐&lt;br /&gt;
| Interstellar Fire Fox &lt;br /&gt;
| November 17, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=4101105 41011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=4101904 41019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Dr. Mario 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 马力欧医生&lt;br /&gt;
| Dr. Mario&lt;br /&gt;
| November 17, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=6101104 61011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=6101904 61019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Super Mario 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 神游马力欧&lt;br /&gt;
| iQue Mario&lt;br /&gt;
| November 17, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1101104 11011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1101906 11019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[The Legend of Zelda: Ocarina of Time]]&amp;#039;&amp;#039;&lt;br /&gt;
| 塞尔达传说-时光之笛-&lt;br /&gt;
| The Legend of Zelda: Ocarina of Time	&lt;br /&gt;
| November 17, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2101104 21011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2101904 21019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Mario Kart 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 马力欧卡丁车&lt;br /&gt;
| Mario Kart&lt;br /&gt;
| December 25, 2003&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5201105 52011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5201906 52019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[F-Zero X]]&amp;#039;&amp;#039;&lt;br /&gt;
| F-Zero X 未来赛车&lt;br /&gt;
| F-Zero X Future Racing&lt;br /&gt;
| February 25, 2004&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5202103 52021]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5202904 52029]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Yoshi&amp;#039;s Story]]&amp;#039;&amp;#039;&lt;br /&gt;
| 耀西故事&lt;br /&gt;
| Yoshi Story&lt;br /&gt;
| March 25, 2004&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1102101 11021]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1102906 11029]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Paper Mario]]&amp;#039;&amp;#039;&lt;br /&gt;
| 纸片马力欧&lt;br /&gt;
| Paper Mario	&lt;br /&gt;
| June 8, 2004&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2102104 21021]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2102904 21029]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Sin and Punishment: Successor of the Earth]]&amp;#039;&amp;#039;&lt;br /&gt;
| 罪与罚-地球的继承者-&lt;br /&gt;
| Sin and Punishment: Successor of the Earth	&lt;br /&gt;
| September 25, 2004&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=4102103 41021]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=4102901 41029]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Excitebike 64]]&amp;#039;&amp;#039;&lt;br /&gt;
| 越野摩托&lt;br /&gt;
| Off-road Motorcycling&lt;br /&gt;
| June 15, 2005&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5102108 51021]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=5102902 51029]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Super Smash Bros.]]&amp;#039;&amp;#039;&lt;br /&gt;
| 任天堂明星大乱斗&lt;br /&gt;
| Nintendo Stars Great Melee&lt;br /&gt;
| November 15, 2005&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1201105 12011]&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=1201901 12019]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Custom Robo]]&amp;#039;&amp;#039;&lt;br /&gt;
| 组合机器人&lt;br /&gt;
| Combination Robot&lt;br /&gt;
| May 1, 2006&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2105103 21051]&lt;br /&gt;
| N/A&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[Animal Crossing]]&amp;#039;&amp;#039;&lt;br /&gt;
| 动物森林&lt;br /&gt;
| Animal Forest&lt;br /&gt;
| June 1, 2006&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2104108 21041]&lt;br /&gt;
| N/A&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Cancelled Games (2) ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Title&lt;br /&gt;
! Chinese title&lt;br /&gt;
! Literal translation&lt;br /&gt;
! Planned release date&lt;br /&gt;
! Game CID&lt;br /&gt;
! Manual CID&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[The Legend of Zelda: Majora&amp;#039;s Mask]]&amp;#039;&amp;#039;&lt;br /&gt;
| 塞尔达传说-魔力面具-&lt;br /&gt;
| The Legend of Zelda: The Magical Mask&lt;br /&gt;
| 2004/2005?&lt;br /&gt;
| 21031 (not on CDS)&lt;br /&gt;
| N/A&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;[[The Legend of Zelda: Ocarina of Time (Traditional Chinese)]]&amp;#039;&amp;#039;&lt;br /&gt;
| 塞爾達傳說：時光之笛&lt;br /&gt;
| The Legend of Zelda: Ocarina of Time&lt;br /&gt;
| 2006&lt;br /&gt;
| [http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2106101 21061]&lt;br /&gt;
| N/A&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=SKSA&amp;diff=959</id>
		<title>SKSA</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=SKSA&amp;diff=959"/>
		<updated>2019-01-30T13:10:40Z</updated>

		<summary type="html">&lt;p&gt;Simon: Undo revision 954 by XiongWang99 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;SKSA&amp;#039;&amp;#039;&amp;#039; (Secure Kernel / System App) is the &amp;quot;Upgradable Operating System&amp;quot; of the iQue Player, the main software that runs on the device.&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
As the name implies it consists of two parts: a [[secure kernel]], and a [[system app]]. In later SKSAs the system-app area may also be divided into two sections: SA1 and SA2.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Secure Kernel&amp;#039;&amp;#039;&amp;#039;: the &amp;#039;boot1&amp;#039; of the iQue. Doesn&amp;#039;t ever seem to change between SKSA versions, so might be similar to the Wii boot1; the hash of it is checked against a stored hash in [[Virage2]].&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;System App 1&amp;#039;&amp;#039;&amp;#039;: Consists of a [[Ticket|ticket]], followed by the actual SA1 data. Most SA1s are just the [[iQue Menu]], though some seem to be [[Factory Tests|factory/graphics tests]]. SA1 seems to be responsible for handling USB comms too.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;System App 2&amp;#039;&amp;#039;&amp;#039;: Also has a ticket, followed by SA2 data. Unknown purpose, in SKSAs that have an SA2 the SA1 size is greatly reduced compared to single-SA SKSAs, presumably they moved some data from SA1 into this, but it seems like dual-SA SA1s can run without needing the corresponding SA2?&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
The format of the SKSA is simple: a 64KiB SK, followed by SA1 (ticket + data), optionally followed by SA2 (ticket + data):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Length&lt;br /&gt;
! Type&lt;br /&gt;
! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x10000&lt;br /&gt;
| encrypted bytes&lt;br /&gt;
| Secure Kernel&lt;br /&gt;
|-&lt;br /&gt;
| 0x10000&lt;br /&gt;
| 0x4000&lt;br /&gt;
| ticket&lt;br /&gt;
| SA1 ticket&lt;br /&gt;
|-&lt;br /&gt;
| 0x14000&lt;br /&gt;
| (sa1ticket.ContentSize)&lt;br /&gt;
| encrypted bytes&lt;br /&gt;
| SA1 data&lt;br /&gt;
|-&lt;br /&gt;
| 0x14000 + sa1ticket.ContentSize&lt;br /&gt;
| 0x4000&lt;br /&gt;
| ticket&lt;br /&gt;
| SA2 ticket&lt;br /&gt;
|-&lt;br /&gt;
| 0x18000 + sa1ticket.ContentSize&lt;br /&gt;
| sa2ticket.ContentSize&lt;br /&gt;
| encrypted bytes&lt;br /&gt;
| SA2 data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NAND format ==&lt;br /&gt;
On NAND the format is slightly changed however: instead of storing the SA1 &amp;amp; SA2 data exactly as stored in the cached SKSA, the data is instead reversed in 0x4000 byte blocks (though tickets are unaffected). The NAND spare data is used to store pointers for these blocks, to allow for skipping any bad blocks in the SKSA area.&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/emoose/iQueTool/blob/master/iQueTool/Files/iQueNand.cs#L207 SetSKSAData in iQueTool] for an example on how the blocks are transformed, or see [https://github.com/emoose/iQueTool/blob/master/iQueTool/Files/iQueNand.cs#L506 GenerateSpareData] for how the SAData in the spare is set.&lt;br /&gt;
&lt;br /&gt;
The [[NAND#BBFS|BBFS]] FAT table also sets the SKSA blocks to 0xfffd (reserved), to ensure that no files will overwrite them.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
A spreadsheet of the different SKSAs that have been tested (whether it boots, what happens when it boots, etc) is available [https://docs.google.com/spreadsheets/d/13wb-jwPEJ9HV2-XUbaLr3VVkGXTrX2LEf6cGce7WdU8/edit?usp=sharing here].&lt;br /&gt;
&lt;br /&gt;
== [http://www.ique.com/products/Player_upgrade.htm Official update log] ==&lt;br /&gt;
===Jan 2004 update===&lt;br /&gt;
&lt;br /&gt;
Added Settings(管理) menu and &amp;quot;i-Timer&amp;quot; Smart Clock, allowing parents to set time limit on gaming and allowing games to use real-world time.&lt;br /&gt;
&lt;br /&gt;
===Sept 2004 update===&lt;br /&gt;
&lt;br /&gt;
Added [[iQue@Home]] support to the console.&lt;br /&gt;
&lt;br /&gt;
This update is most likely corresponds to the SKSA version 1092 as it is the first version to have [[iQue@Home]] USB support.&lt;br /&gt;
&lt;br /&gt;
[[Category:File_formats]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=IQue_Card&amp;diff=958</id>
		<title>IQue Card</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=IQue_Card&amp;diff=958"/>
		<updated>2019-01-30T13:10:31Z</updated>

		<summary type="html">&lt;p&gt;Simon: Undo revision 953 by XiongWang99 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:iQue Card}}&lt;br /&gt;
[[File:IQue_card_disassembled.jpg|thumb|A disassembled &amp;#039;&amp;#039;&amp;#039;iQue Card&amp;#039;&amp;#039;&amp;#039;.]]&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;iQue Card&amp;#039;&amp;#039;&amp;#039; (Chinese: 神游卡) is a removable memory card of the [[iQue Player]], used to store [[games]] and the [[SKSA|&amp;quot;Upgradeable Operating System&amp;quot;]]. It is located on the bottom of every unit.&lt;br /&gt;
&lt;br /&gt;
The iQue Card is housed in a plastic shell, which contains a Samsung K9F1208U0M-YCB0 NAND chip on a special PCB codenamed &amp;quot;DOOKIE&amp;quot;. The contents of the NAND are documented on the [[NAND]] page.&lt;br /&gt;
&lt;br /&gt;
Datasheet: [http://www.reinerziegler.de/ique/ds_k9f1208u0m.pdf]&lt;br /&gt;
&lt;br /&gt;
== DOOKIE ==&lt;br /&gt;
The DOOKIE board is very basic, and it contains the NAND flash, a few resistors, and an edge connector to connect with an [[iQue Player]]. The connector has a 1.1mm pitch and seems to be custom made. No other commonly-available connector appears to fit in it except the MicroSD.&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=Category:Hardware&amp;diff=957</id>
		<title>Category:Hardware</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=Category:Hardware&amp;diff=957"/>
		<updated>2019-01-30T13:10:24Z</updated>

		<summary type="html">&lt;p&gt;Simon: Undo revision 952 by XiongWang99 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Various pieces of hardware were released for the [[iQue Player]], such as the player itself &amp;amp; the SWIM attachment (allowing for extra controllers to be connected to a single unit). Privately, devices like the [[iQue Depot]] were given (rented?) to certain stores, allowing users to buy and download games to their [[iQue Card]].&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=Animal_Crossing&amp;diff=956</id>
		<title>Animal Crossing</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=Animal_Crossing&amp;diff=956"/>
		<updated>2019-01-30T13:10:05Z</updated>

		<summary type="html">&lt;p&gt;Simon: Undo revision 951 by XiongWang99 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Animal Crossing}} [[File:2104108_thumb.png]]&lt;br /&gt;
&lt;br /&gt;
{{Infobox&lt;br /&gt;
|title= Animal Crossing&lt;br /&gt;
|image=[[File:21041_E.jpg]]&lt;br /&gt;
|titleCN= 动物森林&lt;br /&gt;
|ISBN=7-900427-30-9&amp;lt;br&amp;gt;025-2005-009&amp;lt;br&amp;gt;[2006]080号&lt;br /&gt;
|CID=21041&lt;br /&gt;
|developer=Nintendo&lt;br /&gt;
|publisher=Nintendo&lt;br /&gt;
|released=June 1, 2006&lt;br /&gt;
|genre=RPG&lt;br /&gt;
|modes=Single player&lt;br /&gt;
|GameVer=[http://web.archive.org/cds.idc.ique.com:16963/cds/download?content_id=2104108 2104108]&lt;br /&gt;
|ManualVer=N/A&lt;br /&gt;
|GameSize= 62 Blocks, 16,138,240 Bytes (15.3 MiB)&lt;br /&gt;
|ManualSize=N/A&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Animal Crossing&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (Chinese name: 动物森林, literally &amp;quot;Animal Forest&amp;quot;) was released on the [[iQue Player]] on June 1, 2006.&lt;br /&gt;
&lt;br /&gt;
It was the last [[iQue Player]] game ever released.&lt;br /&gt;
&lt;br /&gt;
== iQue@Home description==&lt;br /&gt;
&lt;br /&gt;
=== Newer version ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Chinese:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
悠闲的积累财富，还是享受社交的乐趣？在这个小村庄里，一切由你主演！&lt;br /&gt;
&lt;br /&gt;
创造性的真实时间制，中国特色的传统节日，以及各种有趣的突发事件，使这个虚拟的世界充满了不可思议的真实，这就是动物森林：一人一世界！&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;English translation:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Accumulate wealth at leisure, or enjoy the fun of socializing? In this small village, you are the main character!&lt;br /&gt;
&lt;br /&gt;
Creative real-time system, traditional Chinese festivals, and all kinds of interesting unexpected events made this virtual world unbelievably real. This is Animal Crossing: An entire world for a person!&lt;br /&gt;
&lt;br /&gt;
==Trivia==&lt;br /&gt;
&lt;br /&gt;
* The game features in-depth Chinese localization, providing features including Chinese input and traditional Chinese festivals like the Mid-Autumn Festival.&lt;br /&gt;
&lt;br /&gt;
* Like [[Custom Robo]], the last two games released on the [[iQue Player]] do not have on-console manuals, nor do they appear on the older iQue@Home site.&lt;br /&gt;
&lt;br /&gt;
* This is the only iQue Player title to officially use [[iQue Card]] hotswapping. To accept a visitor from another [[iQue Player]], the host&amp;#039;s card must be removed to read [[Memory Area]] data from the visitor card, and then continue the game using the host&amp;#039;s OWN iQue Card.&lt;br /&gt;
&lt;br /&gt;
* Animal Forest is the only game with a non-zero &amp;#039;&amp;#039;allowed hardware&amp;#039;&amp;#039; value in its [[CMD]].&lt;br /&gt;
&lt;br /&gt;
== Gallery ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:21041_A.jpg|Manual boxart&lt;br /&gt;
File:21041_B.gif|Game title with boxart (lower resolution)&lt;br /&gt;
File:21041_C.gif|Game title with boxart (higher resolution)&lt;br /&gt;
File:21041_D.gif|Game title&lt;br /&gt;
File:21041_E.jpg|Poster&lt;br /&gt;
File:2104108_thumb.png|Game icon on console&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[https://archive.org/download/iQuePlayerManuals/14%20Animal%20Crossing.pdf Instruction Manual]&lt;br /&gt;
*[http://www.ique.com/games/21041.htm Official game site on iQue.com (in Chinese)]&lt;br /&gt;
*[http://web.archive.org/osc.idc.ique.com:16976/osc/public/htm?OscAction=purchase_title&amp;amp;playerID=undefined&amp;amp;titleID=21041&amp;amp;locale=zh_CN&amp;amp;OscSessId=%22%22 New iQue@Home shop page (in Chinese)]&lt;br /&gt;
*[https://nookipedia.com/wiki/Doubutsu_no_Mori_(game) Nookipedia article]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Animal_Crossing_(video_game) Wikipedia article]&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
	<entry>
		<id>http://www.iquebrew.org/index.php?title=CMD&amp;diff=948</id>
		<title>CMD</title>
		<link rel="alternate" type="text/html" href="http://www.iquebrew.org/index.php?title=CMD&amp;diff=948"/>
		<updated>2018-12-11T10:46:08Z</updated>

		<summary type="html">&lt;p&gt;Simon: Compression type incorrectly listed as gzip; its true type being DEFLATE&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;content metadata&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;CMD&amp;#039;&amp;#039;&amp;#039; is a file or structure used to store data about an iQue app, such as encryption keys, its access to secure kernel calls, and its access to various hardware. It is used on its own in [[SKSA]] (where SA1 and SA2 both have their own attached CMD) and also contained as part of every [[ticket]]. &lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
A CMD consists of two parts: &amp;#039;&amp;#039;&amp;#039;contentDesc&amp;#039;&amp;#039;&amp;#039;, an optional 0x2800-byte long structure containing information about a game such as its save type, title, and thumbnail image; and &amp;#039;&amp;#039;&amp;#039;BbContentMetaDataHead&amp;#039;&amp;#039;&amp;#039;. The former is not used in the content metadata for SAs.&lt;br /&gt;
&lt;br /&gt;
=== contentDesc ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Length&lt;br /&gt;
! Type&lt;br /&gt;
! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| EEPROM RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| EEPROM size (either 0x200 or 0x800)&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Flash RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Flash size (0x20000 if used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| SRAM RDRAM location (typically 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| SRAM size (0x8000 if used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x18&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 0 RDRAM location (could be 0x807C0000 or 0x807C0000, 0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 1 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 2 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak 3 RDRAM location (0 if unused)&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Controller Pak size (0x8000 when used)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osRomBase (always 0xB0000000?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x30&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osTvType (always 1? which is for NTSC)&lt;br /&gt;
|-&lt;br /&gt;
| 0x34&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Probably osMemSize (always 0x400000? for no expansion pak)&lt;br /&gt;
|-&lt;br /&gt;
| 0x38&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Unknown, possibly another libultra boot param&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| Unknown, possibly another libultra boot param&lt;br /&gt;
|-&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0x03&lt;br /&gt;
| chars&lt;br /&gt;
| &amp;quot;CAM&amp;quot;, unknown purpose&lt;br /&gt;
|-&lt;br /&gt;
| 0x43&lt;br /&gt;
| 0x01&lt;br /&gt;
| byte&lt;br /&gt;
| Number of &amp;quot;.u0x&amp;quot; files for this game?&lt;br /&gt;
|-&lt;br /&gt;
| 0x44&lt;br /&gt;
| 0x02&lt;br /&gt;
| uint16&lt;br /&gt;
| Thumb image length (can&amp;#039;t be more than 0x4000, decompressed size must be exactly 0x1880)&lt;br /&gt;
|-&lt;br /&gt;
| 0x46&lt;br /&gt;
| 0x02&lt;br /&gt;
| uint16&lt;br /&gt;
| Title image length (can&amp;#039;t be more than 0x10000, how exactly would that even fit?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48&lt;br /&gt;
| &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039;&lt;br /&gt;
| bytes&lt;br /&gt;
| DEFLATE-compressed thumb image RGBA5551 (56px * 56px)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 + &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;Title image length&amp;#039;&amp;#039;&lt;br /&gt;
| bytes&lt;br /&gt;
| DEFLATE-compressed title image RGBA5551 (184px * 24px)&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 + &amp;#039;&amp;#039;Thumb image length&amp;#039;&amp;#039; + &amp;#039;&amp;#039;Title image length&amp;#039;&amp;#039;&lt;br /&gt;
| 0x27B8 - image lengths&lt;br /&gt;
| chars&lt;br /&gt;
| Title name + ISBN&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BbContentMetaDataHead ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Length&lt;br /&gt;
! Type&lt;br /&gt;
! Description&lt;br /&gt;
! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x2800&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| unusedPadding&lt;br /&gt;
| padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x2804&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| caCrlVersion&lt;br /&gt;
| Certificate Authority(?) CRL version&lt;br /&gt;
|-&lt;br /&gt;
| 0x2808&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| cpCrlVersion&lt;br /&gt;
| Content Protection(?) CRL version&lt;br /&gt;
|-&lt;br /&gt;
| 0x280C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| size&lt;br /&gt;
| Size (in bytes) of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x2810&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| descFlags&lt;br /&gt;
| Seemingly unused/unchecked; bit 0 set if the associated app is SA  &lt;br /&gt;
|-&lt;br /&gt;
| 0x2814&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| commonCmdIv&lt;br /&gt;
| titlekey_iv; IV used to encrypt title key (with common key)                &lt;br /&gt;
|-&lt;br /&gt;
| 0x2824&lt;br /&gt;
| 0x14&lt;br /&gt;
| uint8[20]&lt;br /&gt;
| hash&lt;br /&gt;
| SHA-1 hash of the plaintext of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x2838&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| iv&lt;br /&gt;
| content_iv; IV used to encrypt content&lt;br /&gt;
|-&lt;br /&gt;
| 0x2848&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| execFlags&lt;br /&gt;
| Despite the name, only one use/flag is known: if bit 1 is set (the &amp;quot;recrypt flag&amp;quot;), the associated app will be re-encrypted on first launch&lt;br /&gt;
|-&lt;br /&gt;
| 0x284C&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| hwAccessRights&lt;br /&gt;
| bitfield, each bit enables access to some MMIO regs new to iQue Player:&lt;br /&gt;
* bits 0-7: new PI stuff              &lt;br /&gt;
* bit 0: PI buffer used for aes/NAND read output and PI DMA (1KB at PI_BASE+0x10000)    &lt;br /&gt;
* bit 1: NAND flash regs in PI        &lt;br /&gt;
* bit 2: memory mapper for old PI dma &lt;br /&gt;
* bit 3: hardware AES-engine in PI&lt;br /&gt;
* bit 4: new PI dma engine, DMAs  from/to PI buffer&lt;br /&gt;
* bit 5: new GPIO; power + LED&lt;br /&gt;
* bit 6: external IO bus stuff (debug?)&lt;br /&gt;
* bit 7: new PI error stuff&lt;br /&gt;
* bit 8: enables access to USB regs&lt;br /&gt;
* bit 9: enables access to internal ram used for SK stack  &lt;br /&gt;
(0x0000 for games except for Animal Forest which is 0x0033, 0x0013 for iQue Club, 0x01F7/0x01B3 for SA)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2850&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| secureKernelRights&lt;br /&gt;
| Which [[SKC|secure kernel calls]] the associated app can use, one bit per syscall: bit 0 allows SKC 0, etc.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2854&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| bbid&lt;br /&gt;
| If not zero, can only be run on the specified console (used for SAs, not games) &lt;br /&gt;
|-&lt;br /&gt;
| 0x2858&lt;br /&gt;
| 0x40&lt;br /&gt;
| uint8[64]&lt;br /&gt;
| issuer&lt;br /&gt;
| Certificate used to sign the cmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x2898&lt;br /&gt;
| 0x04&lt;br /&gt;
| uint32&lt;br /&gt;
| id&lt;br /&gt;
| Content ID of the associated app&lt;br /&gt;
|-&lt;br /&gt;
| 0x289C&lt;br /&gt;
| 0x10&lt;br /&gt;
| uint8[16]&lt;br /&gt;
| key&lt;br /&gt;
| The associated app&amp;#039;s title key. It is encrypted once with the common key. If the associated app is not an SA, then it is encrypted &amp;#039;&amp;#039;again&amp;#039;&amp;#039; with a key derived using the result of ECDH with the console&amp;#039;s private key in the Virage2 and the public key in the app&amp;#039;s ticket.&lt;br /&gt;
|-&lt;br /&gt;
| 0x28AC&lt;br /&gt;
| 0x100&lt;br /&gt;
| uint8[256]&lt;br /&gt;
| contentMetaDataSign&lt;br /&gt;
| RSA-2048 signature over all of the above, but before the title key is encrypted a second time.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:File formats]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>
	</entry>
</feed>