ROM Hack "Best" Method for Creating CIA Files

gamecaptor

R.I.P. Densetsu. Legends never die!
OP
Member
Joined
Jan 22, 2004
Messages
759
Trophies
2
Location
Hyrule most of the time
XP
3,288
Country
United States
Considering the purpose of keeping a .cia file of a 3DS title Update or DLC for preservation and/or future use in say an emulator or on an actual (CFW) 3DS, what would you feel would be the best way to go about getting these.

Two methods I've considered.

1. 3DSeSTUFF v1.4.3
I realize this application is no longer supported but I like how it identifies if the title has/needs a seed (and seems to download it along with the file). Other apps might do this as well but it doesn't appear to be as obvious.

2. Create a .cia with GodMode9
As I have all of the updates already installed on my 3DS (and nearly all of the DLC), I could just create a .cia file from there.

I've done this with both of the described methods and there are slight differences. Below are the results (if there is any information that cannot be posted please let me know and I will edit accordingly):
File Size 204,399,616
Header size 0x00002020
Type 0000
Version 0000
Certificates offset: 0x2040
Certificates size: 0xa00
Ticket offset: 0x2a40nTicket size 0x350
TMD offset: 0x2dc0
TMD size: 0xb64
Meta offset: 0xc2ea940
Meta size: 0x3ac0
Content offset: 0x3940
Content size: 0xc2e7000
Warning, could not read common key.

Ticket content:
Signature Type: 04000100
Issuer: Root-CA00000003-XS0000000c
Signature:
000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0000f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................

Encrypted Titlekey: FB36010D07D152D9FCF68BAC9A64BDA6
Ticket ID: 0000000000000000
Ticket Version: 0
Title ID: 0004000E0017EA00
Common Key Index: 0
Content permission map:
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00

TMD header:
Signature type: RSA 2048 - SHA256
Issuer: Root-CA00000003-CP0000000b
Version: 1
CA CRL version: 0
Signer CRL version: 0
System version: 0000000000000000
Title id: 0004000E0017EA00
Title type: 00000040
Group id: 0000
Save Size: 00000000
Access rights: 00000000
Title version: 5.5.0 (v5200)
Content count: 0002
Boot content: 0000
Hash: 0E54E793330F01053ABE30D43C6F67E23021A9A299303EB155AE40FE50EF800F

TMD content info:
Content index: 0000
Command count: 0002
Unknown: 5ACECC56CCFFE90DFF7D037E8521C4C3210DE7C5828E8C1BECEF1D58E1E02AC9

TMD contents:
Content id: 00000005
Content index: 0000
Content type: 0000
Content size: 000000000c101000
Content hash: 5F6261738F8EBCDD88B4D5FBB7C996BBC9721919B646710845D3FCB7ABCDDC66

Content id: 00000001
Content index: 0001
Content type: 0000
Content size: 00000000001e6000
Content hash: AC9B86CC93316FDB8140BBC490F6A38FB023E828B3596F54E9154E1765C203F3

File Size 204,384,576
Header size 0x00002020
Type 0000
Version 0000
Certificates offset: 0x2040
Certificates size: 0xa00
Ticket offset: 0x2a40nTicket size 0x350
TMD offset: 0x2dc0
TMD size: 0xb64
Meta offset: 0xc2ea940
Meta size: 0x0
Content offset: 0x3940
Content size: 0xc2e7000
Warning, could not read common key.

Ticket content:
Signature Type: 04000100
Issuer: Root-CA00000003-XS0000000c
Signature:
000000: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000010: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000020: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000030: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000040: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000050: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000060: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000070: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000080: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
000090: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000a0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000b0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000c0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000d0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000e0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..
0000f0: d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 d1 5e a5 e0 .^...^...^...^..

Encrypted Titlekey: FB36010D07D152D9FCF68BAC9A64BDA6
Ticket ID: 0000000000000000
Ticket Version: 20500
Title ID: 0004000E0017EA00
Common Key Index: 0
Content permission map:
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00

TMD header:
Signature type: RSA 2048 - SHA256
Issuer: Root-CA00000003-CP0000000b
Version: 1
CA CRL version: 0
Signer CRL version: 0
System version: 0000000000000000
Title id: 0004000E0017EA00
Title type: 00000040
Group id: 0000
Save Size: 00000000
Access rights: 00000000
Title version: 5.5.0 (v5200)
Content count: 0002
Boot content: 0000
Hash: D59905A0B7FCAC24FA77737EA0563CF0C92A6BB7735C33020EA3AB6ECF4BE4AA

TMD content info:
Content index: 0000
Command count: 0002
Unknown: C08F6E8B8FC7FCDB264A4EFAE5480CA2EC64AA01E5076071B7A325FE8FBC5CAF

TMD contents:
Content id: 00000005
Content index: 0000
Content type: 0001 [encrypted]
Content size: 000000000c101000
Content hash: 54B177C27948C10E55A1F7BA5282C1EAB8506F40D580E6B7F426B1ACB4144AD4

Content id: 00000001
Content index: 0001
Content type: 0001 [encrypted]
Content size: 00000000001e6000
Content hash: DB3D7F2C8EC013EDA6CDAF7E482D5BED0D92FCF90E74A6BCF4060615E33020AA

I realize there are many other methods available and there probably isn't a definitive answer to this but I am hoping there is a "best practice" thought process that could help me out. While I am sure we are a few years out before the 3DS eShop closes, the day will come and I would like to be certain I have everything preserved in a useful manner.

Cheers.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1