Jump to content

Playing in Linux: Difference between revisions

added mention of OniX Lutris script; improved organization of instructions
(added instructions for installing OniX manually through Lutris)
(added mention of OniX Lutris script; improved organization of instructions)
 
Line 15: Line 15:


===Installing with a premade script===
===Installing with a premade script===
Premade install scripts are available from lutris.net for your convenience. They can be viewed and downloaded from [https://lutris.net/games/oni/ their Oni page] or, if you have Lutris installed, you can simply copy-paste one of the links below into your browser and it will offer to open the install script in Lutris. Make sure to have the Oni CD-ROM (or disk image) ready to be mounted.
Premade install scripts are available from lutris.net for your convenience. They can be viewed and downloaded from [https://lutris.net/games/oni/ their Oni page] or, if you have Lutris installed, you can simply copy-paste one of the links below into your browser and it will offer to open the install script in Lutris. Make sure to have the Oni CD-ROM inserted (or the disk image mounted).
:lutris:oni-daodan-dll
:'''lutris:oni-daodan-dll'''
:lutris:oni-anniversary-edition
:'''lutris:oni-anniversary-edition'''
:'''lutris:oni-onix'''
:A vanilla installation is also available at lutris:oni-vanilla but it would require manual patching to be able to run.
:A vanilla installation is also available at lutris:oni-vanilla but it would require manual patching to be able to run.


1. When the script starts, you will be prompted to browse into the CD-ROM directory and find the installer for Oni, typically called onisetup.exe. You will also be prompted to pick the variant of the Daodan DLL to install, if you chose the oni-daodan-dll script.
1. When you click Install to start running the install script, the default directory for the Lutris installation will end in "oni/" for all three patched versions of the game. This will create a naming conflict if you run one version's install script and then also want to install another version of the game. It's better to name the directory "oni-daodan/" or "oni-ae/" or "onix/" to avoid this problem, but if you do use the default directory that the install script suggests, "oni/", you can always change the directory later by right-clicking the entry in your Lutris library, choosing Configure, and using the Move button. Or you could simply not worry about it, use "oni/" for the first version of the game you install, and use a name like the ones above for additional installations, should they occur.


2. The game's installer will be launched and you can proceed through the screens as usual; when asked for a destination directory, go with the default of C:\Program Files\Oni – this is a directory internal to the Wine prefix being created, not the actual location on your hard drive. Make sure to say "No" when the installer asks if you want to run GLSetup.
2. On the next screen you will be prompted to browse into the CD-ROM directory and find the installer for Oni, typically called onisetup.exe. You will also be prompted to pick the variant of the Daodan DLL to install if you chose the oni-daodan-dll script.


3. (AE Oni only) After the Oni installer finishes and closes, the AE Setup application will run. The default suggested location of Oni, C:\Program Files\Oni, is correct as long as you didn't change it in step 2. Once the AE Installer is downloaded, it will run and download its core mods, including the Daodan DLL patch which allows Oni to run on modern systems.
3. The game's installer will be launched and you can proceed through the screens as usual; when asked for a destination directory, go with the default of C:\Program Files\Oni – this is a directory internal to the Wine prefix being created, not the actual location on your hard drive, and some of the install scripts expect this path to be used. Make sure to say "No" when the installer asks if you want to run GLSetup.


Note that if you run the vanilla Oni install script and then also want to install AE Oni, you can't use the default directory that the install script suggests, /home/you/games/oni, because that was already used for vanilla Oni, so use something like /home/you/games/oni-ae instead. However the install directory which the Oni installer suggests, C:\Program Files\Oni, can remain the same since it is internal to the new Wine prefix which Lutris is creating. Note too that the install scripts will create identical entries in the Lutris library so you will need to edit the AE card by right-clicking it and choosing Configure and then changing its name to something like "Oni AE".
4a. (AE Oni only) After the Oni installer finishes and closes, the AE Setup application will run. The default suggested location of Oni, C:\Program Files\Oni, is correct as long as you didn't change it in step 2. Once the AE Installer is downloaded, it will run and download its core mods, including the Daodan DLL patch which allows Oni to run on modern systems.
 
4b. (OniX only) After the Oni installer finishes and closes, the OniX install script will launch in a console window. It may have questions for you at the start, but under normal circumstances it will simply run for several minutes. When done, you will be prompted to press any key to close the console window, and then the installation process will be complete.
 
The install scripts will create identically-named entries in the Lutris library for each version of Oni, so you'll need to edit the game's card afterward by right-clicking it, choosing Configure, and then changing its name to something like "Oni AE" which distinguishes it.


===Manually installing vanilla Oni===
===Manually installing vanilla Oni===