Playing in Linux: Difference between revisions

m
some wording tweaks, no change to instructions
m (linking to article for Steam Deck)
m (some wording tweaks, no change to instructions)
Line 3: Line 3:
==Requirements==
==Requirements==
; [https://www.winehq.org Wine]
; [https://www.winehq.org Wine]
: An application used as a compatibility layer in order to run Windows applications on a Linux machine. For maximum convenience, it is recommended to install Wine directly from an official repository of the given Linux distribution (it is natively supported by a wide array of distros). Wine 5.5 was found to be capable of flawlessly running Oni and the AE Installer.
: A compatibility layer for running Windows applications on a Linux machine. For maximum convenience, it is recommended to install Wine directly from an official repository of the given Linux distribution (it is natively supported by a wide array of distros). Wine 5.5 was found to be capable of flawlessly running Oni and the AE Installer.


; [https://wiki.winehq.org/Winetricks Winetricks]
; [https://wiki.winehq.org/Winetricks Winetricks]
: Helper script for configuring various parts of Wine-created compatibility environments. In some distros, Winetricks is installed alongside Wine itself. In other distros, it needs to be installed as a separate package.
: A helper app for configuring various parts of Wine-created compatibility environments. In some distros, Winetricks is installed alongside Wine itself. In other distros, it needs to be installed as a separate package.


; A legacy Java Runtime Environment offline installer for the 32-bit (AKA x86) version of Windows XP.
You'll also need this for the Anniversary Edition:
: The maximum compatible version is '''7u65'''. Unfortunately, the [https://www.oracle.com/java/technologies/javase/javase7-archive-downloads.html official Oracle download page] requires a subscription in order to download legacy versions of JRE. An obscure link through the legacy website of Sun Microsystems (former developer of the Java platform) was found. The link ([https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825 click here]) can be used to download a JRE 7u25 offline installer.
; A legacy Java Runtime Environment offline installer for the 32-bit (AKA x86) version of Windows XP
: The maximum compatible version is '''7u65'''. An installer for 7u25 is still hosted [https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825 here].


==Preparing the Wine prefix==
==Preparing the Wine prefix==
# Open a Linux terminal and create a new Wine prefix (an instance of the Wine compatibility environment) by executing the following sequence of commands:
# Open a Linux terminal and create a new Wine prefix (an instance of the Wine compatibility environment) by executing the following sequence of commands:
#: <code> export WINEARCH=win32 </code>
#: <code>export WINEARCH=win32</code>
#: <code> export WINEPREFIX=/full_path_to_the_folder_where_this_Wine_prefix_will_be_located </code>
#: <code>export WINEPREFIX=/full/path/to/desired/location</code> (e.g. "~/Documents/Oni" or "~/Games/Oni")
#: <code> winecfg </code>
#: <code>winecfg</code>
# The sequence of commands from step 1 creates a new 32-bit Wine prefix in the requested folder and opens a "Wine configuration" GUI tool. In the GUI tool, under the "Applications" tab, change the target Windows version to "Windows XP". Then click on the OK button.
# This creates a 32-bit Wine prefix in the requested folder and opens a "Wine configuration" GUI tool. In the GUI tool, under the "Applications" tab, change the target Windows version to "Windows XP". Then click on the OK button.
# Still in the same terminal (with all the export symbols defined), run Winetricks script to execute the necessary configuration changes:
# Still in the same terminal (with all the export symbols defined), run Winetricks script to execute the necessary configuration changes:
#: <code> winetricks corefonts msacm32 </code>
#: <code> winetricks corefonts msacm32 </code>
Line 25: Line 26:


==Installing Oni==
==Installing Oni==
Skip to the next section if you have an existing installation of Oni.
# Insert your Oni CD-ROM into the disc drive (if installing from the CD, 2001-style ^_^).
# Insert your Oni CD-ROM into the disc drive (if installing from the CD, 2001-style ^_^).
# Open a Linux terminal, export the "Oni" prefix file, navigate to the folder with the contents of the mounted CD, and initiate the installation process.
# Open a Linux terminal, export the "Oni" prefix file, navigate to the folder with the contents of the mounted CD, and initiate the installation process.
Line 35: Line 37:


==Installing AE Installer==
==Installing AE Installer==
This is a rather straightforward process.
This is a rather straightforward process which builds on an Oni installation.
# Download the latest Windows version of the AE Installer from the Oni Mod Depot ([http://mods.oni2.net/node/79 click here]).
# Download the latest Windows version of the AE Installer from the Oni Mod Depot ([http://mods.oni2.net/node/79 click here]).
# Open a Linux terminal, export the "Oni" prefix, navigate to the folder with the AE Installer, and initiate the installation process.
# Open a Linux terminal, export the "Oni" prefix, navigate to the folder with the AE Installer, and initiate the installation process.