ROM Hack [Tutorial] How to Decrypt, Extract & Rebuild 3DS|CIA|CXI Files

  • Thread starter Asia81
  • Start date
  • Views 1,431,215
  • Replies 1,736
  • Likes 96

How is my english?

  • So bad...

    Votes: 67 7.3%
  • Good, sometimes it's not understandable

    Votes: 139 15.2%
  • Very understandable

    Votes: 550 60.1%
  • Perfect?

    Votes: 159 17.4%

  • Total voters
    915

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
So I've been messing around with different ways to convert from .3ds to .bin and have given HackingTools a try. I used ctrtools before to extract a romfs.bin and it worked just fine, however since that system doesn't seem to convert back to .3ds I'm experimenting with this too.

Here's the problem that I'm seeing.

HackingTools9DS converts from .3ds to .bin, no problem. But when I try to convert back to .3ds, the output file is called "<Filename>-Edited" and it's much smaller than the initial .3ds file that I converted from.

Is there a step that I'm missing here? I'm literally doing the bare minimum of inputs. Nothing has been edited within the .bin files themselves, all I'm doing is extracting and rebuilding (Using the D and R commands, respectively).

Screenshot below showing the exact layout of my HackingTools folder

-AwakeningOriginal.3ds is the .3ds file that I'm working from
-DecryptedRomFS.bin is the extracted .bin that I'm trying to rebuild. It's file size is identical to the roms.bin that ctrtools created from the same .3ds ROM.
-Awakening_Edited.3ds is the rebuilt ROM. Note the file-size difference. I also didn't instruct HackingTools to add the "_Edited" part to the filename, it did that by itself. Needless to say it doesn't run.

EDIT: Figured this one out myself. I was using the V12 release of HackingTools instead of V9, which is the one that is compatible with decrypted ROMs. Tried V9 and it worked like a charm.
 

Attachments

  • HackingTools problem.png
    HackingTools problem.png
    66.9 KB · Views: 866
Last edited by BigPigeon,
  • Like
Reactions: J-Bungle

Japones

New Member
Newbie
Joined
Feb 1, 2020
Messages
1
Trophies
0
Age
23
XP
42
Country
Brazil
Hi
I am trying to use this application to be able to apply my translation
I managed to extract without problems and completely translated the game
but when I tried to rebuild it didn't work
could someone help me please.
(PS: I'm Brazilian
Sorry for my bad English)
 
Last edited by Japones,

Deleted member 429758

Well-Known Member
Newcomer
Joined
Aug 7, 2017
Messages
71
Trophies
0
XP
203
nowhere indicates where the .cia should be to be detected by the program. Help!! I put the .cia in the same location of the .exe and it quickly says that was extracted but actually nothing happened.
EDIT: I guess the program has a limited character length. I did it with 10 now and worked like charm, but now I have problem rebuilding to a .cia. It showed up something klike "Makerom.exe - system error" "ucrtbased.dll was not found". Other error showed too something like VCR....dll . Help!!
 
Last edited by Deleted member 429758,

LUSI

New Member
Newbie
Joined
Feb 16, 2020
Messages
3
Trophies
0
Age
30
XP
44
Country
Portugal
hackingtoold3ds does not extract ultra moon succesfully. It extracts nothing while being happy that it extracted succesfully. How do i solve this? I've been trying to edit it with pk3ds for days now...

Yes it's a decrypted 3ds file, yes im using the right v9 version, yes it has a small name with no spaces, yes i run as administrator, yes i installed setupus beforehand. None of the fixes suggested work. Clap.
 

Hyoretsu

Itosugi Masahiro's Loyal Reader
Member
Joined
Jan 17, 2016
Messages
1,599
Trophies
0
XP
702
Country
Brazil
hackingtoold3ds does not extract ultra moon succesfully. It extracts nothing while being happy that it extracted succesfully. How do i solve this? I've been trying to edit it with pk3ds for days now...

Yes it's a decrypted 3ds file, yes im using the right v9 version, yes it has a small name with no spaces, yes i run as administrator, yes i installed setupus beforehand. None of the fixes suggested work. Clap.
Me trying to extract MapleStory rom to apply translation
 

LUSI

