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,809
Trophies
2
Age
48
Location
Japan
XP
3,715
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,656
Trophies
2
Age
44
XP
2,840
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,180
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,656
Trophies
2
Age
44
XP
2,840
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.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1