Orbiter on linux with PlayOnLinux (and maybe on Mac ??)

Ouacaze

New member
Joined
Jun 13, 2013
Messages
13
Reaction score
2
Points
3
Location
Toulouse
Hi everybody :hello:

Playonlinux script:
some of you might already have heard of Playonlinux (and Playonmac):
they are little programs which allow you ton run Windows applications on linux or Mac.

As I am a happy user of linux :firefox:, I started creating a Playonlinux script for Orbiter. It works pretty well, but before submitting it officially on the Playonlinux website, I would like some people to test it.

You'll find the script attached to this post.
To run the script, in Playonlinux, just go to "Tools" > "run a local script"

Add-ons:
Currently, it installs orbiter100830, D3D9ClientR10 and OrbiterSound4.0 .
It proposes 2 ways of installation:
- install from files on your computer
- or automatically download and install the files

After installation, you can still install add-ons by just unzipping them in the install folder which is:
/home/username/.PlayOnLinux/wineprefix/Orbiter2010/drive_c/Orbiter2010/

I'm also interested in advices to determine which would be the best Orbiter "base package": for now I use orbiter100830, D3D9ClientR10 and OrbiterSound4.0.
But, is OGLA client better than D3D9 ?
Is there any other "mandatory" add-on ?

So here it is, hope you'll like it :)

NB: I'm also interested to know if it works on Mac, so if there are some amongst you... ;)

EDIT: I removed the script until I found a better way to download files, without breaking licenses.
 
Last edited:

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,135
Reaction score
409
Points
123
Location
Rome
Website
www.tuttovola.org
Sounds cool!
Is the script customizable, as to let it install, say, XR fleet or some extra MFDs?
 

Ouacaze

New member
Joined
Jun 13, 2013
Messages
13
Reaction score
2
Points
3
Location
Toulouse
Thanks all :)

Sounds cool!
Is the script customizable, as to let it install, say, XR fleet or some extra MFDs?
Yes, it is fully customizable. But in the current state, you stil can install add-ons by just unzipping them in the install folder (something like yourhome/.Playonlinux/winprefixes/Orbiter2010/drive_c/Orbiter2010).

Sorry, but which D3D client? We've got three of them at the moment (7,9,11)

I'll give it a go!
Oups, forgot the "9" while typing ;)

That sounds like a cool idea, but I have to point out that your download links (http://www.ouacaze.com/download/permanent/orbiter/OrbiterSound40_20121120_setup.exe) in the "script" could violate Dan's license.

Please contact him or change to the original download point before finally publishing it.

regards,
Face
You're right, thanks for pointing that out.

My problem with the download links was that none of them is available as a "direct to file" http download link, this could led to 2 problems:
- the script might not be able to download them
- the files names might change, which would make the script to not work anymore

That's why, in the first time, I uploaded them on my personnal web space.

I'll contact Dan asap to see how to figure it out. I hope it won't bother to keep the files there until we find another solution.

edit: I will edit the first post taking these remarks into account
 
Last edited:

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,404
Reaction score
581
Points
153
Location
Vienna
I'll contact Dan asap to see how to figure it out. I hope it won't bother to keep the files there until we find another solution.

Contacting Dan is certainly the best solution, yes. I'd also ask him about the temporary "publishing", but I don't think he will go all upset about it immediately. Just don't upload the script to an "official" location or somesuch, because it could be a problem to remove this very version of it later on.
 

Spacethingy

Multitasker
Joined
Sep 9, 2010
Messages
1,515
Reaction score
0
Points
36
Location
Not the anti-matter universe
Website
spacethingy.weebly.com
Now, I have a pretty ancient laptop, so DXD9 may be a bit patchy with me...
Throws an exception:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 1e-007 sec
Found 0 joystick(s)
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 130312, API 100830]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
.\D3D9Frame.cpp Line:317 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT5)
.\D3D9Frame.cpp Line:318 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT3)
.\D3D9Frame.cpp Line:319 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT1)
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 2.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Texture DG\DGMK4_3.dds failed to load
Texture DG\PSNGR3.dds failed to load
Texture DG\PSNGR4.dds failed to load
Texture DG\DGMK4_2.dds failed to load
Texture DG\DGMK4_3.dds failed to load
Texture DG\PSNGR3.dds failed to load
Texture DG\PSNGR4.dds failed to load
Texture DG\DGIP_04.dds failed to load
Texture DG\DGIP_02.dds failed to load
Texture DG\DGIP_03.dds failed to load
Texture DG\DGIP_05.dds failed to load
Texture DG\DG_VC2.dds failed to load
Texture DG\dg_instr.dds failed to load
.\D3D9Surface.cpp Line:610 Error:-2005532292 D3DXCreateTexture(pDevice, desc.Width, desc.Height, 1, D3DUSAGE_RENDERTARGET, desc.Format, D3DPOOL_DEFAULT, &pNew)
Orbiter Version 100830
D3D9Client Build [Mar 12 2013]
Exception Code=0xC0000005, Address=0x00E16ADB
EAX=0x011B01D8 EBX=0x009FE038 ECX=0x00E601BB EDX=0x00000000 ESI=0x011C3FB0 EDI=0x011B01D8 EBP=0x011C3FDC ESP=0x009FDFC0 EIP=0x00E16ADB
C:\Orbiter2010\Modules\Plugin\D3D9Client.dll EntryPoint=0x00E6177B, Base=0x00E00000, Size=1445888
Exception in clbkBlt(0x11C3FB0, 0,0, 0x11B01D8, 0,0,256,256, 0x0)
!!! Abnormal Program Termination !!!
Shame, be nice to get it going. I'm using LXDE on Lubuntu, would that make a difference?
 

Ouacaze

