Page 1 of 1

Extraction of cfg information

Posted: 09 Nov 2008, 21:53
by delbydoo
Hi y'all
Does anyone know of a way to extract all of the "TITLES" from the aircraft.cfg's in your aircraft folder, to form a potential "aircraft.txt" file, for use in compiling flight plans for FS9?

I have an old FS2002 tool called "AirExTT" which extracts all aircraft titles, but limits itself to 10 aircraft per folder - so if you have 24 repaints of a Hawk in one folder, it will only list the first ten aircraft in the cfg......

Call me lazy but I'm just trying to find an easier way of inserting the information into Rips flightplan maker.....perhaps I may have to bit the bullet and learn some computer programming language.......:(

Cheers

Posted: 10 Nov 2008, 07:44
by Firebird
I don't know of any specific tool to do that, Daryl, but surely there must be a freeware text editor that will delete everything except 'title=' from a file.

It may even be possible from a macro is my guess.

Posted: 10 Nov 2008, 21:00
by delbydoo
Thanks Steve, I guess I'll just have to exercise me fingertips for a little longer - or learn C++ :shock:
Cheers

Posted: 10 Nov 2008, 21:36
by SMOC
C++ would be far more trouble than Visual Basic for the task at hand. If I had the time I could probably do it in Assembly, Ada, Pascal, Basic, Fortran, COBOL, etc... I just don't have the time.

I would do some searching on line for VB text file manipulation. All you're doing it searching for a specific string and pulling the line associated with that string. Shouldn't be too hard.

Posted: 11 Nov 2008, 20:28
by delbydoo
Thanks Chris - I am still hunting and I have downloaded the VB package so perhaps I may find the answer there myself......if at first you don't succeed......