Makehex in Java

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
Barf
Expert
Posts: 1525
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Makehex in Java

Post by Barf »

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.
Barf
Expert
Posts: 1525
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

I found two nasty bugs: :oops: :oops: 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
Barf
Expert
Posts: 1525
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

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.
Post Reply