Oni (folder)/GameDataFolder/IGMD

From OniGalore
< Oni (folder)‎ | GameDataFolder
Revision as of 19:34, 8 December 2022 by Geyser (talk | contribs) (PS2 notes)
Jump to navigation Jump to search

IGMD is a subfolder of GameDataFolder, where the level logic is defined, chapter by chapter. If the contents of this folder are missing or corrupt, nothing interesting will ever happen :-)

If you think your folder has been corrupted, download a .zip file of the unmodified files for your platform: Windows, Mac.

Notes on this folder

  • The scripts in the subfolders of IGMD are plain-text files with the .bsl extension, written in BFW Scripting Language. See BSL for more information.
  • The level folder names are case-insensitive for Oni, so you can rename "EnvWarehouse" to "eNvwArEhOuSe" and you'll still be able to play Chapter 1.
  • The Mac and Windows scripts are almost identical, but there are minor differences in tctf_ii_cutscene.bsl and tctf2.bsl for the boss battle of Chapter 13, depicted HERE.
Legend
Aqua Dot-Red.png = needed to run Oni; Aqua Dot-Blue.png = unneeded files
Folder Chapter Location (as in Load Game dialog)
Aqua Dot-Blue.png global/ Loads for all levels
Aqua Dot-Red.png EnvWarehouse/ Two Chapters which share the same level data:
0: COMBAT TRAINING
1: TRIAL RUN
TCTF Training
Syndicate Warehouse
Aqua Dot-Red.png manplant/ 2: ENGINES OF EVIL Manufacturing Plant
Aqua Dot-Red.png lab/ 3: PUZZLE PIECES Bio-Research Lab
Aqua Dot-Red.png Airport/ 4: TIGER BY THE TAIL Airport Assault
Aqua Dot-Red.png Airport_III/ 5: HOT PURSUIT Airport Cargo Hangars
Aqua Dot-Red.png tctf/ 6: COUNTERATTACK TCTF Regional HQ
Aqua Dot-Red.png power/ 7: A FRIEND IN NEED Atmospheric Conversion Center (exterior)
Aqua Dot-Red.png power_II/ 8: AN INNOCENT LIFE Atmospheric Conversion Center (interior)
Aqua Dot-Red.png state/ 9: TRUTH AND CONSEQUENCES Regional State Building
Aqua Dot-Red.png roof/ 10: CAT AND MOUSE Rooftops
Aqua Dot-Red.png dream_lab/ 11: DREAM DIVER Doctor Hasegawa's Lab
Aqua Dot-Red.png neuro/ 12: SINS OF THE FATHER TCTF Science Prison
Aqua Dot-Red.png tctf_ii/ 13: PHOENIX RISING TCTF Regional HQ (redux)
Aqua Dot-Red.png compound/ 14: DAWN OF THE CHRYSALIS Syndicate Mountain Compound
PS2 directory listing

(each of the directories includes an INDEX.DIR file that links the indices to the actual filenames and extensions)

Corresponding chapter or level File/folder names (indexed and actual)
level0_Final "13" = global/ (no .bsl files)
CHAPTER 00 . COMBAT TRAINING
CHAPTER 01 . TRIAL RUN
CHAPTER 02 . ENGINES OF EVIL
CHAPTER 03 . PUZZLE PIECES
CHAPTER 04 . TIGER BY THE TAIL
level5_Final ("Airport Part Deux")
CHAPTER 05 . HOT PURSUIT
CHAPTER 06 . COUNTERATTACK
CHAPTER 07 . A FRIEND IN NEED
CHAPTER 08 . AN INNOCENT LIFE
CHAPTER 09 . TRUTH AND CONSEQUENCES
CHAPTER 10 . CAT AND MOUSE
CHAPTER 11 . DREAM DIVER
CHAPTER 12 . SINS OF THE FATHER
level16_Final ("BGI HQ")
CHAPTER 13 . PHOENIX RISING
CHAPTER 14 . DAWN OF THE CHRYSALIS
level30_Final ("The Arena of Pain")
level31_Final ("Crossing Zone")
level32_Final ("Pit")
level33_Final ("Crossing Zone Too")
level34_Final ("Capture")
level55_Final ("AlexTestSite")
level71_Final ("FiringRange")
The IGMD structure of the PS2 version closely resembles that of the "Big Blue Box" German Mac version, in that it contains vestigial script folders. These do not correspond to chapters: the corresponding level#_Final.* files are missing and the script folders are never looked up by the engine (see HERE for an overview of the cut levels). It also contains an empty "global" folder (unused by vanilla Oni) which is intended as a location for globally visible scripts (i.e., variables and functions that can be accessed from every level).
The script folders for the first two levels, EnvWarehouse and manplant contain a "test" subfolder, which are in fact backup folders with unmodified scripts. The scripts in the main folder for each level are typically modified as compared to the PC/Mac version, although those modifications are minor (to be documented later).