KM file won't load in RM

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
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

KM file won't load in RM

Post by The Robman »

The following KM file won't load in RM
http://www.hifi-remote.com/forums/dload ... e_id=13906

When you try to load it, it throws the message:
No protocol found with name="RC5/6 Combo" for remote "RS 15-1994 6-in-1 Smart"
Last edited by The Robman on Wed Feb 03, 2016 10:42 am, edited 1 time in total.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
mathdon
Expert
Posts: 4726
Joined: Tue Jul 22, 2008 8:53 am
Location: Cambridge, UK

Post by mathdon »

I can't test this, as all links and both upgrades with the same name now point to the .rmdu file. However, it looks as if the error lies in protocols.ini, where the protocol is named "RC5/6 combo" with a small "c" and the Java method that RMIR uses in the search doesn't do ignore-case matching.

I take this to be an error in protocols.ini as other combo executors use an upper case C in the name. It isn't trivial to change RMIR to ignore case in this matching, but subject to 3FG's view I suggest re-naming the protocol "RC5/6 Combo" and adding an entry

Code: Select all

OldNames=RC5/6 combo
to cope with upgrades created with a lower case c.
Graham
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Sorry, I posted the wrong URL, I just replaced it with the right URL.

I just tried changing the name of the RC5/6 Combo entry in protocols.ini and while the message has gone away, the file still doesn't load. This is one of those cases where we had to use spaces in the byte2 column to separate multiple entries there, I don't know if that's part of the problem.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

According to jp1-master, there are only 3 KM files that use the RC5/6 Combo protocol, so I just replaced them all with RMDU files.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
mathdon
Expert
Posts: 4726
Joined: Tue Jul 22, 2008 8:53 am
Location: Cambridge, UK

Post by mathdon »

The Robman wrote:This is one of those cases where we had to use spaces in the byte2 column to separate multiple entries there, I don't know if that's part of the problem.
It certainly is part of the problem. I know nothing about KM, but I've loaded the .txt file into KM to have a look at the data. The construction of byte 2 seems to be an ad hoc one for this protocol that is presumably specially handled within the KM code. The equivalent for RM is a custom importer in protocols.ini, or possibly two custom importers, one for device parameters and one for command ones, like those already present in the entry for the RC-5/5x Combo protocol. As you have already converted the three upgrades concerned to .rmdu files, I don't think it seems worth the effort to create such importers, do you?
Graham
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

No, not worth doing anything further with it. I was going to suggest using the hex code instead, but KM doesn't save it.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

mathdon wrote:I know nothing about KM, but I've loaded the .txt file into KM to have a look at the data. The construction of byte 2 seems to be an ad hoc one for this protocol that is presumably specially handled within the KM code.
KM was state-of-the-art at one time! ;) Pretty amazing what Rob, myself, and others were able to do with what started out as a simple spreadsheet and turned into a monster.

Sometimes when I'm bored I open it up and have a look under the hood. Then I ask myself "how did I do that?" or "why did I do that?". :eek:
Mark
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Looking under the hood, wow, I can't even imagine doing that now. KM is like one of those old mainframe systems that have been around for years and have had countless modifications. There's probably all sort of stuff in there that, if I was doing it from scratch, I would do differently. But when it started we had no idea where it was going to end up.

It started out as a single spreadsheet for VCR mode in the 15-1994, then I cloned it for each of the other modes of that remote, then I did the same for the Cinema 7 (anyone remember that remote?) and then I combined them all into one, hence the "master" tag.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
pH7_jp1
Posts: 485
Joined: Sun Sep 14, 2003 4:17 pm
Location: Sterling Heights, MI

Post by pH7_jp1 »

Rob asked:
...the Cinema 7 (anyone remember that remote?)
Of course! I found your instructions on manual programming that really made the remote useful. Then later I added the pins, built the simple interface. I have never been without some sort of JP1 remote since. That Cinema 7 had one of the best button layouts ever.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Indirectly, the Cinema 7 got me into JP1 too. Back in 2000 there was a DVD player called the Apex AD600A, which had a secret menu that would let you play DVDs with a different region code, and there was a web site that supported it (gone now, it was nerd-out.com) and there was a link there that said the remote codes had been found. When I followed the link it explained about advanced codes and how you could use them to re-program the TV/0030 code to work the Apex on the Cinema 7, and one of the posts asked about a Radio Shack remote that had the same capabilities, and I realized that I had that remote (the 15-1994) and voila! Actually, that just got me into OFA remotes, JP1 came a little later when HWHackr revealed how to talk to the 6-pin in a post on Remote Central. Oct 2000 that was.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Post Reply