Nilly's Tutorial with modifications.
Universal
First, change this code (in Yogda).
Code:
No Scaling -
Search for the string EXACT_FIT in WebMain. Replace with NO_SCALE.
Expanding your Horizon (Part 1)-
com.company.assembleegameclient.engine3d:Face3D.draw
Replace pushtrue with pushfalse that follows the x, y, right, bottom strings in the parameter column.
Expanding your Horizon (Part 2)-
com.company.assembleegameclient.map:_-09k._-bJ
From the end (returnvoid) scan up for the instuction "pushbyte 1". Replace with a larger number. This is one of those variables that need to be optimized depending on desired resolution and personal preference on how far you want to see. A higher number allows you to see further, but will reduce performance.
1920x1080 - Pushbyte 16
1600x900 - Pushbyte 7 or 8
1366x768 - Pushbyte 3 or 4
Removal of black gradient by side bar -
com.company.util:_-cr._-B2
Insert on last instruction (returnvalue)
pop
pushnull
Romoval of ugly Nexus background (what some call the blue screen) -
_-l6:NexusBackground.draw
Insert on first instuction: returnvoid
Minimap teleportation fix (Part 1) -
_-mF:Menu.position
Scroll down to bottom and delete the last 3 lines before returnvoid.
Minimap teleportation fix (Part 2) -
_-kN:_-RG.position
Scroll down to bottom and delete the last 3 lines before returnvoid.
Now using RABCDAsm make the changes that relate to your resolution.
1920x1080
Code:
Reposition and scaling of UI elements (Needs RABCDasm) -
(Side Bar)
com.company.assembleegameclient.ui:_-05a.draw
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.8
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.8
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint 1000
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -240
initproperty QName(PackageNamespace(""), "y")
(Rank)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-h-")".
dup
dup
dup
dup
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleY")
pushint -541
setproperty QName(PackageNamespace(""), "x")
pushint -229
setproperty QName(PackageNamespace(""), "y")
(Guild)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-DT")".
dup
dup
dup
dup
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleY")
pushint -441
setproperty QName(PackageNamespace(""), "x")
pushint -225
setproperty QName(PackageNamespace(""), "y")
(Gold/Fame)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-4a")".
dup
dup
dup
dup
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.8
setproperty QName(PackageNamespace(""), "scaleY")
pushint 1000
initproperty QName(PackageNamespace(""), "x")
pushint -240
initproperty QName(PackageNamespace(""), "y")
(Text Box)
com.company.assembleegameclient.ui:_-UI.iinit
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.8
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.8
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint -555
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -245
initproperty QName(PackageNamespace(""), "y")
(Loading Screen)
_-bP:_-UZ._-xl
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "width")
pushint 1920
initproperty QName(PackageNamespace(""), "width")
findproperty QName(PackageNamespace(""), "height")
pushint 1080
initproperty QName(PackageNamespace(""), "height")
findproperty QName(PackageNamespace(""), "x")
pushint -560
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -240
initproperty QName(PackageNamespace(""), "y")
1600x900
Code:
Reposition and scaling of UI elements (Needs RABCDasm) -
(Side Bar)
com.company.assembleegameclient.ui:_-05a.draw
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.50
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.50
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint 900
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -150
initproperty QName(PackageNamespace(""), "y")
(Rank)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-h-")".
dup
dup
dup
dup
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleY")
pushint -392
setproperty QName(PackageNamespace(""), "x")
pushint -142
setproperty QName(PackageNamespace(""), "y")
(Guild)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-DT")".
dup
dup
dup
dup
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleY")
pushint -334
setproperty QName(PackageNamespace(""), "x")
pushint -139
setproperty QName(PackageNamespace(""), "y")
(Gold/Fame)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-4a")".
dup
dup
dup
dup
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.50
setproperty QName(PackageNamespace(""), "scaleY")
pushint 900
initproperty QName(PackageNamespace(""), "x")
pushint -150
initproperty QName(PackageNamespace(""), "y")
(Text Box)
com.company.assembleegameclient.ui:_-UI.iinit
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.50
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.50
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint -400
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -149
initproperty QName(PackageNamespace(""), "y")
(Loading Screen (Only an assumption and hasn't been tested as I removed the loading screen)
_-bP:_-UZ._-xl
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "width")
pushint 1600
initproperty QName(PackageNamespace(""), "width")
findproperty QName(PackageNamespace(""), "height")
pushint 900
initproperty QName(PackageNamespace(""), "height")
findproperty QName(PackageNamespace(""), "x")
pushint -404
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -144
initproperty QName(PackageNamespace(""), "y")
1366x768
Code:
Reposition and scaling of UI elements (Needs RABCDasm) -
(Side Bar)
com.company.assembleegameclient.ui:_-05a.draw
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.28
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.28
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint 825
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -85
initproperty QName(PackageNamespace(""), "y")
(Rank)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-h-")".
dup
dup
dup
dup
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleY")
pushint -273
setproperty QName(PackageNamespace(""), "x")
pushint -77
setproperty QName(PackageNamespace(""), "y")
(Guild)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-DT")".
dup
dup
dup
dup
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleY")
pushint -215
setproperty QName(PackageNamespace(""), "x")
pushint -75
setproperty QName(PackageNamespace(""), "y")
(Gold/Fame)
com.company.assembleegameclient.game:GameSprite.onEnterFrame
Insert this code just after the first "getproperty QName(PackageNamespace(""), "_-4a")".
dup
dup
dup
dup
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.28
setproperty QName(PackageNamespace(""), "scaleY")
pushint 825
initproperty QName(PackageNamespace(""), "x")
pushint -85
initproperty QName(PackageNamespace(""), "y")
(Text Box)
com.company.assembleegameclient.ui:_-UI.iinit
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "scaleX")
pushdouble 1.28
initproperty QName(PackageNamespace(""), "scaleX")
findproperty QName(PackageNamespace(""), "scaleY")
pushdouble 1.28
initproperty QName(PackageNamespace(""), "scaleY")
findproperty QName(PackageNamespace(""), "x")
pushint -283
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -83
initproperty QName(PackageNamespace(""), "y")
(Loading Screen (Only an assumption and hasn't been tested as I removed the loading screen)
_-bP:_-UZ._-xl
Insert this code just after getlocal0, pushscope.
findproperty QName(PackageNamespace(""), "width")
pushint 1366
initproperty QName(PackageNamespace(""), "width")
findproperty QName(PackageNamespace(""), "height")
pushint 768
initproperty QName(PackageNamespace(""), "height")
findproperty QName(PackageNamespace(""), "x")
pushint -287
initproperty QName(PackageNamespace(""), "x")
findproperty QName(PackageNamespace(""), "y")
pushint -78
initproperty QName(PackageNamespace(""), "y")
*Credits go to Nilly for making the initial tutorial and me for finding the scales/positions/sizes for other resolutions*