WDW file structure

From Homecoming Wiki
Revision as of 21:46, 23 September 2008 by imported>Aggelakis (historical) (added Related Articles, added Gameplay category)
Jump to navigation Jump to search

Overview

Issue 12 introduced the ability to save in-game window positions. This article aims to document the format/syntax of the text files created.

Quick version

status 470 959 295 65 1.000000 7c7c7cff 4d 0 2

  • status = window name
  • 470 = X coordinate
  • 959 = Y coordinate
  • 295 = Width
  • 65 = Height
  • 1.000000 = Window scale
  • 7c7c7cff = Color in RRGGBBAA format. The alpha value is the alpha of the window border, not the window opacity.
  • 4d = Unknown internal field (do not edit)
  • 0 = Detached, 1 here would be attached to its standard parent window
  • 2 = Visible, 4 here hides the window. Numbers > 4 in this field produce odd windows with no title bar that do not always function correctly.

Related

  • /wdw_save - No parameters/options. Saves window configuration to wdw.txt in the install directory.
  • /wdw_load - No parameters/options. Loads window configuration from wdw.txt in the install directory.
  • /wdw_save_file path
  • /wdw_load_file path