MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Jual
Posts: 2
Hallo,

ich bin leidenschaftlicher Tupolev (PT TU-154M) Pilot (ja, es gibt noch solche Dinosaurier, wie ich, die noch FS9 benutzen) ;)
Die Systemtiefe ist genial umgesetzt, nicht umsonst hat das Model von Tupolev einen Zertifikat bekommen, der erlaubt dieses Model für Ausbildungszweck zu benutzen.
Hier kann man darüber nachlesen, allerdings geht hier um eine frühere Version, TU 154 B2, die M-Version hat um einiges mehr zu bieten.
https://www.yumpu.com/de/document/read/11141521/freewareflugzeuge-fs2004-und-fs2002-project-tupolev-tu-154b2

Um Ihnen nicht die wertvolle Zeit zu rauben komme ich gleich zu meinem Problem.
Ich baue mir gerade einen Cockpit auf und möchte funktionierende NAV und Kommunikationsgeräte haben.
Für Schalter und Taster bringt PT sowieso eigenes Tool mit und alle Joysticks müssen über dieses Tool laufen.
Mein Problem ist, daß das PT-Team die Frequenzen usw. nicht über FSUIPC realisiert hat, sondern über eigenen Gauges…
Das heißt, dass ich Mobiflight nicht benutzen kann, da ich keine andere Offsets außer die, die FSUIPC zur Verfügung stellt, benutzen kann.
Ein FS-Hobbypilot aus Russland hat einen FlexRouter geschrieben, wo die ganze PT-Offsets aufgelistet sind.
Der Router unterstützt beliebigen Joystikkontroller (Arcaze sieht er auch), aber für die Ausgabe unterstützt er F2/F3-Kontroller(?), ARCC Kontroller (wird nicht mehr produziert).
Im FlexRouter kann man die benötigte Gauge-Datei auswählen und Offset eingeben.
Der Router ist offen und Sourcecode kann unter https://github.com/diminovei/FlexRouter geladen werden.
Letzte Version gibt es hier https://yadi.sk/d/743WD1lSV5XUJA
Jetzt meine Frage, ob man den Zugriff auf den Mobiflight vom FlexRouter realisieren könnte ODER
eine Möglichkeit in Mobilflight einzubauen, auf nicht auf FSUIPC basirte Offsets zuzugreifen, so wie es im FlexRouter realisiert wurde?
Bin dankbar für jeden Hilfe.
2020-11-14 16:43
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I think here a personal conversation would be usefull.
I write in english cause the text looks translated. If you prefer german please tell me. ( looks like you speak russian) .

So.... Most profitable way is to join DISCORD. there we can talk via voice. But sure Only if you speak english or german. I absolutly not speak russian expect "nastrovie" :P

About basic question:

May you use wrong term.... But you talk about "Offset" .... Offset normaly is a part of FSUIPC ! So if the Data is on a Offset then it MUST be a FSUIPC element.
Sure there exist other things... like "LVars" e.g. But this are NOT Offsets !

If data is on Lvars then there exist a way to use a self written script (Lua Language) that read those Data from FS9 and support it to free FSUIPC Offsets. Then we can handle it.
Otherwise.... We talk about COM/NAV .... I will say nearly 99% of Aircrafts i ever seen finaly use also the FSUIPC Standard Offsets..... specialy in Radios.
So i would say we should try at first if you can use the Standards instead here.
Good Luck !
2020-11-14 20:18
Avatar
Jual
Posts: 2
Hallo,

sehr gut erraten:thumbup: , Muttersprache - russisch.
Deutsch kann ich besser, als englisch, deswegen, wenn es Ihnen nichts ausmacht,
unterhalten wir uns weiter in deutsch, damit meine Sätze nicht wie eine Google Übersetzung aussehen. :D (muss mein deutsch verbessern) :rolleyes:

Bei "Offsets", da weis ich nicht ganz genau, für mich bedeutet das einen Adressenversatz einer Variable. :confused:
In dem russischen Forum wurde mir erklärt, daß die meisten Variablen, die PT-Team in ihrem Flugzeug benutzt haben, nicht auf FSUIPC basiert sind, aber nicht alle.
Eine Gauge-Datei wird beim neuladen immer eine neue Adresse zugewiesen bekommen, bzw. die Variablen auch
und man kann den absoluten Versatz von den Variablen ausrechnen (Adresse von Gauge-Datei - Adresse von der Variable).
Diese absolute "Offsets" benutzt der unter genannte FlexRouter.
So wurden fast alle nicht mit FSUIPC conforme "Offsets" gefunden. Aber der Trick funktioniert, anscheinend, nur mit statischen Variablen. Soviel habe ich verstanden (bin kein Programierer) :)

Was genau bedeutet "LVars"?
2020-11-17 20:49
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Sorry.
Da kenne ich mich nicht aus.

Das Angebot steht noch. Wir können in Discord mal reden. Womöglich kenne ich beim Ansehen das System. Auf den ersten Blick ist mir das nicht bekannt.

Grundsätzlich: Mobiflight versteht NUR FSUIPC Variablen.... Nichts anderes.
Sollte dein Programm nicht direkt mit FSUIPC arbeiten wird man mit Mobiflight auch nichts verwenden können.

Wie bei SIOC ( Open Cockpit) besteht aber vielleicht ein "Bypass" .... Sprich das Programm schreibt seine Daten auf Wunsch auch auf einen FSUIPC Offset. Falls ja könnten wir danach diesen Offset mit Mobiflight lesen und verwenden!
Good Luck !
2020-11-19 18:56
icon