Editing Running Orbiter under Wine
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | This article explains how to run | + | This article explains how to run Orbiter2016 with DirectX9 client under Wine. Use only stable version of Wine for this (tested on 1.6.2) |
= Preparation = | = Preparation = | ||
== Installing the base environment == | == Installing the base environment == | ||
+ | <pre> | ||
+ | # Install the latest STABLE version of Wine and Winetricks in your system. See: | ||
+ | # https://www.winehq.org/download | ||
+ | # https://wiki.winehq.org/Winetricks | ||
− | + | # cd into your Orbiter2016 directory | |
− | |||
− | |||
− | # cd into your Orbiter2016 directory | ||
# We will be operating on a specialized Wineprefix | # We will be operating on a specialized Wineprefix | ||
− | + | echo ".local/share/wineprefixes/orbiter2016" > wineprefix.txt | |
− | echo " | + | export WINEPREFIX=~/`cat wineprefix.txt` |
− | export WINEPREFIX=`cat wineprefix.txt` | ||
# Create the Wineprefix for Orbiter 2016. Select Windows 8.1 as the supported operating system. | # Create the Wineprefix for Orbiter 2016. Select Windows 8.1 as the supported operating system. | ||
WINEARCH=win32 winecfg | WINEARCH=win32 winecfg | ||
− | # Install VC++ runtimes | + | # Install VC++ runtimes |
− | winetricks vcrun2005 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun6 vcrun6sp6 | + | winetricks vcrun2005 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2015 vcrun6 vcrun6sp6 |
− | |||
</pre> | </pre> | ||
== Installing DX9 == | == Installing DX9 == | ||
− | |||
<pre> | <pre> | ||
− | export WINEPREFIX=`cat wineprefix.txt` | + | export WINEPREFIX=~/`cat wineprefix.txt` |
− | |||
− | |||
− | |||
# Download page of the DX9 runtimes | # Download page of the DX9 runtimes | ||
Line 45: | Line 40: | ||
wine $DX9_EXTRACTED_DIR/DXSETUP.exe | wine $DX9_EXTRACTED_DIR/DXSETUP.exe | ||
</pre> | </pre> | ||
+ | |||
= Run scripts = | = Run scripts = | ||
− | Create the following two scripts in your Orbiter2016 directory | + | Create the following two scripts in your Orbiter2016 directory and run them with: |
<pre> | <pre> | ||
− | + | bash run-wine-orbiter-ng.sh # DirectX9 | |
− | + | bash run-wine-orbiter.sh # DirectX7 | |
</pre> | </pre> | ||
== run-wine-orbiter-ng.sh == | == run-wine-orbiter-ng.sh == | ||
<pre> | <pre> | ||
− | #!/bin | + | #!/bin.bash |
killall orbiter.exe | killall orbiter.exe | ||
− | export WINEPREFIX=`cat wineprefix.txt` | + | export WINEPREFIX=~/`cat wineprefix.txt` |
wine Orbiter_ng.exe | wine Orbiter_ng.exe | ||
</pre> | </pre> | ||
Line 64: | Line 60: | ||
== run-wine-orbiter.sh == | == run-wine-orbiter.sh == | ||
<pre> | <pre> | ||
− | #!/bin | + | #!/bin.bash |
killall orbiter.exe | killall orbiter.exe | ||
− | export WINEPREFIX=`cat wineprefix.txt` | + | export WINEPREFIX=~/`cat wineprefix.txt` |
wine orbiter.exe | wine orbiter.exe | ||
</pre> | </pre> | ||
− | = | + | = Remarks = |
− | + | The typical Ctrl+F1-4 combinations don't work under Linux. Use the upper pane of the Orbiter window to invoke these special functions. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Tutorials]] | [[Category:Tutorials]] |