Playing in Linux: Difference between revisions

2,700 bytes added ,  Wednesday at 03:44
added instructions for using the install scripts someone uploaded to lutris.net
m (wording)
(added instructions for using the install scripts someone uploaded to lutris.net)
Line 16: Line 16:


==Using Lutris==
==Using Lutris==
Lutris is a popular GUI for managing games that run through compatibility layers such as Wine.
Lutris is a popular GUI for managing games that run through compatibility layers such as Wine. It supports scripts which will automatically install either vanilla Oni or AE Oni. If those don't work for you, we provide manual instructions for installing the game through Lutris as well.


===Installing patched vanilla Oni===
===Installing with a premade script===
An Oni fan has uploaded two install scripts to lutris.net. They can be viewed and downloaded from [https://lutris.net/games/oni/ the game's 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.
:lutris:oni-vanilla
:lutris:oni-anniversary-edition
 
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.
 
2. Once selected, 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.
 
3a. (vanilla Oni only) Do not click "Launch" when the Oni installer finishes and closes and you come back to Lutris, because vanilla Oni can't run on modern systems without being patched. Instead, close the Lutris install window and follow step 10 in the next section to install the Daodan DLL, and then you are ready to play Oni through Lutris.
 
3b. (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.
 
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 cards in Lutris 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".
 
===Manually installing vanilla Oni===
1. Using the app store in your Linux distro, install Lutris as a Flatpak (not as an RPM, aka System Package).
1. Using the app store in your Linux distro, install Lutris as a Flatpak (not as an RPM, aka System Package).


Line 40: Line 55:
10. Oni isn't ready to run until we patch it with the Daodan DLL. Right-click the game again and choose "Browse files". You'll find yourself in the Linux file manager looking at a folder probably called "oni". Enter it and drill down to Program Files/Oni/, where the game EXE and GameDataFolder reside. Now that you see the directory where the Daodan DLL needs to go, visit the [[Daodan DLL]] page and follow the instructions there for manual installation. Note that step 5 tells the reader to click on the Oni EXE, but in Linux you'll need to launch the game through Lutris. When launched through Lutris, Oni should now run successfully.
10. Oni isn't ready to run until we patch it with the Daodan DLL. Right-click the game again and choose "Browse files". You'll find yourself in the Linux file manager looking at a folder probably called "oni". Enter it and drill down to Program Files/Oni/, where the game EXE and GameDataFolder reside. Now that you see the directory where the Daodan DLL needs to go, visit the [[Daodan DLL]] page and follow the instructions there for manual installation. Note that step 5 tells the reader to click on the Oni EXE, but in Linux you'll need to launch the game through Lutris. When launched through Lutris, Oni should now run successfully.


==Manual approach==
===Manually installing AE Oni===
First follow the instructions under {{SectionLink||Manually installing vanilla Oni}} through step 9.
 
==Using Wine directly==
Rather than using a Wine management GUI such as Lutris or Bottles, you may want to do it yourself by working directly with Wine (this is also a fallback if those tools do not work for you).
Rather than using a Wine management GUI such as Lutris or Bottles, you may want to do it yourself by working directly with Wine (this is also a fallback if those tools do not work for you).