View previous topic :: View next topic |
Author |
Message |
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Sun Sep 15, 2024 6:58 am Post subject: RMIR v3.1 now available! |
|
|
Edit: The latest version is now RMIR v3.1.5.
RMIR v3.1.2 is now available. It fixes the bug in v3.1.1 and is a significant update of v3.0.15, the last official release before v3.1.1, which involved substantial restructuring of the program code.
RMIR is a Java program which requires Java 8 or later. The supported platforms are 32-bit and 64-bit Windows, Linux and Mac OS X, together with experimental support for RaspberryPi. To install it, first unzip the installation package RMIR.v3.1.2-bin.zip to a new folder that is not read-only. For a Windows OS this means, in particular, that it should not be unzipped into a subfolder of the Program Files folder.
The main program is the file RemoteMaster.jar which contains three applications, RMIR itself together with the subsidiary apps RMDU (sometimes known for historical reasons simply as RM) and RMPB. These are tools of the JP1 project, the main one being RMIR. See the article JP1 - Just How Easy Is It? for information about this project and how to use it.
All three apps can be opened from a command line when the current folder is the installation folder. Use the command line
Code: | java -jar RemoteMaster.jar -help | to display how to open each app and details of the other available options. Note that this was new to v3.1.1 and is retained in v3.1.2. This folder also contains two setup programs, Setup.vbs for Windows and setup.sh for Linux, which will create shortcuts to run the three apps without using a command line. For Windows, Setup.vbs also creates file associations to open .rmir files in RMIR, .rmdu files in RMDU and .rmpb files in RMPB. Double-clicking the RemoteMaster.jar file will open RMIR with some Java implementations, from which RMDU can be opened with the menu item File > New > Device Upgrade and RMPB with the menu item File > New > Protocol.
Here are some additional notes concerning installation:
- If you are using Linux without running setup.sh, you will need to add your user id the dialout group of users, if you are not already in it. Running setup.sh does this for you if required. This is needed to enable RMIR to access USB serial ports without RMIR itself being run as root.
- When using XSight remotes (and similar ones such as Nevo) with Windows 8.1 or later, Enhanced Power Management needs to be disabled for access to the remote through the USB port. RMIR checks for this and displays a message giving instructions for disabling it if it finds that this setting is still enabled.
- If you are using Linux and have an XSight or Nevo remote, you may need to copy the supplied text file linux_xsight.rules to the directory "/etc/udev/rules.d/". It may be re-named if desired, provided the extension .rules is kept. This file provides a user-friendly name for the XSight as a USB device. Some users have found that Linux systems cannot find the XSight/Nevo remote unless RMIR is run as root, even after running setup.sh, unless this file is present.
- Although RemoteMaster only requires Java 8 or later, the -scaling option to enhance the text size is supported only in Java 11 and later. The current long-term support version (LTS) of Java is Java 21, released in September 2023. Note that Oracle has recently changed the way Java is licenced and distributed, as described in this informative article.
- The RMIR menu item Help > Check for updates checks for new builds as well as new versions. If a new build or version is available then this menu item displays a message containing a hyperlink that will take you straight to the download for the update.
- RMIR incorporates version 1.2.13 of IrpTransmogrifier by Bengt Martensson (Barf). This is a program for decoding, analyzing and rendering IR signals that is used by RMIR but is entirely separate from it. Command-line access to IrpTransmogrifier itself is available if required through the command files irptransmogrifier.bat (for Windows) and irptransmogrifier.sh (for Linux and Mac OS X) in the RMIR installation folder.
The last official release of RMIR was v3.0.15. The present release contains one significant addition and two new menu items, and it fixes a number of bugs. It has involved substantial restructuring of the program code. The addition is the command line help described in the fourth paragraph of this announcement. The new menu items are (a) File > Summary > Create RDF Info File which creates a CSV file of extracts from all RDFs for use in creating a Wiki entry, and (b) Options > Advanced > Suppress NEC default subdevices, selected by default, which suppresses SubDevice values for protocols whose name starts NEC when they are the complement of the Device code. The bugs fixed will not be itemized here.
Information on other features of the RemoteMaster system may be found in the following links:
The RemoteMaster project home page.
IrpTransmogrifier manual.
JP1 Community Wiki
Getting started with XSight and Nevo (also part of the Wiki)
Nevo and XSight Remotes (thread specific to these remotes)
Bluetooth is coming to RMIR (announcement thread for the Bluetooth interface)
RF Support in RMIR (announcement thread for RF support through RF4CE)
jp12serial latest version (includes information on the various hardware interfaces supported by the jp12serial library)
Delcom and Prolific on Windows 10 (among other things, how to use a Delcom cable for JP1 remotes with Windows 10 or 11)
Guide to Java Versions and Features (guide to the recent changes in Java availability)
How to install Java 8 on Windows XP (YouTube video and written instructions)
RMIR v3.0 Major new release! (announcement thread for last official version) _________________ Graham
Last edited by mathdon on Mon Oct 07, 2024 12:49 pm; edited 2 times in total |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21507 Location: Chicago, IL |
Posted: Sun Sep 15, 2024 10:08 am Post subject: |
|
|
I just tried to figure out how to invoke the new help option, and what to expect from it. As I suspect most folks don't know how to use the command prompt, or even if they do, they probably haven't used it since the days of DOS and Windows 3.1, here's an easy way to run it.
Open Notepad and enter the following: Code: | java -jar RemoteMaster.jar -help > help-response.txt |
then save it as help.bat (be sure to change the Save as Type from *.txt to *.*) and save it in the same folder as RM. Then run it by double clicking on it and the results will appear in help-response.txt, and here's what the results currently look like:
Code: | Usage: java -jar RemoteMaster.jar [options] [file]
Options:
-admin
Open in administrator mode
Default: false
-errors
Set errors file
-help, -?
Display help message
Default: false
-home
Set home directory
-ir
Open as RMIR
Default: false
-pb
Open as RMPB
Default: false
-properties
Set properties file
-readOnly
Test if installation folder is read-only
Default: false
-rm
Open as RMDU
Default: false
-scaling
Set scaling of the GUI. Accepted values and their semantics depend on
the JVM.
-version
Display version information
Default: false |
_________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1434 Location: Munich, Germany |
Posted: Sun Sep 15, 2024 12:02 pm Post subject: |
|
|
Edit by mathdon: This post refers to v3.1.1. The bug is fixed in v3.1.2.
It appears that I have found a nasty bug in the new version of RMIR: Load a rmir file with several device updates, at least one non-built-in. Select a non-built in one on the "General" pane, click "Edit device". It appears that nothing is happening, but rmaster.err shows (part)
Code: | DeviceUpgradePanel.createRowObject()
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "com.hifiremote.jp1.JP1Frame.getBounds()" because the return value of "com.hifiremote.jp1.RMIRSetup.getFrame()" is null
at com.hifiremote.jp1.DeviceUpgradeEditor.<init>(DeviceUpgradeEditor.java:185)
at com.hifiremote.jp1.DeviceUpgradePanel.createRowObjectA(DeviceUpgradePanel.java:197)
at com.hifiremote.jp1.DeviceUpgradePanel.editRowObject(DeviceUpgradePanel.java:265)
at com.hifiremote.jp1.GeneralPanel.editUpgradeInRow(GeneralPanel.java:511)
at com.hifiremote.jp1.GeneralPanel.actionPerformed(GeneralPanel.java:477)
|
The debugger reveals that the static JFrame member RMIRSetup.frame is read and evaluated but has the value null. It is never assigned a value. |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Sun Sep 15, 2024 1:33 pm Post subject: |
|
|
Barf wrote: | The debugger reveals that the static JFrame member RMIRSetup.frame is read and evaluated but has the value null. It is never assigned a value. |
Thanks for finding this bug. Apologies to all for it. I hope to fix it tomorrow. _________________ Graham |
|
Back to top |
|
|
SysTech_Larry
Joined: 19 Oct 2023 Posts: 153 Location: Northern Wisconsin, USA |
Posted: Sun Sep 15, 2024 10:21 pm Post subject: |
|
|
My current RMIR is in my User > Documents folder.
Do I just unzip the new version to the same area and delete the old [3.0.15] version? _________________ SysTech Larry |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Mon Sep 16, 2024 5:08 am Post subject: |
|
|
SysTech_Larry wrote: | My current RMIR is in my User > Documents folder.
Do I just unzip the new version to the same area and delete the old [3.0.15] version? |
Yes, or you can retain v3.0.15 and delete it later after trying the new version. There is no problem in having multiple versions of RMIR. When you run Setup.vbs in the installation folder of any of your versions, it will create shortcuts specific to that version. I have over 40 versions on my PC so that I can test issues raised by users who are still using an older version. _________________ Graham |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Tue Oct 01, 2024 12:40 pm Post subject: |
|
|
I have posted development build RMIR v3.1.3 in the RMIR Development folder on SourceForge. This fixes a number of issues identified by CyberSimian which were reported in this thread. For details of the issues and their fixes in this development build, please see my post in that thread. _________________ Graham |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Fri Oct 04, 2024 12:45 pm Post subject: |
|
|
I have posted development build RMIR v3.1.4 in the RMIR Development folder on SourceForge. This fixes further issues identified by CyberSimian which again are reported in this thread. For details of the issues and their fixes in this development build, please see my further post in that thread. _________________ Graham |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Mon Oct 07, 2024 12:43 pm Post subject: |
|
|
RMIR v3.1.5 is now officially released. This is the first official release since v3.1.2, as builds 3 and 4 were for development purposes.
Here are the changes since v3.1.2. It was found, in v3.1.2 and earlier builds that support scaling, that many multi-line tooltips were truncated when scaling was used. This has been fixed in v3.1.5. The scrolling rate with the mouse wheel in the Available Functions windows of the Buttons and Layout panels of the device upgrade editor was very slow and has been updated to match the scrolling behaviour in text windows. The same applies to scrolling with the arrows at the ends of a scrollbar. A corresponding update has been made to scrolling behaviour in the image window of the Layout panel. Another issue that has been fixed is that blank function entries in a device upgrade for XSight remotes were not saved but they were for other remotes. _________________ Graham |
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1434 Location: Munich, Germany |
Posted: Mon Oct 21, 2024 9:45 am Post subject: |
|
|
Bug in Girr export in RMDU (not RMIR):
To reproduce: Load an rmdu file in RMDU. Select File -> Export as Girr of IRScope File. In the GUI nothing happens. rmaster.err shows
Code: |
...
java.lang.NullPointerException: Cannot invoke "org.harctoolbox.irp.IrpDatabase.getNames()" because "irpDb" is null
at com.hifiremote.jp1.DeviceUpgradeExporter.getExecutorProtocolMap(DeviceUpgradeExporter.java:82)
at com.hifiremote.jp1.DeviceUpgradeExporter.getRemoteSet(DeviceUpgradeExporter.java:256)
at com.hifiremote.jp1.DeviceUpgradeExporter.exportToFile(DeviceUpgradeExporter.java:833)
...
|
It turns out that LeanedSignal.tmDecoder has not been initialized. This is done in LearnedSignal.getTmDecoder(), which is called in RMIRSetup, which is only called in RMIR, not in RMDU or RMPB, A possible fix is
Code: |
Index: src/main/java/com/hifiremote/jp1/RemoteMaster.java
===================================================================
--- src/main/java/com/hifiremote/jp1/RemoteMaster.java (revision 2075)
+++ src/main/java/com/hifiremote/jp1/RemoteMaster.java (working copy)
@@ -500,6 +500,7 @@
}
else
{
+ LearnedSignal.getTmDecoder();
KeyMapMaster km = new KeyMapMaster( properties );
if ( fileToOpen != null )
{
|
I suspect this bug showed up in the JCommander transition. |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Tue Oct 22, 2024 8:54 am Post subject: |
|
|
Many thanks for identifying this bug. I have fixed it in development build RMIR v3.1.6. For consistency with RMIRSetup, though, I have added the line LearnedSignal.getTmDecoder() into KeyMapMaster.java rather than RemoteMaster.java. _________________ Graham |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Wed Oct 30, 2024 10:00 am Post subject: |
|
|
I have now posted development build RMIR v3.1.7 in the RMIR Development folder on SourceForge. It adds a read-only setting DirecTV RF to the Settings panel for OfA and ARRX XSight Touch and Nevo C3 remotes that displays the 6-digit decimal code for a DirecTV satellite box. I believe these are the only remotes that have this RF capability. _________________ Graham |
|
Back to top |
|
|
|