Hacking How to extract code.bin

coolmodder

Member
OP
Newcomer
Joined
Apr 3, 2024
Messages
9
Trophies
0
Age
24
XP
77
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
278
Trophies
0
Age
38
XP
2,516
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
9
Trophies
0
Age
24
XP
77
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
84
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
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
    Veho @ Veho: +1