Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto NG Family Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
generate PCF from a text file
This thread has 10 replies. Displaying all posts.
Post 1 made on Monday December 8, 2014 at 09:01
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
161
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 Monday December 8, 2014 at 13:18
Barf
Long Time Member
Joined:
Posts:
August 2013
320
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 Monday December 8, 2014 at 16:30
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
161
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 Wednesday December 10, 2014 at 02:26
Daniel Tonks
Wrangler of Remotes
Joined:
Posts:
October 1998
28,738
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 Wednesday December 10, 2014 at 15:26
Barf
Long Time Member
Joined:
Posts:
August 2013
320
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 Wednesday December 10, 2014 at 16:41
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
161
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 Friday December 12, 2014 at 03:14
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,825
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 Sunday July 3, 2022 at 17:13
Remote_Lover
Lurking Member
Joined:
Posts:
April 2012
9
@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 Sunday July 3, 2022 at 23:12
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,825
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 Friday August 5, 2022 at 18:53
Remote_Lover
Lurking Member
Joined:
Posts:
April 2012
9
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 Saturday August 6, 2022 at 17:58
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,825
How about posting a thread with a specific title and maybe someone will come along and reply.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Jump to


Protected Feature 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.

Hosting Services by ipHouse