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 6 replies. Displaying all posts.
Post 1 made on Monday December 8, 2014 at 09:01
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
158
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?
2 Pronto RU950 (UK version of TSU3000) and a Li 910 RF extender
Post 2 made on Monday December 8, 2014 at 13:18
Barf
Long Time Member
Joined:
Posts:
August 2013
260
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
158
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.
2 Pronto RU950 (UK version of TSU3000) and a Li 910 RF extender
Post 4 made on Wednesday December 10, 2014 at 02:26
Daniel Tonks
Wrangler of Remotes
Joined:
Posts:
October 1998
28,670
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
260
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
158
Brilliant, I didn't realise you were the author of the software. Brilliant bit of code I didn't even knew existed, much appreciated.
2 Pronto RU950 (UK version of TSU3000) and a Li 910 RF extender
Post 7 made on Friday December 12, 2014 at 03:14
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,568
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


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