Annonce

Réduire
Aucune annonce.

IVAO sous Linux

Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • IVAO sous Linux

    Bonsoir,

    Je tente de faire fonctionner IVAO sous Linux.

    Pour les curieux, j'ai utilisé la procédure ci-dessous après recherche sur le forum x-plane.org.
    La procédure comprend deux méthodes celle de mishaikin et de dornathal car je ne sais pas encore ce qui marche. En effet, le point noir sous Linux avec IVAO c'est la partie TeamSpeak et nottament le changement de channel/canal de TeamSpeak.
    Il faut aussi garder à l'esprit que IVAO utilise TeamSpeak2 qui à l'handicap d'utiliser uniquement OSS (d'ou les problèmes de son reportés sur divers forum).

    Je souhaiterais tester mon installation. Est-ce que quelqu'un sait si IVAO à une sorte de bac à sable / sandbox pour faire des tests d'émission & réception radio ?

    Install 32 bits PulseAudio DSP libs.
    # apt-get install --no-install-recommends libpulse0:i386 libpulsedsp:i386

    Fix ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    # cp /usr/bin/padsp /usr/bin/padsp32
    # sed -i 's/\/usr\/lib\/x86_64-linux-gnu\/pulseaudio\/libpulsedsp.so/ => \/usr\/lib\/i386-linux-gnu\/pulseaudio\/libpulsedsp.so/g' /usr/bin/padsp32


    mkdir X-IvAp_034_lin
    tar xjf X-IvAp_034_lin.tar.bz2 -C X-IvAp_034_lin
    find X-IvAp_034_lin/ -name '*.DS_Store' -type f -print -exec rm {} \;
    cd X-IvAp_034_lin/for_plugins_folder
    mv X-IvApp* /home/xplane/xplane/X-Plane\ 10/Resources/plugins/
    cd ..
    cp libfmodex64.so /usr/lib/

    mishaikin method>
    Make sure Debian package teamspeak-client is installed.

    Put xp2ts to /xplane/xplane-stuff/
    cd /xplane/xplane-stuff/xp2ts
    mkdir xp2ts-0.65beta
    tar xzf xp2ts-0.65beta.tar.gz -C xp2ts-0.65beta
    mkdir /home/xplane/xp2ts/
    cp xp2ts.py /home/xplane/xp2ts/

    X-Plane plugins recompiled by mishaikin
    tar xzf xp2ts.tar.gz
    mv xp2ts /home/xplane/xplane/X-Plane\ 10/Resources/plugins/

    Configuration file
    vi /home/xplane/xp2ts/config.ini
    ---
    [ACCOUNT]
    FOLLOWME=0
    REMEMBER=1
    HIDEADM=0
    PORT=6809
    SERVER=eu4.ivan.ivao.aero
    BASE=LFPN
    REALNAME=YourName
    PASSWORD=YourPassword
    VID=YourIvaoID
    CALLSIGN=YourCallSign
    [SOUND]
    VOICE=1
    TSCONTROL=/home/xplane/xp2ts/tsControl
    [PREFERENCES]
    PRVTMSGSOUND=1
    TAGGING=1
    WEATHER=1
    MULTIPLAYER=1
    COUPLING=0
    VOICE=1
    ---
    chmod 600 /home/xplane/xp2ts/config.ini

    unzip tsControl.zip
    mv /home/xplane/xp2ts/TeamSpeak2/client_sdk/tsControl /home/xplane/xp2ts/TeamSpeak2/client_sdk/tsControl.org
    mv tsControl /home/xplane/xp2ts/TeamSpeak2/client_sdk/tsControl
    chmod 755 /home/xplane/xp2ts/TeamSpeak2/client_sdk/tsControl

    vi /home/xplane/xp2ts/xp2ts.sh
    ---
    #!/bin/bash

    /usr/bin/teamspeak&
    lxterminal -e python "/home/xplane/xp2ts/xp2ts.py"
    ---
    chmod 755 /home/xplane/xp2ts/xp2ts.sh

    vi /home/xplane/xp2ts/xp2ts.py
    ---
    -whazz_url = "http://nl1.www.ivao.aero/whazzup.txt" # TODO more URLs to be choosen randomly
    +whazz_url = "http://api.ivao.aero/getdata/whazzup/whazzup.txt" # TODO more URLs to be choosen randomly
    ---

    Run /home/xplane/xp2ts/xp2ts.sh and then X-Plane.

    Workaround for choppy sound: start pavucontrol before teamspak.

    Ref:
    So after getting tired of XPlane built-in ATC, I decided it would be more fun and realistic to try online flying. To my dismay, neither XSB nor PilotEdige work on 64bit Linux (Kubuntu 14.04 LTS). I raised the issue on PilotEdge forums and even offered help in compiling it under 64bit environment,...

    Dears, My saga of installing X-plane 9, X-iVap and TeamSpeak continues of OpenSuse 12.1 64bit. X-plane works, as well as X-IvAP, but I still need each time to throw aways the X-plane preferences to have it running fine. Otherwise it throttles at 20 fpm. Now I am trying to install TeamSpeak 2 to h...


    /mishaikin method>

    dornathal method>
    Make sure Debian package teamspeak-client is installed.

    Make sure PythonInterface plugin is installed in /home/xplane/xplane/X-Plane\ 10/Resources/plugins/
    mkdir /home/xplane/xplane/X-Plane\ 10/Resources/plugins/PythonScripts

    Put xp2ts to /xplane/xplane-stuff/
    cd /xplane/xplane-stuff/xp2ts

    unzip XP2TS-master.zip
    mv XP2TS-master/PI_XP2TS.py /home/xplane/xplane/X-Plane\ 10/Resources/plugins/PythonScripts/
    vi /home/xplane/xplane/X-Plane\ 10/Resources/plugins/PythonScripts/PI_XP2TS.py
    ---
    PI_XP2TS : __ResourcePath = "/home/xplane/xplane/X-Plane 10/Resources/plugins/X-IvAp Resources/"
    ---

    Teamspeak full install (Debian package doesn't contain SDK stuff)
    mkdir /home/xplane/xp2ts/
    cp /temp/deb/teamspeak-client/teamspeak-client_2.0.32.orig.tar.gz /home/xplane/xp2ts/
    cd /home/xplane/xp2ts/
    tar xzf /temp/deb/teamspeak-client/teamspeak-client_2.0.32.orig.tar.gz
    cd ts2_client_rc2_2032/setup.data
    cp -R image/ ../../TeamSpeak2
    cd /home/xplane/xp2ts/
    rm -r -f ts2_client_rc2_2032
    vi TeamSpeak2/TeamSpeak
    ---
    -export LD_LIBRARY_PATH=%installdir%:$LD_LIBRARY_PATH
    -%installdir%/TeamSpeak.bin $*
    +export LD_LIBRARY_PATH=/home/xplane/xp2ts/TeamSpeak2:$LD_LIBRARY_PATH
    +padsp32 /home/xplane/xp2ts/TeamSpeak2/TeamSpeak.bin $*
    ---
    Note: Add padsp before teamspeak binary as TeamSpeak 2 is only compatible with OSS.

    vi /home/xplane/xplane/X-Plane\ 10/Resources/plugins/X-IvAp\ Resources/X-IvAp.conf
    ---
    [ACCOUNT]
    FOLLOWME=0
    REMEMBER=1
    HIDEADM=0
    PORT=6809
    SERVER=eu4.ivan.ivao.aero
    BASE=LFPN
    REALNAME=YourName
    PASSWORD=YourPassword
    VID=YourIvaoID
    CALLSIGN=YourCallSign
    [SOUND]
    VOICE=1
    [PREFERENCES]
    PRVTMSGSOUND=1
    TAGGING=1
    WEATHER=1
    MULTIPLAYER=1
    COUPLING=0
    VOICE=1
    [TEAMSPEAK]
    path = /home/xplane/xp2ts/TeamSpeak2
    server = eu16.ts.ivao.aero
    ---
    chmod 600 /home/xplane/xplane/X-Plane\ 10/Resources/plugins/X-IvAp\ Resources/X-IvAp.conf

    Know bug:
    === NEW FREQUENCE ===
    Traceback (most recent call last):
    File "/home/xplane/xplane/X-Plane 10/Resources/plugins/PythonScripts/PI_XP2TS.py", line 106, in loop_callback
    print(" === NEW FREQUENCE === ")
    SystemError: new style getargs format but argument is not a tuple
    === NEW FREQUENCE ===
    Change TS Channel to 121.15!

    Ref:
    Connects IvAp with Teamspeak2 on Linux systems. Contribute to dornathal/XP2TS development by creating an account on GitHub.

    Dears, My saga of installing X-plane 9, X-iVap and TeamSpeak continues of OpenSuse 12.1 64bit. X-plane works, as well as X-IvAP, but I still need each time to throw aways the X-plane preferences to have it running fine. Otherwise it throttles at 20 fpm. Now I am trying to install TeamSpeak 2 to h...

    /dornathal method>
    Dernière modification par nicowork, 26 novembre 2016, 21h03.

  • #2
    Bonjour,

    Désolé, je ne vois ce message que maintenant.

    Pour ma part, je n'ai eu aucun soucis à installer le plugin X-IVAP sous Linux (il est nativement compatible Linux). Reste en effet TeamSpeak 2, que je n'ai jamais réussi à faire fonctionner convenablement sous Linux. Du coup, je fais tourner la version Windows de TS2 avec Wine et çà fonctionne parfaitement.

    Du coup, reste encore le problème du PTT, car si on est pas dans la fenêtre de TS2, le bouton PTT ne fonctionne pas. J'ai contourné le problème avec joy2key. Ce dernier converti l'appui sur un bouton du joystick en touche envoyé dans une fenêtre particulière.

    Dernier point non résolu, le changement de canal dans TS2, là je reste obligé de changer à la main mais globalement, çà me convient très bien.
    Alain
    X-Plane 11 - Linux Mint 20.3 64bits - Intel Core i7-4770K, 32Go RAM, nVidia GTX 1070 8Go

    Commentaire

    Chargement...
    X