Oni (folder): Difference between revisions

From OniGalore
Jump to navigation Jump to search
(more experiments)
m (+link to Oni)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is a representation of a typical Windows installation of Oni. Click a folder's name to navigate into that folder. Click on any [x] under the "Doc.s" column to see the wiki's documentation for that file or folder. Click [[Oni (folder) (Mac)|here]] to see the Mac version of the basic Oni installation. Click [[Oni (folder) (AE)|here]] to see the Windows installation after the Anniversary Edition has been installed, and [[Oni (folder) (Mac) (AE)|here]] to see the Mac installation of the Edition.
{{UpdatedForOniX|1.0.0}}
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.


{|class="wikitable" style="text-align:left"
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.
 
In Windows Vista, persist.dat, debugger.txt, key_config.txt and startup.txt will be located in '''C:\Users\<username>\AppData\Local\VirtualStore\Program Files\Oni''' due to the way Vista handles installations. This does not apply to an installation of the [[AE]] or a manual installation of Oni.
 
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
!Legend
|-
|<center>[[Image:Aqua Dot-Red.png]] = needed to run Oni; [[Image:Aqua Dot-Yellow.png]] = created by Oni; [[Image:Aqua Dot-Blue.png]] = unneeded files</center>
|}
 
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).
 
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
|+
!<!--aqua dots-->
!Windows
!macOS
![[OniX]]
!Description
{{th}}
!colspan="5" |Folders
|-
|[[Image:Aqua Dot-Red.png]]
|colspan="2"|<center>[[Oni (folder)/GameDataFolder|GameDataFolder]]</center>
|<center>GameDataFolderX</center>
|A subfolder with movies, scripts and binary resources
{{th}}
!colspan="5" |Files
|-
|[[Image:Aqua Dot-Red.png]]
|<center>binkw32.dll</center>
|bgcolor=lightgray|
|<center>bink-ffplay.exe / binkplay.exe</center>
|Allows Oni to play Bink movies; [[Daodan DLL]] also poses as binkw32.dll
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>[[Oni (folder)/debugger.txt|debugger.txt]]</center>
|Error log; created first time that an error occurs while running Oni
|-
|-
!Name
|[[Image:Aqua Dot-Yellow.png]]
!Size
|colspan="3"|<center>[[Oni (folder)/key_config.txt|key_config.txt]]</center>
!Type
|Key configuration file; if it's missing, Oni will generate a fresh copy
!Doc.s
|-
|-
|[[Image:Folder_icon.jpg]] [[Oni (folder)/GameDataFolder|GameDataFolder]]
|[[Image:Aqua Dot-Yellow.png]]
|
|colspan="3"|<center>[[OBD:CRSA|lvl_*_*_corpse.dat]]</center>
|File Folder
|Developer Mode corpse file; created by BSL command [[make_corpse]]
|[http://wiki.oni2.net/GameDataFolder]
|-
|-
|[[Image:DLL_icon.jpg]] binkw32.dll
|[[Image:Aqua Dot-Blue.png]]
|280 KB
|<center>[[Oni (folder)/license.txt|license.txt]]</center>
|Application Extension
|bgcolor=lightgray|
|[http://wiki.oni2.net/binkw32.dll]
|bgcolor=lightgray|
|Software license and warranty agreement
|-
|-
|[[Image:txt_icon.jpg]] debugger.txt
|[[Image:Aqua Dot-Red.png]]
|1 KB
|<center>Oni.exe</center>
|Text Document
|<center>[[History of Mac Oni|Oni(.app)]]</center>
|[http://wiki.oni2.net/debugger.txt]
|<center>OniX.exe</center>
|The game application
|-
|-
|[[Image:exe_icon.jpg]] Oni.exe
|[[Image:Aqua Dot-Blue.png]]
|1,492 KB
|<center>ONI.url</center>
|Application
|bgcolor=lightgray|
|[http://wiki.oni2.net/Oni.exe]
|bgcolor=lightgray|
|Points to <nowiki>http://oni.bungie.com</nowiki>, defunct
|-
|-
|[[Image:txt_icon.jpg]] readme.txt
|[[Image:Aqua Dot-Yellow.png]]
|280 KB
|colspan="3"|<center>[[Oni (folder)/persist.dat|persist.dat]]</center>
|Text Document
|Save-game file; created by Oni if missing
|[http://wiki.oni2.net/readme.txt]
|-
|-
|[[Image:txt_icon.jpg]] startup.txt
|[[Image:Aqua Dot-Blue.png]]
|280 KB
|<center>[[Oni (folder)/readme.txt|readme.txt]]</center>
|Text Document
|<center>[[Oni (folder)/Oni ReadMe|Oni ReadMe]]</center>
|[http://wiki.oni2.net/startup.txt]
|<center>OniX read-me.pdf</center>
|Read-me file
|-
|[[Image:Aqua Dot-Blue.png]]
|<center>RegisterOni.url</center>
|bgcolor=lightgray|
|bgcolor=lightgray|
|Points to <nowiki>http://www.godgames.com/main.php?section=support&page=registration</nowiki>, defunct
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>[[XML:FILM|saved_film*.dat]]</center>
|Developer Mode film; created by recording a film with F9 and F10
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>screen_shot*.bmp</center>
|Screenshots taken with the [[Customizing/Binding#screenshot|screenshot key]] or with the Ctrl+Shift+L  [[Developer_Mode#Hotkeys|Dev Mode hotkey]]
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>[[BSL|script_commands.txt]]</center>
|List of [[BSL]] commands & variables; created by BSL command [[dump_docs]]
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>script_debug.txt</center>
|Log of BSL functions called during gameplay; dumped if Oni is run with [[Customizing#Command-line arguments|-debugfiles]]
|-
|[[Image:Aqua Dot-Yellow.png]]
|colspan="3"|<center>[[Oni (folder)/startup.txt|startup.txt]]</center>
|Event log; overwritten every time Oni is run
|-
|[[Image:Aqua Dot-Blue.png]]
|<center>Uninst.isu</center>
|bgcolor=lightgray|
|bgcolor=lightgray|
|(or "Uninstal.log") Record used by Windows to uninstall Oni
|}
|}
[[Category:Game directory map]]

Latest revision as of 15:23, 13 April 2024

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.

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.

In Windows Vista, persist.dat, debugger.txt, key_config.txt and startup.txt will be located in C:\Users\<username>\AppData\Local\VirtualStore\Program Files\Oni due to the way Vista handles installations. This does not apply to an installation of the AE or a manual installation of Oni.

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