Oni (folder)/GameDataFolder/IGMD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Case-insensitive)
m (minor wording)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''IGMD''' is a subfolder of [[GameDataFolder]]. That's where the level logic is defined, level per level.
'''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: [http://geyser.oni2.net/OSL/IGMD/IGMD_PC.zip Windows], [http://geyser.oni2.net/OSL/IGMD/IGMD_Mac.zip Mac].


If the contents of this folder is missing or corrupt, nothing interesting will ever happen :)
'''Notes on this folder'''
==Level logic folders==
*The scripts in the subfolders of IGMD are plain-text files with a .bsl extension, written in [[BSL|BFW Scripting Language]].
===[[IGMD/EnvWarehouse |EnvWarehouse]]===
*Oni treats the level folder names as case-insensitive, so you can rename "EnvWarehouse" to "eNvwArEhOuSe" and you'll still be able to play Chapter 1.
Level logic for '''level1_Final''' aka :
*The Mac and Windows scripts are identical except for minor differences in '''tctf_ii_cutscene.bsl''' and '''tctf2.bsl''' for the boss battle of Chapter 13, shown [[PC vs Mac#Level_logic|HERE]].
*'''Chapter 0:COMBAT TRAINING''' aka '''TCTF Training'''
*The folders only present in the Euro Mac and PS2 IGMDs are development relics which do not correspond to [[Chapters|Chapters of the game]]; there are no level#_Final.dat/.raw(/.sep) files for them and so the script folders are never looked up by the engine. See [[Pre-beta content#Cut levels|HERE]] for an overview of the cut levels.
*'''Chapter 1:TRIAL RUN''' aka '''Syndicate Warehouse'''
*The PS2's script folders 12/ (EnvWarehouse/) and 15/ (manplant/) each contain a "test" subfolder which is a backup of the unmodified scripts. The scripts in the main folder for each level are typically modified from the PC version, although those modifications are minor (documented on [[PS2 vs PC]]).


===[[IGMD/manplant |manplant]]===
{| class="wikitable sortable" style="margin-left:auto; margin-right:auto;"
Level logic for '''Chapter 2:ENGINES OF EVIL'''
!Standard Win/<br>Mac release
aka '''Manufacturing Plant'''
!European Mac<br>non-English
aka '''level2_Final'''
!Japanese<br>Win/Mac
!Play-<br>Station 2
!Chapter
!Location (as in Load Game dialog)
|-
|bgcolor=lightgray|
|'''[[Oni (folder)/GameDataFolder/IGMD/global|global/]]'''
|bgcolor=lightgray|
|13/
|colspan=2|Loads for all levels
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/EnvWarehouse|EnvWarehouse/]]'''
|EnvWarehouse/
|EnvWarehouse/
|12/
|data-sort-value="00"|{{C|0|0: COMBAT TRAINING}}<br>{{C|1|1: TRIAL RUN}}
|valign=bottom|TCTF Training<br>Syndicate Warehouse
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/manplant|manplant/]]'''
|manplant/
|MANPLANT/
|15/
|data-sort-value="02"|{{C|2|2: ENGINES OF EVIL}}
|Manufacturing Plant
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/lab|lab/]]'''
|lab/
|LAB/
|14/
|data-sort-value="03"|{{C|3|3: PUZZLE PIECES}}
|Bio-Research Lab
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/Airport|Airport/]]'''
|Airport/
|Airport/
|data-sort-value="01/"|1/
|data-sort-value="04"|{{C|4|4: TIGER BY THE TAIL}}
|Airport Assault
|-
|bgcolor=lightgray|
|Airport_II/
|bgcolor=lightgray|
|data-sort-value="02/"|2/
|(cut)
|Airport Part Deux
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/Airport_III|Airport_III/]]'''
|Airport_III/
|Airport_III/
|data-sort-value="03/"|3/
|data-sort-value="05"|{{C|5|5: HOT PURSUIT}}
|Airport Cargo Hangars
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/tctf|tctf/]]'''
|tctf/
|TCTF/
|23/
|data-sort-value="06"|{{C|6|6: COUNTERATTACK}}
|TCTF Regional HQ
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/power|power/]]'''
|power/
|POWER/
|18/
|data-sort-value="07"|{{C|7|7: A FRIEND IN NEED}}
|Atmospheric Conversion Center (exterior)
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/power_II|power_II/]]'''
|power_II/
|power_II/
|19/
|data-sort-value="08"|{{C|8|8: AN INNOCENT LIFE}}
|Atmospheric Conversion Center (interior)
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/state|state/]]'''
|state/
|STATE/
|22/
|data-sort-value="09"|{{C|9|9: TRUTH AND CONSEQUENCES}}
|Regional State Building
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/roof|roof/]]'''
|roof/
|ROOF/
|20/
|{{C|10|10: CAT AND MOUSE}}
|Rooftops
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/dream_lab|dream_lab/]]'''
|dream_lab/
|dream_lab/
|11/
|{{C|11|11: DREAM DIVER}}
|Doctor Hasegawa's Lab
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/neuro|neuro/]]'''
|neuro/
|NEURO/
|16/
|{{C|12|12: SINS OF THE FATHER}}
|TCTF Science Prison
|-
|bgcolor=lightgray|
|BGI/
|bgcolor=lightgray|
|16/
|(cut)
|BGI HQ
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/tctf_ii|tctf_ii/]]'''
|tctf_ii
|TCTF_II
|24/
|{{C|13|13: PHOENIX RISING}}
|TCTF Regional HQ (redux)
|-
|'''[[Oni (folder)/GameDataFolder/IGMD/compound|compound/]]'''
|compound/
|COMPOUND/
|data-sort-value="08/"|8/
|{{C|14|14: DAWN OF THE CHRYSALIS}}
|Syndicate Mountain Compound
|-
|bgcolor=lightgray|
|aop/
|bgcolor=lightgray|
|data-sort-value="04/"|4/
|(multiplayer)
|The Arena of Pain
|-
|bgcolor=lightgray|
|CZ/
|bgcolor=lightgray|
|data-sort-value="09/"|9/
|(multiplayer)
|Crossing Zone
|-
|bgcolor=lightgray|
|pit/
|bgcolor=lightgray|
|17/
|(multiplayer)
|Pit
|-
|bgcolor=lightgray|
|CZ_II/
|bgcolor=lightgray|
|10/
|(multiplayer)
|Crossing Zone Too
|-
|bgcolor=lightgray|
|cap/
|bgcolor=lightgray|
|data-sort-value="07/"|7/
|(multiplayer)
|Capture
|-
|bgcolor=lightgray|
|ats/
|bgcolor=lightgray|
|data-sort-value="05/"|5/
|(development)
|AlexTestSite
|-
|bgcolor=lightgray|
|SR/
|bgcolor=lightgray|
|21/
|(development)
|FiringRange
|}


===[[IGMD/lab|lab]]===
[[Category:Game directory map]]
Level logic for '''Chapter 3:PUZZLE PIECES'''
aka '''Bio-Research Lab'''
aka '''level3_Final'''
 
===[[IGMD/Airport|Airport]]===
Level logic for '''Chapter 4:TIGER BY THE TAIL'''
aka '''Airport Assault'''
aka '''level4_Final'''
 
===[[IGMD/Airport_III|Airport_III]]===
Level logic for '''Chapter 5:HOT PURSUIT'''
aka '''Airport Cargo Hangars'''
aka '''level6_Final'''
 
===[[IGMD/tctf|tctf]]===
Level logic for '''Chapter 6:COUNTERATTACK'''
aka '''TCTF Regional HQ'''
aka '''level8_Final'''
 
===[[IGMD/power|power]]===
Level logic for '''Chapter 7:A FRIEND IN NEED'''
aka '''Atmospheric Conversion Center (exterior)'''
aka '''level9_Final'''
 
===[[IGMD/power_II|power_II]]===
Level logic for '''Chapter 8:AN INNOCENT LIFE'''
aka '''Atmospheric Conversion Center (interior)'''
aka '''level10_Final'''
 
===[[IGMD/state|state]]===
Level logic for '''Chapter 9:TRUTH AND CONSEQUENCES'''
aka '''Regional State Building'''
aka '''level11_Final'''
 
===[[IGMD/roof|roof]]===
Level logic for '''Chapter 10:CAT AND MOUSE'''
aka '''Rooftops'''
aka '''level12_Final'''
 
===[[IGMD/dream_lab|dream_lab]]===
Level logic for '''Chapter 11:DREAM DIVER'''
aka '''Doctor Hasegawa's Lab'''
aka '''level13_Final'''
 
