Oni (folder)/GameDataFolder: Difference between revisions
m (link fix) |
m (removing template since it didn't fix the page preview issue) |
||
Line 1: | Line 1: | ||
'''GameDataFolder''' (commonly called "GDF") is a subfolder of the main Oni folder. It holds the following: | '''GameDataFolder''' (commonly called "GDF") is a subfolder of the main Oni folder. It holds the following: | ||
*Oni's game data (see [[OBD]] for more info) | *Oni's game data (see [[OBD]] for more info) |
Revision as of 14:34, 6 September 2021
GameDataFolder (commonly called "GDF") 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
You should have all the files in bold in your GameDataFolder, but the movie files, marked with the blue dot, are optional. Beside each set of level files, we list the subfolders of IGMD which hold the corresponding level logic. SPOILER WARNING: The "Chapter" column links to summaries and analyses of Oni's storyline.
Legend |
---|
Windows | Mac | Level logic folder | Chapter | Location (as in Load Game dialog) | |
---|---|---|---|---|---|
Contains all level logic | |||||
Movie plays when Oni is launched (see note below) | |||||
level0_Final.dat level0_Final.raw |
level0_Final.dat level0_Final.raw level0_Final.sep |
IGMD/global | Used in all Chapters (see notes below on "level0_Final" and "IGMD/global") | ||
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 | |
Movie plays when Oni is beaten (see note below) |
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 Windows 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/.