Files
my-botty/config/game.ini
Vladimir Makaev c358282e68 Launch botty from town or main menu; fix character recovery after restart/death (#494)
* Add ability to launch botty from either main menu or town

* Fix game recovery routine is stuck forever on character selection screen

* Move _char_template to class variable to be able to share among instances

* fix character recovery and character select, support offline/online. WIP

Co-authored-by: Vladimir Makayev <vmakaev@fb.com>
Co-authored-by: mgleed <aliigleed16@gmail.com>
2022-02-04 20:27:56 -05:00

205 lines
7.1 KiB
INI

[colors]
; min and max hsv range (opencv format: h: [0-180], s: [0-255], v: [0, 255])
; h_min, s_min, v_min, h_max, s_max, v_max
black=0,0,0,180,255,15
item_highlight=90,235,130,115,255,160
white=0,0,150,180,20,255
gray=0,0,90,180,20,130
blue=114,100,190,125,132,255
green=56,190,190,63,255,255
yellow=27,110,190,33,145,255
gold=20,75,140,26,95,230
orange=20,190,190,23,255,255
red=3,160,160,9,255,220
health_potion=170,100,76,190,255,255
mana_potion=105,20,76,135,255,255
rejuv_potion=140,50,40,160,255,255
[ui_pos]
screen_width=1280
screen_height=720
center_x=640
center_y=360
; some distance
skill_bar_height=67
save_and_exit_x=633
save_and_exit_y=317
issue_occured_ok_x=640
issue_occured_ok_y=387
; inventory, stash, vendors
inventory_gold_btn_x=1007
inventory_gold_btn_y=531
inventory_top_left_slot_x=866
inventory_top_left_slot_y=348
slot_width=38
slot_height=38
stash_personal_btn_x=80
stash_personal_btn_y=77
stash_btn_width=97
vendor_misc_x=371
vendor_misc_y=74
; health, mana, pots
health_top=610
health_left=309
health_width=7
health_height=101
mana_top=610
mana_left=961
mana_width=7
mana_height=101
potion1_x=742
potion1_y=695
potion_width=30
potion_height=30
potion_next=41
merc_health_top=14
merc_health_left=15
merc_health_width=40
merc_health_height=3
; skills
skill_y=693
skill_right_x=687
skill_left_x=597
skill_width=41
skill_height=41
; death screen
death_roi_top=193
death_roi_left=513
death_roi_width=253
death_roi_height=50
corpse_x=633
corpse_y=320
; waypoint
wp_act_i_btn_x=90
wp_act_i_btn_y=90
wp_act_btn_width=67
wp_first_btn_x=227
wp_first_btn_y=129
wp_btn_height=47
; pickit
item_dist=267
item_height_min=6
item_width_min=20
; pather
reached_node_dist=100
min_walk_dist=25
max_walk_dist=127
[ui_roi]
; all rois are in [left, top, width, height] format
is_overburdened=11,510,513,60
save_and_exit=500,233,273,173
offline_btn=533,627,213,67
online_btn=427,613,213,67
difficulty_select=536,236,210,320
gold_btn=927,491,267,100
inventory_gold=980,510,150,40
gold_btn_stash=150,480,40,65
health_globe=160,580,240,140
mana_globe=887,580,240,140
cut_skill_bar=0,0,1280,653
reduce_to_center=120,60,1040,540
search_npcs=120,0,1040,620
merc_icon=0,0,100,100
loading_left_black=0,0,350,720
death=513,193,253,50
tp_search=353,120,547,400
repair_btn=318,473,90,80
left_inventory=35,92,378,378
right_inventory=866,348,379,152
skill_right=664,673,41,41
skill_right_expanded=655,375,385,255
skill_left=574,673,41,41
main_menu_top_left=0,0,100,100
window_ingame_ref=600,650,90,90
no_pickup=5,530,240,65
repair_needed=1000,0,280,280
wp_act_roi=42,66,365,53
stash_btn_roi=20,52,412,53
enemy_info=440,15,405,150
character_select=1033, 44, 226, 554
character_online_status=1033, 19, 226, 25
; character_sub_roi is with respect to matched active character template
character_name_sub_roi=8, 22, 192, 32
cube_area_roi=167,209,113,152
cube_btn_roi=160,368,125,57
[path]
; static pathes in format: x0,y0, x1,y1, x2,y2, ...
pindle_safe_dist=921,35, 1123,70, 960,88
eldritch_safe_dist=652,63, 563,73
trav_safe_dist=1156,438, 1120,282, 1059,525, 1146,312, 1132,346, 985,538, 1125,333
pindle_end=1037,174
eldritch_end=675,89
shenk_end=1067,544
; Nihlathak WP to Level2 Stairs "a = bottom", " b = large room" and "c = small room"
ni1_a=871,472, 1205,600, 1162,600, 1169,584, 1169,584, 1232,213, 1221,237, 1164,228, 1145,572, 1146,547, 1223,185
ni1_b=23,187, 23,187, 23,187, 23,187, 12,192, 10,192, 10,190, 123,70, 378,120
ni1_c=118,500, 158,602, 187,577, 217,563, 184,551, 70,413, 127,240, 154,493, 197,504, 218,545, 83,246, 45,526, 300,380
; Nihlathak Level2 from corresponding eye check to boss (naming of spots are counter-clockwise - "a" is first (at 6'clock))
ni2_circle_a=716,599
ni2_circle_b=1196,348
ni2_circle_c=686,38, 542,20
ni2_circle_d=186,272
ni2_circle_back_to_a=136,507, 887,613, 838,490, 630,499
# Nihlathak any of the 4 "arms"
ni2_a_safe_dist=293,543, 310,468, 333,510, 373,485, 478,490, 506,571, 200,584, 341,479
ni2_b_safe_dist=1092,554, 1171,517, 1116,524, 1046,493, 1035,428, 1064,317, 984,501, 500,544
ni2_c_safe_dist=810,98, 989,195, 969,250, 957,234, 962,179, 954,203, 1202,220, 985,89
ni2_d_safe_dist=264,135, 177,179, 174,208, 280,241, 344,159, 621,100, 411,149, 257,184
# Arcane Sanctuary Layouts
arc_top_right=1236,43, 1236,43, 1241,39, 1060,179, 1240,669, 1208,649, 1109,63, 1181,60, 1221,64, 1237,51, 1239,43, 1226,48, 1234,48, 1246,60, 93,50, 115,65, 1203,36, 1169,198
arc_bottom_left=60,653, 60,653, 60,653, 254,559, 1249,634, 1209,628, 54,613, 58,613, 69,658, 74,643, 74,643, 74,643, 74,643, 89,614, 17,122, 103,146, 20,495, 88,624
arc_top_left=86,55, 98,69, 110,111, 135,69, 1195,97, 1154,89, 95,81, 93,88, 93,88, 92,88, 92,88, 92,88, 92,88, 92,88, 92,88, 63,654, 103,609, 101,63, 133,104
arc_bottom_right=1230,649, 1189,685, 1201,632, 992,503, 1161,45, 1166,55, 1236,607, 1233,617, 1162,663, 1169,650, 1224,627, 1221,613, 1224,638, 1254,627, 60,691, 63,617, 1234,701, 1199,668
; River of Flame (skip trash)
diablo_wp_entrance=1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135
diablo_wp_entrance_loop=855,200
; River to Pentagram (WiZ speedrun, skip trash)
diablo_wp_pentagram=1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7
diablo_wp_pentagram_loop=850,230
; Chaos Sanctuary (skip trash)
diablo_entrance_pentagram=1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150
diablo_entrance_pentagram_loop=855,200
; Chaos Sanctuary (kill trash - not implemented yet)
;AZMR to add
; Seal Bosses - A = Vizier (A1L, A2Y) ; B = De Seis (B1S, B2U) ; C = Infector (C1F, C2G) - letters at third digit (L,Y,S,U,F,G) describe how the seal layout looks on the minimap.
dia_pent_rudijump=951,240
dia_a_layout=80,170, 80,170, 80,170, 125,255, 20,350
dia_b_layout=1131,116, 886,52, 922,87, 508,6
dia_c_layout=1028,574, 1028,574, 1028,574, 1028,574
; Static paths for seals
dia_a2y_sealfake_sealboss=1194, 57
dia_a2y_hop_622=1020,147
dia_b1s_layout2_seal=1125,102, 1125,102, 1125,102, 1171,576, 651,584
dia_b1s_seal_deseis=302,128, 267,193, 395,502
dia_c1f_651_654=1250,328, 1250,328
dia_c1f_654_651=100,413, 100,413
dia_c1f_651_652=1261,402
dia_c1f_652=1227,428
dia_c1f_hop_fakeseal=60,15
dia_c2g_663=1250,259
dia_b2u_bold_seal=6,83, 6,83
dia_b2u_644_646=1084,573, 728,629, 45,596, 194,512
;dia_c2g_bold_seal=93,308
; Home Loops
dia_a1l_home=1095,530, 1095,530, 1095,530, 1095,530
;1150,500, 1150,500, 1150,500, 1150,500
dia_a1l_home_loop=1095,530
dia_a2y_home=1040,585, 1040,585, 1040,585, 1040,585
dia_a2y_home_loop=1040,585
;1150,615 works
dia_b1s_home=58,619, 58,619, 58,619, 58,419
dia_b1s_home_loop=140,650
dia_b2u_home=395,570, 395,570, 395,570, 395,570
dia_b2u_home_loop=395,570
dia_c1f_home=63,72, 63,72, 63,72, 63,72
dia_c1f_home_loop=63,72
dia_c2g_home=175,175, 175,175, 175,175 ,175,175, 175,175
dia_c2g_home_loop=175,175
; More aggressive Seal paths
dia_a_layout_bold=189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 1100,337
dia_b_layout_bold=1129,148, 1129,148, 1129,148, 1129,148, 1129,148, 1129,148
dia_c_layout_bold=1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503