Playing in Linux: Difference between revisions

m
some more clarity on your launching options; corrected name of prefix to be consistent
m (sorry, but this is not straightforward)
m (some more clarity on your launching options; corrected name of prefix to be consistent)
Line 43: Line 43:
1. Mount the disk image for the Oni CD-ROM, or insert your CD-ROM into the disc drive.
1. Mount the disk image for the Oni CD-ROM, or insert your CD-ROM into the disc drive.


2. Open a Linux terminal, export the "Oni" prefix you created in step B1, navigate to the folder with the contents of the mounted CD, and initiate the installation process:
2. Open a Linux terminal, export the WinXP prefix you created in step B1, navigate to the folder with the contents of the mounted CD, and initiate the installation process:
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>cd /path/to/Oni/CD</code> (you may have to open the CD in your file manager to see its path, e.g. /run/media/[user name]/001228_1801/ or /media/[user name]/001228_1801/)
: <code>cd /path/to/Oni/CD</code> (you may have to open the CD in your file manager to see its path, e.g. /run/media/[user name]/001228_1801/ or /media/[user name]/001228_1801/)
Line 65: Line 65:
2. Download the latest Windows version of the AE Installer, linked from [[Anniversary Edition]].
2. Download the latest Windows version of the AE Installer, linked from [[Anniversary Edition]].


3. Open a Linux terminal, export the "Oni" prefix, navigate to the folder with the AE Installer, and initiate the installation process:
3. Open a Linux terminal, export the WinXP prefix, navigate to the folder with the AE Installer, and initiate the installation process:
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>cd /full/path/to/folder/with/AE/Setup</code>
: <code>cd /full/path/to/folder/with/AE/Setup</code>
Line 79: Line 79:


====b: Running the AE Installer====
====b: Running the AE Installer====
The AE Installer will be automatically launched after it is installed. However, any other time you want to launch the AE Installer, open a Linux terminal, export the "Oni" prefix, and navigate to the folder with the '''AEInstaller2.jar''' file (starting from Oni's folder, this is AE/AEInstaller/bin/). Launch the .jar file through your Wine prefix's Java Runtime Environment:
The AE Installer will be automatically launched after it is installed. However, any other time you want to launch the AE Installer, open a Linux terminal, export the WinXP prefix, and navigate to the folder with the '''AEInstaller2.jar''' file (starting from Oni's folder, this is AE/AEInstaller/bin/). Launch the .jar file through your Wine prefix's Java Runtime Environment:
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>cd /full/path/to/folder/with/AE/Installer</code>
: <code>cd /full/path/to/folder/with/AE/Installer</code>
Line 86: Line 86:
===E: Launching patched Oni===
===E: Launching patched Oni===
There are two possible ways to launch Oni:<br>
There are two possible ways to launch Oni:<br>
1. Launch the game through the AE Installer application if you installed the AE using the process in D2(b).
1. If you installed the AE, launch the game through the AE Installer, which itself is launched using the process in D2(b).


2. Open a Linux terminal, export the "Oni" prefix, navigate to the folder with the patched Oni.exe file, and launch it via Wine:
2. If you didn't install the AE, or want to launch the Oni EXE directly without going through the AEI, open a Linux terminal, export the WinXP prefix, navigate to the folder with the patched Oni.exe file, and launch it via Wine:
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>export WINEPREFIX=/full/path/to/prefix</code>
: <code>cd /full/path/to/folder/with/patched/Oni/EXE</code>
: <code>cd /full/path/to/folder/with/patched/Oni/EXE</code>