or Connect
AVS › AVS Forum › Gaming & Content Streaming › ReplayTV & Showstopper PVRs › Adding new IR Blaster codes to the Replay unit (2k/3k)
New Posts  All Forums:Forum Nav:

Adding new IR Blaster codes to the Replay unit (2k/3k)

post #1 of 56
Thread Starter 
I have split this thread from the main Adding new IR Blaster codes to the Replay unit thread.

All of the posts here pertain to the older 2000, 3000 and Showstopper ReplayTV units. These units use OBJ files for the IR blaster.

All of the posts that remain in the other thread pertain to the newer 4000, 5000 and 5500 series units. These units use RID files for the IR blaster.

All files relating to adding blaster codes to Replay can be found here...
http://www.hifi-remote.com/forums/dl...ory&cat_id=106

To add a new blaster code to a 2k/3k series ReplayTV unit (including Showstoppers), you need to use a program called extract_rtv which you can download from here (instructions on how to use extract_rtv are in the ReadMe.txt included in the zip):
http://sourceforge.net/projects/rtvpatch/files/

You can create new OBJ files using a JP1 program called RM:
http://www.hifi-remote.com/forums/viewtopic.php?t=8436

Once you have a new OBJ file, you would use extract_rtv to add it to your Replay. If you overlay an existing OBJ file, you won't need to change anything else. OBJ files reside in the sys1/OS/IRBlaster folder.

The syntax for extract_rtv is:
"extract_rtv -p1 -w [filename] [localfile]"

-p1 means use partition 1
-w means overwrite filename with localfile
[filename] is the full path name of the file on the ReplayTV drive
[localfile] is the name of the file on the PC drive

If you decide to add a new OBJ file, you will also need to include a reference to it in the IRBTable file (found in sys1/OS/IRBlaster folder). If you want to have the brand name listed, you would need to add a new brand file to the sys1/Setup/Irbdata folder.

The IRBTable file looks like this...
Code:
#
# Replay TV IRBlaster Setup Code Info Table
#
# Version 12/28/99
#
# This file contains specific information for IRBlaster setup codes.
# Each entry specifies the IR Code to use, the output string format,
# and the interdigit delay. A setup code 0f 0 is used to change
# the delay and format used as the default
#
# Setup Code    IRB Code     Format String      Delay     File
#=================================================================
    003         003          %d@                200
    015         015          %02d               200       C0015.OBJ
    160         160          %d                 200       C0160.OBJ
    392         392          %03d               200       S0392.OBJ
    276         276          %d@                200       C0276.OBJ
    877         877          %d@                200       C0877.OBJ
    899         899          %d@                200       C0899.OBJ
    476         476          %03d               400
    525         525          %d@                200       C0525.OBJ
    775         775          %d                 200
    5533        533          %d                 200       C0533.OBJ
    4476        476          %3d@               200       C0476.OBJ
    847         847          %d@                200       S0847.OBJ
    1005        3053         %03d               200       S1005.OBJ
    5392        392          %d@                200       S0392.OBJ
    5476        476          %03d               400
    6000        6000         %02d               200
    7000        7000         %02d               400
    8000        8000         %03d               200
    9000        9000         %03d               400
And here's a sample of what one of the brand name files looks like (this is the ABCCableBox file)
Code:
$ ABC
| 
@ ^^0001^^^^^^^

| 
@ ^^0003^^^^^^^

| 
@ ^^0007^^^^^^^

| 
@ ^^0008^^^^^^^

| 
@ ^^0011^^^^^^^

| 
@ ^^0013^^^^^^^

| 
@ ^^0014^^^^^^^

| 
@ ^^0017^^^^^^^
post #2 of 56
Quote:


Originally posted by Mikeyboy
The hard part is adding new files. I can't help you there. Maybe flipflop can.

