IrMaster: a program for IR signal generation and analysis

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

Moderator: Moderators

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

Post by Barf »

Announcing IrMaster 0.3.1
Just released and uploaded the new version of IrMaster, as setup-exe for Windows and binary zip for other systems (or Windows user who do not like the setut.exe type installation). Same paths as before.

No major new features, see the release notes. You can now paste both Pronoto CCF, UEI learned format (recognized as a sequence of two digit numbers), and raw format (recognized by the leading "+") in the "CCF" window.

Release notes:

Code: Select all

Release notes for IrMaster 0.3.1.

The installer now installs also for non-administrative users. Of
course, without admin rights, it is not possible to install to places
where write access is not present.

Made errors caused by invalid or non-existing GlobalCache handled more
gracefully. Fixed bug in ping command.

Now uses DecodeIR version 2.44. Allow for separate 32 and 64 bit
versions of decodeIr for windows. Unfortunatelly, a 64 bit Windows
version is missing (at the time of this writing).

Now uses IrpMaster 0.2.2. Thus, can now handle raw signals in the
decode window, signalled by a trailing +.
Barf
Expert
Posts: 1522
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

IrMaster on Raspberry Pi

Post by Barf »

Just managed to get IrMaster (including DecodeIR) to run on a Raspberry Pi. The way I did it was:

1. Installing Raspian wheezy with HW Floatingpoint support, following the instructions therein.
2. Installing openjdk 7 using the command

Code: Select all

apt-get install openjdk-7-jdk
3. Installing the binary distribution of IrMaster into /usr/local/irmaster
4. Making links

Code: Select all

cd /usr/loca/bin
ln .-s ../irmaster/irmaster.sh irmaster
ln -s ../irmaster/irmaster.sh irpmaster
5. Create directory for DecodeIR,

Code: Select all

cd /usr/loca/irmaster
mkdir Linux-arm
and copy libDecodeIr.so for Raspberry Pi therein.

6. changing irmaster.sh like

Code: Select all

#!/bin/sh

# This wrapper is used to start both IrMaster and IrpMaster,
# depending on what name it is called.

# Intended for Unix-like systems (like Linux and MacOsX),
# may need to be locally adapted.

# When changing this file, it is a good idea to 
# delete ~/.IrMaster.properties.xml

# Preferred Java VM
#JAVA=java
JAVA=/opt/jdk1.6.0_30/bin/java

# Where IrMaster is installed
#IRMASTERHOME=`dirname $0`
#IRMASTERHOME=`pwd`
IRMASTERHOME=/usr/local/irmaster

# Path to DecodeIR
# If the code below does not work, just set LIBRARY_PATH to the directory
# containing the shared lib to use, like in the commented-out example lines.
if [ `uname -m` = "x86_64" ] ; then
    ARCH=amd64
else
    ARCH=i386
fi
LIBRARY_PATH=${IRMASTERHOME}/`uname -s`-${ARCH}
#LIBRARY_PATH=/usr/local/irmaster/Linux-amd64
#LIBRARY_PATH=/usr/local/lib

if [ `basename $0` = "irpmaster" ] ; then
    # Run IrpMaster from the current directory
    ${JAVA} -Djava.library.path=${LIBRARY_PATH} -jar ${IRMASTERHOME}/IrMaster.jar IrpMaster --config ${IRMASTERHOME}/IrpProtocols.ini "$@"

else
    # cd to the installation director to get the relative path names in
    # the default properties to fit, can be omitted if making file names
    # in the properties absolute.

    cd ${IRMASTERHOME}
    ${JAVA} -Djava.library.path=${LIBRARY_PATH} -jar ${IRMASTERHOME}/IrMaster.jar -p ${HOME}/.IrMaster.properties.xml "$@"

fi

... and everything it works... Can now be started by "irmaster" or "irpmaster" from the command line". Although "somewhat" slower. :wink:

May also work with other configuration, e.g. Debian wheezy without HW FP support and using Oracle's Java. I have not tried it.
Barf
Expert
Posts: 1522
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

