ROM Hack [RELEASE] 3DS TO CIA by Katsu

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
3DS TO CIA 2.07 by Katsu

What is 3DS to CIA?

Its a tool designed to convert ROM dumps into installable CIA Files
with Features for Modifiers who want to Translate or edit Content.

3dstociag5r8s.jpg


Required:

A 3DS capeable to generate XORPADS for legit 3DS to CIA
Python 2.7
(Add Path to Windows Enviroments!)
Example: c:\windows\system32;c:\python27

How to use:

.3ds to cia:

1. Create your xorpads and put all files into 3ds to cia dir next to 'Make' batch
2. *Drag n drop .3ds / .3dz on 'Make' batch
3. Choose your Options and start

Decrypt selfmade cia: - no legit cia -

1. Drag and drop your cia on 'Make' batch

Extract decrypted .3ds: - no legit/rebuilded/regenerated 3ds -

1. Rename your .3ds to <filename_modified.3ds>
2. Drag and drop your .3ds on 'Make' batch

Quick rebuild from files inside folder:


folder3dsciau8sge.jpg


All files need to be inside the same Folder
(romfs.bin/banner.bin/code.bin/exheader.bin/icon.bin/logo.bin/.rsf***)

1. Edit your .rsf to work as .3ds NOT .cia!
2. Drag and drop your Folder on 'Make' batch

***As for rebuilding .3ds, a working file depends on your Skill to modify your .rsf

Mostly there is not much to change, make sure to change at least:

Title / CompanyCode / ProductCode / UniqueId / MediaSize
MediaType / CardDevice / ExtSaveDataId / SaveDataSize
and if needed: JumpId

You can take my "sample-rsf-reb.txt" and fill in the needed Details,
from exheader.txt / info.txt and "rom_tool -i <gamename.3ds>".

Features:

7.x Support
Region Free fix
Offers injecting original EXHEADER
Offers spoofing Firmware to 4.x
Offers using your own .rsf (no exinjector)
Download Play Support
Includes Manual when detected
Auto RSF - big thx @ Vappy
Decrypts manual created cia
Rebuild .3DS (Target -G)
Allows to de/re crypt romfs for editing purpose
Quick rebuild .3DS per Folder drag n drop
Quick rebuild .cia per Folder drag n drop (requires .3ds/.cci)
Supports decrypted .3ds from rxTools

GREEN - ALL OK / RED - SOMETHING WENT WRONG

Included in Package:

RomFS Builder - Thx @ SciresM
ExInjector - Thx @ piratesephiroth
3DSExplorer
Notepad++
ctrKeyGen
Launcher.dat
slot0x25KeyX (you need to insert the key - google it!)

What is new in 2.04?

Added Decrypt9 Bootstap Version for Ninjhax (new3DS .3dsx)
Added Option 8 "check .rsf for auto generation" (manual check before building cia if rsf fails)
Speedup when DLP and or Manual is included
Minor changes and Bugfixes

What is new in 2.05?

Fixed Bug for .rsf generation
Added libeay32.dll

What is new in 2.06?

Rebuilding from _modified.3ds / .cia got completly rewritten
Changed main Menu to allow more options
Rebuild .3ds will now includes original Exheader to keep compatibility to updates/dlc
Excract ROMFS is now aviable for all main functions
Added option to keep decrypted files
Original file is now in "original" folder after using 3ds_to_cia
Some cleanup from old code / minor bugfixes

What is new in 2.07?

Fixed a small bug to keep original
Speeded up cia repack

Download:

2.02 SO / ZS
2.05 SO / ZS
2.06 SO / ZS
2.07 SO / ZS

If you want to improofe my batch / add features or repost it,
feel free to do so, as long you share it to everyone ;)
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,402
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,745
Country
United States
Will this work with roms decrypted using rxTools? Unlike the xorpad method, the roms get decrypted directly with no xorpads, so the file I would feed this thing has no encryption and wouldn't need xorpads. The only issue is if the batch scripts in this can account for that.
 
  • Like
