Changes

Jump to navigation Jump to search
1,516 bytes added ,  17:49, 19 April 2013
no edit summary
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)
 +
|-
 +
|  0x14   
 +
|  0x04
 +
|  Zero Filled Data (usually = 0x200)
 +
|-
 +
|  0x18   
 +
|  0x08
 +
|  APP file size
 +
|-
 +
|  0x20
 +
|  0x01
 +
|  Magic? Must be = 0x80
 +
|-
 +
|  0x21
 +
|  0x1FFF
 +
|  Magic? Must be Zero Filled
 +
|}
 +
 +
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
 +
|  0x01
 +
|  Magic? Must be = 0x80
 +
|-
 +
|  0x21
 +
|  0x1FFF
 +
|  Magic? Must be Zero Filled
 +
|}
 +
 +
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)
839

edits

Navigation menu