The 2xxx and 3xxx series units have an httpget command that can be used to download a file served from a web page. You need to enable the shell console on the serial port ( http://members.cox.net/seanriddle/replayshell.html ), then use the shell to force a network connection ('connect' / 'disconnect' commands) and use the 'httpget' command to get the file. Once you have a shell you can also move files around and/or manually edit text files as needed.

You could also use rnsproxy ( http://www.molehill.org/twiki/bin/view/Replay/RnsProxy ) to intercept communications and run shell commands (like httpget) during a normal network connection.

If the molehill.org page is not available, try this archive instead...
http://web.archive.org/web/200408180...eplay/RnsProxy

Similar things probably can be done on the 4xxx and 5xxx units, but I don't know the specifics there.
post #3 of 56
Quote:


Originally posted by FlipFlop
The 2xxx and 3xxx series units have an httpget command that can be used to download a file served from a web page. You need to enable the shell console on the serial port ( http://members.cox.net/seanriddle/replayshell.html ), then use the shell to force a network connection ('connect' / 'disconnect' commands) and use the 'httpget' command to get the file. Once you have a shell you can also move files around and/or manually edit text files as needed.

wow! when did this get discovered? Is there any other information on this (i.e. previous thread?)
I couldnt find anything in the replayfaq or via search.
post #4 of 56
Thread Starter 
Hey, all of my Replays are 3k/Showstoppers, so the selfish side of me says there's no rush for the 4k/5k solution!

If you guys that know what you're doing could set something up, I could create the files to be loaded.

Randy, even though the shows from an HDTV box would no longer be HD, the picture quality qould still be WAY better than the regular channels from analogue cable or OTA, plus there are a few extra channels that you can get via the OTA HDTV that are not accessible otherwise.
post #5 of 56
Thread Starter 
FlipFlop, et all,
I just got around to looking at the contents of the "obj" files for the IR blaster and here's the format of the files.

Byte1 = number of bytes to the protocol code (zero means use ROM protocol)
Bytes 2+3 = setup code

Bytes 4+ = normal device upgrade code,
Byte 4 = 2nd half of protocol id
Byte 5 = number table entry (usually zeroes)
Byte 6+ = fixed data (for protocol)
Followed by button codes, here's the key map...

numbers (10)
volume (3 - not used)
ch +
ch -
power on
power off
enter (or select)

Next up on my "to do" list is to create an "obj" file for you that will send the ch+/- thing instead of the enter button.
post #6 of 56
Robman,
Could you provide more info on how to create an IR blaster .obj file? You described the file format, but how would I get the info populate a file?

I have been trying to get my Showstopper to control a Samsung T151 HD OTA STB, but haven't had much luck. I got a Samsung hack that Mikeyboy had posted over here:

http://www.avsforum.com/avs-vb/showt...er#post3601613

which appears to be doing exactly what you are describing in this thread. However, I haven't gotten it to work so I'm thinking if I created my own .obj specifically for a Samsung T151, I may have better luck.
post #7 of 56
Can anyone provide any info on this?
post #8 of 56
Looks like I'm going to need to add new codes to my Showstopper as well to control a new DirecTV receiver. If anyone has any helpful information, that would be appreciated. In the mean time, I guess I'll start digging through the old posts to see if I can figure out how to create my own code files.
post #9 of 56
Thread Starter 
Was an easy way ever developed to get new OBJ upgrade files into the old 2000/3000 series units, without needing to remove the HD each time?
post #10 of 56
i would like to modify an ir command set in a 2000 series replay. i know that you cannot add any file to the os,but it is possible to change an existing IR command set to the values needed. i know that the 2000 series uses a different format than
the later replay's rid file. i can extract the files for IR from the 2000 using extractRTV,but am having difficulty knowing what the format of the ir hex codes
pertain to. i have JP1 info for the needed IR,is there a program (like flipflops for rid file conversion) for the 4000/5000 series for the 2000? how can i use extractRTV to replace such a file if i can re-write a known IR set? will i need to calculate a new checksum for this file?
tnx.
post #11 of 56
Quote:
Originally Posted by rxman View Post

i would like to modify an ir command set in a 2000 series replay.

The Robman has made codes for the 2xxx and 3xxx units. The codes for those units are different than the 4xxx and 5xxx units, but apparently are similar to UEI universal remotes.

The main difficulty there is getting new codes into the unit, but if you are willing to pull the hard drive, you can use "extract_rtv -p1 -w [filename] [localfile]" to overwrite an existing code. [filename] is the full path name of the file on the ReplayTV drive, and localfile is the name of the file on the PC drive.
post #12 of 56
Thread Starter 
The 2000/3000 series codes are stored as "OBJ" files in a folder called sys1/OS/IRBlaster. There is a file in this folder called IRBTable which contains info on how the codes should be used (ie, are leading zeroes required, how many digits, what delay between button presses).

If you create a new OBJ file, you should store it here and edit the IRBTable file accordingly.

Here's a brief extract of what this file looks like...
Code:
# Setup Code    IRB Code     Format String      Delay     File
#=================================================================
    003         003          %d@                200
    015         015          %02d               200       C0015.OBJ
    160         160          %d                 200       C0160.OBJ
    392         392          %03d               200       S0392.OBJ
    276         276          %d@                200       C0276.OBJ
If you also want to associate the new code with a brand name, there is another folder called sys1/Setup/Irbdata which contains a file for each brand that list the corresponding setup codes. Here's what the "ABCCableBox" file looks like...
Code:
$ ABC
| 
@ ^^0001^^^^^^^

| 
@ ^^0003^^^^^^^

| 
@ ^^0007^^^^^^^

| 
@ ^^0008^^^^^^^

| 
@ ^^0011^^^^^^^

| 
@ ^^0013^^^^^^^

| 
@ ^^0014^^^^^^^

| 
@ ^^0017^^^^^^^
Here's the format of the "OBJ" files:

bytes function
0-0: bytes offset of protocol code (zero if no protocol upgrade needed)
1-2: setup code in hex format (eg, "0b ed" = SAT/1005 )
3+: this is the device upgrade in standard JP1 format
??: the device upgrade may be followed by a protocol upgrade, in standard S3C8(old) format.
post #13 of 56
Quote:
Originally Posted by The Robman View Post

The 2000/3000 series codes are stored as "OBJ" files in a folder called sys1/OS/IRBlaster.
If you create a new OBJ file, you should store it here and edit the IRBTable file
accordingly.

Hi Robman,

What tools can I use to create or modify the "OBJ" files?
I have a Showstopper 2000, and I'm trying to make it work with my DreamBox500.

Thanks
post #14 of 56
Thread Starter 
We haven't added support for the OBJ files to the JP1 software yet, and it really wasn't considered much of a priority as it didn't seem like too many people would still need this functionality. Just FYI, I have asked for this functionality here:

http://www.hifi-remote.com/forums/vi...?p=35493#35493

However, the Dreambox might be a problem. There is a limit to the size of the protocol code that can be used with the newer UEI chips (as used in the Slingbox), so it's entirely possible that the same limit applies to the old chip used in the Replay. If this is the case, it would rule out adding an upgrade for the Dreambox because the protocol code is so large.
post #15 of 56
Quote:
Originally Posted by rxman View Post

i would like to modify an ir command set in a 2000 series replay. i know that you cannot add any file to the os,but it is possible to change an existing IR command set to the values needed. i know that the 2000 series uses a different format than
the later replay's rid file. i can extract the files for IR from the 2000 using extractRTV,but am having difficulty knowing what the format of the ir hex codes
pertain to. i have JP1 info for the needed IR,is there a program (like flipflops for rid file conversion) for the 4000/5000 series for the 2000? how can i use extractRTV to replace such a file if i can re-write a known IR set? will i need to calculate a new checksum for this file?
tnx.

I hve edited this post because I found most of the info I needed. Does anyone have a Directv D10 obj file?

Thanks,
'
Joe
post #16 of 56
Since no one seems to have one of these files, I am giving it a try, without success. Here is what I have done. This would make a great tutorial if only it were correct.

1. Got the D10 file from JP1 site.
2. Created S1005.OBJ using the xvi32 hex editor
3. Edited the file as follows. Per The Robman's format instructions posted earlier

a) 0-0: bytes offset of protocol code (zero if no protocol upgrade needed)

28 (dec 40 to get to offset of protocol code

b) 1-2: setup code in hex format (eg, "0b ed" = SAT/1005 )

0B ED

c) 3+: this is the device upgrade in standard JP1 format

Got the following hex data from this area of the JP1 file

15-1994 Device Upgrade Code:,,,,,,,,,,,,
Upgrade Code 0 = 0D 61 (SAT/1377) DirecTV D10 (KM v8.28),,,,,,,,,,,,

62 00 BE FE FC E9 C3 11 01 02 03 04 05 06 07 08 09 0D 0E 10 13 5B 0F 30 32 33 34 31 35 29 28 21 22 23 24 25 47 2E 48 26


d) ??: the device upgrade may be followed by a protocol upgrade, in standard S3C8(old) format

