bchunk v1.2.1 - BinChunker for Windows

Posted: Monday, 8 August 2016

Edit: In case you're unsure of the VirusTotal results, cloning the repo and running "build.bat" (with MSVC - https://www.visualstudio.com/downloads/) should build the application
Otherwise, https://github.com/extramaster/bchunk/releases/download/v1.2.1_repub.1/bchunk.v1.2.1_repub.1.zip
VirusTotal: https://www.virustotal.com/en/file/22335fa68f60fc47378399d7039a778eebe268092c609d53066bf9478f994113/analysis/1476900472/

BinChunker is an application that converts .bin "Disc Image" files to .iso with the help of a .cue file.

The application is unfortunately Unix-only (which includes Mac OS X and Linux) due to the use of a number of non-standard C headers - in fact, the code will fail to compile on a Windows "cross-native" Linux layer like MingW64

$ gcc bchunk.c -o bchunk
bchunk.c:61:24: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
compilation terminated.

Fortunately, a fix has been published by mzex for use of BinChunker on Windows, however it does not come with the source code (only a binary encoded in base64 format).

In the spirit of the GPL, here's a copy of the source code on Github: https://github.com/extramaster/bchunk. Feel free to Fork (or even spin off as a separate repo).
And here's the Windows Binary Download of BinChunker, the GitHub releases system is used: https://github.com/extramaster/bchunk/releases.

Oh, and one more thing, the changes made do not break Linux/Unix builds. So you can compile this version with Linux as usual.