CommonAPI2 Entwicklungsdiskussion, Fragen & Antworten

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


  • Mit nativen DLL Teil sollte es funktionieren, ohne diesen nicht:

    commonapi2.uiparameter: ERROR UI Parameter creation failed because _getEntriesAsList is empty, should not happen if native dll is loaded!

    Ich mag UGs neue Variante der Handhabung via postRunFn nicht so Dolle und hab noch keine Zeit gehabt mir eine Variante auszudenken die Ladereihenfolgen unabhängig ist und nicht direkt Modulbauweise benötigt.


    -edit-

    Die nächsten Wochen Bastelzeit sind erst einmal verplant, mir wieder eine funktionierende Linux Build zu bauen, damit ich auch wieder selber etwas spielen kann.

  • entschuldige für die unahnemlichkeiten. Mein Blödes antivieren programm Norton hat die Dll in quarantäne gesteckt ohne das ich es gemerkt habe. Habe gerade die dll entpackt und gemerkt das norton die datei analysiert hat und entfernt hatte. Sorry. Habe es wiederhergestellt und common api 2 faltet seine volle funktion aus. ^^

  • build_overwrite sollte für die jeweiligen Versionen funktionieren:

    steam_31921_1

    steam_31975_1

    gog_31921_1


    Linux ist so ne Sache für sich. Mittlerweile crasht TPF2 nun komplett wenn ich nur ne Info im Hauptmenü anzeigen will. Vulkan für Linux geht auch nicht so, GCC optimiert den Register Zugriff so das TPF2 Vulkan API Funktionen zurzeit nicht als Anker genutzt werden können um die Positionen von Vulkan Handles im Speicher zu finden. ;( Also das wird noch dauern...

  • Dann deinstalliere CommonAPI2 komplett, entferne diese aus dem Spielstand und lade deinen Spielstand ohne.


    Das ist wieder mal so ein Fall, die CommonAPI2 soll schuld sein und hat wohl gar nichts damit zu tun.


    Ggf. Entferne den CommonAPI2 Modularer Bahnhofsadapter

  • Ich kann nur sagen , ohne Deine Api würde mir was fehlen . Allein die Beachtung der Ladereihenfolge ist schon klasse . Danke dafür :thumbup:

    MfG Gaga


    Weisheit stellt sich nicht immer mit dem Alter ein . Manchmal kommt auch das Alter ganz allein .


    AMD Ryzen 5 Six-Core 3,60 GHz , Ram 32 GB , Geforce GTX 1080 TI 8 GB .

  • Dein Einsatz trotz all der Herausforderungen über die Jahre ist schon sehr beeindruckend :thumbup: Ohne Common API und all der mitgelieferten Features (Modlisten verwalten, Mod Updater usw) wäre TpF2 (und damals auch TpF1) echt nicht das selbe. Kann man dir vllt auf irgendeine Weise Trinkgeld für ein zwei Kaffee zukommen lassen um die Programmierwut weiterhin zu beflügeln? :)

  • Ich hatte abstürze in TF2 und habe durch den Blick ins Log festgestellt, dass CommonAPI2 veraltet ist. Aber siehe da! Es ist für die sehr neue Version schon eine aktuelle Version da! Wow! Deswegen an dieser Stelle meinen aufrichtigen Dank für die Mühe und beste Grüße!

  • Sorry for a dumb question. I have downloaded and extracted the zip file of this version, I have also put the file to the 'mods' file in TPF2. However, when I open the game, the CommonAPI panel did not show up on the top left corner, may I know how to solve this? Thank you :)

  • Sorry for a dumb question. I have downloaded and extracted the zip file of this version, I have also put the file to the 'mods' file in TPF2. However, when I open the game, the CommonAPI panel did not show up on the top left corner, may I know how to solve this? Thank you :)

    If you put it in the TpF2 install folder then it's the wrong place. It should be placed in the mods folder here : C:\Program Files (x86)\Steam\userdata\[STEAM ID]\1066780\local\mods

  • Ever since the most recent build of common API came out I've been having this issue where the camera stutters when zooming in and out


    Testing trying to figure out the camera stuttering problem:

    -I've completely removed this mod from my mods folder and loaded a save without the mod enabled on it (The camera stutter was gone)

    -Redownloaded the latest API build and placed it in the mod folder, then I reloaded the same save without the mod enabled (The camera stutter was back)

  • If you use vulkan, what happens if you close the commonapi menu? (right alt + c)

    Any open commomapi window should hide with vulkan, as rendering hooking will be stopped.

    Does this fix your the problem?


    Does this happens in OpenGL Render mode as well?


    -edit-

    The vulkan render path looks like this -> TPF2 vkPresent - > copy Frameubuffer to graphic pipeline -> render CommonAPI2 imgui -> copy back. So with big resolutions a whole lot of data has to be copied.

    So please tell me your graphic specs. Thank you.

BlueBrixx