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:
Use WinZIP WinRAR with PCF file ConfigEdit.XML
This thread has 9 replies. Displaying all posts.
Post 1 made on Friday January 11, 2008 at 18:08
berrick
Long Time Member
Joined:
Posts:
November 2004
22
Hopefully this post will save others a lot of time when searching for information on PCF files and how to extract or get at the information they contain so they can alter this information or to enable them to create PCF’s from scratch. Time saving? because hopefully all relevant info is in this post. This is aimed at the new comer, the person who may have fledgling computer skills or can use a computer but because they have bought a Pronto suddenly find they aren’t sure of things like WinZIP and WinRAR. As a result, this post is not really for those who understand this already, though their comment is always useful.

Why would you need to mess with the PCF file or understand these concepts? Because when you get the bug for really messing with a Pronto layout you may want to change system item bitmaps or know how its is possible when PENG wont let you. To be able to change these items you have to hack the PCF file!

As you will quickly find by searching these forums the PCF file created when you save your Pronto configuration is really just a compressed file using the ZIP format. It contains a folder with all the bitmaps in and a file called ConfigEdit.XML. This file contains all the other info that the Pronto needs to know so it can create your layout.

Once you are aware of this information for most peepz it is a straight forward task to access the XML file and the folder containing all the BMP images used by the pronto, either by extracting them from the ZIP file or using the data within the ZIP file to make those more troublesome changes to your masterpiece.

What is not as obvious for successful manipulation of these files, unless you know or find out the hard way are the following:

1:
Whether using WinZIP or WinRAR they MUST have the relevant comments included, use the link below to find out what they should be for your remote, or just look at the comment in an existing PCF and cut n paste:

[Link: remotecentral.com]

Neglecting this comment will result in the following error on opening your PCF:

“File seems corrupt or damaged and ProntoEdit NG cannot open it”

How to add a comment depends on the compression program you are using and is explained at points 6 & 7.

2:
If you are using WinRAR you must remember to select the archive format as ZIP (point 6) otherwise you will receive the following error when you try to open your PCF file.

“ProntoEdit NG does not recognise this file and cannot open it”

3:
Excel is one of the easiest ways to see and search the information contained in the ConfigEdit.XML file BUT you can’t make changes, save the file, even as XML and then add to a PCF file using Excel. This is because M$ add their Schema to the data causing an error when loading as in point 2.

4:
WinRAR v2.90 seems to have a problem which won’t allow you to delete the ConfigEdit.XML within the PCF this means you can save your changed ConfigEdit.XML back to an existing archive file but you will then have two of these files within the PCF file. PENG appears to use the original.

5:
Make sure the ConfigEdit.XML file is associated with the program you want to use to edit it with. Wordpad would be the preferred choice of most here. This is most important if you are going to edit the file from within the PCF file without extracting it, as when you save the changes and exit the file it will be updated in the PCF automatically.

So for example if XML files had been associated on your computer with Excel this is the program that would fire up when you double clicked ConfigEdit.XML in the archive. It would also be the format the XML file would assume when saved and would result in an error when loading.

6: Creating an archive from scratch using WinRAR
Select the ConfigEdit.XML and bitmaps folder, once highlighted right click on either to get the context menu open. Left mouse click “add to archive”

The “archive name and parameters” window will open, MAKE SURE the archive format is set to ZIP. Once this is done change the archive name so it has a .PCF extension. Now click on the “comment” tab and enter the correct comment for your remote in the “enter comment manually” box.

If you are going to do this a lot WinRAR has a neat feature that allows you to load comments from a file.

Once this is done click “ok” and a working PCF file should result.

7: Creating an archive from scratch using WinZIP
Select the ConfigEdit.XML and bitmaps folder, once highlighted right click on either to get the context menu open. Left mouse click “WinZip” then left mouse click “add to Zip File”.

This will open the “add” window. Change the archive name or add it to the end of the line found in the “add to archive” box so it has a .PCF extension (check or change the path so you know where to find this archive) then click “add”. The “winzip” main window will then open detailing the files you added to the archive. Next add the relevant comment. To do this either use the short cut, “shift + G” or click “actions” then “comment”.

Click “close” and “yes” to the window informing you the comments have altered then close WinZIP and a working PCF file should result.

