Hacking How to make a working DLC.CIA from Xorpads?

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
Code:
makerom -f cia -o DLC.cia -major X -minor X -micro X -content 00000000.app.out:0:0 -content 00000007.app.out:1:7 -content 00000033.app:2:55 -content 00000065.app.out:3:101
This code responsed 2 errors:
1) [CIA Warning] Common Key could not be loaded, CIA will not be encrypted
2) [NCCH Error] Failed to load NCCH AES key

It still generates the CIA file. But after importing that CIA, DLC can't be recognized.

BTW, I'm not making Fantasy Life DLC, but making Taiko 3DS2 DLC.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
Code:
makerom -f cia -o DLC.cia -major X -minor X -micro X -content 00000000.app.out:0:0 -content 00000007.app.out:1:7 -content 00000033.app:2:55 -content 00000065.app.out:3:101
This code responsed 2 errors:
1) [CIA Warning] Common Key could not be loaded, CIA will not be encrypted
2) [NCCH Error] Failed to load NCCH AES key

It still generates the CIA file. But after importing that CIA, DLC can't be recognized.

BTW, I'm not making Fantasy Life DLC, but making Taiko 3DS2 DLC.

yeah, it happens for me always, the cia doesn't need to be encrytped and i guess the aes key seems not needed :) but if your dlc is not recongized... that sounds like a different problem, sorry
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
yeah, it happens for me always, the cia doesn't need to be encrytped and i guess the aes key seems not needed :) but if your dlc is not recongized... that sounds like a different problem, sorry
Tried more codes but same result - unable to be recognized after imported.
Tested failed (both makerom_x86 and make_cia)
Fire Emblem Awakening (JPN) - All DLCs except SpotPass
Taiko no Tatsujin Donchan no Jikuu Daibouken (JPN) - All DLCs
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
Tried more codes but same result - unable to be recognized after imported.
Tested failed (both makerom_x86 and make_cia)
Fire Emblem Awakening (JPN) - All DLCs except SpotPass
Taiko no Tatsujin Donchan no Jikuu Daibouken (JPN) - All DLCs

did any dlc you try work? the one dlc i made (fantasy life usa) did work... that's all i can say really... sorry
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
did any dlc you try work? the one dlc i made (fantasy life usa) did work... that's all i can say really... sorry
The FE:A (JPN) DLC dumper said that only a free content named SpotPass among his DLCs worked.
For my own dump, 3D Movies and patches are working. But they're not DLC.
 

OrangeFlavored

Well-Known Member
Newcomer
Joined
May 22, 2010
Messages
87
Trophies
0
XP
284
Country
United States
Code:
E:\Downloads\SMTIV DLC Test\Tools\Makerom>makerom -o SMTDLC.cia -dlc -major 0 -minor 0 -micro 0 -content decrypted_00000000.app:0:0 -content decrypted_00000001.app:1:1 -content decrypted_00000002.app:2:2 -content decrypted_00000004.app:3:4 -content decrypted_0000000b.app:4:11 -content decrypted_0000000d.app:5:13 -content decrypted_0000000e.app:6:14 -content decrypted_0000000f.app:7:15 -content decrypted_00000011.app:8:17
[SETTING ERROR] You cannot specify content while outputting CXI/CFA files

I doing something wrong here?
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
Code:
E:\Downloads\SMTIV DLC Test\Tools\Makerom>makerom -o SMTDLC.cia -dlc -major 0 -minor 0 -micro 0 -content decrypted_00000000.app:0:0 -content decrypted_00000001.app:1:1 -content decrypted_00000002.app:2:2 -content decrypted_00000004.app:3:4 -content decrypted_0000000b.app:4:11 -content decrypted_0000000d.app:5:13 -content decrypted_0000000e.app:6:14 -content decrypted_0000000f.app:7:15 -content decrypted_00000011.app:8:17
[SETTING ERROR] You cannot specify content while outputting CXI/CFA files

I doing something wrong here?
it looks like you forgot "-f cia -target p" in it, try it with that...
but even if you get it to build, keep in mind most dlc does not work anyway
 

OrangeFlavored

Well-Known Member
Newcomer
Joined
May 22, 2010
Messages
87
Trophies
0
XP
284
Country
United States
it looks like you forgot "-f cia -target p" in it, try it with that...
but even if you get it to build, keep in mind most dlc does not work anyway

Yeah, now I get [MAKEROM ERROR] Content 0 is corrupt so that means this DLC can't be installed with this method?
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
Code:
E:\Downloads\SMTIV DLC Test\Tools\Makerom>makerom -o SMTDLC.cia -dlc -major 0 -minor 0 -micro 0 -content decrypted_00000000.app:0:0 -content decrypted_00000001.app:1:1 -content decrypted_00000002.app:2:2 -content decrypted_00000004.app:3:4 -content decrypted_0000000b.app:4:11 -content decrypted_0000000d.app:5:13 -content decrypted_0000000e.app:6:14 -content decrypted_0000000f.app:7:15 -content decrypted_00000011.app:8:17
[SETTING ERROR] You cannot specify content while outputting CXI/CFA files

