Oni (folder)/GameDataFolder: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Bink is not all-caps)
(fixing incorrect references to all level data files as "instance files"; removing lots of redundant links)
Line 1: Line 1:
{{TOCfloat}}
{{TOCfloat}}
'''GameDataFolder''' (commonly called GDF to save on typing) is a subfolder of the main Oni folder.<br>It holds the following:
'''GameDataFolder''' (commonly called GDF to save on typing) is a subfolder of the main Oni folder.<br>It holds the following:
*Oni's game data (in the form of [[dat|instance files]]; see [[OBD]] for more info)
*Oni's game data (see [[OBD]] for more info)
*the level logic (as scripts in the [[IGMD]] subfolder; see [[BSL]] for more info)
*the level logic (as scripts in the IGMD subfolder; see [[BSL]] for more info)
*the [[intro]] and [[outro]] animated sequences, in the [http://www.radgametools.com/bnkmain.htm Bink video] format
*the intro and outro animated sequences, in the Bink video format
<br clear="all"/>
<br clear="all"/>
==Overview==
==Overview==
Below we list the instance files in parallel with the folders (subfolders of [[IGMD]]) which hold the corresponding level logic.
Below we list the level data 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.
'''SPOILER WARNING''': The "Chapter" column links to summaries and analyses of Oni's storyline.
Line 25: Line 25:
|
|
{|{{table}}
{|{{table}}
|+subfolders
|+Subfolders
|[[IGMD]]
|[[IGMD]]
|level logic folder
|level logic folder
Line 34: Line 34:
|
|
{|{{table}}
{|{{table}}
|+[[dat|instance files]]
{{th}}
{{th}}
!Instance file (PC)
!Level file (Win)
!Instance file (Mac)
!Level file (Mac)
!Level logic folder
!Level logic folder
![[Chapters|Chapter]]
![[Chapters|Chapter]]
Line 44: Line 43:
|valign=top|level0_Final.dat<br>level0_Final.raw
|valign=top|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/global]]
|colspan=2 align=center|"global": used in all Chapters (see note)
|colspan=2 align=center|"global": used in all Chapters (see note)
|-
|-
|valign=top|level1_Final.dat<br>level1_Final.raw
|valign=top|level1_Final.dat<br>level1_Final.raw
|level1_Final.dat<br>level1_Final.raw<br>level1_Final.sep
|level1_Final.dat<br>level1_Final.raw<br>level1_Final.sep
|[[IGMD|IGMD]]\[[IGMD/EnvWarehouse|EnvWarehouse]]
|[[IGMD/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
Line 55: Line 54:
|valign=top|level2_Final.dat<br>level2_Final.raw
|valign=top|level2_Final.dat<br>level2_Final.raw
|level2_Final.dat<br>level2_Final.raw<br>level2_Final.sep
|level2_Final.dat<br>level2_Final.raw<br>level2_Final.sep
|[[IGMD|IGMD]]\[[IGMD/manplant|manplant]]
|[[IGMD/manplant]]
|{{C|2|2: ENGINES OF EVIL}}
|{{C|2|2: ENGINES OF EVIL}}
|Manufacturing Plant
|Manufacturing Plant
Line 61: Line 60:
|valign=top|level3_Final.dat<br>level3_Final.raw
|valign=top|level3_Final.dat<br>level3_Final.raw
|level3_Final.dat<br>level3_Final.raw<br>level3_Final.sep
|level3_Final.dat<br>level3_Final.raw<br>level3_Final.sep
|[[IGMD|IGMD]]\[[IGMD/lab|lab]]
|[[IGMD/lab]]
|{{C|3|3: PUZZLE PIECES}}
|{{C|3|3: PUZZLE PIECES}}
|Bio-Research Lab
|Bio-Research Lab
Line 67: Line 66:
|valign=top|level4_Final.dat<br>level4_Final.raw
|valign=top|level4_Final.dat<br>level4_Final.raw
|level4_Final.dat<br>level4_Final.raw<br>level4_Final.sep
|level4_Final.dat<br>level4_Final.raw<br>level4_Final.sep
|[[IGMD|IGMD]]\[[IGMD/Airport|Airport]]
|[[IGMD/Airport]]
|{{C|4|4: TIGER BY THE TAIL}}
|{{C|4|4: TIGER BY THE TAIL}}
|Airport Assault
|Airport Assault
Line 73: Line 72:
|valign=top|level6_Final.dat<br>level6_Final.raw
|valign=top|level6_Final.dat<br>level6_Final.raw
|level6_Final.dat<br>level6_Final.raw<br>level6_Final.sep
|level6_Final.dat<br>level6_Final.raw<br>level6_Final.sep
|[[IGMD|IGMD]]\[[IGMD/Airport_III|Airport_III]]
|[[IGMD/Airport_III]]
|{{C|5|5: HOT PURSUIT}}
|{{C|5|5: HOT PURSUIT}}
|Airport Cargo Hangars
|Airport Cargo Hangars
Line 79: Line 78:
|valign=top|level8_Final.dat<br>level8_Final.raw
|valign=top|level8_Final.dat<br>level8_Final.raw
|level8_Final.dat<br>level8_Final.raw<br>level8_Final.sep
|level8_Final.dat<br>level8_Final.raw<br>level8_Final.sep
|[[IGMD|IGMD]]\[[IGMD/tctf|tctf]]
|[[IGMD/tctf]]
|{{C|6|6: COUNTERATTACK}}
|{{C|6|6: COUNTERATTACK}}
|TCTF Regional HQ
|TCTF Regional HQ
Line 85: Line 84:
|valign=top|level9_Final.dat<br>level9_Final.raw
|valign=top|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/power]]
|{{C|7|7: A FRIEND IN NEED}}
|{{C|7|7: A FRIEND IN NEED}}
|Atmospheric Conversion Center (exterior)
|Atmospheric Conversion Center (exterior)
Line 91: Line 90:
|valign=top|level10_Final.dat<br>level10_Final.raw
|valign=top|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/power_II]]
|{{C|8|8: AN INNOCENT LIFE}}
|{{C|8|8: AN INNOCENT LIFE}}
|Atmospheric Conversion Center (interior)
|Atmospheric Conversion Center (interior)
Line 97: Line 96:
|valign=top|level11_Final.dat<br>level11_Final.raw
|valign=top|level11_Final.dat<br>level11_Final.raw
|level11_Final.dat<br>level11_Final.raw<br>level11_Final.sep
|level11_Final.dat<br>level11_Final.raw<br>level11_Final.sep
|[[IGMD|IGMD]]\[[IGMD/state|state]]
|[[IGMD/state]]
|{{C|9|9: TRUTH AND CONSEQUENCES}}
|{{C|9|9: TRUTH AND CONSEQUENCES}}
|Regional State Building
|Regional State Building
Line 103: Line 102:
|valign=top|level12_Final.dat<br>level12_Final.raw
|valign=top|level12_Final.dat<br>level12_Final.raw
|level12_Final.dat<br>level12_Final.raw<br>level12_Final.sep
|level12_Final.dat<br>level12_Final.raw<br>level12_Final.sep
|[[IGMD|IGMD]]\[[IGMD/roof|roof]]
|[[IGMD/roof]]
|{{C|10|10: CAT AND MOUSE}}
|{{C|10|10: CAT AND MOUSE}}
|Rooftops
|Rooftops
Line 109: Line 108:
|valign=top|level13_Final.dat<br>level13_Final.raw
|valign=top|level13_Final.dat<br>level13_Final.raw
|level13_Final.dat<br>level13_Final.raw<br>level13_Final.sep
|level13_Final.dat<br>level13_Final.raw<br>level13_Final.sep
|[[IGMD|IGMD]]\[[IGMD/dream_lab|dream_lab]]
|[[IGMD/dream_lab]]
|{{C|11|11: DREAM DIVER}}
|{{C|11|11: DREAM DIVER}}
|Doctor Hasegawa's Lab
|Doctor Hasegawa's Lab
Line 115: Line 114:
|valign=top|level14_Final.dat<br>level14_Final.raw
|valign=top|level14_Final.dat<br>level14_Final.raw
|level14_Final.dat<br>level14_Final.raw<br>level14_Final.sep
|level14_Final.dat<br>level14_Final.raw<br>level14_Final.sep
|[[IGMD|IGMD]]\[[IGMD/neuro|neuro]]
|[[IGMD/neuro]]
|{{C|12|12: SINS OF THE FATHER}}
|{{C|12|12: SINS OF THE FATHER}}
|TCTF Science Prison
|TCTF Science Prison
Line 121: Line 120:
|valign=top|level18_Final.dat<br>level18_Final.raw
|valign=top|level18_Final.dat<br>level18_Final.raw
|level18_Final.dat<br>level18_Final.raw<br>level18_Final.sep
|level18_Final.dat<br>level18_Final.raw<br>level18_Final.sep
|[[IGMD|IGMD]]\[[IGMD/tctf_ii|tctf_ii]]
|[[IGMD/tctf_ii]]
|{{C|13|13: PHOENIX RISING}}
|{{C|13|13: PHOENIX RISING}}
|TCTF Regional HQ (redux)
|TCTF Regional HQ (redux)
Line 127: Line 126:
|valign=top|level19_Final.dat<br>level19_Final.raw
|valign=top|level19_Final.dat<br>level19_Final.raw
|level19_Final.dat<br>level19_Final.raw<br>level19_Final.sep
|level19_Final.dat<br>level19_Final.raw<br>level19_Final.sep
|[[IGMD|IGMD]]\[[IGMD/compound|compound]]
|[[IGMD/compound]]
|{{C|14|14: DAWN OF THE CHRYSALIS}}
|{{C|14|14: DAWN OF THE CHRYSALIS}}
|Syndicate Mountain Compound
|Syndicate Mountain Compound
Line 135: Line 134:
==Notes==
==Notes==
===level0_Final===
===level0_Final===
The level0_Final instance file is only loaded once, when Oni starts.
The level 0 data is only loaded once, when Oni starts.


===IGMD\global===
===IGMD\global===

Revision as of 13:50, 17 July 2014

GameDataFolder (commonly called GDF to save on typing) is a subfolder of the main Oni folder.
It holds the following:

  • Oni's game data (see OBD for more info)
  • the level logic (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 level data 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.

Bink videos
intro.bik opening animated sequence
outro.bik closing animated sequence
Subfolders
IGMD level logic folder
Level file (Win) Level file (Mac) Level logic folder Chapter Location (as in Load Game dialog)
level0_Final.dat
level0_Final.raw
level0_Final.dat
level0_Final.raw
level0_Final.sep
IGMD/global "global": used in all Chapters (see note)
level1_Final.dat
level1_Final.raw
level1_Final.dat
level1_Final.raw
level1_Final.sep
IGMD/EnvWarehouse 0: COMBAT TRAINING
1: TRIAL RUN
TCTF Training
Syndicate Warehouse
level2_Final.dat
level2_Final.raw
level2_Final.dat
level2_Final.raw
level2_Final.sep
IGMD/manplant 2: ENGINES OF EVIL Manufacturing Plant
level3_Final.dat
level3_Final.raw
level3_Final.dat
level3_Final.raw
level3_Final.sep
IGMD/lab 3: PUZZLE PIECES Bio-Research Lab
level4_Final.dat
level4_Final.raw
level4_Final.dat
level4_Final.raw
level4_Final.sep
IGMD/Airport 4: TIGER BY THE TAIL Airport Assault
level6_Final.dat
level6_Final.raw
level6_Final.dat
level6_Final.raw
level6_Final.sep
IGMD/Airport_III 5: HOT PURSUIT Airport Cargo Hangars
level8_Final.dat
level8_Final.raw
level8_Final.dat
level8_Final.raw
level8_Final.sep
IGMD/tctf 6: COUNTERATTACK TCTF Regional HQ
level9_Final.dat
level9_Final.raw
level9_Final.dat
level9_Final.raw
level9_Final.sep
IGMD/power 7: A FRIEND IN NEED Atmospheric Conversion Center (exterior)
level10_Final.dat
level10_Final.raw
level10_Final.dat
level10_Final.raw
level10_Final.sep
IGMD/power_II 8: AN INNOCENT LIFE Atmospheric Conversion Center (interior)
level11_Final.dat
level11_Final.raw
level11_Final.dat
level11_Final.raw
level11_Final.sep
IGMD/state 9: TRUTH AND CONSEQUENCES Regional State Building
level12_Final.dat
level12_Final.raw
level12_Final.dat
level12_Final.raw
level12_Final.sep
IGMD/roof 10: CAT AND MOUSE Rooftops
level13_Final.dat
level13_Final.raw
level13_Final.dat
level13_Final.raw
level13_Final.sep
IGMD/dream_lab 11: DREAM DIVER Doctor Hasegawa's Lab
level14_Final.dat
level14_Final.raw
level14_Final.dat
level14_Final.raw
level14_Final.sep
IGMD/neuro 12: SINS OF THE FATHER TCTF Science Prison
level18_Final.dat
level18_Final.raw
level18_Final.dat
level18_Final.raw
level18_Final.sep
IGMD/tctf_ii 13: PHOENIX RISING TCTF Regional HQ (redux)
level19_Final.dat
level19_Final.raw
level19_Final.dat
level19_Final.raw
level19_Final.sep
IGMD/compound 14: DAWN OF THE CHRYSALIS Syndicate Mountain Compound

Notes

level0_Final

The level 0 data is only loaded once, when Oni starts.

IGMD\global

IGMD\global\ is not present by default, but if it is created, the functions in any scripts placed inside it will be accessible from all levels; however, the PC demo engine ignores the global folder.

Movie files

RAD Game Tools, the makers of the Bink video format, offer standalone apps for all platforms if you want to watch the .bik files on their own. 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.

How Oni finds its 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 the root (e.g., it looks for "C:\Program Files\Oni\GameDataFolder", then "C:\Program Files\GameDataFolder", then "C:\GameDataFolder"). As a last resort, it looks for ".\OniEngine\GameDataFolder" the same way.

The Mac Oni app follows the same search pattern for GameDataFolder/, but does not look for OniEngine/GameDataFolder/.