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.

Fixing broken strobe light in an FS9 .mdl file

Featured Replies

How can I use a hex editor to fix an .mdl file where the anti-collision strobe light has been erroneously assigned to the landing lights switch instead of the strobe light switch?

  • Moderator

I doubt you'd have any success. Any hex-edit would have to replace the same number of characters in the compiled .mdl when saved...

 

LIGHT LANDING = 13 characters

LIGHT STROBE = 12 characters

 

On the other hand, it might be barely possible if there was no space between the G of landing and the comma (,) preceeding the bool unit specification, e.g.:

 

(A:LIGHT LANDING,bool)

versus

(A:LIGHT STROBE ,bool)

 

In any case, it's worth a try. Simply open the .mdl in a hex-editor, find the correct entry you wish to modify, make the substitution of the exact number of characters, then save the edited file back to the same .mdl name.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

There's no occurrence of (A:LIGHT LANDING,bool) or anything else resembling gauge XML code in the MDL file -- I was imagining I'd be looking for offsets similar to those used by FSUIPC...

  • Moderator

There's no occurrence of (A:LIGHT LANDING,bool) or anything else resembling gauge XML code in the MDL file -- I was imagining I'd be looking for offsets similar to those used by FSUIPC...

Well, I missed which sim the .mdl file was from, but since there's no XML script at all, you are unfortunately SOL.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • 2 weeks later...
  • Commercial Member

I believe Mr. Gibson is right. This seems like something that would be handled in the lights section of the Aircraft.cfg file.

 

Tom, you have mail.

Good Day,

Engjell Berisha

 

Angel-Simulations-Small.png

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.