Asia81 / HackingToolkit9DS

HackingToolkit9DS, a (deprecated) 3DS RomHacking Tool
246 stars 64 forks source link

Cant extract bin files after CIA decompression #10

Open brunocar opened 7 years ago

brunocar commented 7 years ago

i cant seem to find a way to extract files from the BIN files generated by the CIA i extracted, keep in mind i never got the option of extracting code.bin like in the tutorial, hell, in the video it works as intended, but i cant make it work on the latest version

xephael commented 7 years ago

On the latest version you'll need to use an encrypted cia instead of a decrypted one, so try that. Recompiling cias is broken right now though

brunocar commented 7 years ago

oh ok, i have a 3DS file so thats cool, just wanted to make sure you knew the problem was there

xephael commented 7 years ago

I'm not the maker of this, but the issue you're having is probably because you're using a decrypted cia instead of an encrypted one which would work on V9 or below. So that part is working as intended I think.

brunocar commented 7 years ago

oh ok, that said, i of course intended to recompile it afterwards, how can i do so? using v9? also, can i recompile a decompiled 3DS file into a CIA?

xephael commented 7 years ago

V9 should work, and I've never tried to recompile a 3DS file into a CIA, so I'm not sure if that works. I'm fairly sure you can't go from a CIA to a 3DS file though

Asia81 commented 6 years ago

You can't (at least using only my tool) go from .3ds to .cia or .cia to .3ds. If you want go from .3ds to .cia, you need to extract a .3ds, do your edits, and rebuild as a .3ds. Then you can convert it to .cia using 3dsconv.

And for now, the CIA rebuild script is broken (but extraction should work fine), it will be fixed, but I'm busy to work on it at the moment (it will be fixed, but not right now). If you can't extract datas from .bin files, make sure the .3ds or .cia is encrypted, NOT decrypted, as V10+ use boot9 keys for extraction on PC, it need clean .3ds or .cia file as a base. If your base .3ds or .cia file is decrypted, you have to go back to V9 until I update to support both decrypted and encrypted in the same time in V12.