Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Problem with CFGedit, any help?? (Read 1 times)
Apr 24th, 2005 at 11:22am

Gary R.   Offline
Colonel
If God is you're co-pilot,
switch seats.
PA, USA

Gender: male
Posts: 811
*****
 
When I modify panels using CFGedit if there are a lot of XML's which CFGedit doesn't understand when I resize or move any additional guage it tends to distort and scramble gauges already in place.  Has anyone else had this problem with CFGedit and if so is there a way to keep from disturbing gauges you aren't manipulating while adding and re-sizing other gauges? The only work around I have found is using cfgedit to map out co-ordinates and then open the panel.cfg and make my changes with syntax.  Has anyone experienced this problem and found a work around with-in cfgedit?
 

AMD 2800xp on gigabyte vt600l k7 triton overclocked @ 2.3 ghz, 768 PC 3200, 128 DDR 6600GT AGP, 60 gig,5200 rpm maxtor, 160gig 7200rpm WD, Sony FD Trinitron 19
IP Logged
 
Reply #1 - Apr 24th, 2005 at 12:23pm

_526th_Fireman   Offline
Colonel
S~ to all fair and honorable
pilots. S~!!
Joshua Texas

Gender: male
Posts: 1148
*****
 
Gary, I am trying to get a picture in my head of the problem you are experiencing.......not sure if I have a good picture yet.

I use CFGEdit and don't have any problem with it. I have seen some funny things, but not sure if any of them are exactly what you are talking about.

I am going to make a guess here......so if it is not your exact problem....them forgive me and explain to this chowder head again!!  Wink

With some panels I have played with, editing it in CFGEdit and then sending to my acft., sometimes a few gauges will be way too big, maybe a little distorted and look like they are out of position ( but I actually think they are in pos., just so big that they look out of position).

Next time you experience this, check the panel.cfg and the gauges in question. I will bet, if this is the problem you are describing, that if you look at the numbers for the gauge (should  be four sets....X pos., Y pos , height and width) you are going to see that you ONLY HAVE THREE SETS OF NUMBERS. I think, and don't know for sure, but here seems to lie the problem with SOME XML gauges. Add the fourth set of numbers and the gauge again looks fine on the panel.

When editing a panel like that, before you close out CFGEdit, take a look at the panel.cfg from CFGEdit. Might try copy and pasting to a text doc.(Notepad) just in case you get the funny panel. Then from the info you copied to notepad, you can easily see what the numbers where and edit the panel.cfg in the acft. panel folder.

Hope this helped and I explained myself well enough. If not.....I can try harder..... Grin
 

Systemax Sabre Ultimate gaming rig.&&&&I got all the goodies and all the power I need to run anything thrown at me for the next two months!
IP Logged
 
Reply #2 - Apr 25th, 2005 at 8:25pm

Gary R.   Offline
Colonel
If God is you're co-pilot,
switch seats.
PA, USA

Gender: male
Posts: 811
*****
 
Yes, that's exactly what is happening.  A few gauges end up abnormally big everytime when I resize or reposition any added gauge or even any gauge that is already in place.  And, while with-in cfgedit, it doesn't show that any dimmensions have changed with these gauges.  I think I will try what you suggested and make copy out the original or just open up the back-up and go down it line by line to see what has changed and look to see that the fourth set of numbers is still there in all of them.  I know that two sets are x,y postion on the panel and two sets are x,y size of the gauge.  I think maybe the printed out original would be good in case the abnormalities happen during cfgedit's back-up as well.
 

AMD 2800xp on gigabyte vt600l k7 triton overclocked @ 2.3 ghz, 768 PC 3200, 128 DDR 6600GT AGP, 60 gig,5200 rpm maxtor, 160gig 7200rpm WD, Sony FD Trinitron 19
IP Logged
 
Reply #3 - Apr 25th, 2005 at 11:10pm

_526th_Fireman   Offline
Colonel
S~ to all fair and honorable
pilots. S~!!
Joshua Texas

Gender: male
Posts: 1148
*****
 
Good idea Gary. 

I had the same problem redoing my default mini panel. When I would load it back into my acft., bingo bango I had several VERY LARGE gauges.

Took me a bit to figure it out. I am pretty sure that some of the XML gauges, when saving the panel.cfg from CFGEdit to your acft. panel.cfg would for some reason DROP the last SIZE digits. Finally figured out that making a copy of the panel.cfg on my desktop and then going back into the new panel.cfg I could easily add the second SIZE numbers, fourth of the numbers, back into there and that fixed everything.

