November 30, 201213 yr 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?
November 30, 201213 yr 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
November 30, 201213 yr 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...
December 3, 201213 yr Are you sure the strobe light is in the MDL file and isn't in the aircraft.cfg file? Tom Gibson CalClassic Propliner Page
December 3, 201213 yr 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
December 15, 201213 yr 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
Create an account or sign in to comment