WDW file structure

From Unofficial Homecoming Wiki
Revision as of 12:28, 23 July 2008 by imported>MTS
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.