===[[IGMD/neuro|neuro]]===
Level logic for '''Chapter 12:SINS OF THE FATHER'''
aka '''TCTF Science Prison'''
aka '''level14_Final'''
 
===[[IGMD/tctf_ii|tctf_ii]]===
Level logic for '''Chapter 13:PHOENIX RISING'''
aka '''TCTF Regional HQ (redux)'''
aka '''level18_Final'''
 
===[[IGMD/compound|compound]]===
Level logic for '''Chapter 14:DAWN OF THE CHRYSALIS'''
aka '''Syndicate Mountain Compound'''
aka '''level19_Final'''
 
 
----
==Other features==
===[[IGMD/global|global]]===
A "secret" subfolder of IGMD. Very useful. Only works on PC.
 
 
----
 
==Downloads==
*[http://geyser.oni2.net/OSL/IGMD/IGMD.zip IGMD] folder for PC, zipped. Extract to [[GameDataFolder]].
*[http://geyser.oni2.net/OSL/IGMD/IGMD_MAC.zip IGMD] folder for Mac, zipped. Extract to [[GameDataFolder]].
Actually, I thought they were the exact same scripts for Mac and PC, but a thorough check proved me wrong.
 
There are small variations in the '''tctf_ii_cutscene.bsl''' and '''tctf2.bsl''' files, which probably fix (for Mac) a glitch that appears on PC during the "boss battle" of '''Chapter 13''' aka '''tctf_ii'''.
 
The Mac version also sports fewer dev-and-debug features, and possibly has fewer issues with messy binary resources : a somewhat more finished product, sort of...
 
So there are some "sophisticated" PC scripts that just won't work on Mac, because some of those "advanced" scripting features were removed from the Mac package.
 
 
----
 
==Tips==
:The level folder names are case-insensitive for Oni.
::For example, the name specified in [[ONLV]] differs in case for "tctf_II".
:Thus you can rename, e.g., "dream_lab" to "DrEaM_LaB" and it will still work.
::Windows won't let you have several case variations around, though.

Latest revision as of 02:10, 14 April 2023

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 a .bsl extension, written in BFW Scripting Language.
  • Oni treats the level folder names as case-insensitive, so you can rename "EnvWarehouse" to "eNvwArEhOuSe" and you'll still be able to play Chapter 1.
  • The Mac and Windows scripts are identical except for minor differences in tctf_ii_cutscene.bsl and tctf2.bsl for the boss battle of Chapter 13, shown HERE.
  • The folders only present in the Euro Mac and PS2 IGMDs are development relics which do not correspond to Chapters of the game; there are no level#_Final.dat/.raw(/.sep) files for them and so the script folders are never looked up by the engine. See HERE for an overview of the cut levels.
  • The PS2's script folders 12/ (EnvWarehouse/) and 15/ (manplant/) each contain a "test" subfolder which is a backup of the unmodified scripts. The scripts in the main folder for each level are typically modified from the PC version, although those modifications are minor (documented on PS2 vs PC).
Standard Win/
Mac release
European Mac
non-English
Japanese
Win/Mac
Play-
Station 2
Chapter Location (as in Load Game dialog)
global/ 13/ Loads for all levels
EnvWarehouse/ EnvWarehouse/ EnvWarehouse/ 12/ 0: COMBAT TRAINING
1: TRIAL RUN
TCTF Training
Syndicate Warehouse
manplant/ manplant/ MANPLANT/ 15/ 2: ENGINES OF EVIL Manufacturing Plant
lab/ lab/ LAB/ 14/ 3: PUZZLE PIECES Bio-Research Lab
Airport/ Airport/ Airport/ 1/ 4: TIGER BY THE TAIL Airport Assault
Airport_II/ 2/ (cut) Airport Part Deux
Airport_III/ Airport_III/ Airport_III/ 3/ 5: HOT PURSUIT Airport Cargo Hangars
tctf/ tctf/ TCTF/ 23/ 6: COUNTERATTACK TCTF Regional HQ
power/ power/ POWER/ 18/ 7: A FRIEND IN NEED Atmospheric Conversion Center (exterior)
power_II/ power_II/ power_II/ 19/ 8: AN INNOCENT LIFE Atmospheric Conversion Center (interior)
state/ state/ STATE/ 22/ 9: TRUTH AND CONSEQUENCES Regional State Building
roof/ roof/ ROOF/ 20/ 10: CAT AND MOUSE Rooftops
dream_lab/ dream_lab/ dream_lab/ 11/ 11: DREAM DIVER Doctor Hasegawa's Lab
neuro/ neuro/ NEURO/ 16/ 12: SINS OF THE FATHER TCTF Science Prison
BGI/ 16/ (cut) BGI HQ
tctf_ii/ tctf_ii TCTF_II 24/ 13: PHOENIX RISING TCTF Regional HQ (redux)
compound/ compound/ COMPOUND/ 8/ 14: DAWN OF THE CHRYSALIS Syndicate Mountain Compound
aop/ 4/ (multiplayer) The Arena of Pain
CZ/ 9/ (multiplayer) Crossing Zone
pit/ 17/ (multiplayer) Pit
CZ_II/ 10/ (multiplayer) Crossing Zone Too
cap/ 7/ (multiplayer) Capture
ats/ 5/ (development) AlexTestSite
SR/ 21/ (development) FiringRange