Gameconfig.ini

From OHRRPGCE-Wiki
Jump to: navigation, search

gameconfig.ini is a text file stored in settings_dir/<gamename> which contains remembered configuration settings for a game. Each line is a separate setting and takes the form key = value, where whitespace is ignored. Lines in the file that aren't recognised (such as comments but also unrecognised key=value lines) will be ignored and preserved by the engine when modifying the file.

The persist.reld RELOAD document is saved alongside gameconfig.ini and is a better place to store more complex structured data.

  • gfx.margin: Remembers the value of the TV safe margins option in the main menu. Integer, interpreted as a percentage. Only used on consoles.
  • gfx.fullscreen: Remembers the last fullscreen/windowed state of the game. If nonzero, start the game in fullscreen. If missing, use the default specified in the editor.