Got the following hex data from this area of the JP1 file

15-1994 Device Upgrade Code:,,,,,,,,,,,,
Upgrade Code 0 = 0D 61 (SAT/1377) DirecTV D10 (KM v8.28),,,,,,,,,,,,

40 84 11 8B 15 00 01 2C 01 18 01 2C 02 44 02 58 01 18 02 58 02 44 0B B8 02 44 B0 0C 68 03 37 64 0B E6 0E 2C E6 0F 5D F6 01 42 8B 0C 37 62 09 E6 0E 43 E6 0F 8A F6 01 42 F6 80 91 1C 22 F6 01 39 38 03 F6 80 7A 38 04 F6 80 76 38 05 F6 80 7A 1C 12 F6 01 51 37 60 07 C6 F8 29 04 F6 01 45 C6 F8 11 94 F6 01 45 76 0C 01 EB 06 C6 22 05 DC 20 0C F6 01 0A 7B C6 AF 4C 04 8B 02 4C 02 90 C3 90 C3 08 C3 56 C0 03 86 04 C0 06 C1 12 F6 01 39 4A EC AF C6 08 01 03 C6 0A 05 07 B0 C0 B0 C2 38 04 48 C3 56 C4 03 87 50 08 02 24 5A FC E0 C3 E0 C3 0E 37 04 EC F0 C2 29 05 AF

