Converting from Ir.exe save format to slinke cde format

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

Converting from Ir.exe save format to slinke cde format

Post by dpgriffith »

Hello, hope someone has the answer to this one.

I have several devices to get hooked up including 2 ReplayTV's.

I have been successfull in reprogramming one of my replay remotes using jp1 interface I built. Now I need to figure out how to convert these codes to nirvis slinke .cde format to use in HouseBot.

I have tried to use the remote to "Teach" the slinke the commands but not much luck yet. I'm not sure what the problem is but I figured it would save that step and errors it could produce if I could do a direct convert.

I found a program called GenIRDB that outputs .cde but didn't see a way to load my output from ir.exe.

Thanks,

David
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

I am prettty familiar with GenIRDB but not with the option to create cde files. I have used it to generate Pronto hex and lir files for the Applied Digital Ocelot. I do know that Barry Gordon, the author of GenIRDB, has a sLinke so I think you will be able to get it to work.

The Replay uses a variation of the RC6 protocol, with 8 additional data bits. I think I created a protocol file for the Replay variant. The OFA/JP1 uses a similar convention to GenIRDB, device numbers are the same, function in GenIRDB is known as OBC.

The RC6 protocol and it's variants have a toggle bit and usually that causes problems in learning.

You might mention what other devices you are trying to convert and I'll give you a hand.
-Jon
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

jon_armstrong wrote: The Replay uses a variation of the RC6 protocol, with 8 additional data bits.
Yes. It is RC6-6-24 (RC6 with an M value of 6 and a data length of 24).
jon_armstrong wrote:I think I created a protocol file for the Replay variant.
Did you email that to David or post it somewhere, or what? I never really looked at GenIRDB, but I assume it uses some form of .IRP file.
jon_armstrong wrote: The RC6 protocol and it's variants have a toggle bit and usually that causes problems in learning.
I though the Replay remotes didn't toggle the toggle bit.
The Robman
Site Owner
Posts: 21938
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

I do seem to recall someone else having a problem using the Replay signal through some other sort of IR distribution mechanism, so it's possible that there's something about this particular signal that is troublesome to such devices (though I can't personally think what that would be).

But anyway, just for fun, you could try using the Panasonic version of the signal to see if you have any better luck with that.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

johnsfine wrote:Yes. It is RC6-6-24 (RC6 with an M value of 6 and a data length of 24).
jon_armstrong wrote:I think I created a protocol file for the Replay variant.
Did you email that to David or post it somewhere, or what? I never really looked at GenIRDB, but I assume it uses some form of .IRP file.
Here is my GenIRDB protocol file:
'*******************************************
Protocol=Replay
Frequency=36360
Time Base=444
Zero=-1,1
One=1,-1
First Bit=MSB
Modulation=PPM
Define=S=0 'Unit Code
Define=M=6

Form=[6 -2],1:1,M:3,[-2 2],D:8,S:8,F:8,[-247] 'Zero Toggle
'( Alternate: Form=[6 -2],1:1,M:3,[2 -2],D:8,S:8,F:8,[-247] 'One Toggle )
'*******************************************

Copy everything between the asterisks and paste to notepad. Save AS, select all files, Replay.irp

GenIRDB has two modes an AutoGenerate where you can enter device number and range of commands (0 to 255) or you can create a device file and generate only the commands that you specify. There are many examples of device files in Barry's library.

jon_armstrong wrote: The RC6 protocol and it's variants have a toggle bit and usually that causes problems in learning.
I though the Replay remotes didn't toggle the toggle bit.
You are probably right, since you have a lot more recent experince with the RC6 variants. If it does need a toggle bit the alternate form will provide it. It is commented out.
Last edited by jon_armstrong on Mon Mar 29, 2004 10:23 am, edited 1 time in total.
-Jon
The Robman
Site Owner
Posts: 21938
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Replay doesn't need the toggle, in fact I think we determined that it doesn't like it if the toggle bit is toggled.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

Rob or John do you know off hand if the toggle is permanently in the Zero or One state? I have a Replay so this may be me being lazy. In fact I had them labeled backwards, now fixed
-Jon
dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

Post by dpgriffith »

Hello,

Thanks for all the replies. I give some of this a try this evening when I get home.

