Skip to main content

Module ifo

Module ifo 

Source
Expand description

Typed IFO (.ifo) module info and conversion helpers. IFO (.ifo) typed generic wrapper.

IFO resources are GFF-backed module info files that define a module’s identity, entry point, time settings, scripts, and area list.

§Scope

  • Typed access for module identity, entry point, time and script fields.
  • Typed handling for the area, expansion, cutscene, player and token lists.

§Three containers the view models nothing behind

Creature List, SWVarTable and VarTable are save-game structures this view does not read into anything. They are declared so a file carrying them is not reported as holding an unrecognised label.

Structs§

Ifo
Typed IFO model built from/to Gff data.
IfoArea
Typed IFO one entry of Mod_Area_list.
IfoCutScene
Typed IFO one entry of Mod_CutSceneList.
IfoExpansion
Typed IFO one entry of Mod_Expan_List.
IfoPlayer
Typed IFO one entry of Mod_PlayerList.
IfoToken
Typed IFO one entry of Mod_Tokens.

Enums§

IfoError
Errors produced while reading or writing typed IFO data.

Functions§

author_ifo
Authors the IFO file the typed view describes, into a writer.
author_ifo_to_vec
Authors the IFO file the typed view describes, as bytes.
read_ifo
Reads typed IFO data from a reader at the current stream position.
read_ifo_from_bytes
Reads typed IFO data directly from bytes.