To come up with the following hex data in the S1005.OBJ file.

28 0B ED 62 00 BE FE FC E9 C3 11 01 02 03 04 05 06 07 08 09 0D 0E 10 13 5B 0F 30 32 33 34 31 35 29 28 21 22 23 24 25 47 2E 48 26 40 84 11 8B 15 00 01 2C 01 18 01 2C 02 44 02 58 01 18 02 58 02 44 0B B8 02 44 B0 0C 68 03 37 64 0B E6 0E 2C E6 0F 5D F6 01 42 8B 0C 37 62 09 E6 0E 43 E6 0F 8A F6 01 42 F6 80 91 1C 22 F6 01 39 38 03 F6 80 7A 38 04 F6 80 76 38 05 F6 80 7A 1C 12 F6 01 51 37 60 07 C6 F8 29 04 F6 01 45 C6 F8 11 94 F6 01 45 76 0C 01 EB 06 C6 22 05 DC 20 0C F6 01 0A 7B C6 AF 4C 04 8B 02 4C 02 90 C3 90 C3 08 C3 56 C0 03 86 04 C0 06 C1 12 F6 01 39 4A EC AF C6 08 01 03 C6 0A 05 07 B0 C0 B0 C2 38 04 48 C3 56 C4 03 87 50 08 02 24 5A FC E0 C3 E0 C3 0E 37 04 EC F0 C2 29 05 AF


I then used extract_rtv to overwrite sys1/OS/IRBlaster/S1005.OBJ on replay drive. I selected the code 1005 from the "Other" choices of the Sat menu. Still no luck. Can anyone tell me where I went wrong (be nice ). Keep in mind I have no IR experience and alot of the terms are greek to me.

Thanks,

Joe

Setup Code should have been 0D 61. Oops. Wife has a show recording. Will post results later.
post #17 of 56
Didin't work so I tried...

00 06 D1 62 00 BE FE FC E9 C3 11 01 02 03 04 05 06 07 08 09 0D 0E 10 13 5B 0F 30 32 33 34 31 35 29 28 21 22 23 24 25 47 2E 48 26

^^^^^^^^ dropped protocol upgrade^^^^^^^^^^^
Didn't work either.
post #18 of 56
Thread Starter 
Try the following data for the DirecTV D10:

14 0D 61 62 00 B9 C3 11 01 02 03 04 05 06 07 08
09 0D 0E 10 10 43 8A 11 8B 09 20 0B B8 02 4E 01
22 01 22 08 04 86 40 C0 28 CB 84 C1 C2 02 C2 06
CB 40 FB F1 90 CC 1C 12 F6 01 39 38 03 48 04 5C
09 1C 14 90 C3 7B 02 1E 1E F6 01 39 90 C3 FB 05
1C 16 F6 01 5A 76 C5 03 EB 04 38 C4 48 CC 5A E1
C6 F8 38 4A F6 01 45 C6 12 05 DC F6 01 0A 7B C6
AF

 

S1377_OBJ.zip 0.2236328125k . file
post #19 of 56
Quote:
Originally Posted by The Robman View Post

Try the following data for the DirecTV D10:

14 0D 61 62 00 B9 C3 11 01 02 03 04 05 06 07 08
09 0D 0E 10 10 43 8A 11 8B 09 20 0B B8 02 4E 01
22 01 22 08 04 86 40 C0 28 CB 84 C1 C2 02 C2 06
CB 40 FB F1 90 CC 1C 12 F6 01 39 38 03 48 04 5C
09 1C 14 90 C3 7B 02 1E 1E F6 01 39 90 C3 FB 05
1C 16 F6 01 5A 76 C5 03 EB 04 38 C4 48 CC 5A E1
C6 F8 38 4A F6 01 45 C6 12 05 DC F6 01 0A 7B C6
AF

I didn't get it to work. I didn't have an S1377.obj so I renamed it S1005.obj and replaced it both directories. I then tried to select the 1005 code from the "Other" section. Did I do sopmething wrong? BTW thanks for trying to help.