Reactions: Margen67

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Will this work with roms decrypted using rxTools? Unlike the xorpad method, the roms get decrypted directly with no xorpads, so the file I would feed this thing has no encryption and wouldn't need xorpads. The only issue is if the batch scripts in this can account for that.

I've updated my Batch to Support rxTools decrypted .3ds directly to rebuild either, .3ds or .cia.
 
  • Like
Reactions: Margen67

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,402
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,745
Country
United States
Misread it as CIA to 3DS... ah...
Still, this is nice

Doesn't make rom have a command to convert CIA to 3DS? Just use that. ("makerom -ciatocci nameofrom.cia" to be specific) Just use that if you want to convert CIAs to 3DS. May not work if the CIA is encrypted with production keys. Zero key stuff like CIAs converted from 3DS or repacked ones should allow you to convert to 3DS.

I've updated my Batch to Support rxTools decrypted .3ds directly to rebuild either, .3ds or .cia.

Just tried to use a decrypted 3DS game. Your batch file still stops at the missing xorpads error.

EDIT: Seems you might not have uploaded the new version for this yet....
 
  • Like
Reactions: Margen67

MAXLEMPIRA

Legends are Made from True Stories...
Member
Joined
Jun 24, 2012
Messages
1,039
Trophies
1
Age
32
Location
Kanto <- Hyrule -> Unova
Website
maxlempira.deviantart.com
XP
1,751
Country
Mexico
Hello, thanks for this usefull tool, I tried to convert MK7 and Sm4sh to cia, from my own dumps, I've dumped many times these roms, thinking the problem could be my dumps, but without any succes, I've converted PKMN XYORAS already and them have converted, installed and played perfect. When install MK7 and start, it stay in a 3DS Logo loop... and with Sm4sh the screen shut off and on, like normal, but then it stays there, in black screen, I have to do a hard-reset to shut down my 2DS, I left every option normal :/ any idea? Thanks!
 

MAXLEMPIRA

Legends are Made from True Stories...
Member
Joined
Jun 24, 2012
Messages
1,039
Trophies
1
Age
32
Location
Kanto <- Hyrule -> Unova
Website
maxlempira.deviantart.com
XP
1,751
Country
Mexico
hmm...can someone explain what is meant by "A 3DS capeable to generate XORPADS" ?

* thanks in advance *

also, just to get my facts straight, CIA stands for CTR Importable Archive ?

To generate those XORPads you need a 3DS with the launcher.dat(to generate XORPaads not the Gateway), slot0x25keyx.bin, and ncchinfo.bin(of the game) on the big SD card, this means you need a 3DS capable to run launcher.dat, just search which one work for you depending on you Firmware.
I think there is a way to create CIA without XORPads with rxTools-something, I haven't tried this.

someone have a guide to create RSF? I can't find :/
 
  • Like
Reactions: breaktemp

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
hmm...can someone explain what is meant by "A 3DS capeable to generate XORPADS" ?

This is for 3DS to CIA conversion with dumped .3ds for decryption. You can't do this without a 3DS between 4.1 - 9.2 with the given Tools.

someone have a guide to create RSF? I can't find :/

Simply take a look inside my sig. For rxTools decrypted .3ds, you can take my "sample-rsf-reb.txt"
and fill in the needed Details from created exheader.txt/info.txt and "rom_tool -i <gamename.3ds>".
 
  • Like
Reactions: MAXLEMPIRA

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,337
Country
United States
"A 3DS capeable to generate XORPADS for legit 3DS to CIA"

any way there will ever be a tool created that incorporates some citra source to make a 100% automated 100% pc based solution?
can xorpads be even be generated with citra?
 
  • Like
Reactions: Margen67
Joined
Sep 17, 2009
Messages
2,572
Trophies
2
XP
3,771
Country
United States
"A 3DS capeable to generate XORPADS for legit 3DS to CIA"

any way there will ever be a tool created that incorporates some citra source to make a 100% automated 100% pc based solution?
can xorpads be even be generated with citra?
Citra doesnt emulate the aes engine and probably never will.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended