Jump to content

Playing in Linux: Difference between revisions

1,024 bytes removed ,  Yesterday at 17:30
removed instructions on installing a global JRE, as the AE comes with a local JRE that works just fine
m (oops, make sure the prefix is set here)
(removed instructions on installing a global JRE, as the AE comes with a local JRE that works just fine)
Line 14: Line 14:
: A helper app for configuring various parts of Wine-created compatibility environments.
: A helper app for configuring various parts of Wine-created compatibility environments.
: In some distros, Winetricks is installed alongside Wine itself, however it usually needs to be installed as a separate package, so search for "winetricks" and install it if it hasn't already been installed.
: In some distros, Winetricks is installed alongside Wine itself, however it usually needs to be installed as a separate package, so search for "winetricks" and install it if it hasn't already been installed.
; A legacy Java Runtime Environment offline installer for the 32-bit (aka x86) version of Windows XP
:You'll need this for installing the Anniversary Edition, if you want it (the game can be patched to run without installing the AE; this is covered under step D1).
: The maximum compatible version is '''7u65'''. An installer for 7u25 is archived [https://web.archive.org/web/20191108134546/https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825 here]. You'll learn what to do with this file when you reach step B4.


===B: Preparing the Wine prefix===
===B: Preparing the Wine prefix===
Line 30: Line 26:
: <code>winetricks corefonts msacm32</code>
: <code>winetricks corefonts msacm32</code>


4. '''If you're going to install the AE''': Still in the same terminal (with all the export symbols defined), use the "cd" command to navigate to the folder with the Java Runtime Environment installer. Install the JRE into the given Wine prefix like this (assuming the installer is named "jre-7u25-windows-i586.exe"):
4. The "WinXP" Wine prefix is now ready. Remember that, in order to run either Oni or the AE Installer, the path to this prefix file must be specified (exported). If it is not specified, then the Wine session will use a default prefix file, one which is probably set to represent 64-bit Windows 7 or 64-bit Windows 10 (which is quite sensible for most applications, but unfortunately not good enough for Oni). See step E for details.
: <code>cd /full/path/to/JRE/installer</code>
: <code>wine jre-7u25-windows-i586.exe</code>
 
When the Java Setup app appears, simply proceed with the default destination folder.
 
5. The "WinXP" Wine prefix is now ready. Remember that, in order to run either Oni or the AE Installer, the path to this prefix file must be specified (exported). If it is not specified, then the Wine session will use a default prefix file, one which is probably set to represent 64-bit Windows 7 or 64-bit Windows 10 (which is quite sensible for most applications, but unfortunately not good enough for Oni). See step E for details.


===C: Installing Oni===
===C: Installing Oni===