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 its.
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.
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 on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
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:
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.btgIf they contain unicode, this will probably work better: Code:
strings -el file.btgIf 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.