Binary2CCode

Discussion in 'Wii U - Hacking & Backup Loaders' started by BullyWiiPlaza, May 4, 2017.

  1. BullyWiiPlaza
    OP

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,666
    1,369
    Aug 2, 2014
    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:

    [​IMG]

    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:
    Warning: Spoilers inside!
    Like it? Download the application JAR and the source code here.
     
    Last edited by BullyWiiPlaza, May 4, 2017
  2. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,418
    4,737
    Mar 17, 2010
    Norway
    Alola
    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?
     
    BullyWiiPlaza likes this.
  3. BullyWiiPlaza
    OP

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,666
    1,369
    Aug 2, 2014
    Germany
    Yeah, I will add that :P
     
  4. DonnieV

    DonnieV Member

    Newcomer
    25
    10
    May 2, 2017
    United States
    Nice work. I was wondering why the "Press X for codehandler" was missing in the latest jGeckoU lol