ROM Hack 3dsconv.py - script to easily convert 3DS ROMs to CIA

ongo_gablogian

Well-Known Member
Member
Joined
Mar 26, 2010
Messages
191
Trophies
1
XP
595
Country
United States
I'm not really sure why this is happening yet.
you're using 2.2, yes? what game is this? did you get makerom from Project_CTR on github?

Yes, Cubic Ninja, and yes.

Thanks again for helping out, I've been having a ton of weird python related problems recently.
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
might as well leave this here:

I released 3.0 recently. makerom is no longer required; everything is self-contained in the script, including all of the CIA rebuilding. :)

it should also work properly on lower-memory/32-bit computers. makerom was pretty bad with larger games and low RAM.

https://github.com/ihaveamac/3dsconv/releases/latest

@ongo_gablogian see if it works for you now?
 
  • Like
Reactions: klear
D

Deleted User

Guest
I just wanted to say thanks a bunch for making this tool; it has helped me out massively when I've wanted to quickly convert my projects from cci to cia in a flash! :D
Keep up the excellent work!
 
  • Like
Reactions: ihaveahax

ongo_gablogian

Well-Known Member
Member
Joined
Mar 26, 2010
Messages
191
Trophies
1
XP
595
Country
United States
might as well leave this here:

I released 3.0 recently. makerom is no longer required; everything is self-contained in the script, including all of the CIA rebuilding. :)

it should also work properly on lower-memory/32-bit computers. makerom was pretty bad with larger games and low RAM.

https://github.com/ihaveamac/3dsconv/releases/latest

@ongo_gablogian see if it works for you now?

Nice, I tested Cubic Ninja and Zero Time Dilemma, both worked perfectly.

Thank's so much for the update, seems like a lot of work went into it!
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
well I've released two things since 3.0, so here they are.

https://github.com/ihaveamac/3dsconv/releases/latest

3.1:
  • Show percentage for each partition
  • Other minor changes
3.2:
  • New: Zerokey crypto support without XORpads
    • PyCrypto is required. This can be installed with pip.
    • This does not decrypt the contents of the CIA. Custom firmwares today don't support zerokey, only Gateway and Nintendo developer tools/firmware at the moment. Decrypt the CIA with Decrypt9 before installing. Decryption might come later, depending if custom firmwares support zerokey anytime soon.
  • New: --ignorebadhash to ignore bad SHA-256 hash of the ExHeader (is this even that useful?)
  • Code cleanup and other things
 
  • Like
Reactions: Wolfvak

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
dunno if anyone really uses this still, but I decided to fix a few things I broke like 3 months ago and never noticed.

https://github.com/ihaveamac/3dsconv/releases/latest

3.21:
  • Fix encrypted CCIs improperly being detected as zerokey encrypted (#8, thanks @putnam)
  • Fix bad ncchinfo.bin generation (wrong block size)
oh, and Luma3DS 6.6+ supports zerokey-encrypted titles now (those messing with SDK stuff might like this). have fun!
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
this will be pretty useful again due to recent developments. enjoy!

https://github.com/ihaveamac/3dsconv/releases/latest

4.0:
A major new release, as sighax is now released and anyone can dump the ARM9 bootROM using boot9strap! 3dsconv 4.0 supports reading the bootROM for its encryption keys, allowing for complete offline decryption and conversion. See https://3ds.guide/updating-to-boot9strap on how to update your system to use sighax/boot9strap and how to dump the bootROM.
  • Rewrite for Python 3 - 2.x is no longer supported
  • Use pyaes instead of PyCrypto[dome]
  • bootROM keys support - see README for details on usage
  • XORpad support removed
  • Rewritten output messages
  • Other things I might have forgotten about
 

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,385
Trophies
1
Age
37
XP
3,893
Country
United States
Thanks for this !!
With the dumped bootrom, any .3ds file can now be converted on a PC in matter of seconds !
MGS 3 for example (a 4GB ROM which results in a 3.3GB CIA) only took like 30 seconds on my slow ass PC w/o a SSD ... got figure :)

This is definitly the go to tool now for converting 3ds ROMs !

A little GUI to input ROMs from multiple sources and batch converting them afterwards would be nice !

Thx for this @ihaveamac !!

P.S. there is little typo in your script: "Convert Nintedo 3DS CCI"
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
A little GUI to input ROMs from multiple sources and batch converting them afterwards would be nice !
you can already do that by dropping multiple roms on the exe, or adding more as arguments (or something like *.3ds) in a terminal.
 

easycrashing

Well-Known Member
Member
Joined
Nov 30, 2010
Messages
181
Trophies
1
XP
724
Country
United States
Last edited by easycrashing,

KomasterXX

Well-Known Member
Newcomer
Joined
Sep 30, 2016
Messages
67
Trophies
0
Age
30
XP
457
Country
Kenya
Hi, I was wondering if it is possible to re-convert gba virtual console roms from .cia files to .gba files, for instance, is it possible?
 
Last edited by KomasterXX,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1