Hacking How to extract code.bin

coolmodder

Member
OP
Newcomer
Joined
Apr 3, 2024
Messages
12
Trophies
0
Age
24
XP
94
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
279
Trophies
0
Age
38
XP
2,552
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
12
Trophies
0
Age
24
XP
94
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,

Radu13

Member
Newcomer
Joined
Aug 5, 2018
Messages
22
Trophies
0
Age
26
XP
86
Country
Italy
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?
Windows can take spaces, jsut use "" surrounding the name
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Okay then I could've been looking at wrong charts it happens
  • RedColoredStars @ RedColoredStars:
    2023 ps5 was outselling xbox by nearly 3:1
  • K3Nv2 @ K3Nv2:
    But still Xbox is doing well
  • K3Nv2 @ K3Nv2:
    Certainly not dying
  • RedColoredStars @ RedColoredStars:
    Sure, xbox has sold better in some months. But PS5 has annihilated the Xbox in total sales
  • RedColoredStars @ RedColoredStars:
    I have both so it doesnt really matter to me who sells more.
  • K3Nv2 @ K3Nv2:
    I predict with more titles coming to Gamepass people will buy more Xbox consoles if they don't already have one
  • K3Nv2 @ K3Nv2:
    They'll see hey cod is on Gamepass and go that route
    +1
  • BakerMan @ BakerMan:
    i mean, if my laptop will be good enough for it, then i might get gamepass to try bo6, not gonna put $70 into it until i know whether or not it's worth
  • BakerMan @ BakerMan:
    @SylverReZ 1. lmao 2. meta quests are the renamed oculus quests 3. "I hate Super Monkey Ball"
  • K3Nv2 @ K3Nv2:
    Nah just gamestream it if it's that bad
    +1
  • BigOnYa @ BigOnYa:
    Make sure you get Gamepass Ultimate version tho, that lets you cloud stream games
  • cearp @ cearp:
    Good morning
  • BigOnYa @ BigOnYa:
    Good morning
    +1
  • K3Nv2 @ K3Nv2:
    One good thing cod got right is transferring profiles through same accounts if coming from other devices
    +2
  • K3Nv2 @ K3Nv2:
    Gonna be playing jedi survivor
  • BigOnYa @ BigOnYa:
    That does look pretty good. I'm looking forward to Indy and Perfect Dark.
  • SylverReZ @ SylverReZ:
    @cearp, Morning
    +1
  • cearp @ cearp:
    @SylverReZ - trying to like your greeting but chat is being weird. I give up
    +1
  • K3Nv2 @ K3Nv2:
    How dare we live without like buttons
  • SylverReZ @ SylverReZ:
    @cearp, Yeah, chat earlier was going crazy.
  • K3Nv2 @ K3Nv2:
    Lol neighbor tried giving me a antenna only tv from 1996
    K3Nv2 @ K3Nv2: Lol neighbor tried giving me a antenna only tv from 1996