10/10/25 - It’s been so long since we’ve last seen you!
10/24/22 - In searching for the perfect day, Timmy discovers something unexpected!
9/04/22 - That childhood favorite is back in a new Timmy video.
7/31/22 - It’s time for my second new Just Like Timmy video!
7/12/22 - Why not check out my new YouTube animation channel, Just Like Timmy!
|
|
 |
|
The following page was printed from RemoteCentral.com:
|
generate PCF from a text file
| |
|
| Topic: | generate PCF from a text file This thread has 10 replies. Displaying all posts. |
|
| Post 1 made on December 8, 2014 at 08:01 |
jimbobhaslam Long Time Member |
Joined: Posts: | January 2007 163 |
|
|
I have a text file with a big list of remote codes. I would like to get these inserted into a remote config file and was wondering if there's a clever way to do this before I start a marathon copy and paste session This is a sample of a couple of codes from the file PowerToggle:0000 006D 0022 0002 0157 00AC 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0689 0157 0056 0015 0E94 Notification:0000 006D 0022 0002 0157 00AC 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0689 0157 0056 0015 0E94
There's about 40 codes in the file so won't be the end of the world if I do it manually. Alternatively does anybody have a PCF with Pivos Xios DS codes?
|
TSU9400 |
|
| Post 2 made on December 8, 2014 at 12:18 |
|
Joined: Posts: RC XP: | August 2013 376 184⭐︎ |
|
|
You can bulk import such codes using IrScrutinizer, [Link: harctoolbox.org] For your very example, select Import -> Text -> Raw, select "Name col." to be 1, "Raw signal col." to be 2, and field separator ": (colon)". Then copy the text to the clopboard, and press "Load from clipboard". Unfortunately, IrScrutinizer cannot generate pcf directly (to my knowledge, that format is secret) but it can export as ccf, which can then be imported in ProntoEdit, and thus transformed into pcf.
|
|
|
| OP | Post 3 made on December 8, 2014 at 15:30 |
jimbobhaslam Long Time Member |
Joined: Posts: | January 2007 163 |
|
|
Cracking cheese it worked (I think), its certainly generated a file with lots of buttons that appear to have the desired code. Unfortunately I don't get to unwrap the device in question untill christmas but I least my Pronto shoud be ready.
|
TSU9400 |
|
| Post 4 made on December 10, 2014 at 01:26 |
 ADMIN
Daniel Tonks Wrangler of Remotes |
Joined: Posts: RC XP: | October 1998 28,828 662⭐︎ |
|
|
PCF format definitely isn't secret - it's just a ZIP archive with XML content (my very first hard-coded version of Galaxy NG was generated in PCF format by a program) - but no one really supports it.
|
|
| Post 5 made on December 10, 2014 at 14:26 |
|
Joined: Posts: RC XP: | August 2013 376 184⭐︎ |
|
|
You are right that a .pcf file is a zip archive, consisting of an XML file (ConfigEdit.xml), and some bitmaps. The XML file is reasonably easy to understand for a programmer. However, the format of the IR signals within that file, e.g., 49 0 f 6c 4 5e 0 96 8e 2e a5 3f 5f 13 11 f2 cb 20 bf c f2 cb 20 bf c f2 cb 10 c1 6f 5 13 11 f2 cb 20 bf c f2 cb 20 bf c f2 cb 10 c1 6f 5 df
is, to my knowledge, secret. If you know how to make sense of the numbers therein, or a document describing it, please tell me, and I will implement it in IrScrutinizer.
Actually, since PE can transform it, (both directions?) it is probably not completely impossible to "crack" it, at least partially. (Brute force: Building a table and inverting it.) But I do not want to get sued by Philips either...
|
|
|
| OP | Post 6 made on December 10, 2014 at 15:41 |
jimbobhaslam Long Time Member |
Joined: Posts: | January 2007 163 |
|
|
Brilliant, I didn't realise you were the author of the software. Brilliant bit of code I didn't even knew existed, much appreciated.
|
TSU9400 |
|
| Post 7 made on December 12, 2014 at 02:14 |
|
Joined: Posts: RC XP: | August 2001 13,119 344⭐︎ |
|
|
Here's a rather simple solution. There is a program on this site in the Classic Pronto Forum that will take input from a copy/paste and generate a CCF file which can be imported. I believe the name of this tool is IRPanels and it uses format from the output of MakeHex. For example: Function 0 0000 006D 0022 0002 0157 00AC 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0689 0157 0056 0015 0E94 Function 1 ... You get the idea. Once you have a CCF file, you can import that into PENG or PPENG. Lyndel
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 8 made on July 3, 2022 at 16:13 |
Remote_Lover Long Time Member |
Joined: Posts: RC XP: | April 2012 10 22⭐︎ |
|
|
@jimbobhaslam, Do you happen to still have that text file with the codes? I picked up an XIOS Media Center at a thrift store for $5 and I did not get the remote (as usual LoL!) I just need the Pronto codes as I'm going to use this for my JP1 remotes, I have a Logitech Harmony but my learning remotes are being difficult trying to copy those signals. Yes I know this is 8 years ago but I thought it is worth a try still Thanks
|
|
| Post 9 made on July 3, 2022 at 22:12 |
|
Joined: Posts: RC XP: | August 2001 13,119 344⭐︎ |
|
|
On July 3, 2022 at 17:13, Remote_Lover said...
@jimbobhaslam, Do you happen to still have that text file with the codes? I picked up an XIOS Media Center at a thrift store for $5 and I did not get the remote (as usual LoL!) I just need the Pronto codes as I'm going to use this for my JP1 remotes, I have a Logitech Harmony but my learning remotes are being difficult trying to copy those signals. Yes I know this is 8 years ago but I thought it is worth a try still Thanks Try sending him an email @ email address on his profile if he does not respond. It has been a long time since I've seen him around here.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 10 made on August 5, 2022 at 17:53 |
Remote_Lover Long Time Member |
Joined: Posts: RC XP: | April 2012 10 22⭐︎ |
|
|
On July 3, 2022 at 23:12, Lyndel McGee said...
Try sending him an email @ email address on his profile if he does not respond. It has been a long time since I've seen him around here. I did and it has been over a month and no reply, oh well I tried.
|
|
| Post 11 made on August 6, 2022 at 16:58 |
|
Joined: Posts: RC XP: | August 2001 13,119 344⭐︎ |
|
|
How about posting a thread with a specific title and maybe someone will come along and reply.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
 |
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|