New Member
Newbie
Joined
Feb 16, 2020
Messages
3
Trophies
0
Age
30
XP
44
Country
Portugal
Me trying to extract MapleStory rom to apply translation

I've succesfully managed to extract and rebuild ULTRA MOON (which is something i haven't seen anyone be able to do yet since there are no tutorials or fixes for it anywhere and everyone just accepted it's impossible).

My rom of ultra moon is labelled as a .3ds file, but that's not what it really is. I noticed, by opening citra, that its true file type is NCCH, not 3ds or other more common types of rom. That might be the case with your MapleStory too. If it is, To Extract and rebuild NCCH files, hackingtools does not work. Search for a program called GabrieloRomTools, it can handle NCCH (this program is present in a thread in this very forum). Don't forget to use the NCCH sectiion of that program even if the rom is labelled as something else.
 

Theone5000

Well-Known Member
Member
Joined
Feb 22, 2009
Messages
167
Trophies
1
Location
Earth
XP
1,405
Country
Netherlands
Do you know which would be the correct entry for VS2017? I cannot find common tools within the new installer!
For those who (still) have problems with the makerom.exe missing/error ucrtbased.dll and VCRUNTIME140D.dll files rebuilding a .cia file with the V11 version
Solution: I downloaded both dll files (search on Google) and placed both DLL files into the C:\Program Files (x86)\HackingToolkit9DS folder.
Rebuilding a .cia was no problem anymore.

--------------------- MERGED ---------------------------

This might be a N00b question (but he, i'm learning)...

I have 2 .cia files 1) PokemonSun.cia & 2) PokemonSunupdate v1.2
Is it possible to extract and rebuild both into 1 .cia file so that the original PokemonSun.cia has v1.2
 
  • Like
Reactions: Merlini

Pokemonfan1756

Member
Newcomer
Joined
Apr 29, 2020
Messages
19
Trophies
0
Age
17
XP
96
Country
United States
Hi, when I try to repack the cia, the application literally slows down my computer a lot and then after a little while it freezes up. can you fix it?
 

BillG

New Member
Newbie
Joined
May 5, 2020
Messages
1
Trophies
0
Age
47
XP
42
Country
United States
@Asia81 Can you reupload the non-debug build of makerom.exe please? those damn dlls are a pain to install on w7 :gun:

Seriously how about this? The dll's needed all have multiple versions out there, many of which don't work, and also depend on which specific version of Windows you're using.
I've tried on 7, 8.1 and 10 and cannot find a combo that works on any of them. Either provide them with it, or at least put up a non debug build...
 

AlejandroVVV

New Member
Newbie
Joined
Sep 16, 2015
Messages
4
Trophies
0
Age
36
XP
54
Country
Argentina
Hi, guys!
Plz advise how to edit image.bin files?
I exported this rom, but i'm unable to view or edit images.
The Game is True Remembrance (Kioku no Kakera) for 3DS
 
Last edited by AlejandroVVV,

universales

Active Member
Newcomer
Joined
Apr 23, 2020
Messages
26
Trophies
0
Age
32
XP
181
Country
Spain
When trying to create any cia file, the program gives me an error "0xc000007b".
Seems to be a problem of windows 10 x64
Anyone else has happened?
Any solution?
 

wad11656

Well-Known Member
Member
Joined
Jun 18, 2011
Messages
126
Trophies
1
XP
1,002
Country
United States

Impossible_Igntiz

Well-Known Member
Member
Joined
Nov 16, 2018
Messages
421
Trophies
0
Location
Bonerville
XP
1,179
Country
United States
For those who (still) have problems with the makerom.exe missing/error ucrtbased.dll and VCRUNTIME140D.dll files rebuilding a .cia file with the V11 version
Solution: I downloaded both dll files (search on Google) and placed both DLL files into the C:\Program Files (x86)\HackingToolkit9DS folder.
Rebuilding a .cia was no problem anymore.

--------------------- MERGED ---------------------------

This might be a N00b question (but he, i'm learning)...

I have 2 .cia files 1) PokemonSun.cia & 2) PokemonSunupdate v1.2
Is it possible to extract and rebuild both into 1 .cia file so that the original PokemonSun.cia has v1.2
I'd never got HackingToolkit9DS when i used the Setup.exe that came with it. should i copy the folder over from my Desktop to the Program Files directory?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-