I just released version 1.0.0.

With the creation of IrScrutinizer (which functionally vastly surpasses IrMaster), IrMaster is not longer actively developed. The last version, somewhat ironically promoted to version 1.0.0, is planned to be the last release. Users are encouraged to migrate to IrScrutinizer. The Windows setup.exe for IrMaster has been eliminated, replaced by the combined installer for IrScrutinizer and IrMaster.

Release notes:

Code: Select all

Release notes for IrMaster 1.0.0

This is the final release, ironically name 1.0.0.

Bug in finding relative property file when using -p option fixed.

IrCalc (HexCalc and the TimeFrequency calculator) has been removed.

Position and size of the plot windows are now persistent: saved to the
properties.

Internal: Version.java and Props.java are now automatically generated
from XML files by xslt-stylesheet. Reusable component that can be used
in other projects. See the source.

Internal: Console, SelectFile, and LookAndFeelManager now are separate classes
(constituting reusable components).

New user properties: exportFormatFileName, globalCacheTimeOut,
pingTimeout. The two first are manipulatable from the GUI.

Release notes for IrMaster 0.3.2 -- This release is not public.

Improved transmitter selection for LIRC: Transmitters 1 to 8 can now
be selected independently.

New user option: Output format, can (presently) be CCF or
raw. Determines the output format of the generated signals. If using
raw format, generated signals contain several lines, see next point.

If a raw signal is consisting of several lines (in the code window),
it is considered to be split into intro-, repeat-, and ending sequence.

Export formats: only text, xml, lirc, and wave are now built-in, the
others are implemented as XSLT-tranformations on the XML DOM, defined
in the file exportformats.xml. Thus theu user can add own formats.  C,
TV B Gone, IrTrans, GlobalCache, are new such formats. Misc. minor
improvements in exports.

Server mode. Undocumented :-).

The sockets for GlobalCache communication are now properly closed.

By entering the empty string, or "null" as GlobalCache name, a
previously connected unit is released
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Barf, I have a question about launching your programs.

I am running Windows 7. I am in the habit of launching my programs by just typing in the name above the start menu. My issue comes with IRMaster. and the newer IRScrutinizer.
Whenever I type in those names in the search bar above the start button, the PDF and the HTM come up in the programs section in front of the jar. Because my eyesight is so bad, I can't really tell the icons apart, and because these are not part of my normal routine, I forget that typing in IRMaster followed by enter is going to pop the PDF instead of the program.

Is there a way to

1) Make the Jar be the first item in the Programs area
2) or the Jar the only item that pops the program area when you type IRMaster?

This is probably not an issue for most people, but it is an annoying issue for me.
Barf
Expert
Posts: 1522
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Hi Vicky,

this is a question of usability of Windows, rather than a question/suggestion to IrMaster/IrScrutinizer, so in the strict sense, I do not feel that responsible. :wink: Possibly a Windows-forum is a better place for this question? I am not really a Windows expert.

But since I am a person who is happy to help whenever I can: I consider your use case a valid and sensible one. I would try to remove the html/pdf entries from the start menu: select it in the start menu, press right mouse button, select delete. This deletes only the start menu entry, not the very files. (Since you definitely know that they are there, the start menu entries have served their purpose.)
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Wonderful! Thank you, I didn't know how things were getting there! I moved the links to the documents into my documents library and now I'm a very happy camper!
pH7_jp1
Posts: 485
Joined: Sun Sep 14, 2003 4:17 pm
Location: Sterling Heights, MI

Post by pH7_jp1 »

Did you get my PM about how to create an icon (shortcut) on your desktop for one click access?
Barf
Expert
Posts: 1522
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

New version 1.0.1 released. Same download links as before. Although the program is (basically...) not developed any more (in favor if IrScrutinizer), this version "wraps up" some stuff, mostly changes in IrpMaster and HarcHardware. There is no or very little functional differences to 1.0.0.
Barf
Expert
Posts: 1522
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

FWIW, the sources are now available at Github. But still discontinued in favor of IrScrutinizer...
Post Reply