ROM Hack [Tutorial] How to Decrypt, Extract & Rebuild 3DS|CIA|CXI Files

  • Thread starter Asia81
  • Start date
  • Views 1,441,119
  • Replies 1,736
  • Likes 96

How is my english?

  • So bad...

    Votes: 67 7.3%
  • Good, sometimes it's not understandable

    Votes: 139 15.2%
  • Very understandable

    Votes: 551 60.1%
  • Perfect?

    Votes: 160 17.4%

  • Total voters
    917

IWantAHug

Well-Known Member
Newcomer
Joined
Mar 28, 2016
Messages
58
Trophies
0
Age
24
XP
841
Country
Canada
So yesterday, I used HackingToolkit9ds to extract a fire emblem fates cia that I wanted to mod, I rebuilt it with the V9 of the tool but when I try to install i, it fails and deletes my old game, is there a way to fix this?


edit1: I tried to reextract the cia file and it asks me if I want to decompress the code.bin file, I press yes and it extracts it as normal
 
Last edited by IWantAHug,

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,921
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,833
Country
United States
So, I've been attempting to extract the ui_character_db.bin from Smash 3DS, but HackingToolkit9DS will just not do it. It extracts the CIA fine, but when attempting to extract the .bin files, I get an empty ExtractedExeFS folder and nothing else. Help?
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,663
Trophies
3
Age
29
XP
3,544
Country
France
Extraction of SSB work fine here. Make sure your game is NOT decrypted...
1506466282-wfh.jpg
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,921
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,833
Country
United States
Extraction of SSB work fine here. Make sure your game is NOT decrypted...
1506466282-wfh.jpg
I have ensured that it is not decrypted, and it still doesn't work right. Could it be because I'm using a CIA?
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,663
Trophies
3
Age
29
XP
3,544
Country
France
And this is exactly what's the problem
You still can decrypt it and use V9 instead (it's a workaround for now).

By clean, I meant downloaded from nintendo's servers (with FunkyCIA2 or FunkeyCIA), or a .CIA converted from a .3DS using 3dsconv.
If I'm right, GodeMode9 dump the CIA already decrypted, what is not compatible with V10+, as it need a clean/encrypted .3DS or .CIA to work.

Ninja'd
 
  • Like
Reactions: Majickhat55

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,921
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,833
Country
United States
Pretty sure Godmode builds decrypted .CIAs. Just throw it in D9 and encrypt it real quick or use V9 of hackingtoolkit.
Well, fuck
I think I found a Smash dumping tutorial that'll solve all of my problems, though
I'll let you know how it goes
 

MPorras00

Member
Newcomer
Joined
Oct 2, 2017
Messages
6
Trophies
0
Age
37
XP
58
Country
Colombia
i'm decrypt but when i need to rebuild, if i hexedit the .bin (ncch0 or 1, exfs, header o decryptheader) for a new tittleid the tool don´t builds anythig; somebody can give me a clue ?
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
i was hoping to do it without copying big files back and forth to 3ds
As far as I know, most programs have been updated to decrypt with the dumped bootrom, but no one is concerned about encryption because the files come that way already most of the time. Did you download the game from some warez site? Because most of the time they're decrypted (cryptofixed) so they don't give people issues during installation.

You have to either dump the file yourself, or move it to the SD card and use a program to encrypt it. Though I haven't checked, but I think 3DStool has been updated to use the dumped bootroms. I don't know if it includes and encryption command though.
i'm decrypt but when i need to rebuild, if i hexedit the .bin (ncch0 or 1, exfs, header o decryptheader) for a new tittleid the tool don´t builds anythig; somebody can give me a clue ?
IIRC the title ID is present twice in the NCCH header and up to three times in the exheader used for CXIs, you have to change all instances for it to work. They are also displayed backwards in HxD as they are in little-endian. So instead of ABC (00ABC) you'll see something like CB 0A 00....
 
Last edited by Majickhat55,

MPorras00

Member
Newcomer
Joined
Oct 2, 2017
Messages
6
Trophies
0
Age
37
XP
58
Country
Colombia
IIRC the title ID is present twice in the NCCH header and up to three times in the exheader used for CXIs, you have to change all instances for it to work. They are also displayed backwards in HxD as they are in little-endian. So instead of ABC (00ABC) you'll see something like BC 0A 00....

Yes i did exactly that, but don´t work, in the last try i hexedited xxxxncch0.bin xxxxxncch1.bin & xxxxxxexheader.bin without change the ROM (the final porpouse a pokemon green spanish translation over pokemon blue Spanish), the final size increase and fbi give me NCCH (37) error

maybe i can work with a english cia but don't have manual (i want a fully cia) ant the trade system start to give me issues, thanks for help
 
  • Like
Reactions: Majickhat55

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
Yes i did exactly that, but don´t work, in the last try i hexedited xxxxncch0.bin xxxxxncch1.bin & xxxxxxexheader.bin without change the ROM (the final porpouse a pokemon green spanish translation over pokemon blue Spanish), the final size increase and fbi give me NCCH (37) error

maybe i can work with a english cia but don't have manual (i want a fully cia) ant the trade system start to give me issues, thanks for help
Hmm is it necessary to edit both of the NCCH headers (I imagine it is, I'm just thinking out loud Lol)? Try just editing one of them along with the exheader and see what happens.
 

MPorras00

Member
Newcomer
Joined
Oct 2, 2017
Messages
6
Trophies
0
Age
37
XP
58
Country
Colombia
Hmm is it necessary to edit both of the NCCH headers (I imagine it is, I'm just thinking out loud Lol)? Try just editing one of them along with the exheader and see what happens.

I have a USA "beta" that i've found in that ISO Site, when i change the ROM the only issue is that the trades don't work, and don't have manual, in the last option, any tutorial or solution to these 2 issues ?
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    No you asked for proof that your wife was finally leaving
    +1
  • BigOnYa @ BigOnYa:
    Nuh I had her chipped, I always know where she is.
  • K3Nv2 @ K3Nv2:
    I found where it was
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    If I could halucinAte this is what I imagine it would look like?
  • K3Nv2 @ K3Nv2:
    Featuring Taylor swift
    +1
  • BakerMan @ BakerMan:
    guys, pubg should've never blown up
  • BigOnYa @ BigOnYa:
    Wut do you mean? Pubg is alright, I play it with a few buddies online.
  • BakerMan @ BakerMan:
    the game itself is ok, but it's influence is the problem
  • K3Nv2 @ K3Nv2:
    Call of duty is a good Fortnite skin
  • BakerMan @ BakerMan:
    call of duty and fortnite, ex-fucking-actly
  • BakerMan @ BakerMan:
    without pubg popping off, fortnite wouldn't add battle royale, and call of duty wouldn't go even shittier than it did before because of blackout, warzone and dmz
  • Psionic Roshambo @ Psionic Roshambo:
    Make a porn based spoof of it, Pube G
  • BigOnYa @ BigOnYa:
    Just play My Pony online. Its better than Fortnight or COD.
  • Psionic Roshambo @ Psionic Roshambo:
    FPS porn games sound fun lol
    +1
  • K3Nv2 @ K3Nv2:
    Call of duty got close with that by using Nikkie Minaj
  • BigOnYa @ BigOnYa:
    -Bonus- Faceshot
  • K3Nv2 @ K3Nv2:
    5 killstreak call in the gangbang
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Still enjoying Bad Ass Babes lol
  • Psionic Roshambo @ Psionic Roshambo:
    Legit a super solid beat em up
  • Psionic Roshambo @ Psionic Roshambo:
    The special moves are hilarious
  • BigOnYa @ BigOnYa:
    Introducing the most anticipated 1p v 4p game of the year - COCC (Call of couch casting)
  • RetroNerdGamer @ RetroNerdGamer:
    isnt that just gal gun
  • K3Nv2 @ K3Nv2:
    Hoochie gun
    K3Nv2 @ K3Nv2: Hoochie gun