{
  "source": "https://github.com/qigedashen/mir2-1.80-mirror",
  "sourceVersion": "Mir2 1.80 mirror. Classic Prguse HUD retained; exact 1.76 binary provenance not verified.",
  "rejectedSource": "etorth/mir2x_res HUD is Mir3 style; moved to work/mir3-ui-rejected, not shipped.",
  "decoding": {
    "pixelFormat": "8-bit indexed BGRA palette; bottom-up padded scanlines",
    "transparency": "palette index 0 only",
    "imageHeader": "signed little-endian width,height,dx,dy; 8 bytes",
    "wilSHA256": "1de660536ea96b82bb5d7555e927df961d1aeacf0c4d8817c32f00dd2becfca0"
  },
  "assets": {
    "hud": {
      "file": "hud.png",
      "library": "Data/Prguse.wil",
      "index": 1,
      "dimensions": [
        800,
        251
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "inventory": {
      "file": "inventory.png",
      "library": "Data/Prguse.wil",
      "index": 3,
      "dimensions": [
        336,
        270
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "orb-hp-mp": {
      "file": "orb-hp-mp.png",
      "library": "Data/Prguse.wil",
      "index": 4,
      "dimensions": [
        92,
        90
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "orb-glass": {
      "file": "orb-glass.png",
      "library": "Data/Prguse.wil",
      "index": 5,
      "dimensions": [
        96,
        92
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "orb-hp": {
      "file": "orb-hp.png",
      "library": "Data/Prguse.wil",
      "index": 6,
      "dimensions": [
        96,
        92
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "bar-mp": {
      "file": "bar-mp.png",
      "library": "Data/Prguse.wil",
      "index": 7,
      "dimensions": [
        76,
        13
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-character": {
      "file": "button-character.png",
      "library": "Data/Prguse.wil",
      "index": 8,
      "dimensions": [
        24,
        24
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-inventory": {
      "file": "button-inventory.png",
      "library": "Data/Prguse.wil",
      "index": 9,
      "dimensions": [
        24,
        22
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-skill": {
      "file": "button-skill.png",
      "library": "Data/Prguse.wil",
      "index": 10,
      "dimensions": [
        24,
        23
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-sound": {
      "file": "button-sound.png",
      "library": "Data/Prguse.wil",
      "index": 11,
      "dimensions": [
        24,
        23
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gauge-hp-empty": {
      "file": "gauge-hp-empty.png",
      "library": "Data/Prguse.wil",
      "index": 12,
      "dimensions": [
        32,
        54
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gauge-hp-filled": {
      "file": "gauge-hp-filled.png",
      "library": "Data/Prguse.wil",
      "index": 13,
      "dimensions": [
        32,
        54
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gauge-mp-empty": {
      "file": "gauge-mp-empty.png",
      "library": "Data/Prguse.wil",
      "index": 14,
      "dimensions": [
        32,
        54
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gauge-mp-filled": {
      "file": "gauge-mp-filled.png",
      "library": "Data/Prguse.wil",
      "index": 15,
      "dimensions": [
        32,
        54
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gauge-green": {
      "file": "gauge-green.png",
      "library": "Data/Prguse.wil",
      "index": 20,
      "dimensions": [
        8,
        22
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-minus": {
      "file": "button-minus.png",
      "library": "Data/Prguse.wil",
      "index": 21,
      "dimensions": [
        12,
        11
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-plus": {
      "file": "button-plus.png",
      "library": "Data/Prguse.wil",
      "index": 22,
      "dimensions": [
        12,
        11
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-use": {
      "file": "button-use.png",
      "library": "Data/Prguse.wil",
      "index": 26,
      "dimensions": [
        44,
        16
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gold-small": {
      "file": "gold-small.png",
      "library": "Data/Prguse.wil",
      "index": 27,
      "dimensions": [
        36,
        21
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gold-medium": {
      "file": "gold-medium.png",
      "library": "Data/Prguse.wil",
      "index": 28,
      "dimensions": [
        36,
        21
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "gold-large": {
      "file": "gold-large.png",
      "library": "Data/Prguse.wil",
      "index": 29,
      "dimensions": [
        36,
        21
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "button-close": {
      "file": "button-close.png",
      "library": "Data/Prguse.wil",
      "index": 64,
      "dimensions": [
        16,
        23
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-male": {
      "file": "equipment-male.png",
      "library": "Data/Prguse3.wil",
      "index": 29,
      "dimensions": [
        168,
        234
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-female": {
      "file": "equipment-female.png",
      "library": "Data/Prguse3.wil",
      "index": 30,
      "dimensions": [
        168,
        234
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-empty": {
      "file": "equipment-empty.png",
      "library": "Data/Prguse3.wil",
      "index": 31,
      "dimensions": [
        168,
        234
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "character-status-window": {
      "file": "character-status-window.png",
      "library": "Data/Prguse.wil",
      "index": 370,
      "dimensions": [
        232,
        325
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-classic-male": {
      "file": "equipment-classic-male.png",
      "library": "Data/Prguse.wil",
      "index": 376,
      "dimensions": [
        168,
        199
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-classic-female": {
      "file": "equipment-classic-female.png",
      "library": "Data/Prguse.wil",
      "index": 377,
      "dimensions": [
        168,
        199
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "equipment-classic-empty": {
      "file": "equipment-classic-empty.png",
      "library": "Data/Prguse.wil",
      "index": 378,
      "dimensions": [
        168,
        199
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "dialogue-window": {
      "file": "dialogue-window.png",
      "library": "Data/Prguse.wil",
      "index": 380,
      "dimensions": [
        256,
        359
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "dialogue-wide-window": {
      "file": "dialogue-wide-window.png",
      "library": "Data/Prguse.wil",
      "index": 402,
      "dimensions": [
        416,
        347
      ],
      "encodedOffset": [
        7,
        -44
      ]
    },
    "server-select-window": {
      "file": "server-select-window.png",
      "library": "Data/Prguse3.wil",
      "index": 4,
      "dimensions": [
        404,
        452
      ],
      "encodedOffset": [
        7,
        -44
      ]
    }
  },
  "layout": {
    "nativeWidth": 800,
    "hud": {
      "x": 0,
      "y": "viewportHeight-251",
      "width": 800,
      "height": 251,
      "chatInterior": [
        207,
        118,
        387,
        110
      ],
      "chatInstruction": "Opaque white placeholder in original frame; fill its interior with black before drawing chat text.",
      "orbHpMp": [
        42,
        98,
        92,
        90
      ],
      "quickSlots": [
        [
          282,
          53,
          37,
          36
        ],
        [
          326,
          53,
          37,
          36
        ],
        [
          370,
          53,
          37,
          36
        ],
        [
          414,
          53,
          37,
          36
        ],
        [
          458,
          53,
          37,
          36
        ],
        [
          502,
          53,
          37,
          36
        ]
      ],
      "buttons": {
        "character": [
          634,
          51,
          42,
          44
        ],
        "inventory": [
          674,
          30,
          42,
          43
        ],
        "skill": [
          713,
          9,
          42,
          43
        ],
        "sound": [
          755,
          0,
          45,
          44
        ]
      },
      "rightBars": {
        "level": [
          665,
          148,
          60,
          9
        ],
        "experience": [
          665,
          181,
          65,
          8
        ],
        "weight": [
          665,
          211,
          65,
          8
        ]
      }
    },
    "inventory": {
      "width": 336,
      "height": 270,
      "close": [
        311,
        204,
        16,
        23
      ],
      "gridBounds": [
        19,
        13,
        288,
        160
      ],
      "gridColumns": 8,
      "gridRows": 5,
      "cellSize": [
        36,
        32
      ],
      "note": "Use native frame geometry; cell grid must align to visible artwork."
    }
  },
  "characterWindowEvidence": {
    "source": "https://github.com/lzxsz/MIR2/blob/master/GameOfMir/Client/FState.pas",
    "lines980to985": "DStateWin.SetImgIndex(g_WMainImages,370)",
    "lines2804to2813": "StatePage0 chooses Prguse376 male /377 female.",
    "placementCaveat": "Original chrome and content panels supplied separately. This source contains modified placement code; overlay geometry needs visual integration."
  }
}