Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Readout Air-File

Featured Replies

Hi@all,i am programming a small tool for FS2004, where i need to know whether an aircraft is flyable or only ai.I know it is listed in the airfile of the aircraft but it is a binary file.Does anybody know how to readout this data?Thanks a lot...

  • 2 weeks later...

This is how I do it: aircraft file is broken into records, where the record itself contains the header, record length and actual data. First 4 bytes specifies header, and next 4 bytes is the length.I read the first eight byte to get the record type and length. If the type is &H0105 (261), then its "Aircraft Type" flag (0 is flyable, 1 is heli, and 2 not-flyable). If not, skip the record (we know the record length) and move into the next header. Loop till end of file, or value found.

Hi Rana,many thanks to your reply.I understood your algorythm, but first I had some problems to read out four bytes and convert them to an integer or hex in JAVA.But now it works fine.Many thanks to youCU Zilchinger

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.