I doing something wrong here?

wait, why are you using :0, :1 ,:2, :3... etc, how do you know which one to set as 0, which one to set as 1?
or are you just doing them sequentially in numerical order? (because it is not that simple)
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
Chinese dumpers has succeeded dumping some FE:A (JPN) DLCs & Taiko DLCs.

The key problem is the INDEX - each DLC has a UNIQUE index!

So you should find out the correct index for packing.

For example:
Code:
_makerom -f cia -target p -o FE_DLC.CIA -major 0 -minor 0 -micro 0 -content 0000005d.app.out:0:93 -content 00000034.app.out:4:52 -content 00000036.app.out:6:54 -content 00000038.app.out:8:56 -content 00000039.app.out:9:57 -content 0000003b.app.out:11:59 -content 0000003c.app.out:12:60 -content 0000003f.app.out:15:63
You can see the indexes are not 0,1,2,3... but 0,4,6,8... .
That means 0,4,6,8... are those DLCs' unique indexes. You should find out and type the correct one to make the packaging CIA workable.

--------------------Edit--------------------

It seems that 0,4,6,8... is only working with packing FE:A DLC.
For Taiko 3DS2 DLC, it fails. The correct code is still 0,1,2,3...:
Code:
makerom -f cia -major 0 -minor 0 -micro 0 -content 0000000b.app.out:0:11 -content 00000001.app.out:1:1 -content 00000002.app.out:2:2 -content 0000000a.app.out:3:10 -content 0000000f.app.out:4:15 -o taiko2_dlc.cia
You still need to arrange the DLC app.out in order, though.
 
  • Like
Reactions: cearp

OrangeFlavored

Well-Known Member
Newcomer
Joined
May 22, 2010
Messages
87
Trophies
0
XP
284
Country
United States
wait, why are you using :0, :1 ,:2, :3... etc, how do you know which one to set as 0, which one to set as 1?
or are you just doing them sequentially in numerical order? (because it is not that simple)

I was. Where was I supposed to get the numbers from?
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
I was. Where was I supposed to get the numbers from?
they are supposed to be specific numbers, the cxi that contains the application is supposed to be 0, the game manual is supposed to be 1, the file sent using download play is number 2... etc
i think for dlc there are specific numbers that need to be used also, which is why we had a hard time getting dlc to work. i'm not sure how to find out those numbers but it's possible :) - MelonGx
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    At one point PC game pads where poorly supported, loading a game had setup, it was complicated. Now it's almost as easy as a console.
  • ColdBlitz @ ColdBlitz:
    nintendo needs to up their game soon
  • K3Nv2 @ K3Nv2:
    Yeah even bt support for Xbox one controllers are just as easy as pairing
    +1
  • ColdBlitz @ ColdBlitz:
    considering the steamdeck can emulate the switch (yikes) theres almost 0 reason to buy the switch apart from playing online and using cartridges
  • K3Nv2 @ K3Nv2:
    Xinput and 360 dongles were a driver nightmare
  • K3Nv2 @ K3Nv2:
    I remember having to manually put in drivers and what not
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah the 360 dongles sucked
  • Psionic Roshambo @ Psionic Roshambo:
    But the new Xbox pads? PIr it up and if a game supports it it just works
  • K3Nv2 @ K3Nv2:
    Most emulators even automatically detect them now
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's a good time to be alive lol
  • Psionic Roshambo @ Psionic Roshambo:
    Pi4 and Batocera works with them perfectly too
  • K3Nv2 @ K3Nv2:
    I'd like to see future tap to pair options like you hold it over a scanner and it just automatically pairs
  • K3Nv2 @ K3Nv2:
    No need for additional cords buttons or anything
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm yeah that is possible BT has an address like an IP
  • Psionic Roshambo @ Psionic Roshambo:
    Scan a QR code on your phone open a page with the controller and a QR code for the device, hit go and done
  • K3Nv2 @ K3Nv2:
    One less latency issue for radio frequency
  • K3Nv2 @ K3Nv2:
    Or even wifi pair opening just an app to sign is nice
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it could be hosted on the phone hmmm it's an idea Ken
  • K3Nv2 @ K3Nv2:
    But could be bad for people with lower speeds but how many mbs would it really need to detect a button press
  • Psionic Roshambo @ Psionic Roshambo:
    Nearly nothing
  • Psionic Roshambo @ Psionic Roshambo:
    Most of it BT used
  • BigOnYa @ BigOnYa:
    That's how I pair with uremum, I wave a $5 bill across her face, and instant link.
  • K3Nv2 @ K3Nv2:
    A priest travels to China holy covid
    K3Nv2 @ K3Nv2: A priest travels to China holy covid