Skip to content

Guidance for good DataFrame

Xii edited this page Aug 17, 2022 · 12 revisions

Making a good FrameConfiguration is essential in order to reliably obtain the in-game state to the backend.

In this topic I would like give a few handy tips how to create a good one. These steps attempts to give some guides about how create the best DataFrame.

  1. Make sure the in-game camera is still.
  2. The background at the top left corner of the game window is still, there are no movement.

Good example

  • Good background
  • There are no meaningful color difference.
  • Darker background color around the top left corner yields better result.

Bad example

  • Bad background
  • There are at least two different colors, the skybox and the tree leaves

(Optional) New way - Increase addon cell size

Please look at PR 402


(Optional) Old way - Increase addon cell size

With some game resolution and windows GUI scale combo, its really hard to create a good FrameConfiguration. That case you can try increase the CELL_SIZE which is by default 1. With this change it is less likely to bleed one cell to an another cells location due rounding errors.

To do that first have to find out what game version is running. Then have to remember what name you put in the addon Title, during the Addon Config process.

{GameVersion} can run either run Season of Mastery or Classic TBC

  • C:\Program Files (x86)\World of Warcraft\_classic_era_\ -> Season of Mastery
  • C:\Program Files (x86)\World of Warcraft\_classic_\ -> Classic TBC

{AddonTitle}

  • Let the addon title be = Deluge for this example

Navigate to the following location

  • {GameVersion}\Interface\AddOns\{AddonTitle}\{AddonTitle}.lua
  • example C:\Program Files (x86)\World of Warcraft\_classic_\Interface\AddOns\Deluge\Deluge.lua

Open the previously mentioned file and find the following text and edit from - around 17th line

local CELL_SIZE = 1 -- 1-9 

to

local CELL_SIZE = 2 -- 1-9 

Make sure to save it. Incase the game is already running type /reload in order to active the changes.

As a result the cells at the top left corner should appear bigger.