For what it is worth: While working on IrpMaster, I translated the MakeHex program (as distributed as .dll-Source, thanks to Graham!) to Java. The main-routine and the file IO has been written new, the rest is translation of John's code. However, it computes slightly different numbers, since it does rounding a bit differently -- in the original code, an intermediate quantity was rounded to integer a bit too early, it I recall it properly. This is done differently here. If someone request more details, I will provide it.
Java sources.
Makehex in Java
Moderator: Moderators
I found two nasty bugs:
The msb-option was not working, and defaults were not possible to overwrite. (Just for the record: these were bugs in my implementation, not present in the original program ) I have uploaded a new version that fixes those bugs, and also has an additional API-function. I also changed the location of the file, from the tools/Programs to the misc/program sources, since I suspect that is the way Rob wants it. (Rob?) I also changed the version number to 4.0.1 (John called his latest version Version 4.)
Download
BTW, See this for a GUI
Download
BTW, See this for a GUI
I have committed the sources to SVN, https://controlremote.svn.sourceforge.n ... kehex.java to be exact. Correspondingly, the download from the previous posts has been deleted.