9: To open a PCF
To extract or work on the files within without extracting them, right mouse click the .PCF file, Left mouse click “open with” and select your compression program. I’ll leave you to work out how to extract them but whether using WinZIP or WinRAR if you double click the files within the archive they will open without the need to extract.

10: View the all important “comment” of a PCF file
In WinRAR just open the PCF in WinRAR and the right hand pane of the main WinRAR screen will contain the comments you need.

In WinZIP, the comment window will open on opening the PCF file in WinZIP. If not use the short cut, “shift + G” or click “actions” then “comment”.

Finally:
These explanations assume default installation settings of the relevant packages mentioned and don’t cover the many ways to achieve the same task. Most of what is covered here can be found in other topics but not always in the same detail.

If it helps one person this was worth it :)

Last edited by berrick on February 6, 2008 03:15.
Post 2 made on Friday January 11, 2008 at 21:48
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Very nice writeup. I posted a link to this in the 9600 forum as well.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 3 made on Friday January 11, 2008 at 22:41
Peter Dewildt
Loyal Member
Joined:
Posts:
July 2001
6,307
You make it sound complicated when it it is very simple.

With Windows XP or Vista you do not need WinRAR or WinZip. Just rename your .PCF to .ZIP. Right click and select Open. You will now see all the files as if they were in a normal folder. Make whatever changes you want, then close the folder. Then rename the .ZIP back to .PCF. There is no need to stuff around with Comments.
Peter
Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired)
Pronto 2xTSU9600, RFX9400
OP | Post 4 made on Saturday January 12, 2008 at 05:28
berrick
Long Time Member
Joined:
Posts:
November 2004
22
Lyndel McGee:
Thanks for the kind words :)

Peter Dewildt:
Thanks for your reply to which i comment on.
It is very difficult to explain something that seasoned users find easy, in detail for those less able without making it seem difficult. I have tried not to over complicate this process but highlight most pitfulls when using WinZIP or WinRAR.

Dont need WinZIP or WinRAR:
This is a good point but remember not everyone uses XP or a M$ operating system for that matter, so may not have the ability to use "compressed folders" as availabe in XP. I also need to correct your post as you give the impression using "compressed folders" means you don't need to "stuff around with comments". Whilst this is true if you DON'T extract the contents from the archieve, if you need to create a PCF from scratch; then you most certainly do, else you get the error mentioned in point one. As far as i am aware you have no way to add comments using XP "compressed folders". If you know different please post as this will assist others.

Again thanks for the replies
Post 5 made on Saturday February 2, 2008 at 14:36
randman
Long Time Member
Joined:
Posts:
June 2003
424
I have Windows Media Center Edition. I did as Peter mentioned above. For some inexplicable reason, no files showed up in the Explorer window. So, I installed WinRAR, and I was able to edit ConfigEdit.XML as described by berrick. Thanks!
Post 6 made on Saturday February 2, 2008 at 17:42
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Tip:


In Windows Explorer, you should choose the menu Tools->Folder Options and ensure that you don't hide extensions for known file types.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 7 made on Saturday February 2, 2008 at 19:54
randman
Long Time Member
Joined:
Posts:
June 2003
424
I don't hide extensions for known file types. Same issue - Explorer doesn't show anything in the zip file. Really strange. Anyway, I was able to edit ConfigEdit.xml using WinRAR.
Post 8 made on Sunday February 3, 2008 at 04:41
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
There's something with the new 9600 (maybe NG as well) Editor and the latest version of Winzip as well. It seems that the compression type is not liked or something (Winzip 11).
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 9 made on Wednesday February 6, 2008 at 05:24
berrick
Long Time Member
Joined:
Posts:
November 2004
22
Hi Lyndel McGee:

I have tried a PCF file which i added too using WinZIP v11.1 and this opens OK in PENG v3.1.3.0 and although i dont own a colour Pronto opened the same PCF in PE Pro NG v2.1.8.0 without issue. Maybe NG is not effectd as it is with the new 9600?
Post 10 made on Wednesday February 6, 2008 at 15:34
Peter Dewildt
Loyal Member
Joined:
Posts:
July 2001
6,307
It's only Pronto Pro (9x00).
Peter
Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired)
Pronto 2xTSU9600, RFX9400


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