Hacking How to extract code.bin

coolmodder

Member
OP
Newcomer
Joined
Apr 3, 2024
Messages
12
Trophies
0
Age
24
XP
91
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,543
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
91
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
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
    +1
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +1
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
    BigOnYa @ BigOnYa: Oh yea, duh +1