This is a script I made that generates cia files from eshop stuff.
At the moment I think some people are converting eshop stuff to 3ds, and then back to cia... it's weird.
I think this is the cleanest solution...
It is painfully simple to use. I used it to build those 127 Japanese updates into cia. (It took about 4 minutes!)
It also works for games, applications... etc.
It does not work for DLC. (I can implement it, but I won't do it yet).
In the AutoCIA folder, place your 'title' folder (containing the stuff you want processed), in the 'Action' folder.
Place all the xorpads in the 'Xorpads' folder. (They should have names like this 'title.00040000.000a2700.content.00000000.app.xorpad' - it's vital they do)
Then, just 'cd' into AutoCIA and type ./AutoCIA.sh (make sure it is executable - chmod u+x it)
You will see lots of output.
Files will be XORd, versions and save sizes will be extracted from TMD files, the type of the CXI (app, manual.. etc) will be checked (using ctrtool), and the correct content specified in makerom.
(The content of the cxi needs to be checked because the application is not always the first numerical .app file...)
Then makerom builds all the CIAs to the OutputCIA folder (this is created if it does not exist).
You are then asked (y/n) if you want to clean up all the intermediate files, like .out files, little ugly text files I resorted to making to hold version data, and .rsf files.
It's not the most elegant solution, but it works for me perfectly
I hope someone can improve it, steal from it (as I have stolen from others), whatever.
I wanted to make an actual cross platform executable to do this, but I won't really have much more time at the moment.
If this is only useful to one other person, I'm still happy!
(The required (for this script) applications in the 'tools' folder are for osx, I compiled them and they work fine for me on yosemite)
LINK BE BACK SOON
let me know how you get on
woah i nearly forgot!! i have to thank riku and friendxsis for all their help with 3ds stuff!
and all the people who i borrowed source code off, like 3dstmd, ctrtool, etc thanks
At the moment I think some people are converting eshop stuff to 3ds, and then back to cia... it's weird.
I think this is the cleanest solution...
It is painfully simple to use. I used it to build those 127 Japanese updates into cia. (It took about 4 minutes!)
It also works for games, applications... etc.
It does not work for DLC. (I can implement it, but I won't do it yet).
In the AutoCIA folder, place your 'title' folder (containing the stuff you want processed), in the 'Action' folder.
Place all the xorpads in the 'Xorpads' folder. (They should have names like this 'title.00040000.000a2700.content.00000000.app.xorpad' - it's vital they do)
Then, just 'cd' into AutoCIA and type ./AutoCIA.sh (make sure it is executable - chmod u+x it)
You will see lots of output.
Files will be XORd, versions and save sizes will be extracted from TMD files, the type of the CXI (app, manual.. etc) will be checked (using ctrtool), and the correct content specified in makerom.
(The content of the cxi needs to be checked because the application is not always the first numerical .app file...)
Then makerom builds all the CIAs to the OutputCIA folder (this is created if it does not exist).
You are then asked (y/n) if you want to clean up all the intermediate files, like .out files, little ugly text files I resorted to making to hold version data, and .rsf files.
It's not the most elegant solution, but it works for me perfectly
I hope someone can improve it, steal from it (as I have stolen from others), whatever.
I wanted to make an actual cross platform executable to do this, but I won't really have much more time at the moment.
If this is only useful to one other person, I'm still happy!
(The required (for this script) applications in the 'tools' folder are for osx, I compiled them and they work fine for me on yosemite)
LINK BE BACK SOON
let me know how you get on
woah i nearly forgot!! i have to thank riku and friendxsis for all their help with 3ds stuff!
and all the people who i borrowed source code off, like 3dstmd, ctrtool, etc thanks