Oni (folder)

Revision as of 04:56, 17 April 2025 by Iritscen (talk | contribs) (added section names for linking purposes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a browseable representation of Oni's file hierarchy under Windows and macOS. You can use it to verify that you have all the needed files; it can also educate you on the details of what each file does, or how Oni finds its game data. Click on a folder's name to go down to that level of the hierarchy; click on a file's name to read more about that file.

Installation location

The default location for this folder in Windows is C:\Program Files\Oni, or C:\Program Files (x86)\Oni on 64-bit systems. The Russian installer adds another level with the publisher's name: C:\Program Files (x86)\Buka\Oni.

There is no default location on Macs because modern Macs cannot run the installer on the CD-ROM, and so users must drag the "Oni ƒ" folder manually to their hard drive.

Warning for non-admins

If you are not logged into Windows as an administrator, Oni will save persist.dat, debugger.txt, key_config.txt and startup.txt in C:\Users\<username>\AppData\Local\VirtualStore\Program Files\Oni. This does not apply to an installation of the AE or a manual installation of Oni. Right-clicking Oni.exe and choosing "Run as administrator" will cause Oni to save the aforementioned files in the Oni folder itself. However this will mean you have two save-game files, with either one being written to depending on whether you run Oni as admin or not.

Directory

Legend
  = needed to run Oni;   = created by Oni;   = unneeded files

Your initial Oni installation will probably have all the red and blue files. For files marked with yellow, Oni may not have seen a need to create them yet (follow that file name's link for more info).

Windows macOS OniX Description
Folders
 
GameDataFolder
GameDataFolderX
A subfolder with movies, scripts and binary resources
Files
 
binkw32.dll
bink-ffplay.exe / binkplay.exe
Allows Oni to play Bink movies; Daodan DLL also poses as binkw32.dll
 
debugger.txt
Error log; created first time that an error occurs while running Oni
 
key_config.txt
Key configuration file; if it's missing, Oni will generate a fresh copy
 
lvl_*_*_corpse.dat
Developer Mode corpse file; created by BSL command make_corpse
 
license.txt
Software license and warranty agreement
 
Oni.exe
Oni(.app)
OniX.exe
The game application
 
ONI.url
Points to http://oni.bungie.com (defunct)
 
persist.dat
Save-game file; created by Oni on first run
 
readme.txt
Oni ReadMe
OniX read-me.pdf
Read-me file
 
RegisterOni.url
Points to http://www.godgames.com/main.php?section=support&page=registration, defunct
 
saved_film*.dat
Developer Mode film; created by recording a film with F9 and F10
 
screen_shot*.bmp
Screenshots taken with the screenshot key or with the Ctrl+Shift+L Dev Mode hotkey
 
script_commands.txt
List of BSL commands & variables; created by BSL command dump_docs
 
script_debug.txt
Log of BSL functions called during gameplay; dumped if Oni is run with -debugfiles
 
startup.txt
Event log; overwritten every time Oni is run
 
Uninst.isu
(or "Uninstal.log") Record used by Windows to uninstall Oni