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

Login:
Pass:
 
 

Topic:
can you run compiler decompiler from command line
This thread has 5 replies. Displaying all posts.
Post 1 made on Tuesday February 18, 2003 at 09:32
Anthony
Ultimate Member
Joined:
Posts:
May 2001
28,798
I am working on a small tool that will take some info from my Notes database and make some changes in a CCF. I only have access to lotusscript for programming, and with it I can only launch programs (i.e. what you can do in a command line in DOS)or edit text documents. Knowing that, does anyone know of a way that I can automate the CCF->CSF and then the CSF->CCF
...
Post 2 made on Tuesday February 18, 2003 at 10:03
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,910
Anthony,

I've done an automated compile before but cannot exactly remember the command line. I have it in Source code @ home for the SonyCDSuperCharger.

I believe it's something like the following:

CCFCompiler.exe -source "Your CSF or XML file" -dest "Your CCF Filename"

If this does not work, drop me an email and I'll post an update tonight.

If you need this information ASAP, you can open up CCFEXT.DLL in a hex editor and search for "-source" or "%s". That's how I found out what I needed to do plus some experimentation.

Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 3 made on Tuesday February 18, 2003 at 10:31
Anthony
Ultimate Member
Joined:
Posts:
May 2001
28,798
Lyndel
Thanks a lot, it worked

for others I tried the decompiler
CCFdecompiler -source yourCCF.CCF -destination yourXML.XML -XML to decompile to XML -run to run automatically

...
OP | Post 4 made on Tuesday February 18, 2003 at 10:37
Anthony
Ultimate Member
Joined:
Posts:
May 2001
28,798
PS what is gray is for your info (i.e. what the tag does) and what is in blue you replace by your file names
...
Post 5 made on Tuesday February 18, 2003 at 12:24
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,910
Anthony,

I completely forgot about the -run (Required). Thanks for verifying and posting the results.

For the compiler, I believe there is a -CompressIcons or -Compress flag that can also be turned on to compress icons. You may want to verify and post the results.

If there is an error compiling/decompiling, the dialog box is not dismissed automatically and requires user intervention. This is a good thing simply because if all goes well, no intervention is required yet if things screw up, the user can at least see the logs to discern why things went awry.

Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 6 made on Tuesday February 18, 2003 at 13:27
Anthony
Ultimate Member
Joined:
Posts:
May 2001
28,798
could not find it, but there is the otomizer that can be run seperetly.

But to be complete there is also the -csf flag (to compile/decompile into a CSF format and a -all that I have no idea what it does
...


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