Homebrew cxitool -- convert 3dsx to cia directly

zoogie

playing around in the end of life
OP
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
What is this:
cxitool is a useful PC app that converts *.3dsx homebrew executables directly to cxi's, which are the building blocks of the CIAs that all you pirates know and love. This app was released a few months ago, but is was buried in a devkitpro repo so it has largely gone unnoticed. The author, fincs, has chosen not to publicize it for whatever reason, even though the source is public. I assume it will be a part of a devkipro update sometime in the future, but that seems like forever given there has not been an official update since January.

This can be very useful for instances where the 3dsx author has chosen not to provide a cia, and has the source code closed (or too difficult to compile). A lot of older 3dsx homebrew has suffered this fate and this app could be of great benefit to making them more accessible to a new audience.

Instructions:
Usage: cxitool [options] input.3dsx output.cxi
Options:
-n, --name=<value> Specifies the process name of the application
-c, --code=<value> Specifies the product code of the application
-t, --tid=<value> Specifies the title ID of the application
-s, --settings=<file> Specifies the settings file
-b, --banner=<file> Specifies the banner file to embed in the CXI
-v, --version Displays version information
-?, --help Displays this text


Example usage:
cxitool game.3dsx game.cia
makerom -f cia -o game.cia -target t -i game.cxi:0:0

Source:
https://github.com/devkitPro/3dstools/tree/cxi-stuff

Download notes:
I have attached a windows build for your convenience. It has been verified:

Filename | sha256

cxitool.exe | 08e2d0e8a853171d344b0c4feb0854c841fe197fb4f6dfcdde679917c15ae607
https://www.virustotal.com/en/file/...b4f6dfcdde679917c15ae607/analysis/1473556082/

cxitool.exe (2017-7-7) | aa6502c3adfc3e59605a791feb1921f8ecfecaa39b6275d968c899bea4425696
https://www.virustotal.com/en/file/...9b6275d968c899bea4425696/analysis/1499478503/

cxitool.exe (2022-6-24) | sha256 in link
https://www.virustotal.com/gui/file...78c8b99f488c04a89933061222861865f81329e95cbe/
 

Attachments

  • cxitool.zip
    370.4 KB · Views: 5,393
  • cxitool_2017-7-7.zip
    482.3 KB · Views: 158
  • cxitool_2022-6-24.zip
    2.5 MB · Views: 250
Last edited by zoogie,

zoogie

playing around in the end of life
OP
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
So has anyone been using this yet? It works well for me, but the occasional title doesn't convert if I add too many arguments. The default config I showed in the Example Usage seems to always work though.
 
  • Like
Reactions: PandaPandel

CrystalForce

I'm gonna "fix" that spaghetti.
Member
Joined
Feb 10, 2015
Messages
283
Trophies
0
XP
228
Country
United States
Umm, help? Trying to open this asks me for some DLL files, and putting them in the same location as the file and then opening it gives me this error:
The application was unable to start correctly (0xc000007b). Click OK to close the application.
 

zoogie

playing around in the end of life
OP
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
hey can you help with my issue?
I have no idea what dlls it's looking for. Maybe try compiling it yourself. That's what I'd recommend anyway with instead of trusting exe's from some stranger :P

not that im out to hurt anybody but still
 

zoogie

playing around in the end of life
OP
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
At first I thought this is used for converting official games to cia, but then I quickly figured out that this is only for the developers.
It clearly says in the title, 3dsx to cia, lol. It's even repeated in the first sentence.

Now, this begs the question: if converting 3dsx to cia is possible, shouldn't the reverse be possible? If it is, you have to wonder if CTR-SDK apps could be converted to 3dsx. There would be a lot of issues to work around, sure, but it's something to think about.
 
Last edited by zoogie,

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
It clearly says in the title, 3dsx to cia, lol. It's even repeated in the first sentence.

Now, this begs the question: if converting 3dsx to cia is possible, shouldn't the reverse be possible? If it is, you have to wonder if CTR-SDK apps could be converted to 3dsx. There would be a lot of issues to work around, sure, but it's something to think about.
it's not that easy, especially because of romfs, memory mapping and stuff
 

HeyItsJono

Breath of Fresh Heir
Member
Joined
Mar 26, 2011
Messages
213
Trophies
1
XP
285
Country
Umm, help? Trying to open this asks me for some DLL files, and putting them in the same location as the file and then opening it gives me this error:
The application was unable to start correctly (0xc000007b). Click OK to close the application.
Exact same issue here.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • NinStar @ NinStar:
    nes remix 1 had the bad one, nes remix 2 had the good one
  • SylverReZ @ SylverReZ:
    @genistopitauniverfrocrami, What drugs is this dude on?
    +1
  • NinStar @ NinStar:
    CRAZY HAMBURGER
  • The Real Jdbye @ The Real Jdbye:
    @NinStar both nes remix 1 and 2 had some stinkers in there
    +1
  • The Real Jdbye @ The Real Jdbye:
    but at least 2 doesn't have sports games
  • The Real Jdbye @ The Real Jdbye:
    loved nes remix, but hated having to play Baseball, Tennis and Golf in order to progress
    +1
  • The Real Jdbye @ The Real Jdbye:
    or fucking Clu Clu Land for that matter
  • Psionic Roshambo @ Psionic Roshambo:
    Not a big fan of NES kid Icarus either... I know it was popular but I didn't care for it.
  • Psionic Roshambo @ Psionic Roshambo:
    Yesterday I learned my BD Burner drive can burn CD's at 56X lol
  • cearp @ cearp:
    What stuff were you burning?
    I used to burn tons of dvds (data files) many years ago, but haven't burnt a disk in ages.
  • Psionic Roshambo @ Psionic Roshambo:
    My car actually reads MP3 CD's lol
  • Psionic Roshambo @ Psionic Roshambo:
    So mix CDs for myselt :)
  • Psionic Roshambo @ Psionic Roshambo:
    Pantera, Metallica, Hollywood Undead, Five Finger Death Punch, some others lol
  • Psionic Roshambo @ Psionic Roshambo:
    I can put like 90 songs on a CD lol
  • The Real Jdbye @ The Real Jdbye:
    if only it could read dvds then you would just need 1 disc
    +1
  • BakerMan @ BakerMan:
    i tell ya what, i could go for a fuckin gyro right about now
    +1
  • cearp @ cearp:
    I hope your brother is doing ok Mr BakerMan
    +1
  • cearp @ cearp:
    and Psi - I had a cd player / radio that played mp3 cds once, very cool
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    BakerMan yeah me too.... maybe that's gonna be dinner for me there is this place near me I have been dying to try and they have them lol
  • K3Nv2 @ K3Nv2:
    I miss usb mp3 players they were shit but at the time a go to
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I thought about that and I have blank DVD's and Blurays but honestly after like 90 songs I just listen to it a couple of hundred times toss it out and burn something else or have like 2-3 CD's. Florida here the heat in the car tends to ruin the CD's after like a few months even commercial pressed ones don't last too long.
  • The Real Jdbye @ The Real Jdbye:
    my music collection is just too big, i require variety
    The Real Jdbye @ The Real Jdbye: my music collection is just too big, i require variety