New member
Joined
Jun 13, 2013
Messages
13
Reaction score
2
Points
3
Location
Toulouse
Contacting Dan is certainly the best solution, yes. I'd also ask him about the temporary "publishing", but I don't think he will go all upset about it immediately.
Just done ;)
Just don't upload the script to an "official" location or somesuch, because it could be a problem to remove this very version of it later on.
Of course I won't.

Now, I have a pretty ancient laptop, so DXD9 may be a bit patchy with me...
Throws an exception:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 1e-007 sec
Found 0 joystick(s)
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 130312, API 100830]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
.\D3D9Frame.cpp Line:317 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT5)
.\D3D9Frame.cpp Line:318 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT3)
.\D3D9Frame.cpp Line:319 Error:-2005530518 pD3D->CheckDeviceFormat(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_AUTOGENMIPMAP, D3DRTYPE_TEXTURE, D3DFMT_DXT1)
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 2.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Texture DG\DGMK4_3.dds failed to load
Texture DG\PSNGR3.dds failed to load
Texture DG\PSNGR4.dds failed to load
Texture DG\DGMK4_2.dds failed to load
Texture DG\DGMK4_3.dds failed to load
Texture DG\PSNGR3.dds failed to load
Texture DG\PSNGR4.dds failed to load
Texture DG\DGIP_04.dds failed to load
Texture DG\DGIP_02.dds failed to load
Texture DG\DGIP_03.dds failed to load
Texture DG\DGIP_05.dds failed to load
Texture DG\DG_VC2.dds failed to load
Texture DG\dg_instr.dds failed to load
.\D3D9Surface.cpp Line:610 Error:-2005532292 D3DXCreateTexture(pDevice, desc.Width, desc.Height, 1, D3DUSAGE_RENDERTARGET, desc.Format, D3DPOOL_DEFAULT, &pNew)
Orbiter Version 100830
D3D9Client Build [Mar 12 2013]
Exception Code=0xC0000005, Address=0x00E16ADB
EAX=0x011B01D8 EBX=0x009FE038 ECX=0x00E601BB EDX=0x00000000 ESI=0x011C3FB0 EDI=0x011B01D8 EBP=0x011C3FDC ESP=0x009FDFC0 EIP=0x00E16ADB
C:\Orbiter2010\Modules\Plugin\D3D9Client.dll EntryPoint=0x00E6177B, Base=0x00E00000, Size=1445888
Exception in clbkBlt(0x11C3FB0, 0,0, 0x11B01D8, 0,0,256,256, 0x0)
!!! Abnormal Program Termination !!!
Shame, be nice to get it going. I'm using LXDE on Lubuntu, would that make a difference?
Hi,
I don't think LXDE would be a problem, but is 3D Hardware acceleration working on your linux OS ?
You might also try to install the OGLA client, to see if it works better (I've never tried it)
 

Therius

Donator
Donator
Joined
Mar 29, 2008
Messages
33
Reaction score
0
Points
0
This could be life changing for me. I have linux on my pc, dual booting with win 7. About the only thing keeping win 7 on there is Orbiter and Flight Simulator X. If it weren't for them, I would have ditched Windows a long time ago. I'm a Mint user, I hope your script is successful.
 

Ouacaze

New member
Joined
Jun 13, 2013
Messages
13
Reaction score
2
Points
3
Location
Toulouse
This could be life changing for me. I have linux on my pc, dual booting with win 7. About the only thing keeping win 7 on there is Orbiter and Flight Simulator X. If it weren't for them, I would have ditched Windows a long time ago. I'm a Mint user, I hope your script is successful.
So, install Flightgear and you are Go for trashing this windows partition :p
 

Linguofreak

Well-known member
Joined
May 10, 2008
Messages
5,039
Reaction score
1,277
Points
188
Location
Dallas, TX
Yes, it is fully customizable. But in the current state, you stil can install add-ons by just unzipping them in the install folder (something like yourhome/.Playonlinux/winprefixes/Orbiter2010/drive_c/Orbiter2010).

One thing to be aware of, though, is that Linux filenames are case sensitive whereas Windows filenames are not. So sometimes a folder in a zip file that would merge within an existing folder on Windows ends up creating a new folder on a Linux system, whereupon you have to do the merge manually.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
So sometimes a folder in a zip file that would merge within an existing folder on Windows ends up creating a new folder on a Linux system, whereupon you have to do the merge manually.
You can also install 7-zip in WINE and use it to unpack the add-ons instead of using the native unpacker (e.g. unzip or other), which will extract files to existing directories instead of creating new directories using different case.
 

Ouacaze

New member
Joined
Jun 13, 2013
Messages
13
Reaction score
2
Points
3
Location
Toulouse
Hi,

I indeed forgot the case sensitivity problem.
And yes, one solution is to use 7zip in wine.
I'll take this into account when I update the script.

Thanks
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,135
Reaction score
409
Points
123
Location
Rome
Website
www.tuttovola.org
...Is there any other "mandatory" add-on ?...
Plenty!
Unfortunately it highly depends on user's experience/taste...
It's difficult (read: nearly impossible) to have a one-size-fits-all list of so-called "mandatory" add-ons.

I, for one, would like to include XR Fleet, everything from Dansteph (not only OrbiterSound), some FOI spaceships, some vital MFDs, like Aerobrake, IMFD, BaseSync, LTMFD, LaunchMFD (and HUDDrawer), the fixed TransX version (transx-3.13-enterbutton-graphicsfix.zip), GalacticMap3D MFD, and the list grows...

I guess more advanced users would love to always have AMSO or NASSP, G42-200, Thorton's and Donamy's ISS, GlideSlopeMFD, DVTools, BurnTimeCalculator.

Not counting optional (but gorgeous) planetary textures, some extra bases...

Yes, it's difficult...
 
Last edited:
Top