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

Login:
Pass:
 
 

Topic:
modified XCF
This thread has 4 replies. Displaying all posts.
Post 1 made on Thursday January 3, 2008 at 08:53
n2hifi
Long Time Member
Joined:
Posts:
August 2007
192
So thanks to this forum I have been able to change an XCF to a ZIP and read the associated XML file. It seems however if I make any changes, even as simple and extracting the files, creating a new file and re-zipping it, I get a corrupted file error in Pronto Edit Professional. Some threads talked about swapping out image files, and I have seen some XCF files where the system items have been modified. I want to change the text color of the systemobject "activityname" to white and the size of the "firmkey" systemobject text to 14. I realize I have other solutions for the firmkey objects, but being a programmer I like to mess around and see what is possible. Editing the XML is the easy part, but it will not read. Has anyone gotten around this?

I'm using the latest Winzip to zip and unzip. At this point my XML editor doesn't matter because I can't even rezip the unedited XML.

Obviously I realize this is "mess up your pronto at your own risk".
Mark Olsen, CTS
Cannon Design
Post 2 made on Thursday January 3, 2008 at 09:17
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
The likely problem is that you are not creating ZIP comments properly in your new zip file. Open an existing XCF with Winzip and "View Zip Comments".

However, assuming you are only editing the XML file, do the following:

Rename a copy of your XCF to *.zip and open with Winzip.

Then with Winzip open on desktop, delete the file ConfigEdit.xml from inside the zip.

Then, drag in a new ConfigEdit.xml file.

Close Winzip.

Rename the file from .zip back to .xcf, and try it out.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 3 made on Thursday January 3, 2008 at 12:22
martin.weiss
Long Time Member
Joined:
Posts:
November 2007
25
instead of renaming the file to .zip and back again, I right click on the .xcf file and "open with" 'winzip executable'. I then drag the configedit.xml from within the winzip window to my desktop and do the necessary mods. I delete configedit.xml within the winzip window and then drag the modified configedit.xml back into winzip. Winzip automatically updates the file for me. saves you a couple of key strokes :)
Post 4 made on Thursday January 3, 2008 at 12:49
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
On January 3, 2008 at 12:22, martin.weiss said...
instead of renaming the file to .zip and back again, I
right click on the .xcf file and "open with" 'winzip executable'.
I then drag the configedit.xml from within the winzip
window to my desktop and do the necessary mods. I delete
configedit.xml within the winzip window and then drag
the modified configedit.xml back into winzip. Winzip automatically
updates the file for me. saves you a couple of key strokes
:)

I do the same as well though using WinRaR. No need to recreate the zip file. Simply extract and insert whether it be the XML or png's from the Bitmaps folder.
LP Related Links:
View my profile to access various
links to key posts and downloads.
Post 5 made on Thursday January 3, 2008 at 14:49
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
If you are messing around with the inards of xcf files you might want to try the Pronto Script Support tool at my web site (www.the-gordons.net) It takes an xcf and breaks it down into its parts and builds a GUI over the scripts in the file.

Invoking a script will open whatever editor assigned to the extension js. It holds all of the material including the collection xml in a working directory.

It rebuilds the zip file at any time (Save) and will also invoke PEP to allow a rebuild and download in a smooth operation. It knows about the comment object and handles it properly. It works just as well with xcf's for the 9400 AFAIK.

I never use the PEP editor to edit Prontoscript. I use a full screen syntax checking editor that displays syntax in color and spots 90% of my errors before I load the xcf into the Pronto.

I only use PEP for laying out screens, and then I only use the 9600 one if if I am building for the 9400. All that extra real estate in the 9600 allows for interesting capabilities when the target is the 9400.


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