about flightgear

hi, how to read .btg files as its in binary format. I m trying to put X-Plane terrain in FlightGear. X-Plane contains .ter files in Windows and FlightGear contains .stg files in Linux. In X-Plane .dsf is in binary format and in FlightGear it...




Topic Options
#204746 - 11/05/09 12:06 PM about flightgear
AKHILA1 Offline
stranger

Registered: 11/05/09
Posts: 1
hi,
how to read .btg files as its in binary format. I m trying to put X-Plane terrain in FlightGear. X-Plane contains .ter files in Windows and FlightGear contains .stg files in Linux. In X-Plane .dsf is in binary format and in FlightGear its .btg. I converted .dsf files into .txt format for my understanding and now my next aim is to convert .btg into .txt format. I want to knw how to convert the file. Is there any tool for conversion so that i can proceed further.

Top
Advertisement
#205727 - Yesterday at 10:01 PM Re: about flightgear
KenJackson Online   content
stranger

Registered: 06/25/09
Posts: 5
Loc: Maryland, USA
You just want to see what text is in the file, right? That is, you aren't trying to edit the binary, right?

You can use the strings command to do that. If it's not installed by default in your distro, install the binutils package.

I'm not familiar with .btg files, but you will be able to see any ASCII they contain with this command:
Code:
strings file.btg
If they contain unicode, this will probably work better:
Code:
strings -el file.btg
If you get a lot of short little garbage strings, you can add a length discriminator, like -n8 to only show you strings of 8 chars or more.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
How do I affect the order of ALT-Tab?
by KenJackson
Yesterday at 10:10 PM
Route directory does not see the USB drive ( E: )
by scubatony
Yesterday at 02:48 PM
Open GL (Call of Duty]
by JDavis9825
11/26/09 06:01 PM
pci.sys missing or corrupt
by Gaurav agarwal
11/25/09 09:50 AM
Search Function Not Working
by telephonics
11/23/09 12:33 PM
Who's Online
0 Registered (), 122 Guests and 36 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91226 Members
24 Forums
57995 Topics
188481 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22