WDW file structure: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(New page: == 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 == <code>s...)
 
imported>MTS (historical)
No edit summary
Line 8: Line 8:
* 470 = X coordinate
* 470 = X coordinate
* 959 = Y coordinate
* 959 = Y coordinate
* 295 = width
* 295 = Width
* 65 = height
* 65 = Height
* 1.000000 = window scale
* 1.000000 = Window scale
* 7c7c7cff = color. Not sure since I use gray, but I kind of think it may be bbggrraa or some other nonstandard order.
* 7c7c7cff = Color in RRGGBBAA format. The alpha value is the alpha of the window border, not the window opacity.
* 4d = Z position (do not edit)
* 4d = Unknown internal field (do not edit)
* 0 = detached, 1 here would be attached to its standard parent window
* 0 = Detached, 1 here would be attached to its standard parent window
* 2 = visible, 4 here hides the window. Looks like a bit field. Not sure if the '1' bit means anything or what would happen if you put 6 here. ''
* 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.

Revision as of 12:28, 23 July 2008

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.