OK, poking around in the interface.bsa file for some answers.... and I've found the culprit. .swf files >.<
To make the game cross platform compatible they exported all the menus in .swf format aka flash. Looking through the actual coding it is all in ActionScript2.0 as it uses the old "_stage", "_global" and other references.
I'm pretty sure what we are looking for is in the _Packages.gfx.cor.UIComponent in the function initSize()
Code:
function initSize()
{
var _loc3 = __width ==0? (_width) : (__width);
var _loc2 = __height==0? (_height) : {__height);
_xscale = _yscale = 100;
this.setSize(_loc3, _loc2);
}
Also in the _Packages.gfx.utils.Contraints
function addElement
seems to do some of the math for setting up the bounds of the visible box.
How did you extract the .bsa files?
I wouldn't mind getting my fingers dirty and mess around with those files. |