Talk:CIA: Difference between revisions

Elisherer (talk | contribs)
No edit summary
Ryccardo (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Old CIA Formats ==
=== 24/06/2010 - CTR_SDK: 0_10 ===
'''CIA Header'''
{| class="wikitable" border="1"
|-
!  START
!  SIZE
!  DESCRIPTION
|-
|  0x00
|  0x04
|  Archive Header Size (Usually = 0x2020 bytes)
|-
|  0x04
|  0x02
|  Type
|-
|  0x06
|  0x02
|  Version
|-
|  0x08   
|  0x04
|  Unused
|-
|  0x0C     
|  0x04
|  Unused
|-
|  0x10   
|  0x04
|  Zero Filled Data (usually 0x200 bytes in length)
|-
|  0x14   
|  0x04
|  Zero Filled Data (usually 0x200 bytes in length)
|-
|  0x18   
|  0x08
|  APP file size
|-
|  0x20
|  0x2000
|  Content Index
|}
The order of the sections in the CIA file:
* Header
* Zero Data*2
* APP file data
The APP data is cleartext. Only one executable supported.
=== 06/07/2010 - CTR_SDK: 0_10_2 ===
'''CIA Header'''
{| class="wikitable" border="1"
|-
!  START
!  SIZE
!  DESCRIPTION
|-
|  0x00
|  0x04
|  Archive Header Size (Usually = 0x2020 bytes)
|-
|  0x04
|  0x02
|  Type
|-
|  0x06
|  0x02
|  Version
|-
|  0x08   
|  0x04
|  Unused
|-
|  0x0C     
|  0x04
|  [[CommonETicket|Ticket]] size
|-
|  0x10   
|  0x04
|  [[TMD]] file size
|-
|  0x14   
|  0x04
|  Unused
|-
|  0x18   
|  0x08
|  APP file size
|-
|  0x20
|  0x2000
| Content Index
|}
The order of the sections in the CIA file:
* Header
* Ticket
* TMD
* APP file data
Very similar to the final CIA version(encryption, TMD, etc), except there is no embedded Certificate Chain.
== Discussion ==
Good work Lazymarek9614, Now 3dsexplorer on the svn is 0.73 (you can download it from the beta link) supports cia. --[[User:Elisherer|Elisherer]] 21:34, 10 November 2011 (CET)
Good work Lazymarek9614, Now 3dsexplorer on the svn is 0.73 (you can download it from the beta link) supports cia. --[[User:Elisherer|Elisherer]] 21:34, 10 November 2011 (CET)
:@Elisherer where is that beta link?--[[User:3dsguy|3dsguy]] 02:39, 11 November 2011 (CET)
:@Elisherer where is that beta link?--[[User:3dsguy|3dsguy]] 02:39, 11 November 2011 (CET)
Line 31: Line 141:
The link to [[User:Jl12|Jl12]]'s CIA example is broken (probably since the FBI took down MegaUpload). Could someone re-upload it somewhere else? Thanks! [[User:CHR15x94|CHR15x94]] 23:41, 2 February 2012 (CET)
The link to [[User:Jl12|Jl12]]'s CIA example is broken (probably since the FBI took down MegaUpload). Could someone re-upload it somewhere else? Thanks! [[User:CHR15x94|CHR15x94]] 23:41, 2 February 2012 (CET)
:Download it contents [http://sherer.co.il/3ds/cia/Sample%20Cia/ here]--[[User:Elisherer|Elisherer]] 00:11, 3 February 2012 (CET)
:Download it contents [http://sherer.co.il/3ds/cia/Sample%20Cia/ here]--[[User:Elisherer|Elisherer]] 00:11, 3 February 2012 (CET)
== Content Index? ==
What on earth is the "Content Index"? To me it sounds critical to understanding the contents chunk.--[[User:Henke37|Henke37]] ([[User talk:Henke37|talk]]) 17:39, 22 July 2016 (CEST)
:It's a number that identifies an NCCH to be installed by that CIA, equivalent to the [[NCSD#Overview|partition number]] of a CCI: indeed, 0=main, 1=manual, 2=remote app are used in exactly the same way. The number of mazimum possible partitions is however much higher in CIAs! --[[User:Ryccardo|Ryccardo]] ([[User talk:Ryccardo|talk]]) 18:19, 22 July 2016 (CEST)
Return to "CIA" page.