Hacking How to extract code.bin

coolmodder

Member
OP
Newcomer
Joined
Apr 3, 2024
Messages
7
Trophies
0
Age
24
XP
44
Country
United States
I have dumped a game from my 3ds and its bins, wondering how to decompress Code.bin (Extracted it from Exefs.bin with ctrtool), as the option
Code:
--Decompresscode
returns
Code:
[tc::cli::OptionParser ERROR] Option parameter was provided without an option.
Is there something I'm doing wrong?
 

tastymeatball

Well-Known Member
Member
Joined
Nov 30, 2016
Messages
277
Trophies
0
Age
38
XP
2,494
Country
Germany
You could also just use Godmode9. Go to the NCCH image options and select Extract .code. This should extract and decompress the code.bin and put it into the gm9 folder on the SD card
 

coolmodder

Member
OP
Newcomer
Joined
Apr 3, 2024
Messages
7
Trophies
0
Age
24
XP
44
Country
United States
You could also just use Godmode9. Go to the NCCH image options and select Extract .code. This should extract and decompress the code.bin and put it into the gm9 folder on the SD card
Thank you!
Post automatically merged:

Now my brain is on fire trying to debug patchrom's script to convert code.bin and exh.bin to an elf, none of the functions are working, and windows cmd can't take a file path with spaces... Is there a better way to do this?
 
Last edited by coolmodder,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=FgwfObY-WDQ