RM/RMIR v2.01 now available (overflow, ExtInstall, more ...)

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

Moderator: Moderators

gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

RM/RMIR v2.01 now available (overflow, ExtInstall, more ...)

Post by gfb107 »

I've built and released RM/RMIR v2.01

Graham did the lion's share of the coding. Thanks Graham!

RemoteMaster (RM) is the device upgrade editor we're all familiar with, and is the Java equivalent of KM.
RMIR is the new Java equivalent of IR with RM fully integrated.

Please visit the RM and RMIR Wiki for information about how to use RMIR.


Changes for v2.01
  • Alpha
    • Fix NullPointerException when editing DeviceCombiner protocol (Graham)
    • Implement upgrade overflow into learned signal and advanced code regions (Graham)
    • When loading a KM file with a protocol named "Manual Settings", append the PID to the name to prevent mis-identification if there is a similar subsequent load (Graham)
    • Fix bug causing button restrictions set by the Button class constructor to be overridden, rather than supplemented, by explicitly set restrictions (Graham)
    • Fix bug preventing KeyMove setup code values > 2047 from being correctly imported when loading a .ir file (Graham)
    • Implement highlighting (Graham)
  • Alpha 2
    • Create File/Set Directory menu and implement entries to change RDF Path and Image Path (Graham)
    • Use JDirectoryChooser instead of JFileChooser when there are no RDF/Map files found on opening RemoteMaster (Graham)
    • Use JDirectoryChooser instead of JFileChooser in Options/Folders menu of KeyMapMaster (Graham)
    • Make highlighting an option, defaulting to off (Graham)
  • Alpha 3
    • Create Advanced menu, add items Clean Upper Memory, Initialize to $00 and Initialize to $FF and implement them (Graham)
    • Add ExtInstall.jar as a referenced library and update build.xml to include it (Graham)
    • Add Install Extender item to File menu and implement it using procedures from ExtInstall.jar (Graham)
  • Alpha 4
    • Clean up compiler warnings (Greg)
    • Enable correct copy'n'paste from IE (Greg)
  • Alpha 5
    • On importing .ir file, treat invalid digit maps index as absent, to prevent RMIR crashing (Graham)
    • Improve use of ExtInstall, to avoid an issue when installing over an existing extender (Graham)
  • Alpha 6
    • Restore old paste code (Greg)
    • Add "Paste (IE)" for pasting multi-column data from IE (windows only) (Greg)
    • Fix pasting EFC5s (Greg)
    • Move EFC5 column before EFC column on Functions tab for remotes that use EFC5. (Greg)
  • Alpha 7
    • Prompt to save before exiting, downloading from remote, etc if data has changed (Graham)
    • More copy'n'paste fixes (Greg)
    • Refactor check for updates (Greg)
    • Add check for updates to RMIR (Greg)
  • Alpha 8
    • Correct wording of ToadTog ForceOn function: On->Off corrected to Off->On (Graham)
    • Resolve various issues concerning device upgrades that both have key moves and are assigned to more than one device button (Graham)
    • Fix ToadTog bug that causes Special Function editor to display incorrect entries (Graham)
    • Add Advanced menu item Primacy in RM and RMIR to allow choice of whether OBC or EFC/Hex is preserved when a protocol is changed or edited (Graham)
    • Add Advanced menu item Edit Protocol in RM that allows adding and editing of custom code to standard protocols (Graham)
  • Final
    • Fix NEC 4DEV Combo entry in protocols.ini (3FG)
Available downloads are: Links:
The RemoteMaster project home page, now accepting donations.
RemoteMaster.v2.01.zip
RemoteMaster.v2.01.exe - See note below.
RM/RMIR Wiki
Change Log (also included in the downloadable files)
Readme.html (also included in the downloadable files)
Tutorial (also included in the downloadable files)

Notes:
Last edited by gfb107 on Tue Nov 01, 2011 1:09 pm, edited 2 times in total.
mathdon
Expert
Posts: 4725
Joined: Tue Jul 22, 2008 8:53 am
Location: Cambridge, UK

Post by mathdon »

The latest source files on SourceForge that I can find are for 2.01 Alpha 8, not for the release version of 2.01. Am I looking in the wrong place?
Graham
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Sorry, forgot to commit. It is there now.
JD4x4
Posts: 23
Joined: Fri May 14, 2010 8:42 pm

v2.01 & Ubuntu 11.04 Problem

Post by JD4x4 »

Hi, I'm a newb with Linux so bear with me.. but When I run the .jar file with OpenJDK Java 6 Runtime on my Ubuntu 11.04, I get the prompts to locate the Map & RDF locations, and when protocols.ini is in the dir with the .jar file it can't find it and asks where it is. Once I point to the .ini file, it just exits (disappears).

Since it defaulted to look for the .ini file in my home folder, I moved a copy there and it no longer asked where it was, but still disappears after asking where the RDF dir is.

I used RM a long time ago on win XP with my home-brew serial interface without problems, but when my XP crashed recently I gave up on M$ and installed Ubuntu. Anyone else running RM 2.01 under v11.04?

Do I maybe need the 'real' Runtime from Sun/Java??
Last edited by JD4x4 on Mon Oct 31, 2011 1:18 pm, edited 1 time in total.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

There's probably a clue to what is going wrong at the end of the rmaster.err file.
JD4x4
Posts: 23
Joined: Fri May 14, 2010 8:42 pm

