18,700
edits
m (link fix; looks like Sun's site is finally being absorbed into Oracle's) |
(fixing names of sections; added Troubleshooting section with a sound problem tip) |
||
Line 11: | Line 11: | ||
: The maximum compatible version is '''7u65'''. Unfortunately, the [https://www.oracle.com/java/technologies/javase/javase7-archive-downloads.html official Oracle download page] requires a subscription in order to download legacy versions of JRE. An obscure link through the legacy website of Sun Microsystems (former developer of the Java platform) was found. The link ([https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825 click here]) can be used to download a JRE 7u25 offline installer. | : The maximum compatible version is '''7u65'''. Unfortunately, the [https://www.oracle.com/java/technologies/javase/javase7-archive-downloads.html official Oracle download page] requires a subscription in order to download legacy versions of JRE. An obscure link through the legacy website of Sun Microsystems (former developer of the Java platform) was found. The link ([https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825 click here]) can be used to download a JRE 7u25 offline installer. | ||
== | ==Preparing the Wine prefix== | ||
# Open a Linux terminal and create a new Wine prefix (an instance of the Wine compatibility environment) by executing the following sequence of commands: | # Open a Linux terminal and create a new Wine prefix (an instance of the Wine compatibility environment) by executing the following sequence of commands: | ||
#: <code> export WINEARCH=win32 </code> | #: <code> export WINEARCH=win32 </code> | ||
Line 24: | Line 24: | ||
# The "Oni" 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). | # The "Oni" 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). | ||
== | ==Installing Oni== | ||
# Insert your Oni CD-ROM into the disc drive (if installing from the CD, 2001-style ^_^). | # Insert your Oni CD-ROM into the disc drive (if installing from the CD, 2001-style ^_^). | ||
# Open a Linux terminal, export the "Oni" prefix file, navigate to the folder with the contents of the mounted CD, and initiate the installation process. | # Open a Linux terminal, export the "Oni" prefix file, navigate to the folder with the contents of the mounted CD, and initiate the installation process. | ||
Line 34: | Line 34: | ||
# DO NOT RUN THE GAME YET!!! An attempt to run an unpatched copy of Oni on a modern system is almost guaranteed to fail. The game needs to be patched via the AE Installer. | # DO NOT RUN THE GAME YET!!! An attempt to run an unpatched copy of Oni on a modern system is almost guaranteed to fail. The game needs to be patched via the AE Installer. | ||
== | ==Installing AE Installer== | ||
This is a rather straightforward process. | This is a rather straightforward process. | ||
# Download the latest Windows version of the AE Installer from the Oni Mod Depot ([http://mods.oni2.net/node/79 click here]). | # Download the latest Windows version of the AE Installer from the Oni Mod Depot ([http://mods.oni2.net/node/79 click here]). | ||
Line 44: | Line 44: | ||
# At the end of the installation, the AE Installer will be automatically executed and will attempt to fetch updates. During the fetching process, it may appear that the AE Installer has hanged. That is not true, it just does not indicate that there is work being done in the background. Be patient. | # At the end of the installation, the AE Installer will be automatically executed and will attempt to fetch updates. During the fetching process, it may appear that the AE Installer has hanged. That is not true, it just does not indicate that there is work being done in the background. Be patient. | ||
== | ==Launching 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, navigate to the folder with the '''AEInstaller2Updater.jar''' file, and launch the .jar file through Wine 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 "Oni" prefix, navigate to the folder with the '''AEInstaller2Updater.jar''' file, and launch the .jar file through Wine Java Runtime Environment: | ||
: <code> export WINEPREFIX=/full_path_to_the_folder_where_Oni_prefix_is_located </code> | : <code> export WINEPREFIX=/full_path_to_the_folder_where_Oni_prefix_is_located </code> | ||
Line 50: | Line 50: | ||
: <code> wine start /ProgIDOpen jarfile AEInstaller2Updater.jar </code> | : <code> wine start /ProgIDOpen jarfile AEInstaller2Updater.jar </code> | ||
== | ==Patching/modding Oni via AE Installer== | ||
Simply let the AE Installer do its magic. ^_^ | Simply let the AE Installer do its magic. ^_^ | ||
== | ==Launching patched Oni== | ||
There are two possible ways to launch Oni:<br> | There are two possible ways to launch Oni:<br> | ||
A. Launch the game through the AE Installer application.<br> | A. Launch the game through the AE Installer application.<br> | ||
Line 60: | Line 60: | ||
: <code> cd /full_path_to_the_patched_Oni.exe </code> | : <code> cd /full_path_to_the_patched_Oni.exe </code> | ||
: <code> wine Oni.exe </code> | : <code> wine Oni.exe </code> | ||
==Troubleshooting== | |||
Some users experience a large drop in frame rate when certain actions occur such as firing a gun. According to [[User:Noneatme|Oxy]]: | |||
{{Quotebox|quote=It has something to do with the sound. When you fire the pistol, every shot a new sound gets created, and this causes lag for some reason. | |||
Try installing and uninstalling various sound packages from the winetricks GUI, I have to check sometime what exactly is causing this, but I remember either:<br> | |||
- an invalid Wine version<br> | |||
- invalid dxSound packages}} | |||
[[Category:Oni Support]] | [[Category:Oni Support]] |