Hacking Binary2CCode

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
I made this little utility to convert a binary file to a C buffer. This is only interesting for developers.
I think that devkitPro also has something like this but since I didn't find it, I just made this tool. After all, it has a nice GUI:

lm78dpoc.png


This is useful to merge binary files into the source code such as the codehandler.bin into the TCPGecko.elf so you don't need the .bin file laying around anymore.

This is how the outcome might look like:
nrvyyxh8.png


The last part of the header file:

gjrqx5ej.png
Like it? Download the application JAR and the source code here.
 
Last edited by BullyWiiPlaza,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,355
Trophies
4
Location
Space
XP
13,947
Country
Norway
I made this little utility to convert a binary file to a C buffer. This is only interesting for developers.
I think that devkitPro also has something like this but since I didn't find it, I just made this tool. After all, it has a nice GUI:

lm78dpoc.png


This is useful to merge binary files into the source code such as the codehandler.bin into the TCPGecko.elf so you don't need the .bin file laying around anymore.

This is how the outcome might look like:
nrvyyxh8.png


The last part of the header file:

gjrqx5ej.png
Like it? Download the application JAR and the source code here.
I just checked. The tool in devKitPro is called raw2c and it's in the devkitARM\bin folder.
This tool is nice for those who prefer a GUI, but being able to convert files programatically (like batch converting with a bat file or a custom makefile) is more convenient, at least to me.
Maybe add a batch convert feature?
 
  • Like
Reactions: BullyWiiPlaza

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
I just checked. The tool in devKitPro is called raw2c and it's in the devkitARM\bin folder.
This tool is nice for those who prefer a GUI, but being able to convert files programatically (like batch converting with a bat file or a custom makefile) is more convenient, at least to me.
Maybe add a batch convert feature?
Yeah, I will add that :P
 

DonnieV

Active Member
Newcomer
Joined
May 2, 2017
Messages
29
Trophies
0
Age
28
XP
79
Country
United States
Nice work. I was wondering why the "Press X for codehandler" was missing in the latest jGeckoU lol
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty
    what are you looking at?
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • RedColoredStars @ RedColoredStars:
    Carotenemia causes skin to appear orange-ish in color. Orange Pi. Carotenemia Pussy. Get it. lolol
    +1
  • AncientBoi @ AncientBoi:
    :O i3? o........................................k
  • AncientBoi @ AncientBoi:
    Both of mine are i5's lol
  • AncientBoi @ AncientBoi:
    All right! Who stole my right sock? :angry:
  • RedColoredStars @ RedColoredStars:
    At least someone other than myself thought it was funny :rofl:
    +2
  • BakerMan @ BakerMan:
    DNDBD (DND×DBD) IS A REAL THING
  • Xdqwerty @ Xdqwerty:
    I didnt have school today
  • Xdqwerty @ Xdqwerty:
    Cuz it's some kind of holiday related to the town I live in
  • Xdqwerty @ Xdqwerty:
    Am I [R WORD]?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, People who create revival services for the Wii end up in disaster, same goes for Pretendo lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast wiimmfii went fine although people only use it for Mario kart Wii
  • SylverReZ @ SylverReZ:
    At least if they ban you for cheating, get another Wii. They're cheap as chips.
    +1
  • SylverReZ @ SylverReZ:
    Remember when RiiShop was a thing?
  • BakerMan @ BakerMan:
    not really
  • SylverReZ @ SylverReZ:
    It got shutdown because somebody "accidentally" leaked the database for the amount of people using the beta.
  • SylverReZ @ SylverReZ:
    RiiShop is the laziest way of downloading Wii games. Did somebody not think of this through?
  • BakerMan @ BakerMan:
    although i ended up accidentally changing my nand with no way of going back bc i didn't know you needed a gamecube controller to restore it (i have a wii minus/1.1, which doesn't have gamecube controller support)
  • SylverReZ @ SylverReZ:
    @BakerMan, I think you're talking about the recovery mode that the SaveMii used, and also was to restore softbricked systems.
  • SylverReZ @ SylverReZ:
    If your NAND was hardbricked, then just buy another Wii. Or go with the dirty NAND flasher method.
  • BakerMan @ BakerMan:
    and if i find the sd card i have my NAND backed up on, i can not only restore the NAND if i solder the right part in, but i can also put my NAND on dolphin, then i can play dolphin online, like PMEX Remix or MKWii Riibalanced
  • Xdqwerty @ Xdqwerty:
    Brb
  • SylverReZ @ SylverReZ:
    @BakerMan, Oh yeah, that was a thing too. Dolphin does support Wiimmfi.
    SylverReZ @ SylverReZ: @BakerMan, Oh yeah, that was a thing too. Dolphin does support Wiimmfi.