Post by JD4x4 »

gfb107 wrote:There's probably a clue to what is going wrong at the end of the rmaster.err file.
Thanks for the super-quick reply..
The file ends with "java.io.FileNotFoundException: /home/jim/digitmaps.bin (No such file or directory)" and a rackload of indented lines following it..

I don't see such a file in the dir or subdirs that I extracted RM to.. is this a Java file I'm missing?

Addendum- The two lines immediately preceding the file not found are:
Generating deviceImporter for protocol null
Caught exception in RemoteMaster.main()!
eferz
Expert
Posts: 1078
Joined: Thu Jun 03, 2010 1:25 am
Location: Austin, Texas

Post by eferz »

Did you also install:
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

Digitmaps.bin is part of the RM2.01 distribution. On Windows systems, it is kept in the same directory as the jar file. but so is prococols.ini. Maybe you need to copy digitmaps.bin to the same location as your protocols.ini file, since that seems to be different in Ubuntu.
JD4x4
Posts: 23
Joined: Fri May 14, 2010 8:42 pm

Post by JD4x4 »

3FG wrote:Digitmaps.bin is part of the RM2.01 distribution. On Windows systems, it is kept in the same directory as the jar file. but so is prococols.ini. Maybe you need to copy digitmaps.bin to the same location as your protocols.ini file, since that seems to be different in Ubuntu.
Thanks.
I'm an idiot.. the file WAS in the RM dir & I didn't see it.
But, yes both need to be in my home directory in order for it to work .. and it now does!
Thanks everyone.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

We have very few Linux users, so there will probably be some oddities about using RMIR in Linux you will have to work through.

You must have done a non-standard (as far as RM/RMIR is concerned, not necessarily Linux) install. RM/RMIR expects the current/working directory to be the directory that contains RemoteMaster.jar, protocols.ini, digitmaps.bin and a number of other files and directories. It also expects to have full read/write/execute permission to those files and directories.

Depending on the interface you are using, it also expects to be running as root. The rmaster.sh and rmir.sh scripts are supposed to help Linux users, but they may require some tweaks.

I think you will continue to run into these sorts of problems until we figure out why RM/RMIR isn't looking for protocols.ini and digitmaps.bin in the directory containing RemoteMaster.jar
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

First of all, thanx to Greg and Graham for their great work! :P

I can confirm that the current version runs under Linux, both with

Code: Select all

$ /opt/jdk1.6.0_25/bin/java -version                 
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
as well as

Code: Select all

$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (suse-1.2.1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
I do not have anything remotemaster-related in my home direcory.
The only thing that does not work is the parallel interface, it just crashes. That means that also "autodetect interface" is broken -- can I suggest changing the order in autodetection since more people are using the serial/usb interface and the parallel seems to have issues?

I do have some issues with the self compiled versions, and if I recall previously, that was not the case with the alpha3 version. I will (probably) look into it.
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

DecodeIR.html and DecodeIR_ChangeLog.txt unpack with a very silly file protection -- reading, executing and writing prohibited for all.

(User fix, Unix/Linux

Code: Select all

chmod +r DecodeIR.*
in case anyone needs it.)
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

If I remember correctly, the parallel port driver requires proper permissions to access the parallel port. To me, the easiest way to accomplish that is to become root, but I'm sure there better ways if you know what you are doing.

That's why the rmir.sh and rmaster.sh scripts use gksudo.

If you don't want parallel port support, you can delete the parallel port driver (libjp1parallel.so) in the Linux-x86 and/or Linux-amd64 folder(s).
JD4x4
Posts: 23
Joined: Fri May 14, 2010 8:42 pm

Ubuntu 11.04 resolved

Post by JD4x4 »

I've sorted out my Linux problem and posted it in another thread in the beginners forum along with some other discussion. But, for the sake of Linux issue continuity here is my post. If cross-posting some of it here is a problem just let me know-

Seems that the shell scripts worked under Xubuntu 6.10 on my laptop, so I went back to see why they didn't on my desktop with Ubuntu 11.04. Xubuntu uses Sun Java and Ubuntu 11.04 uses OpenJDK Java. Turns out that your directories can NOT include a space in the name or either the shell scripts just give you nothing when run, or running the jar file directly does not pass the library directories path and RM IR runs but any remote menu command is greyed out because it can't find the programmer drivers.

This path issue is also why I had to put the other files into my home directory. I've removed them after the resolution and all runs fine. And yes, the err file pointed me to the problem eventually. In the beginning it did NOT help when run from the shell scripts because none of the paths were being passed and the jar file was never run!

No amount of quote combination additions in the shell command line worked for me, but I'm a Linux newb so I probably just don't know enough about the required syntax?

Bottom line- the solution was to simply rename my directory without spaces under Ubuntu 11.04. doh!.
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

gfb107 wrote:If I remember correctly, the parallel port driver requires proper permissions to access the parallel port.
Thanx, that did it for me. As root it did not crash. Unfortunately, due to missing jp1-parallel interface I could not verify the correct working.
That's why the rmir.sh and rmaster.sh scripts use gksudo.
This is a sledge hammer solution that has a number of serious disadvantages: security and portability problems. Particularly bad as it is most often not needed.


My suggestion
can I suggest changing the order in autodetection since more people are using the serial/usb interface and the parallel seems to have issues?
still appears to be sensible, as it will at least sometimes help some people.
Post Reply