Homebrew cxitool -- convert 3dsx to cia directly

pintcat

Active Member
Newcomer
Joined
Apr 23, 2017
Messages
27
Trophies
0
Age
57
XP
189
Country
Gambia, The
Its not working for me... When i try to build it it says this.

[CIA ERROR] Content 0 Is Corrupt (res = -10)
[RESULT] Failed to build CIA
That means most likely that the access descriptor has an invalid signature. Add "-ignoresign" to the command line:
Code:
makerom -f cia -o game.cia -target t -i game.cxi:0:0 -ignoresign
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,760
Trophies
2
Age
48
Location
Japan
XP
3,656
Country
United States
Did anyone try to build this source on Linux? I did and all I got was 3dsxdump, 3dsxtool and smdhtool. No cxitool was compiled. Also I couldn't find any documentation - neither the source nor the tools themselves are carrying any useful information.

Edit: Never mind. When I cloned the source from the GIT link it actually downloaded the master branch. I had to manually download the zipped source to get the cxi related stuff (or simply add "--branch=cxi-stuff" to the GIT command line).
First, you should always make it a habit to “clone --recursive”. Next, a clone is a clone. If you want to build a branch other than master, you simply “git checkout <name_of_branch>“ before make.
 

Hidekiadam

Well-Known Member
Newcomer
Joined
Dec 10, 2007
Messages
73
Trophies
0
Location
York
Website
www.pokenet.co.uk
XP
62
Country
Hi

Any idea why when I convert a .3dsx to a .cia with this tool it only uses old 3ds features? (I notice a post above from someone losing access to the secondary shoulder buttons and the second stick but in my case the program runs much slower)

I'm attempting to convert the Atari 800 emulator and while it does work, I only get 60% emulation speed after conversion compared to 100% when run from the homebrew channel..

Thanks
 

AlterL

Active Member
Newcomer
Joined
Aug 12, 2019
Messages
40
Trophies
0
Age
27
XP
144
Country
Venezuela
Ill give this a go! Thanks :)

*EDIT*
It pulled the icon correctly but not the banner, what do i do?

Excuse my necropost but how did you manage to pull an icon using this? I've failed in every single attempt. Nevermind I managed to add the icons but now the cia I built says it's"New 3DS software" so I can't run it, any way to bypass this?
 
Last edited by AlterL,

turtle1

Member
Newcomer
Joined
Jun 19, 2022
Messages
23
Trophies
0
Age
24
Location
10001
XP
84
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.
same its aking for some random .dll files
 

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
yes... same this tool doesn't work
OP updated with a new build. This one comes with the needed .dlls. Works for me.
If it still doesn't work for you, then ¯\_(ツ)_/¯. It isn't even my project, I contributed 0 lines of code to it.
 

turtle1

Member
Newcomer
Joined
Jun 19, 2022
Messages
23
Trophies
0
Age
24
Location
10001
XP
84
Country
United States
OP updated with a new build. This one comes with the needed .dlls. Works for me.
If it still doesn't work for you, then ¯\_(ツ)_/¯. It isn't even my project, I contributed 0 lines of code to it.
still doesnt work i got the new one, also how do i use it
1656086668104.png
 
Last edited by turtle1,

Sypherone

Gaming Ninja
Member
GBAtemp Patron
Joined
Apr 28, 2019
Messages
1,655
Trophies
2
Age
44
XP
2,810
Country
Germany
I convert OpenLara.3dsx to cia flawless and the hole game runs with its addional files in the homebrew launcher folder.
But i added a banner with the cxi tool wich dont appear after the cia installation. The banner.png i used worked with 3dsx launcher loader. Or das it only support 3D Banner?
 
  • Like
Reactions: PandaPandel

NicNamSam

Member
Newcomer
Joined
Oct 27, 2019
Messages
13
Trophies
0
Age
28
XP
94
Country
United States
I convert OpenLara.3dsx to cia flawless and the hole game runs with its addional files in the homebrew launcher folder.
But i added a banner with the cxi tool wich dont appear after the cia installation. The banner.png i used worked with 3dsx launcher loader. Or das it only support 3D Banner?
I have the same exact problem. Also, it's not specified what file type is needed for the "banner file". Banner Maker doesn't work for me (it throws an error) and Banner Tool doesn't have a way to download it that I can find.
 
  • Like
Reactions: PandaPandel

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
the banner requires a png file and a wave file. it's called a bnr file. the icon on the home screen also can be converted from a png file. this is known as the icn of the game. both of these can be created with bannertool, so look for that. I haven't tried this particular app, but that's generally how banners and icons are created for a cia.
 
  • Like
Reactions: Sypherone

Sypherone

Gaming Ninja
Member
GBAtemp Patron
Joined
Apr 28, 2019
Messages
1,655
Trophies
2
Age
44
XP
2,810
Country
Germany
Also, it's not specified what file type is needed for the "banner file".
------- EDIT: Nevermind, iam mixing this with 3DSXlauncher. ------
There is sample folder with jingle-sound, banner and app-icon. Right klick on them, go into settings to see the details of the sample file. Best create them 1:1.
 
Last edited by Sypherone,
  • Like
Reactions: PandaPandel

NicNamSam

Member
Newcomer
Joined
Oct 27, 2019
Messages
13
Trophies
0
Age
28
XP
94
Country
United States
How do you make a .bnr file? I'm following this guide for banntertool, and no .bnr file is made, just a .bin. Can I rename the .bin to .bnr?
 

NicNamSam

Member
Newcomer
Joined
Oct 27, 2019
Messages
13
Trophies
0
Age
28
XP
94
Country
United States
So I've been trying to figure this out, but I cannot manage to change anything about an existing .3dsx (banner and icon) when converting it to a .cia. (Also, I was initially confused by the original post here which said "cxitool game.3dsx game.cia" instead of "game.cxi" and also this guide for makerom that uses .bin files for banner and icon files). Here's the workflow I used, feel free to find its flaws:

1) User 'bannertool.exe makesmdh' to make a smdh icon file.

2) Use 'bannertool.exe makebanner' to make a bnr banner file.
--I noticed that it would inform you when pointing to a smdh file or a bnr file if the file wasn't the right size, but it listed no limits for the sound file. When I made a custom VC inject for Sonic 3 Complete, I remember the requirements for the sound jingle being strict, but there is no information listed here. It even fully accepted a full length song I was testing.

3) Get the 3dsx file (I am using OpenLara for 3DS)

4) Use cxitool.exe to convert the 3dsx to a cxi
--Here is an opportunity to choose the banner file, but not an icon file. I noticed that if I skip choosing the banner file here and instead try to choose it with makerom.exe, the file size for the final cia doesn't reflect the added size of the bnr file, meaning it looks like makerom.exe doesn't even add the bnr information into the cia file.

5) Use makerom.exe to convert the cxi to cia
--Here you can choose the bnr file and the smdh file, but like I said before, if I do it now, it doesn't seem to actually add it to the final cia's file size.

6) Install the cia on the 3DS with FBI
--Here I can see that, no matter when I inserted the bnr file, neither the bnr file or the smdh file actually apply to the cia. It still has the default black and white Lara Croft icon from the 3dsx file, no banner, and no sound jingle.
 
  • Like
Reactions: PandaPandel

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: It's mostly the ones that are just pictures and no instructions at all