We will work through resolution_settings.ini so you can create your own preset.
The resolution must allow 100% UI Scale or all dynamic Imagesearches will fail. (1280x720 for example won't work because auf max 90% UI Scale)
Presets are language and resolution specific. Since the text varies, your preset will be only be working for the language you created the preset for. (Atleast the parts that involve text like [Fishing])
Please post your custom presets in this thread with this title format:
resolution_settings[WIDTH]x[HEIGHT][LANGUAGE]
e.g. resolution_settings2560x1440FR or resolution_settings1920x1080DE
Lines that start with ; are comments and can be ignored.
[Resolution] Define your resolution. 1280x768 in this example:
Quote:
The gameclient resolution will be compared with this one. If they don't match you will receive an error.
[GameStart] Define the x & y relative coordinates of the
Enter and
Connect buttons:
Quote:
[GameStart]
; Main Server "Enter" x=y
1191=662
; "CONNECT" x=y
628=729
|
A rough
x & y position is enough. We only try to click the button.
1191=662 (x=y)
[Only registered and activated users can see links. Click Here To Register...]
628=729 (x=y)
[Only registered and activated users can see links. Click Here To Register...]
[Fishing] Define the coordinates for the region. Look for atleast 4 Pixels on top of eachother with the Hex color 0xE4E4E4.
We need to be very precise with position and color. Every pixel counts!
FishingStandby=359, 57, 913, 61, 0xE4E4E4 (CurrentStateName=x1, top, x2, bottom, color)
We will call x1 left and x2 right despite not bein a rectangle region, but 2 seperate stripes with the same top and bottom)
The script checks the left coordinate from top to bottom and the right coordinate from top to bottom.
Quote:
[Fishing]
FishingStandby=359, 57, 913, 61, 0xE4E4E4
FishingCurrently=322, 57, 936, 61, 0xE4E4E4
FishingBite=413, 57, 859, 61, 0xE4E4E4
PressIt=529, 370, 748, 374, 0xFFFFFF
ReelIn=675, 406, 772, 423, 0x5A87C8
LootWindow=898, 282, 900, 327, 46
|
Here we take 5 pixels from "P" on the left and "g" on the right for
FishingStandby. Make sure the pixels have all the color 0xE4E4E4.
FishingStandby=359, 57, 913, 61, 0xE4E4E4 (FishingStandby=left, top, right, bottom, color)
[Only registered and activated users can see links. Click Here To Register...]
The same for
FishingCurrently:
FishingCurrently=322, 57, 936, 61, 0xE4E4E4 (FishingCurrently=
left, top, right, bottom, color)
[Only registered and activated users can see links. Click Here To Register...]
And for
FishingBite:
FishingBite=413, 57, 859, 61, 0xE4E4E4 (FishingBite=
left, top, right, bottom, color)
[Only registered and activated users can see links. Click Here To Register...]
For
PressIt we need the coordinate with the color 0xFFFFFF:
PressIt=529, 370, 748, 374, 0xFFFFFF (PressIt=
left, top, right, bottom, color)
[Only registered and activated users can see links. Click Here To Register...]
ReelIn describes the region where the blue bar can be pressed:
ReelIn=675, 406, 772, 423, 0x5A87C8 (ReelIn=
left, top, right, bottom, defaultcolor)
[Only registered and activated users can see links. Click Here To Register...]
LootWindow Checks the left border of the first slot in the item list.
LootWindow=898, 282, 900, 327, 46 (LootWindow=
left, top, right, bottom, slotwidth)
[Only registered and activated users can see links. Click Here To Register...]
[Restock] & [WorkerSettings] We Mostly need rough coordinates here. It doesn't have to be very precise.
Quote:
[Restock]
NPCSearchIcon=913, 28
MapRegion=1215, 48, 1230, 50
SellAllButton=1120, 437
Horse=44, 124
Boat=93, 123
[WorkerSettings]
WorkerListPosition=899, 294
|
NPCSearchIcon=913, 28 (NPCSearchIcon=
x, y)
MapRegion=1215, 48, 1230, 50 (MapRegion=
left, top, right, bottom)
Horse=44, 124 (Horse=
x, y)
Boat=93, 123 (Boat=
x, y)
WorkerListPosition=899, 294 (WorkerListPosition=
x, y)
[Only registered and activated users can see links. Click Here To Register...]
SellAllButton=1120, 437 (SellAllButton=
x, y)
[Only registered and activated users can see links. Click Here To Register...]
A complete example:
Quote:
[Resolution]
1280=768
[GameStart]
; Main Server "Enter" x=y
1191=662
; "CONNECT" x=y
628=729
[Fishing]
FishingStandby=359, 57, 913, 61, 0xE4E4E4
FishingCurrently=322, 57, 936, 61, 0xE4E4E4
FishingBite=413, 57, 859, 61, 0xE4E4E4
PressIt=529, 370, 748, 374, 0xFFFFFF
ReelIn=675, 406, 772, 423, 0x5A87C8
LootWindow=898, 282, 900, 327, 46
[Restock]
NPCSearchIcon=913, 28
MapRegion=1215, 48, 1230, 50
SellAllButton=1120, 437
Horse=44, 124
Boat=93, 123
[WorkerSettings]
WorkerListPosition=899, 294
|
Those are all hard coordinates we need at the moment.
With increasing functionality there might be a need for more of those. I will keep this post up to date.
I hope people will share their presets.