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:
/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:
/dornathal method>
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:
/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:
/dornathal method>
Commentaire