Hacking [Release] CIAKonPack - New CIA converter , make cia so easy

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,777
Country
Yeah github is being a pain in the butt atm and I'm having issues getting a release on there....don't know why but it's being a pain.

But anyway, here's the latest build.

I did xenoblade xorpads (all of them) in about 30 mintues earlier. :)
 

Attachments

  • Decrypt9.zip
    167.5 KB · Views: 337

full-hopeness

Well-Known Member
Newcomer
Joined
Apr 9, 2014
Messages
53
Trophies
0
Age
33
XP
66
Country
Armenia
complete any 3ds roms to the CIA conversion, amazing! but hope it can support new 3ds or higher o3ds system, more guys can enjoy:lol:
 

DarkMatterCore

I like turtles.
Developer
Joined
May 30, 2009
Messages
1,284
Trophies
0
Age
26
Location
Madrid, Spain
Website
github.com
XP
2,409
Country
Spain
  • About processing on Ninjhax, would Decrypt9 theoretically be capable of generating the XORpads? If the only thing needed is enabling batch processing (vs. processing only ncchinfo.bin), I could easily make the changes to ShadowTrances and my build.

There's no need to modify Decrypt9, as far as I could tell. "Batch processing" is entirely handled by the ncchinfo.bin file generated when running the convert.py script. Instead of containing info related to all the partitions from a single game, it only points to the exHeaders from each and every game stored in the "roms" folder.
 

Riku

Well-Known Member
Member
Joined
May 3, 2009
Messages
288
Trophies
0
XP
1,483
Country
United States
No, I don't think so.This tools I released will be more faster and convenient for you to create cia (multiple 3ds roms to cia files), it not the same which you can test by yourself,
No, they won't be faster, as long as you rely on makerom it be much much slower and consume a lot of ram. Not to mention extracting partitions with rom_tool takes time and space as well. That's also the reason why whole thing isn't x86-friendly.
 

Melon__Bread

~It's A Magik~
Member
Joined
Dec 9, 2013
Messages
831
Trophies
0
Age
29
XP
867
Country
United States
So I got this working on Linux (and I assume it will work on Windows as well) via Decrypt9 on my N3DS.

  1. Place these tools in the tools folder (if you are doing this on Windows, you can skip this step)
  2. Generate your xorpads like normal via Decrypt9 through ninjhax
  3. Take the exheader xorpad from the root of your SD card and place it in the xorpad folder
  4. rename the xorpad by removing ".Main' and making all of the letters to lower case in the titleid (i.e. 000400000015B200.Main.exheader.xorpad -> 000400000015b200.exheader.xorpad
  5. run 'convert.py' (make sure the .3DS of the game you are making into a .CIA is in the rom folder)
  6. press Enter
  7. Wait for the script to do its thing until you get a message about the .CIA being completed
Now this is not perfect nor the most desirable way to go about it, but for now it seems to be a okay band-aid solution


EDIT: I edited the 'ncchinfo_gen.py' that comes with Decrypt9 sot that it just gives you the exheader xorpad and nothing else. Plus I made it spit out the file name so that it does not need to be renamed after being put in the xorpad folder.
You can view the changed source here or download
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,785
Trophies
1
XP
3,843
Country
Germany
So I got this working on Linux (and I assume it will work on Windows as well) via Decrypt9 on my N3DS.
...
No, I don't think so.This tools I released will be more faster and convenient for you to create cia (multiple 3ds roms to cia files), it not the same which you can test by yourself,
Nice! Smasbros, you should update the package to accomodate for Ninjhax users. Also, please remove the slot0x25keyX.bin, otherwise the admins will remove the download. People have to get the slot0x25keyX.bin from somewhere else.

The question that is still unanswered is, what about about regionfree and FW spoofing (in that case, being able to run the CIA on a system below the 'required' FW)?
 

gamesquest1

Nabnut
Global Moderator
Joined
Sep 23, 2013
Messages
15,146
Trophies
2
XP
12,183
Nice! Smasbros, you should update the package to accomodate for Ninjhax users. Also, please remove the slot0x25keyX.bin, otherwise the admins will remove the download. People have to get the slot0x25keyX.bin from somewhere else.

The question that is still unanswered is, what about about regionfree and FW spoofing (in that case, being able to run the CIA on a system below the 'required' FW)?
the region free and FW spoofing requires you to decrypt the exefs too, but i guess that should be doable, as really its only the romfs partition that takes up the bulk of the time.
 
  • Like
Reactions: d0k3

smasbros

Well-Known Member
OP
Member
Joined
Nov 15, 2014
Messages
163
Trophies
0
Age
31
XP
183
Country
Nice! Smasbros, you should update the package to accomodate for Ninjhax users. Also, please remove the slot0x25keyX.bin, otherwise the admins will remove the download. People have to get the slot0x25keyX.bin from somewhere else.

Removed slot0x25keyX.bin in attached zip file and notify others to download it from other place, thanks for your kind notice~
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,785
Trophies
1
XP
3,843
Country
Germany
One more thing... if you don't want to adapt your package for Ninjhax (I understand, you're a O3DS user, correct?), I'd suggest you add a link from post #1 to this post, so Ninjhax users can just get the additionally needed stuff from there. I'lll try to stop nagging now :D.

Edit: Already broke my promise, but do you think that would be a possibility to add, too?
the region free and FW spoofing requires you to decrypt the exefs too, but i guess that should be doable, as really its only the romfs partition that takes up the bulk of the time.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,785
Trophies
1
XP
3,843
Country
Germany
the region free and FW spoofing requires you to decrypt the exefs too, but i guess that should be doable, as really its only the romfs partition that takes up the bulk of the time.

Maybe you could point me to some instructions how to do it? I know, sounds like a "to lazy to read" question, but it's difficult to find what you're searching for here, and a Google search didn't help.
 

gamesquest1

Nabnut
Global Moderator
Joined
Sep 23, 2013
Messages
15,146
Trophies
2
XP
12,183
Maybe you could point me to some instructions how to do it? I know, sounds like a "to lazy to read" question, but it's difficult to find what you're searching for here, and a Google search didn't help.
covers how the region code is set in the icon.bin from the exefs
http://3dbrew.org/wiki/Home_Menu#Region_Lockout
(or more specifically this http://3dbrew.org/wiki/SMDH#Region_Lockout)
and im not really sure about min FW spoofing never really looked into it...i will have a look around
 

Melon__Bread

~It's A Magik~
Member
Joined
Dec 9, 2013
Messages
831
Trophies
0
Age
29
XP
867
Country
United States
I kept my xorpads from the cia i created before, your tool didn't recognize them.

> 1 xorpad(s) need to be generated.

you need to remove '.Main' from the file name and change all of the letter characters in the titleid to lower case (i.e. 000400000015B200.Main.exheader.xorpad -> 000400000015b200.exheader.xorpad)
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,368
Country
United States
you need to remove '.Main' from the file name and change all of the letter characters in the titleid to lower case (i.e. 000400000015B200.Main.exheader.xorpad -> 000400000015b200.exheader.xorpad)

Oh lol, .cia was generated but no status, it simply closed the window and vanished.

ciakonpack needs some status messages.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,785
Trophies
1
XP
3,843
Country
Germany
General chit-chat
Help Users
    KennieDaMeanie @ KennieDaMeanie: 30 seconds later order when ready