19,987
edits
m (don't tell the user to place one Lutris install inside another) |
(fitted OniX into the manual Wine instructions instead of placing it at the beginning of the article) |
||
| Line 1: | Line 1: | ||
{{UpdatedForOniX|1.0.0}} | {{UpdatedForOniX|1.0.0}} | ||
{{Hatnote|If you are looking for help running Oni on the Steam Deck, see [[Playing on the Steam Deck]] for much simpler instructions.}} | {{Hatnote|If you are looking for help running Oni on the Steam Deck, see [[Playing on the Steam Deck]] for much simpler instructions.}} | ||
There is no official support for Oni in the Linux OS family. Nevertheless, it is still possible to run the Windows version of the game on Linux | There is no official support for Oni in the Linux OS family. Nevertheless, it is still possible to use Wine to run the Windows version of the game on Linux. | ||
==Picking which Oni you want to run== | ==Picking which Oni you want to run== | ||
You essentially have three choices for the version of Oni you want to run: | You essentially have three choices for the version of Oni you want to run: | ||
*{{Hover|Vanilla|text=Vanilla means the game has not been modded.}} | *{{Hover|Vanilla|text=Vanilla means the game has not been modded.}} Oni + Daodan DLL patch | ||
*[[Anniversary Edition]] Oni | *[[Anniversary Edition]] Oni | ||
*[[OniX]] | *[[OniX]] | ||
Then look below for the installation method you want to use. | |||
==Using Lutris== | ==Using Lutris== | ||
| Line 54: | Line 50: | ||
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. | ||
===Manually installing OniX=== | |||
[…] | |||
===Manually installing AE Oni=== | ===Manually installing AE Oni=== | ||
First follow the instructions under {{SectionLink||Manually installing vanilla Oni}} through step 9. | First follow the instructions under {{SectionLink||Manually installing vanilla Oni}} through step 9. Then you will have a Wine prefix containing Oni, with which you can follow the instructions in {{SectionLink||D3: Patching Oni with the AE}}. | ||
==Using Wine directly== | ==Using Wine directly== | ||
| Line 97: | Line 96: | ||
4. Oni should install without problems. When GLSetup runs and offers to install OpenGL, make sure to say '''"No"'''. Creating a desktop shortcut is also pointless because you will need to create your own shortcut that uses Wine (see step E). When the installer closes, you can eject the Oni CD-ROM or un-mount the disk image. | 4. Oni should install without problems. When GLSetup runs and offers to install OpenGL, make sure to say '''"No"'''. Creating a desktop shortcut is also pointless because you will need to create your own shortcut that uses Wine (see step E). When the installer closes, you can eject the Oni CD-ROM or un-mount the disk image. | ||
5. <u>Don't bother trying to run the game yet.</u> An attempt to run an unpatched copy of Oni on a modern system is almost guaranteed to fail. The game needs to be patched | 5. <u>Don't bother trying to run the game yet.</u> An attempt to run an unpatched copy of Oni on a modern system is almost guaranteed to fail. The game needs to be patched next, so choose your path below: D1, D2 or D3 (they are inter-compatible, so you can both patch your base install of Oni with the Daodan DLL or OniX and also install the AE on top of the base install to get a second copy of the game which is patched and also modded). | ||
===D1: Patching Oni with the Daodan DLL=== | ===D1: Patching Oni with the Daodan DLL=== | ||
The Anniversary Edition is not required in order to | The Anniversary Edition is not required in order to install the patch that Oni needs in order to run on modern systems. The actual patch is the Daodan DLL, an independent fan creation which the AE automatically installs. Go to the [[Daodan DLL]] article and follow the manual installation instructions, substituting the standard path given there for Oni (C:\Program Files\Oni\) with the one you picked in the installer in step C3. | ||
===D2: Patching Oni with the AE=== | ===D2: Patching Oni with OniX=== | ||
If you're not looking for extra features and just want to run Oni on your modern PC, OniX is a solid choice. Download the ZIP from the [[OniX]] page, place the files in your Oni directory, open your terminal app and switch to the Oni directory, and run the following command to perform a one-time conversion of the game data: | |||
: <code>wine cmd.exe /c GameDataConvert.bat</code> | |||
===D3: Patching Oni with the AE=== | |||
====a: Installing the AE==== | ====a: Installing the AE==== | ||
This is a more complex process which builds a patched copy of Oni on top of a vanilla Oni installation, but it will allow you to install mods. | This is a more complex process which builds a patched copy of Oni on top of a vanilla Oni installation, but it will allow you to install mods. | ||
| Line 134: | Line 137: | ||
===E: Launching patched Oni=== | ===E: Launching patched Oni=== | ||
This depends on which patch you installed. | |||
1. If you installed the AE, you can launch the game through the AE Installer, which you would launch using the process in D3(b). However this takes longer than directly launching AE Oni as seen in step 2, so there's no advantage to this if you aren't in the AE Installer to change your mod loadout. | |||
2. If you installed the Daodan DLL or just don't want to launch Oni through the AE Installer, 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 | : <code>cd /full/path/to/folder/with/Oni</code> | ||
: <code>wine Oni.exe</code> | : <code>wine Oni.exe</code> | ||
As a shortcut, you can place the | 3. If you installed OniX, you don't need a special Wine prefix to launch it because it expects a modern environment, so whether or not you export the WinXP prefix as in step 2, the command to run OniX is: | ||
: <code>cd /full/path/to/folder/with/Oni</code> | |||
: <code>wine OniX.exe</code> | |||
As a shortcut, you can place the relevant launch commands into a shell script and then create a desktop file which executes the script (make sure to set both the .sh and .desktop files as executable). | |||
===Troubleshooting=== | ===Troubleshooting=== | ||