As for devices,
2 replaytv's
1 dish 301
1 dish 6000 (may have to leave this one standalone or trade it because it doesn't do IR as I just found out this past weekend)
Pioneer Elite VSX-49TXi
Pioneer Elite PD-R19RW
Pioneer Elite DV-F07
Pioneer Elite Pro-710HD
Symphonic DVD/VCR
Phillips DVD Recorder DVDR-985


I'll post an update later this evening or tomorrow morning after I get a chance to try out a few things.

Thanks,

David
gjarboni
Expert
Posts: 294
Joined: Sat Sep 20, 2003 4:55 pm
Location: Columbia, MD

Post by gjarboni »

jon_armstrong wrote:Rob or John do you know off hand if the toggle is permanently in the Zero or One state? I have a Replay so this may be me being lazy. In fact I had them labeled backwards, now fixed
I tested this and posted it, but it was buried in a thread on the Windows MCE protocol. Here's a link, but the short answer is that neither an original 2004 or a 5040 would respond to commands sent with T=1.
dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

Post by dpgriffith »

Here is my GenIRDB protocol file:
'*******************************************
Protocol=Replay
Frequency=36360
Time Base=444
Zero=-1,1
One=1,-1
First Bit=MSB
Modulation=PPM
Define=S=0 'Unit Code
Define=M=6

Form=[6 -2],1:1,M:3,[-2 2],D:8,S:8,F:8,[-247] 'Zero Toggle
'( Alternate: Form=[6 -2],1:1,M:3,[2 -2],D:8,S:8,F:8,[-247] 'One Toggle )
'*******************************************

Copy everything between the asterisks and paste to notepad. Save AS, select all files, Replay.irp

GenIRDB has two modes an AutoGenerate where you can enter device number and range of commands (0 to 255) or you can create a device file and generate only the commands that you specify. There are many examples of device files in Barry's library.


I tried this and must be donig something wrong.
I chose the slinke txrx setting and that bombed out on an overflow runtime error. I then tried the txonly setting, selected autogenerate and show details. Selected the newly created replay.irp file that I created for the format select. I filled in the Manufacturer with Sonic Blue device Model with ReplayTV and device type as PVR. I left Auto Generate set to 1 time, device code blank, first function to 0, last function to 255.

I took the file created and loaded it into easylearn and tried several codes. None seemed to work. If I did this correctly button 12 should be power toggle.

Any more ideas?

Thanks for all the responses! I love this stuff and not ready to give up yet!

(i'm a bit stubborn) lol

David
dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

More info

Post by dpgriffith »

Hope this paste in works..........

desc=New Device File
type=irtxonly
carrier=40000.000000
sleep=-300000
2700.0 -800.0 500.0 -400.0 500.0 -400.0 400.0 -900.0 400.0 -900.0 900.0 -400.0 500.0 -400.0 400.0 -500.0 400.0 -500.0 400.0 -400.0 500.0 -400.0 500.0 -300.0 900.0 -900.0 500.0 -400.0 400.0 -500.0 400.0 -400.0 500.0 -500.0 400.0 -400.0 500.0 -400.0 400.0 -500.0 400.0 -500.0 400.0 -500.0 400.0 -400.0 500.0 -400.0 900.0 -400.0 500.0 -800.0 500.0 -400.0 400.0 -63600.0 -36600.0 :PowerToggle
2664 -888 444 -444 444 -444 444 -888 444 -888 888 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 444 -444 888 -444 444 -888 444 -444 444 -109668 :Button-012



The first part is from the file that was a learned command in slink easy learn.

the last line was pasted in that was the same command from the genirdb file.

Hope this helps someone help me figure this out.


Thanks,

David
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

David,

Replay uses Device=1 (what the learned command indicates). The GenIRDB code you posted above was for device=0.

You can set Device=1 in the auto-generate mode.
-Jon
dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

Device Code

Post by dpgriffith »

Hi Jon,

Hey, thanks for the reply. I thought the device was the Remote Code that is setup in the ReplayTV hidden screen 243 zones!

If it isn't, any idea how do I specify this code?
I really need 2 sets of codes one for each ReplayTV.

Thanks,

David
The Robman
Site Owner
Posts: 21938
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The device code is fixed at 1, it's the unit code (or "sub device") that changes. Unit 0 will control all Replays, any other value will just control the Replay that's programmed to respond to that unit code.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
dpgriffith
Posts: 6
Joined: Sun Mar 28, 2004 4:38 pm

Post by dpgriffith »

Hello all,

Well, tried again last night and same problem.
The codes that get generated don't even look close to the learned ones that do work. If I get a chance I'll do some more playing around tonight when I get home.

Any idea what else I could be doing wrong?

Thanks,

David
Post Reply