Just a workaround we have to remember when dealing with the newer XML gauges.

Good luck bud!
 

Systemax Sabre Ultimate gaming rig.&&&&I got all the goodies and all the power I need to run anything thrown at me for the next two months!
IP Logged
 
Reply #4 - Apr 26th, 2005 at 4:23pm

Gary R.   Offline
Colonel
If God is you're co-pilot,
switch seats.
PA, USA

Gender: male
Posts: 811
*****
 
I really want to get the commercial version of CFGEdit which can deal with XML gauges.  I wish I could learn C++ but I don't have time for that unfortunatly but if I new it though and I created anything good I wouldn't be tempted by the payware bug.  I would love to create an FMC that could be set-up to use in any aircraft.  There was one included in pro-flight 2000 so I know it is technically poossible that an FMC doesn't have to be tied up in a specific plane's systems to work.  Even if it would only handle basic waypoint nav and basic vnav/waypoint duties it would be better than now which is nothing.
 

AMD 2800xp on gigabyte vt600l k7 triton overclocked @ 2.3 ghz, 768 PC 3200, 128 DDR 6600GT AGP, 60 gig,5200 rpm maxtor, 160gig 7200rpm WD, Sony FD Trinitron 19
IP Logged
 
Reply #5 - Apr 28th, 2005 at 3:00pm

Gypsy_Baron   Offline
Colonel
USS Dewey DGL-14 &  VX-8
Daly City, California

Gender: male
Posts: 467
*****
 
Quote:
I really want to get the commercial version of CFGEdit which can deal with XML gauges.-SNIP-


Unfortunately the commercial version also has problems with
maintaining the parameters of gauges in a .cfg file.

Also, it still has the absolutely "makes me want to scream"
habit of removing any and ALL user comments in a file ( those defined by lines starting with // ).

What I know do when editing a panel is make a copy of the cfg
file, which I then "submit" to CFGedit or FS Panel Studio to obtain
the correct sizing and  gauge placement parameters ( X,Y ).
I then take these values from the CFGedit screen and use them to
edit the original cfg file, thus maintaining the status quo and more
importantly, the comments relating the the additions/changes
that I have made to that panel.

In short, always work with a copy...then transfer the data
to the original.

    Paul ( who has modified a good number ot the 700+ panels in my inventory! )

 

...
IP Logged
 
Reply #6 - Apr 28th, 2005 at 8:30pm

Gary R.   Offline
Colonel
If God is you're co-pilot,
switch seats.
PA, USA

Gender: male
Posts: 811
*****
 
Yes, I could do my work on a copy as you said.  I haven't decided though which is more typing here.  Using CFGedit to map co-ordinates and then typing in the gauge or drag and drop and then checking the new cfg line by line with the backed up and correcting any abnormalities.  I have however learned to save after each and every little change.  Even if it's the background bitmap I changed.  It saves me having to start from scratch again with the original.  I always have the original to fall back on because the zip stays in my documents, "downloaded planes" folder and every other week I move everything to a cdrw to keep space free. I found out how quickly you can chew up space with downloaded freeware.  To date I have something like 12 gig worth of it and a stack of disks.  One for panels, one for scenery, one for aircraft and aircraft packages, one for misc. etc. and I keep a label in each of them as to the contents to make selecting easier if I need the original zips.  Also, my custom panels that I may not be able to re-produce easily I keep backed up.  I have an excellent KLN-90 GPS which I am beta testing for a designer.  He intends to market it on simarket or somewhere.  It even has the map page, both split and full screen.  It works great in concert with Ike Slack's KLN 90 GPS reaout/simicon gauge because instead of popping up the default when you click the go-to switch it opens a near full functional pop-up KLN 90. Anyway, I have all of those panels backed up also, many use the MX-20 MFD for extra.  I hope this gentleman soon releases the final for sale because I have some excellent panels configed this way which I would upload, minus the KLN of course.
 

AMD 2800xp on gigabyte vt600l k7 triton overclocked @ 2.3 ghz, 768 PC 3200, 128 DDR 6600GT AGP, 60 gig,5200 rpm maxtor, 160gig 7200rpm WD, Sony FD Trinitron 19
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print