Hacking Binary2CCode

  • Thread starter Thread starter BullyWiiPlaza
  • Start date Start date
  • Views Views 2,099
  • Replies Replies 3
  • Likes Likes 4

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Reaction score
1,584
Trophies
0
XP
2,522
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,
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
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
 
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