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:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
  • BigOnYa @ BigOnYa:
    Ice cream shop
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, mmmm ice cream
    +1
  • K3Nv2 @ K3Nv2:
    Uremums a dairy queen
    +2
  • BigOnYa @ BigOnYa:
    Mmmmm uremum
    +1
  • K3Nv2 @ K3Nv2:
    Always shooting that dairy out uremums tiddies
    +1
  • K3Nv2 @ K3Nv2:
    My thread front ten years ago got 10,000 views lol
  • DolphinCube @ DolphinCube:
    Sup peps? I rarely talk on here but is there a way to disable the ads that cover the chat a lil. Its annoying at times
    DolphinCube @ DolphinCube: Sup peps? I rarely talk on here but is there a way to disable the ads that cover the chat a lil...