Oni (folder)/GameDataFolder: Difference between revisions
m (using violet for table header b/g (now the same as Oni ƒ table)) |
(nicification and final word on the GDF paths) |
||
Line 1: | Line 1: | ||
{| | |||
|valign=top|__TOC__ | |||
|valign=top|GameDataFolder (commonly called GDF to save on typing) is a subfolder of the main Oni folder.<br>It holds the following: | |||
*Oni's game content (in the form of [[dat|instance files]], see [[OBD]] for more info) | |||
*the level logic of the [[Chapters]] (as [[scripts]] in the [[IGMD]] subfolder, see [[BSL]] for more info) | |||
*the [[intro]] and [[outro]] animated sequences, in the BINK video format | |||
|} | |||
==Overview== | |||
Below we list the instance files in parallel with the folders (subfolders of [[IGMD]]) which hold the corresponding level logic. SPOILER WARNING: the Chapter column links to summaries and analyses of Oni's storyline. The BINK movies are listed separately. | |||
{|align="center" | |||
| | |||
{|{{table}} | |||
|+BINK videos | |||
|[[:Category:Intro sequence|intro.bik]] | |||
|opening animated sequence | |||
|- | |||
|[[:Category:Outro sequence|outro.bik]] | |||
|opening animated sequence | |||
|} | |||
|} | |||
{|align="center" | |||
| | |||
{|{{table}} | |||
|+subfolders | |||
|[[IGMD]] | |||
|level logic folder | |||
|} | |||
|} | |||
{|align="center" | {|align="center" | ||
| | | | ||
{|{{table}} | {|{{table}} | ||
| | |+[[dat|instance files]] | ||
{{th}} | |||
!Instance file (PC) | |||
!Instance file (Mac) | |||
!Level logic folder | |||
![[Chapters|Chapter]] | ![[Chapters|Chapter]] | ||
!Location | !Location (as in Load Game dialog) | ||
|- | |- | ||
| | |valign=top|level0_Final.dat<br>level0_Final.raw | ||
|level0_Final.dat<br>level0_Final.raw | |||
|level0_Final.dat<br>level0_Final.raw<br>level0_Final.sep | |level0_Final.dat<br>level0_Final.raw<br>level0_Final.sep | ||
|[[IGMD|IGMD]]\[[IGMD/global|global]] | |[[IGMD|IGMD]]\[[IGMD/global|global]] | ||
|colspan=2 align=center|"global": used in all Chapters (see note) | |||
|- | |- | ||
|valign=top|level1_Final.dat<br>level1_Final.raw | |||
|level1_Final.dat<br>level1_Final.raw<br>level1_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/EnvWarehouse|EnvWarehouse]] | |||
|{{C|0|0: COMBAT TRAINING}}<br>{{C|1|1: TRIAL RUN}} | |{{C|0|0: COMBAT TRAINING}}<br>{{C|1|1: TRIAL RUN}} | ||
|TCTF Training<br>Syndicate Warehouse | |TCTF Training<br>Syndicate Warehouse | ||
|- | |- | ||
|valign=top|level2_Final.dat<br>level2_Final.raw | |||
|level2_Final.dat<br>level2_Final.raw<br>level2_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/manplant|manplant]] | |||
|{{C|2|2: ENGINES OF EVIL}} | |{{C|2|2: ENGINES OF EVIL}} | ||
|Manufacturing Plant | |Manufacturing Plant | ||
|- | |- | ||
|valign=top|level3_Final.dat<br>level3_Final.raw | |||
|level3_Final.dat<br>level3_Final.raw<br>level3_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/lab|lab]] | |||
|{{C|3|3: PUZZLE PIECES}} | |{{C|3|3: PUZZLE PIECES}} | ||
|Bio-Research Lab | |Bio-Research Lab | ||
|- | |- | ||
|valign=top|level4_Final.dat<br>level4_Final.raw | |||
|level4_Final.dat<br>level4_Final.raw<br>level4_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/Airport|Airport]] | |||
|{{C|4|4: TIGER BY THE TAIL}} | |{{C|4|4: TIGER BY THE TAIL}} | ||
|Airport Assault | |Airport Assault | ||
|- | |- | ||
|valign=top|level6_Final.dat<br>level6_Final.raw | |||
|level6_Final.dat<br>level6_Final.raw<br>level6_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/Airport_III|Airport_III]] | |||
|{{C|5|5: HOT PURSUIT}} | |{{C|5|5: HOT PURSUIT}} | ||
|Airport Cargo Hangars | |Airport Cargo Hangars | ||
|- | |- | ||
|valign=top|level8_Final.dat<br>level8_Final.raw | |||
|level8_Final.dat<br>level8_Final.raw<br>level8_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/tctf|tctf]] | |||
|{{C|6|6: COUNTERATTACK}} | |{{C|6|6: COUNTERATTACK}} | ||
|TCTF Regional HQ | |TCTF Regional HQ | ||
|- | |- | ||
| | |valign=top|level9_Final.dat<br>level9_Final.raw | ||
|level9_Final.dat<br>level9_Final.raw | |||
|level9_Final.dat<br>level9_Final.raw<br>level9_Final.sep | |level9_Final.dat<br>level9_Final.raw<br>level9_Final.sep | ||
|[[IGMD|IGMD]]\[[IGMD/power|power]] | |[[IGMD|IGMD]]\[[IGMD/power|power]] | ||
|{{C|7|7: A FRIEND IN NEED}} | |||
|Atmospheric Conversion Center (exterior) | |||
|- | |- | ||
| | |valign=top|level10_Final.dat<br>level10_Final.raw | ||
|level10_Final.dat<br>level10_Final.raw | |||
|level10_Final.dat<br>level10_Final.raw<br>level10_Final.sep | |level10_Final.dat<br>level10_Final.raw<br>level10_Final.sep | ||
|[[IGMD|IGMD]]\[[IGMD/power_II|power_II]] | |[[IGMD|IGMD]]\[[IGMD/power_II|power_II]] | ||
|{{C|8|8: AN INNOCENT LIFE}} | |||
|Atmospheric Conversion Center (interior) | |||
|- | |- | ||
|valign=top|level11_Final.dat<br>level11_Final.raw | |||
|level11_Final.dat<br>level11_Final.raw<br>level11_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/state|state]] | |||
|{{C|9|9: TRUTH AND CONSEQUENCES}} | |{{C|9|9: TRUTH AND CONSEQUENCES}} | ||
|Regional State Building | |Regional State Building | ||
|- | |- | ||
|valign=top|level12_Final.dat<br>level12_Final.raw | |||
|level12_Final.dat<br>level12_Final.raw<br>level12_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/roof|roof]] | |||
|{{C|10|10: CAT AND MOUSE}} | |{{C|10|10: CAT AND MOUSE}} | ||
|Rooftops | |Rooftops | ||
|- | |- | ||
|valign=top|level13_Final.dat<br>level13_Final.raw | |||
|level13_Final.dat<br>level13_Final.raw<br>level13_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/dream_lab|dream_lab]] | |||
|{{C|11|11: DREAM DIVER}} | |{{C|11|11: DREAM DIVER}} | ||
|Doctor Hasegawa's Lab | |Doctor Hasegawa's Lab | ||
|- | |- | ||
|valign=top|level14_Final.dat<br>level14_Final.raw | |||
|level14_Final.dat<br>level14_Final.raw<br>level14_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/neuro|neuro]] | |||
|{{C|12|12: SINS OF THE FATHER}} | |{{C|12|12: SINS OF THE FATHER}} | ||
|TCTF Science Prison | |TCTF Science Prison | ||
|- | |- | ||
|valign=top|level18_Final.dat<br>level18_Final.raw | |||
|level18_Final.dat<br>level18_Final.raw<br>level18_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/tctf_ii|tctf_ii]] | |||
|{{C|13|13: PHOENIX RISING}} | |{{C|13|13: PHOENIX RISING}} | ||
|TCTF Regional HQ (redux) | |TCTF Regional HQ (redux) | ||
|- | |- | ||
|valign=top|level19_Final.dat<br>level19_Final.raw | |||
|level19_Final.dat<br>level19_Final.raw<br>level19_Final.sep | |||
|[[IGMD|IGMD]]\[[IGMD/compound|compound]] | |||
|{{C|14|14: DAWN OF THE CHRYSALIS}} | |{{C|14|14: DAWN OF THE CHRYSALIS}} | ||
|Syndicate Mountain Compound | |Syndicate Mountain Compound | ||
|} | |} | ||
|} | |} | ||
==Notes== | |||
===level0_Final and IGMD\global=== | |||
IGMD\global\ is not present by default, but if it is created, any scripts placed in it will load for all levels; this works only with the PC retail engine: the Mac engines and the PC demo always ignore the global folder. The level0_Final instance file is only loaded once, when Oni starts. | |||
===Movie files=== | |||
The movie files are not needed for Oni to run. You can thus rename or move intro.bik out of GameDataFolder so Oni starts faster. You can also delete both files permanently and gain over 100 MB of hard disk space. | |||
===Relative lookup paths of GameDataFolder=== | |||
In Windows, Oni's engine first looks up GDF in the [[wikipedia:working directory|working directory]] (a.k.a. "."). If ".\GameDataFolder" is missing, Oni tries parent folders all the way up to ther root (i.e., it looks for "..\GameDataFolder", "..\..\GameDataFolder", etc). As a last resort, it looks for ".\OniEngine\GameDataFolder". Here are two examples. | |||
*If Oni was installed into C:\Program Files\Oni and is called from that folder (e.g. by double-clicking the executable or the shortcut generated during installation), Oni will first look for "C:\Program Files\Oni\GameDataFolder". If it's missing, it will try "C:\Program Files\GameDataFolder", then "C:\GameDataFolder", and finally "C:\Program Files\Oni\OniEngine\GameDataFolder". | |||
*Same as above, but with the [[AE|Edition]] installed. There is a folder called "C:\Program Files\Oni\edition", which holds a working copy of GameDataFolder and scripts that "remotely" run Oni (the engine is still in "C:\Program Files\Oni"). If you double-click the scripts, the working directory is "C:\Program Files\Oni\edition", so Oni will first look for "C:\Program Files\Oni\edition\GameDataFolder", and if it's missing it will try "C:\Program Files\Oni\GameDataFolder", "C:\Program Files\GameDataFolder", "C:\GameDataFolder", and finally "C:\Program Files\Oni\edition\OniEngine\GameDataFolder" | |||
Early versions of the [[Daodan DLL|C-Daodan]] discarded, | |||
be in the directory with the executable, but Oni will also look for the GDF in a folder called "OniEngine" off the same directory. Also, if Oni is called from the command line, it will start looking for the GDF in the directories C:\[directory of command that called it]\ and C:\[same]\OniEngine\. |
Revision as of 02:41, 16 November 2008
GameDataFolder (commonly called GDF to save on typing) is a subfolder of the main Oni folder. It holds the following: |
Overview
Below we list the instance files in parallel with the folders (subfolders of IGMD) which hold the corresponding level logic. SPOILER WARNING: the Chapter column links to summaries and analyses of Oni's storyline. The BINK movies are listed separately.
| ||||
| ||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes
level0_Final and IGMD\global
IGMD\global\ is not present by default, but if it is created, any scripts placed in it will load for all levels; this works only with the PC retail engine: the Mac engines and the PC demo always ignore the global folder. The level0_Final instance file is only loaded once, when Oni starts.
Movie files
The movie files are not needed for Oni to run. You can thus rename or move intro.bik out of GameDataFolder so Oni starts faster. You can also delete both files permanently and gain over 100 MB of hard disk space.
Relative lookup paths of GameDataFolder
In Windows, Oni's engine first looks up GDF in the working directory (a.k.a. "."). If ".\GameDataFolder" is missing, Oni tries parent folders all the way up to ther root (i.e., it looks for "..\GameDataFolder", "..\..\GameDataFolder", etc). As a last resort, it looks for ".\OniEngine\GameDataFolder". Here are two examples.
- If Oni was installed into C:\Program Files\Oni and is called from that folder (e.g. by double-clicking the executable or the shortcut generated during installation), Oni will first look for "C:\Program Files\Oni\GameDataFolder". If it's missing, it will try "C:\Program Files\GameDataFolder", then "C:\GameDataFolder", and finally "C:\Program Files\Oni\OniEngine\GameDataFolder".
- Same as above, but with the Edition installed. There is a folder called "C:\Program Files\Oni\edition", which holds a working copy of GameDataFolder and scripts that "remotely" run Oni (the engine is still in "C:\Program Files\Oni"). If you double-click the scripts, the working directory is "C:\Program Files\Oni\edition", so Oni will first look for "C:\Program Files\Oni\edition\GameDataFolder", and if it's missing it will try "C:\Program Files\Oni\GameDataFolder", "C:\Program Files\GameDataFolder", "C:\GameDataFolder", and finally "C:\Program Files\Oni\edition\OniEngine\GameDataFolder"
Early versions of the C-Daodan discarded, be in the directory with the executable, but Oni will also look for the GDF in a folder called "OniEngine" off the same directory. Also, if Oni is called from the command line, it will start looking for the GDF in the directories C:\[directory of command that called it]\ and C:\[same]\OniEngine\.