ccf to txt to km file

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
sretlow
Posts: 13
Joined: Wed Nov 21, 2007 5:54 am

ccf to txt to km file

Post by sretlow »

I've found a ccf file which I have converted to a txt file with decodeCCF.exe. The new txt file is not suitable for importing in KM. What will I have to do to make it possible to import it (or manually insert) it in KM?

The txt file is added here: http://sretlow.no-ip.info/dvd.txt
Last edited by sretlow on Tue Nov 27, 2007 3:49 pm, edited 1 time in total.
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

I guess the first question I would ask is "Why?" do you want to convert it into a KM file?

Use the rmdu file directly in RemoteMaster and it generates any upgrades you may require for importation into IR.exe.

If for some reason you cannot use RemoteMaster and must use KeymapMaster for generating your upgrades (like you cannot install the free Java RTE), then there is no way to automatically input an entire rmdu upgrade into KM. You have to enter the data manually. On KM's SETUP worksheet, you enter the Protocol and Device (RC6 and 4 - I don't know what those first four functions are in your txt file) and then on the FUNCTIONS worksheet, you enter the function names and OBCs in order. Then you assign the buttons on the BUTTONS worksheet.

The desired upgrade info appears on the SETUP worksheet.

It shouldn't take more than about 10 minutes.

Now if you're good with Excel and txt files, you could take that txt file and "Special Paste" it into a blank Excel worksheet getting the correct columns to line up properly and then selectively cut and paste the columns of data you need from THAT into KM's Functions worksheet, but if you don't know how to do that already, it'll take longer to explain than to enter the data manually.
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

sretlow wrote:I've found a rdmu file
I assume that was a typo: You actually found a CCF file.

If you open that txt file in Excel, it will be easier to read and to copy/paste into RM or KM. But you can do the following with or without opening it in Excel. Also, I think this would be a bit easier with RM than with KM, but it can be done with either.

1) That file says all the DVD commands, are RC6 protocol, device 4. You must select those on the setup sheet in KM or RM.

In the following instructions, don't include the top few lines (which don't begin "RC6"). Those are not for the DVD.

2) The OBC numbers are column D, if youopen in Excel. They are the number after the 4 on each RC6 line, if you open without Excel. You need to copy that whole column to the OBC column in KM or RM.

2a) In KM, you probably need to first swap EFC/OBC in order to make OBC the writable column. (In RM, OBC is always a writable column).

2b) From Excel to RM you can just highlight and copy/paste the whole set of OBC numbers in one step. I'm not sure whether you can do the same from Excel to KM. From a text editor to either KM or RM, you would need to manually retype all the numbers to copy the column.

3) Column K in Excel, or the text after the work "Learned" if not in Excel is the Function name. You need to copy those to the function name column in RM or KM similarly to the way you copied the OBC numbers. (again, doing it in one step is easiest from Excel to RM).

4) Several lines are doubled in the txt file. At some point you need to discard those. That is easy in RM after doing the copy/paste, but also easy in Excel or a text editor before doing the copy to KM or RM. Whichever way you prefer is fine.

5) Continue with the normal process of building an upgrade (starting with assigning functions to buttons on the button sheet in KM or RM).

BTW, Philips DVD commands are very consistent between models, so you could probably find a KM (.txt) file and/or .rmdu file with the upgrade you want already built. Then just compare the OBC numbers for a few of the less common function names against the txt file you have to see if you need a few minor changes. That also would avoid some of the other problems with CCF files, such as:

I notice the CCF file had no function name for OBC 130. I guess it had some graphic that made the meaning of that function clear (at least to the original definer of the CCF) but the graphics don't get into the DecodeCCF output.

I compared that to the rmdu file for the Philips-DVD 762 (just happened to be the first one I hit in my collection of previously downloaded rmdu files) and there I see OBC 130 is "System Menu". In general, you're more likely to find useful function names in an rmdu file than a ccf file, though either way it really depends on the author of the file.
Last edited by johnsfine on Tue Nov 27, 2007 3:54 pm, edited 1 time in total.
sretlow
Posts: 13
Joined: Wed Nov 21, 2007 5:54 am

Post by sretlow »

yes, a typo. I've found a ccf file. I tried it and it worked. I can now turn on the dvd.

Unfortunately some keys are missing (or not missing) but not described. I will now have to try (trail and error?) if I can find the obc numbers for example title or menu and so on.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

1) I was editing my earlier post while you were responding to it, so you might want to reread it for info that wasn't there before.

2) I just read your other post to see you have a Yamaha, not a Philips, BUT the code set is Philips. Yamaha uses at least three different DVD code sets, without much pattern by model number. So finding an inexact match in Yamaha model number might be a totally wrong file. But now that you know your DVD partially matches the Philips DVD code set, I think you'll find it is a very good match for most of the Philips DVD files in the JP1 upgrade libraries.

I checked the JP1 upgrade libraries for Yamaha DVD files and was surprised to see so little. If I'm reading it right, there is just one file (the one Capn Trips found for you in your other thread) and it uses Yamaha's own DVD code set. But as mentioned above, many Yamaha DVD models use the Philips DVD code set instead. I think the only posted JP1 files with the Philips DVD code set are Philips or Magnavox.
sretlow
Posts: 13
Joined: Wed Nov 21, 2007 5:54 am

Post by sretlow »

I've just downloaded a Philips dvd 762 km file and compared it with the (known) Yamaha codes. This matches exactly. So I will make a KM file (translated from the Philips remote) for this Yamaha DVD player and post it in the file section. Not every command is available on the Yamaha device.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

sretlow wrote:Not every command is available on the Yamaha device.
That isn't surprising, but are you determining which commands the Yamaha has based on its documentation and/or original remote, or by actually testing the commands from a JP1 upgrade? Devices often support commands from related models even though those commands aren't in the documentation nor original remote.
sretlow
Posts: 13
Joined: Wed Nov 21, 2007 5:54 am

Post by sretlow »

No, I will leave every Philips command which is not available in the sheet but will not test it or use it assiged to the buttons. I will only test the most interesting because the dreambox remote has also a limited list of available buttons. Test will be by trying to prgram it and see if it is functioning.
Post Reply