about flightgear

This is a discussion about about flightgear in the Everything Linux category; 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.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar01.webp

1 Posts
Location -
Joined 2009-11-05
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.

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Nov 5
Created
Nov 28
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar20.webp

5 Posts
Location -
Joined 2009-06-25
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.