Installation: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (converted use of H template to Hover template)
 
(83 intermediate revisions by 8 users not shown)
Line 1: Line 1:
==Installation process (PC & Mac)==
{{UpdatedForOniX|1.0.0}}
When the Oni CD is inserted, the installation will automatically start with the following steps :
This page will guide you in obtaining, installing and running Oni on practically any computer.
*Language selection : if you happen to have e.g. the European edition of Oni, you can choose between e.g. English, German and French
{{TOCfloat}}
*Installation process itself : usual stuff (software licence agreement, installation folder selection...)
==Obtaining==
*Installation of DirectX : skip this, as the version of DirectX provided with Oni is ''very'' old.
===Demo===
(Mac users, if parts of the process do not apply to Mac, please put those part in ''italics'' or otherwise indicate them as applying to PC only)
You can get the Windows demo [http://mods.oni2.net/node/335 HERE] and the Mac demo [http://mods.oni2.net/node/334 HERE]. They have been repackaged for modern computers, and include all three demo levels.


A shortcut is automatically generated and placed on your desktop. You're only one click away from your Oni experience...
===Retail===
The game is no longer available to purchase new, but is often for sale secondhand on sites like eBay and Amazon. Make sure you know which platform you're purchasing the game for, as sometimes the game is not carefully labeled by the seller. Unless you're specifically looking for the PlayStation 2 port for some reason, make sure you're buying Oni for Windows or Oni for Mac OS, as those are considered the best versions of the game, and only Windows/Mac Oni is supported by the community and can be modded (note: Mac Oni does not run in macOS 10.15 Catalina or newer due to the loss of 32-bit support, though a 64-bit port is expected eventually).


==Installing==
After installing retail Oni on a modern OS, you will need to install a patch of some kind to run it. The repackaged demos (linked above) come with the needed patches (but note again that Oni currently will not run on Macs in macOS 10.15+).


==Blam, Oni crashed?==
After following the instructions below to install a retail copy of the game, see the "[[#Patches|Patches]]" section, then check out the [[Troubleshooting]] page if you still encounter problems.
Damn! Go straight to the [[Troubleshooting]] page.


===Windows===
:''Note that the installer on the CD may no longer work as of Windows 10; see [[Troubleshooting#Installer|HERE]] for how to install Oni manually.''
When the Oni CD is inserted, the installation will automatically start with the following steps:
*Language selection (maybe): If you have a multilingual version of Oni, you'll be asked to choose the language first.
*Installation process itself: The usual stuff (software license agreement, installation folder selection...).
*Prompt to install DirectX/OpenGL: '''Skip this''', as the version of DirectX or OpenGL provided with Oni is ''very'' old.


==Installation folder==
A shortcut to Oni is automatically generated and placed on your desktop.
Here's more on "what is where" in the folder.


{| border="1" cellpadding="5" cellspacing="0" align="center"
===Mac===
|+Oni Installation folder
The installer requires Mac OS 9 to run, but you can simply open the CD and drag the "Oni ƒ" folder to the desired place on your hard drive. It's recommended that you then rename the folder to simply "Oni". See the "[[#Patches|Patches]]" section below to get the right version of the Oni game application for your system. If Oni still does not run properly, see [[Troubleshooting]].
!PC
 
!Mac (if different)
===Linux===
!Description
Oni was not developed for Linux, but for unofficial support with installing and patching Oni, see [[Playing in Linux]].
|- style="background:aqua;"  
 
!colspan="3" |Default location
==Post-installation notes==
All of Oni's files will be found in '''C:\Program Files\Oni''' on Windows, and '''wherever you dragged the folder to''' on the Mac. The name of the folder does not have to be "Oni" and the Oni application can be renamed, too, but it is not recommended (some community tools expect the app to be called by its original name). Look at [[Oni_(folder)|this page]] for a listing of the files you should have and a description of what they do.
 
===Windows===
#Oni does not create any important registry entries (just [[Talk:Installation#Registry_redux|this one]] for uninstallation purposes). An installation of Oni consists entirely of the "Oni" folder; this makes it easy to back up Oni before experimenting with it.
#Retail versions of Oni sometimes check for the installation CD. You can get rid of the CD check using the Oni.exe that gets installed automatically by the [[AE]] (found [[Customizing#CD_check|here]]) or by using [[OniX]]. Otherwise you need to have an Oni CD in the drive in order to play (any mounted volume will do as long as its name is the same as Oni's CD).
#If Oni.exe is opened by double-clicking it or its shortcut, it first looks for GameDataFolder (which we call "the GDF") in the same directory as itself. If Oni.exe is launched from the command line, it first looks for the GDF in the current command line directory, and if it's called by a .bat it looks in the location of the .bat that called it. Wherever it starts looking, Oni will also look for a folder in that directory called "OniEngine" and look inside there too for a GameDataFolder. If neither location contains the GDF, Oni progressively checks the parent directories, all the way up to C:\ if necessary, looking for the GDF (or an OniEngine folder with the GDF inside) at each level.
#OniX.exe does not look for an OniEngine folder.
 
===Mac===
#The Mac app never checks for the Oni disc in the CD-ROM drive.
#When opened, the app first looks for the GameDataFolder in the same directory as itself. If the GDF is not found there, it continues to look in each parent directory up to the root of the hard drive. Unlike in Windows, the app never looks for an OniEngine folder.
 
==Patches==
Retail Oni will not usually run on modern computers without a patched game application. For the sake of historical completeness, below is a table of Oni's compatibility with every version of Windows and the Mac OS going back to the minimum required OS that was listed for Oni when it launched in 2001. If you still encounter problems after following these directions, see the [[Troubleshooting]] page.
 
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
|+Windows
!Version
!width=300px|Oni.exe
!width=300px|OniX.exe
|-
|-
|C:\Program Files\Oni
|Windows 95, 98, 2000, ME
|
|The {{Hover|vanilla|text=The original unmodded game}} version of Oni.exe should work out of the box.
|Default location of the folder on your hard drive
|The ''legacy'' build of [[OniX|OniX.exe]] will also work (however the game data conversion script requires Win98+).
|- style="background:aqua;"
!colspan="3" |Subfolders
|-
|-
|colspan="2"|[[GameDataFolder|GameDataFolder]]
|Windows XP, Vista, 7
|A subfolder with movies, scripts and binary resources
|A crashing bug began to manifest in Oni.exe around the time of XP. It is fixed by installing the [[Daodan DLL]] or by installing the [[Anniversary Edition]] modding framework, which includes the DLL.
|- style="background:aqua;"
|The ''legacy'' build of OniX.exe will work without issue.
!colspan="3" |Files generated on installation
|-
|-
|colspan="2"|Oni.exe
|Windows 8
|The game's executable
|As above, install the Daodan DLL or the AE. Starting with Win8, however, you may experience mouse-pointing issues, which requires turning off display scaling for Oni (instructions [[Mouse control issues#Camera|HERE]]).
|The ''legacy'' build of OniX.exe will work without issue.
|-
|-
|colspan="2"|key_config.txt
|Windows 10, 11
|The key configuration file
|As above, install the Daodan DLL or the AE, and turn off display scaling if you have mouse issues.
|The ''modern'' build of OniX.exe is designed to work on Windows 10 and 11.
|}
 
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
|+Macintosh
!Version
!width=530px|Notes
|-
|-
|colspan="2"|readme.txt
|Mac OS 8.6–9.x
|The readme file
|The original version of Oni should work out of the box.
|-
|-
|colspan="2"|ONI.url<br>RegisterOni.url
|Mac OS X 10.0–10.6
|URL locations
|Use the community-patched version of The Omni Group's Mac OS X port found [[OMNI|HERE]].
|- style="background:aqua;"
!colspan="3" |Files generated on execution
|-
|-
|colspan="2"|persist.dat
|Mac OS X 10.7–macOS 10.14
|That's where your progress is saved
|Use Feral Interactive's Intel Mac port found [[FERAL|HERE]].
|-
|-
|colspan="2"|startup.txt
|macOS 10.15+
|This logs the major runtime events (startup, shutdown)
|32-bit apps are no longer supported, so you must boot in macOS 10.14 or below to play Oni.
|}
|}
To be completed...


==Registry entries (PC)==
==Customization==
Oni doesn't create any registry entries. So the whole installation folder can be moved around, copied and kept as a backup.
For information on customizing the controls and making other changes to Oni's settings, see [[Customizing]].
 
==Mods==
The community has produced a number of mods. You can browse the mods on the [http://mods.oni2.net Mod Depot], but you might just want to start at the [[Anniversary Edition]] page since mods are generally installed through the Anniversary Edition's Installer.


A backup copy of your installation folder is thus enough to "reinstall" Oni.
The central introduction to making your own mods is found [[Introduction to modding|HERE]].


However, unless you [[Customizing#CD_check|get rid of the CD check]], you still need to have the Oni CD in the drive to play (actually, any CD will do, as long as its volume name is ONI...)
[[Category:Oni Support]]

Latest revision as of 23:58, 2 December 2023

This page will guide you in obtaining, installing and running Oni on practically any computer.

Obtaining

Demo

You can get the Windows demo HERE and the Mac demo HERE. They have been repackaged for modern computers, and include all three demo levels.

Retail

The game is no longer available to purchase new, but is often for sale secondhand on sites like eBay and Amazon. Make sure you know which platform you're purchasing the game for, as sometimes the game is not carefully labeled by the seller. Unless you're specifically looking for the PlayStation 2 port for some reason, make sure you're buying Oni for Windows or Oni for Mac OS, as those are considered the best versions of the game, and only Windows/Mac Oni is supported by the community and can be modded (note: Mac Oni does not run in macOS 10.15 Catalina or newer due to the loss of 32-bit support, though a 64-bit port is expected eventually).

Installing

After installing retail Oni on a modern OS, you will need to install a patch of some kind to run it. The repackaged demos (linked above) come with the needed patches (but note again that Oni currently will not run on Macs in macOS 10.15+).

After following the instructions below to install a retail copy of the game, see the "Patches" section, then check out the Troubleshooting page if you still encounter problems.

Windows

Note that the installer on the CD may no longer work as of Windows 10; see HERE for how to install Oni manually.

When the Oni CD is inserted, the installation will automatically start with the following steps:

  • Language selection (maybe): If you have a multilingual version of Oni, you'll be asked to choose the language first.
  • Installation process itself: The usual stuff (software license agreement, installation folder selection...).
  • Prompt to install DirectX/OpenGL: Skip this, as the version of DirectX or OpenGL provided with Oni is very old.

A shortcut to Oni is automatically generated and placed on your desktop.

Mac

The installer requires Mac OS 9 to run, but you can simply open the CD and drag the "Oni ƒ" folder to the desired place on your hard drive. It's recommended that you then rename the folder to simply "Oni". See the "Patches" section below to get the right version of the Oni game application for your system. If Oni still does not run properly, see Troubleshooting.

Linux

Oni was not developed for Linux, but for unofficial support with installing and patching Oni, see Playing in Linux.

Post-installation notes

All of Oni's files will be found in C:\Program Files\Oni on Windows, and wherever you dragged the folder to on the Mac. The name of the folder does not have to be "Oni" and the Oni application can be renamed, too, but it is not recommended (some community tools expect the app to be called by its original name). Look at this page for a listing of the files you should have and a description of what they do.

Windows

  1. Oni does not create any important registry entries (just this one for uninstallation purposes). An installation of Oni consists entirely of the "Oni" folder; this makes it easy to back up Oni before experimenting with it.
  2. Retail versions of Oni sometimes check for the installation CD. You can get rid of the CD check using the Oni.exe that gets installed automatically by the AE (found here) or by using OniX. Otherwise you need to have an Oni CD in the drive in order to play (any mounted volume will do as long as its name is the same as Oni's CD).
  3. If Oni.exe is opened by double-clicking it or its shortcut, it first looks for GameDataFolder (which we call "the GDF") in the same directory as itself. If Oni.exe is launched from the command line, it first looks for the GDF in the current command line directory, and if it's called by a .bat it looks in the location of the .bat that called it. Wherever it starts looking, Oni will also look for a folder in that directory called "OniEngine" and look inside there too for a GameDataFolder. If neither location contains the GDF, Oni progressively checks the parent directories, all the way up to C:\ if necessary, looking for the GDF (or an OniEngine folder with the GDF inside) at each level.
  4. OniX.exe does not look for an OniEngine folder.

Mac

  1. The Mac app never checks for the Oni disc in the CD-ROM drive.
  2. When opened, the app first looks for the GameDataFolder in the same directory as itself. If the GDF is not found there, it continues to look in each parent directory up to the root of the hard drive. Unlike in Windows, the app never looks for an OniEngine folder.

Patches

Retail Oni will not usually run on modern computers without a patched game application. For the sake of historical completeness, below is a table of Oni's compatibility with every version of Windows and the Mac OS going back to the minimum required OS that was listed for Oni when it launched in 2001. If you still encounter problems after following these directions, see the Troubleshooting page.

Windows
Version Oni.exe OniX.exe
Windows 95, 98, 2000, ME The vanillaThe original unmodded game version of Oni.exe should work out of the box. The legacy build of OniX.exe will also work (however the game data conversion script requires Win98+).
Windows XP, Vista, 7 A crashing bug began to manifest in Oni.exe around the time of XP. It is fixed by installing the Daodan DLL or by installing the Anniversary Edition modding framework, which includes the DLL. The legacy build of OniX.exe will work without issue.
Windows 8 As above, install the Daodan DLL or the AE. Starting with Win8, however, you may experience mouse-pointing issues, which requires turning off display scaling for Oni (instructions HERE). The legacy build of OniX.exe will work without issue.
Windows 10, 11 As above, install the Daodan DLL or the AE, and turn off display scaling if you have mouse issues. The modern build of OniX.exe is designed to work on Windows 10 and 11.
Macintosh
Version Notes
Mac OS 8.6–9.x The original version of Oni should work out of the box.
Mac OS X 10.0–10.6 Use the community-patched version of The Omni Group's Mac OS X port found HERE.
Mac OS X 10.7–macOS 10.14 Use Feral Interactive's Intel Mac port found HERE.
macOS 10.15+ 32-bit apps are no longer supported, so you must boot in macOS 10.14 or below to play Oni.

Customization

For information on customizing the controls and making other changes to Oni's settings, see Customizing.

Mods

The community has produced a number of mods. You can browse the mods on the Mod Depot, but you might just want to start at the Anniversary Edition page since mods are generally installed through the Anniversary Edition's Installer.

The central introduction to making your own mods is found HERE.