ROM Hack [RELEASE] 3DS TO CIA by Katsu

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
2
XP
1,394
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,631
Trophies
3
Age
37
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
7,505
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
2
XP
1,394
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,631
Trophies
3
Age
37
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
7,505
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
33
Location
Kanto <- Hyrule -> Unova
Website
maxlempira.deviantart.com
XP
1,775
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
33
Location
Kanto <- Hyrule -> Unova
Website
maxlempira.deviantart.com
XP
1,775
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
2
XP
1,394
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,316
Trophies
2
Age
48
XP
3,485
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,631
Trophies
2
XP
3,989
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
  • BigOnYa @ BigOnYa:
    Yea that's just rumored but not sounding that impressive for a next gen upgrade. Of course Nintendo is very good at optimization of their games to play well, but for a $400+ 2025 console I expected a little better. Even a $299 2020 Xbox Series S has 4 tflops.
    +1
  • Anrei @ Anrei:
    I thought it was supposed to be on par with an xbox 1 in power, why is it running most things at 40fps lol
  • Anrei @ Anrei:
    in terms of power I thought it was a 2.0 compared to the switch man 40fps sounds whack is there poor optimisation or something?
  • BigOnYa @ BigOnYa:
    Just rumors/ leaks. We will find out in a few weeks. But yea prob way underpowered to save battery, for longer playtimes, like Switch 1 is.
    +2
  • Cranesbill @ Cranesbill:
    Ooo ooo switch 2 leaks are in :>
    +1
  • M @ Misaka_Mikoto_Fan:
    Could've used 50 FPS for the true PAL experience
  • Kirbydogs @ Kirbydogs:
    2 double parkers on opposite ends have created a traffic jam
  • Kirbydogs @ Kirbydogs:
    more specifically, people have been holding their horns non-stop for the past three minutes.
  • BigOnYa @ BigOnYa:
    OIP.uesE-DOazRhQs40fTwiJSwHaDT

    Put on your daisy dukes, and start a car wash
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Sell hot dogs
    +2
  • Xdqwerty @ Xdqwerty:
    I'd use lemuroid more often if games didnt look blurry even with the "sharp" filter on
  • Kirbydogs @ Kirbydogs:
    I honestly forgot GBAtemp has ads
  • Kirbydogs @ Kirbydogs:
    I wouldn't be surprised if the staff forgot too
  • Xdqwerty @ Xdqwerty:
    @Kirbydogs, most staff members are patrons so it's understandable
    +1
  • E @ evanft:
    Teraflops are not necessarily indicative of real world performance, especially when compared across different architectures. The Switch 2 will also be smaller/lighter than the Steam Deck so it's performance has to fit inside a much smaller thermal and power envelope. Using a 120hz VRR panel means 40 fps locks can be an option in handheld mode, which will be a noticeable upgrade over the current 30 fps standard on Switch 1. Games could also go uncapped and leverage VRR to keep things smooth.
    +2
  • Veho @ Veho:
    Call me a filthy casual but I really don't notice the difference between the last few generations of consoles, and pushing specs just for the sake of bragging rights is really pointless.
    +6
  • Psionic Roshambo @ Psionic Roshambo:
    With a bit of emulation upscale magic, I'm OK playing old games lol
    +2
  • MysticStarlight @ MysticStarlight:
    I still don't see the difference between PS4 and PS5 other than the loading times
    +1
  • BigOnYa @ BigOnYa:
    Yea I think the HDR and 60fps+ have been the biggest noticeable improvements, along with faster load times/ ssd hd.
  • SylverReZ @ SylverReZ:
    I can't tell the difference with what is 4K, it's all sharper details.
    +1
  • lwiz @ lwiz:
    Playing the devils advocate, o nstema deck I drop the FPS on most games to 30 due power conservation and tbh I see little to none difference to 60fps. I'd say the difference is in what one wants to believe
    +1
  • BigOnYa @ BigOnYa:
    I mostly play shooter games and after playing 120fps (on 120hz tv) most of the time, 60fps otherwise, its hard going back to 30fps, it feels like its in slow motion or screen stuttering.
  • False_Hope @ False_Hope:
    huh I can't tell the difference between 30 and 144 fps and I play with both '-'
    +1
    False_Hope @ False_Hope: huh I can't tell the difference between 30 and 144 fps and I play with both '-' +1