Steps for making a code.bin if he is missing by extracting your own .cia -> to making code.elf for IDA Pro
Use update files and not the complete game if available.
1) Open GM9 -> [A:] for SYSNAND SD -> go in path of your app
2) Press A on .tmd file -> "TMD file options..." -> "Dump CXI/NDS file"
3) Press A on .tmd file -> "TMD file options..." -> "Extract .code"
4) Use this tool to extract your .cxi, and get "./DecryptedExHeader.bin"
5) Copy "<tid>.dec.code" in the same path
6) Rename "<tid>.dec.code" in -> "code.bin"
7) Download and execute this python script in the same path .
8) Get -> codecave.elf
Thanks to: @Ammako and @Ryccardo for their help!
Creators for all programs and scripts used, and @Zetta_D for found these
-------------------------------------------
Original:
Hello, I need help pls!
For explaining fast, I want to get code.elf of a 3ds game for open with IDA Pro.
So I use this tool for extract my .cia, and get "/ExHeader.bin" and "/ExtractedExeFS/code.bin"
The last step is executing this script python and I get -> code.elf .
We must do this methode on the update files for code.elf match with your game PkmnORAS 1.4.
So I launched GM9 and generated .cia file from update tmd file.
I use the tool for extract .cia, and... I found only "/ExHeader.bin" and the "/ExtractedExeFS/code.bin" is missing!
So when I get update.cia from internet, this file (and folder) are created, but with my updategm9.cia, the file (and folder) are missing! ;-;
I can get my updates from internet, but I prefere extract my owns updates.
So, do you know a solution/alternative and for what this appens please?
Thanks!
PS: 2 screenshots of my contents ar linked
Use update files and not the complete game if available.
1) Open GM9 -> [A:] for SYSNAND SD -> go in path of your app
2) Press A on .tmd file -> "TMD file options..." -> "Dump CXI/NDS file"
3) Press A on .tmd file -> "TMD file options..." -> "Extract .code"
4) Use this tool to extract your .cxi, and get "./DecryptedExHeader.bin"
5) Copy "<tid>.dec.code" in the same path
6) Rename "<tid>.dec.code" in -> "code.bin"
7) Download and execute this python script in the same path .
8) Get -> codecave.elf
Thanks to: @Ammako and @Ryccardo for their help!
Creators for all programs and scripts used, and @Zetta_D for found these
-------------------------------------------
Original:
Hello, I need help pls!
For explaining fast, I want to get code.elf of a 3ds game for open with IDA Pro.
So I use this tool for extract my .cia, and get "/ExHeader.bin" and "/ExtractedExeFS/code.bin"
The last step is executing this script python and I get -> code.elf .
We must do this methode on the update files for code.elf match with your game PkmnORAS 1.4.
So I launched GM9 and generated .cia file from update tmd file.
I use the tool for extract .cia, and... I found only "/ExHeader.bin" and the "/ExtractedExeFS/code.bin" is missing!
So when I get update.cia from internet, this file (and folder) are created, but with my updategm9.cia, the file (and folder) are missing! ;-;
I can get my updates from internet, but I prefere extract my owns updates.
So, do you know a solution/alternative and for what this appens please?
Thanks!
PS: 2 screenshots of my contents ar linked
Attachments
Last edited by Reshiban,