Joe
post #20 of 56
Quote:
Originally Posted by The Robman View Post

Try the following data for the DirecTV D10:

14 0D 61 62 00 B9 C3 11 01 02 03 04 05 06 07 08
09 0D 0E 10 10 43 8A 11 8B 09 20 0B B8 02 4E 01
22 01 22 08 04 86 40 C0 28 CB 84 C1 C2 02 C2 06
CB 40 FB F1 90 CC 1C 12 F6 01 39 38 03 48 04 5C
09 1C 14 90 C3 7B 02 1E 1E F6 01 39 90 C3 FB 05
1C 16 F6 01 5A 76 C5 03 EB 04 38 C4 48 CC 5A E1
C6 F8 38 4A F6 01 45 C6 12 05 DC F6 01 0A 7B C6
AF

Okay. I think I may know what my problem is. I thought I read somewhere on this forum that the D10 series used the same ir codes. I have a D10-200. I can't find that post anywhere. Could someone confirm this for me before I rack my brain trying this again. Thanks again.
post #21 of 56
I have done a search and found some information, but hopefully somebody can answer this question for me.

I have a Pansat 2700A and have an opportunity to pick up an older ReplayTV, RTV-2020.

Is it possible to put the 2700A IR codes in the 2020? Or perhaps I should just ask: Can the 2020 properly work with the 2700A? and if so, what's your suggestion.

Thank you in advance.
post #22 of 56
Quote:
Originally Posted by relaxin View Post

I have a Pansat 2700A and have an opportunity to pick up an older ReplayTV, RTV-2020.

The 2xxx and 3xxx use a different IR Blaster file format. If you go back a couple pages in this thread you will find some discussion of them (they are called .obj files on those devices). It is possible to create a file that works, but it is still a bit difficult. Also, to install the file you need to remove the hard drive, connect the drive to your PC, and copy the file onto the drive using extract_rtv.
post #23 of 56
Quote:
Originally Posted by FlipFlop View Post

The 2xxx and 3xxx use a different IR Blaster file format. If you go back a couple pages in this thread you will find some discussion of them (they are called .obj files on those devices). It is possible to create a file that works, but it is still a bit difficult. Also, to install the file you need to remove the hard drive, connect the drive to your PC, and copy the file onto the drive using extract_rtv.

As you say "create" a file. I am too assume then, that there is not one that exists? I don't mind needing to take the drive out. When I had a Tivo, back in the day, that is what I needed to do.
post #24 of 56
Quote:
Originally Posted by relaxin View Post

As you say "create" a file. I am too assume then, that there is not one that exists? I don't mind needing to take the drive out. When I had a Tivo, back in the day, that is what I needed to do.

I would assume that none exists, and that you would need to put it together and fiddle with things to get it to work. I know a code was successfully added once and that the format of the OBJ is known. But beyond that there hasn't been much discussion that I've seen. If you did this, you may be only the 3rd person to do it, and probably the 1st for the PanSat 2700.
post #25 of 56
Quote:
Originally Posted by foltz61 View Post

Okay. I think I may know what my problem is. I thought I read somewhere on this forum that the D10 series used the same ir codes. I have a D10-200. I can't find that post anywhere. Could someone confirm this for me before I rack my brain trying this again. Thanks again.

Well I found out that the receivers use the same codes. So, can anybody tell me what I did wrong?

Thanks,

Joe
post #26 of 56
Can this work with a Panasonic Showstopper 2000
I am trying to team up my Coolsat, MVidea, or Captiveworks to work with my Panasonic PV-HS2000.
post #27 of 56
Quote:
Originally Posted by Chitownman55 View Post

Can this work with a Panasonic Showstopper 2000...

"sometime in the near future"


Quote:
Originally Posted by FlipFlop View Post

...for people wanting to add codes to the 2xxx and 3xxx units, things are starting to come together. The "JP1" tools are being worked on to add support for creating blaster codes for those units, and we have the ability to write these new codes onto the disk image. So, sometime in the near future it should be possible to add codes to those units too.
post #28 of 56
Don't mean to be pushy, but anybody know the progress of allowing 2XXX, 3XXX, and Showstoppers to have this ability. Also, if anybody needs a test subject, i have a Showstopper and am willing to help in any way.
post #29 of 56
expected Q1 '03.
post #30 of 56
I'll get you for that one. Good one.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: ReplayTV & Showstopper PVRs
AVS › AVS Forum › Gaming & Content Streaming › ReplayTV & Showstopper PVRs › Adding new IR Blaster codes to the Replay unit (2k/3k)