Jump to content

Oni (folder): Difference between revisions

956 bytes added ,  Yesterday at 22:40
m
+TOC
m (adding release-update template)
m (+TOC)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{UpdatedForRelease}}
{{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.
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.
__TOC__
==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'''.


The default location for this folder in Windows is '''C:\Program Files\Oni'''; there is no default location on Macs because modern Macs cannot run the installer on the CD-ROM, and so the user must drag the "Oni ƒ" folder manually to his hard drive.
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, four files - '''persist.dat''', '''debugger.txt''', '''key_config.txt''' & '''startup.txt''' are instead located at '''C:\Users\*your username*\AppData\Local\VirtualStore\Program Files\Oni''' by virtue of the OS's handling of the game's installation. This does not apply to an installation of the [[AE]] in Vista.
==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==
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
!Legend
!Legend
Line 16: Line 21:
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
|+
|+
!
!<!--aqua dots-->
!Windows
!Windows
!macOS
!macOS
![[OniX]]
!Description
!Description
{{th}}
{{th}}
!colspan="4" |Folders
!colspan="5"|Folders
|-
|-
|[[Image:Aqua Dot-Red.png]]
|[[Image:Aqua Dot-Red.png]]
|colspan="2"|<center>[[Oni (folder)/GameDataFolder|GameDataFolder]]</center>
|colspan="2"|<center>[[Oni (folder)/GameDataFolder|GameDataFolder]]</center>
|<center>GameDataFolderX</center>
|A subfolder with movies, scripts and binary resources
|A subfolder with movies, scripts and binary resources
{{th}}
{{th}}
!colspan="4" |Files
!colspan="5"|Files
|-
|-
|[[Image:Aqua Dot-Red.png]]
|[[Image:Aqua Dot-Red.png]]
|<center>binkw32.dll</center>
|<center>binkw32.dll</center>
|bgcolor=gray|
|bgcolor=lightgray|
|Allows Windows Oni to play Bink movies; also see [[Daodan DLL]]
|<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]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[Oni (folder)/debugger.txt|debugger.txt]]</center>
|colspan="3"|<center>[[Oni (folder)/debugger.txt|debugger.txt]]</center>
|Error log; created first time that an error occurs while running Oni
|Error log; created first time that an error occurs while running Oni
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[Oni (folder)/key_config.txt|key_config.txt]]</center>
|colspan="3"|<center>[[Oni (folder)/key_config.txt|key_config.txt]]</center>
|Key configuration file; if it's missing, Oni will generate a fresh copy
|Key configuration file; if it's missing, Oni will generate a fresh copy
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[OBD:CRSA|lvl_*_*_corpse.dat]]</center>
|colspan="3"|<center>[[XML:CRSA|lvl_*_*_corpse.dat]]</center>
|Developer Mode corpse file; created by BSL command [[make_corpse]]
|Developer Mode corpse file; created by BSL command [[make_corpse]]
|-
|-
|[[Image:Aqua Dot-Blue.png]]
|[[Image:Aqua Dot-Blue.png]]
|<center>[[Oni (folder)/license.txt|license.txt]]</center>
|<center>[[Oni (folder)/license.txt|license.txt]]</center>
|bgcolor=gray|
|bgcolor=lightgray|
|bgcolor=lightgray|
|Software license and warranty agreement
|Software license and warranty agreement
|-
|-
|[[Image:Aqua Dot-Red.png]]
|[[Image:Aqua Dot-Red.png]]
|<center>Oni.exe</center>
|<center>Oni.exe</center>
|<center>[[History of Mac Oni|Oni.app]]</center>
|<center>[[History of Mac Oni|Oni(.app)]]</center>
|<center>OniX.exe</center>
|The game application
|The game application
|-
|-
|[[Image:Aqua Dot-Blue.png]]
|[[Image:Aqua Dot-Blue.png]]
|<center><!--http://oni.bungie.com-->ONI.url</center>
|<center>ONI.url</center>
|bgcolor=gray|
|bgcolor=lightgray|
|URL for Oni subdomain on Bungie.com (defunct)
|bgcolor=lightgray|
|Points to <nowiki>http://oni.bungie.com</nowiki> (defunct)
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[Oni (folder)/persist.dat|persist.dat]]</center>
|colspan="3"|<center>[[Oni (folder)/persist.dat|persist.dat]]</center>
|Save-game file; created by Oni if missing
|Save-game file; created by Oni on first run
|-
|-
|[[Image:Aqua Dot-Blue.png]]
|[[Image:Aqua Dot-Blue.png]]
|<center>[[Oni (folder)/readme.txt|readme.txt]]</center>
|<center>[[Oni (folder)/readme.txt|readme.txt]]</center>
|<center>[[Oni (folder)/Oni ReadMe|Oni ReadMe]]</center>
|<center>[[Oni (folder)/Oni ReadMe|Oni ReadMe]]</center>
|<center>OniX read-me.pdf</center>
|Read-me file
|Read-me file
|-
|-
|[[Image:Aqua Dot-Blue.png]]
|[[Image:Aqua Dot-Blue.png]]
|<center><!--http://www.godgames.com/main.php?section=support&page=registration-->RegisterOni.url</center>
|<center>RegisterOni.url</center>
|bgcolor=gray|
|bgcolor=lightgray|
|URL for godgames.com game registration (defunct)
|bgcolor=lightgray|
|Points to <nowiki>http://www.godgames.com/main.php?section=support&page=registration</nowiki>, defunct
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[XML:FILM|saved_film*.dat]]</center>
|colspan="3"|<center>[[XML:FILM|saved_film*.dat]]</center>
|Developer Mode film; created by recording a film with F9 and F10
|Developer Mode film; created by recording a film with F9 and F10
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[BSL|script_commands.txt]]</center>
|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]]
|List of [[BSL]] commands & variables; created by BSL command [[dump_docs]]
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>script_debug.txt</center>
|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]]
|Log of BSL functions called during gameplay; dumped if Oni is run with [[Customizing#Command-line arguments|-debugfiles]]
|-
|-
|[[Image:Aqua Dot-Yellow.png]]
|[[Image:Aqua Dot-Yellow.png]]
|colspan="2"|<center>[[Oni (folder)/startup.txt|startup.txt]]</center>
|colspan="3"|<center>[[Oni (folder)/startup.txt|startup.txt]]</center>
|Event log; overwritten every time Oni is run
|Event log; overwritten every time Oni is run
|-
|-
|[[Image:Aqua Dot-Blue.png]]
|[[Image:Aqua Dot-Blue.png]]
|<center>Uninst.isu</center>
|<center>Uninst.isu</center>
|bgcolor=gray|
|bgcolor=lightgray|
|bgcolor=lightgray|
|(or "Uninstal.log") Record used by Windows to uninstall Oni
|(or "Uninstal.log") Record used by Windows to uninstall Oni
|}
|}


[[Category:Game directory map]]
[[Category:Game directory map]]