Homebrew cxitool -- convert 3dsx to cia directly

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
I'm having this same issue. I want to convert the 3ds port of portal to a cia, if anyone has it/can convert could they share it with me please?
That's normal.

When you run an executable that uses the Windows command console it will terminate the console as soon as the program that you ran returns to the console. Command line based programs such as git use a set of options and parameters to determine the program's behavior each time it is run. Omitting any options or parameters typically triggers the help dialog which is printed once after which the program terminates and control is returned to the command line interpreter. If you want the command line interpreter to persist after the program has been run, the correct solution is to run the program from within an open command window rather than by double clicking on it. So, run cmd.exe first and work from there.
 
  • Like
Reactions: peteruk

xXTopaz

Member
Newcomer
Joined
Mar 5, 2017
Messages
7
Trophies
0
Age
29
XP
82
Country
That's normal.

When you run an executable that uses the Windows command console it will terminate the console as soon as the program that you ran returns to the console. Command line based programs such as git use a set of options and parameters to determine the program's behavior each time it is run. Omitting any options or parameters typically triggers the help dialog which is printed once after which the program terminates and control is returned to the command line interpreter. If you want the command line interpreter to persist after the program has been run, the correct solution is to run the program from within an open command window rather than by double clicking on it. So, run cmd.exe first and work from there.

I should have known that haha thank you!
 
  • Like
Reactions: PandaPandel

LennyMcLennington

Active Member
Newcomer
Joined
Feb 14, 2017
Messages
28
Trophies
0
Location
Dank Meme Kingdom
XP
91
Country
I wrote a script to automate this process. Useful for if you need to mass convert 3dsx files.
Heres the link.
When it gets converted, it loses the c-stick, ZL and ZR button functionality... Any idea why? (it might be nothing to do with your script idk but thanks anyway everything other than that did work)
 
  • Like
Reactions: lgnmcrules

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
When it gets converted, it loses the c-stick, ZL and ZR button functionality... Any idea why? (it might be nothing to do with your script idk but thanks anyway everything other than that did work)
Are you 100% sure the game you're playing makes use of those controls anyway? Most 3DS games have no mapping for those buttons regardless, newer ones may but most do not.
 

ureru

Member
Newcomer
Joined
Jul 21, 2014
Messages
19
Trophies
0
XP
130
Country
Netherlands
I guess there is no harm in asking so I'll just go ahead and ask.

I used cxitool and makerom to successfully convert ctr-httpwn into a cia file, and I installed it on my 11.2 n3ds. However, although I can run it, it gives this error and stops: "failed to load http sysmodule codebin: 0xd9004676"

Anyone know what I can do to make it work as a cia?

To be clear, whether or not I can make it work as a cia, I don't plan on updating unless if I have some actual reason to beyond temporarily being able to bypass update nags at the cost of probably never being able to use ctr-httpwn again (outside of restoring to a nand backup) which would have handled the update nags for me anyway. Converting it to a cia is merely a matter of convenience for me, because it cuts out the HBL step.
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,763
Trophies
2
Age
48
Location
Japan
XP
3,661
Country
United States
has anybody converted the HBL with this? Did it work (or not?) if, not... why the heck not? I don't see why in the land of a9lh and b9s, a payload is required to launch the HBL. I'm at work so I'm unable to test it myself. Need to remember this thread when I get home today...


EDIT: so I tried it and it doesn't do much. It freezes on the splash screen. So it says "Homebrew" in the middle of the top screen and on the bottom of the bottom screen.
 
Last edited by urherenow,

Kat.ph.to.so.sx/login

Well-Known Member
Newcomer
Joined
Jan 8, 2015
Messages
55
Trophies
0
XP
105
Country
United States
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.cxi
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/

useless tool that doesn't even work...............
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: good night