ROM Hack How to extract a .cxi file?

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
It's me again! :) Could somebody please tell me how to extract a .cxi file so that I can get a rom? You'll probably tell me to download ctrtool, but when I downloaded the .exe and clicked on it, the window opened for a split-second and closed again. I heard about an issue that some people were having with ctrtool; there isn't a 32-bit version apparently, and I think that's why I'm having problems too. (But I could be wrong.) Is there not some alternative software that could work and do what I need it to do?
 
Last edited by MarineSong,

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
You dont open ctrtool.
it's a command line based application, you need to use arguments.
Oh. So I'm guessing all I need to do is just have the .exe on my computer and then I use the argument? I think I press SHIFT to do that, don't I? But there's also a code I need to input after I do that, in order to extract the .cxi file, I think. If that's true, which one do I use?
 

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
1st: What do you mean you want a rom? .cia or .3ds?
2nd: Where did you get the cxi from?
1. When I said I wanted a rom, I meant a ROMFS file. Sorry, I should have been clearer. :(
2. I used braindump on one of my games, and it put the resulting .cxi file onto my SD card. I was a bit confused at that, since I'd seen videos of people doing the same thing that I'd done, and they got ROMFS files dumped onto their SD cards instead of .cxi ones.

--------------------- MERGED ---------------------------

https://github.com/ihaveamac/3DS-rom-tools/wiki/Extract-a-game-or-application-in-.cxi,-.cfa-or-.ncch-format

encrypted must be decrypted elsewhere right now until ctrtool supports the encryption keys from boot9 or another tool to decrypt is put here.
Thanks for the link. :)
Edit: Is there anywhere else that I can decrypt the .cxi file?
 
Last edited by MarineSong,

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
Okay, I think I've figured out what I need to do. (I was helped by a reddit post.) I've put ctrtool.exe and the .cxi file into the same folder, then pressed SHIFT over it and right-clicked it, clicked on 'Open command window here'. I'm in the command window, and apparently I should put "ctrtool -p --exefs=exefs.bin --romfs=romfs.bin abcd.cxi" into it. I did that, pressed ENTER, and this came up:
error: could not open input file!

I'm pretty sure I followed everything on the reddit post. What am I doing wrong?
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
Okay, I think I've figured out what I need to do. (I was helped by a reddit post.) I've put ctrtool.exe and the .cxi file into the same folder, then pressed SHIFT over it and right-clicked it, clicked on 'Open command window here'. I'm in the command window, and apparently I should put "ctrtool -p --exefs=exefs.bin --romfs=romfs.bin abcd.cxi" into it. I did that, pressed ENTER, and this came up:
error: could not open input file!

I'm pretty sure I followed everything on the reddit post. What am I doing wrong?
The name of the .cxi you have and the name of the .cxi you mentioned in the command line do not match. Rename "abcd.cxi" in the command line to whatever your .cxi is named.
 

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
The name of the .cxi you have and the name of the .cxi you mentioned in the command line do not match. Rename "abcd.cxi" in the command line to whatever your .cxi is named.
Oh! Thanks. :)

--------------------- MERGED ---------------------------

@KunoichiZ YAAY! :D It worked! :D

Edit:
Well, very nearly. This came up:
Error, exheader hash mismatch. Wrong key?
 
Last edited by MarineSong,

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
At the moment, I'm currently trying to put my repacked ROMFS file into Hans so that I can play it. Everything has worked up to the point where I have put 'yes' to 'Romfs - SD'. When I did that, an 'INVALID' message came up. The guide that I was using told me the possible reasons for this:
-You didn't name your file properly.
- You didn't put the last 8 numbers of the game's title id.
- You didn't put your file in the "hans" folder, on the root of your SD card
As for the last one, I have put my file in the "hans" folder, but it's in the "titles" folder. The other two reasons are probably more likely. Here is a screenshot of my file so that you guys (who know what you are doing more than me) can see what the problem is.
23mn34.jpg
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
At the moment, I'm currently trying to put my repacked ROMFS file into Hans so that I can play it. Everything has worked up to the point where I have put 'yes' to 'Romfs - SD'. When I did that, an 'INVALID' message came up. The guide that I was using told me the possible reasons for this:

As for the last one, I have put my file in the "hans" folder, but it's in the "titles" folder. The other two reasons are probably more likely. Here is a screenshot of my file so that you guys (who know what you are doing more than me) can see what the problem is.
23mn34.jpg
Did you manage to install CFW successfully? If yes, then you should be using Luma's layeredFS features. What game are you trying to hack?
 

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
Did you manage to install CFW successfully? If yes, then you should be using Luma's layeredFS features. What game are you trying to hack?
I'm not using Luma, I'm using Homebrew. I'm trying to play the ROM in HANS. And I'm trying to hack Animal Crossing: Welcome Amiibo.
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
I'm not using Luma, I'm using Homebrew. I'm trying to play the ROM in HANS. And I'm trying to hack Animal Crossing: Welcome Amiibo.
HANS will not read game updates such as Welcome amiibo, unless you have the version that has the update bundled in. That is also not the right title ID for Welcome amiibo (0004000000198F00 is the correct ID for EU copies of the game), which is why the invalid message is appearing. If you haven't already updated to 11.4, you should really consider getting custom firmware via http://3ds.guide, as I'm sure people have already told you.
 

MarineSong

Active Member
OP
Newcomer
Joined
May 19, 2017
Messages
29
Trophies
0
Age
23
XP
94
Country
HANS will not read game updates such as Welcome amiibo, unless you have the version that has the update bundled in. That is also not the right title ID for Welcome amiibo (0004000000198F00 is the correct ID for EU copies of the game), which is why the invalid message is appearing. If you haven't already updated to 11.4, you should really consider getting custom firmware via http://3ds.guide, as I'm sure people have already told you.
Oh, OK. :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Purple_Heart @ Purple_Heart: it was strapped....but in my youth i had anger management probs lmao