Jump to navigation Jump to 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. (See ohrrpgce_config.ini for full documentation.)

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

Game-specific options for Custom, and global settings, are normally stored in ohrrpgce_config.ini instead. See that article for more config settings (which can also be set in gameconfig.ini).

  • 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.

If "rungame fullscreen state: shared" is set, then only gfx.fullscreen from the gameconfig.ini file of the "master" .rpg file is used.