-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
177 lines (156 loc) · 8.81 KB
/
settings.py
File metadata and controls
177 lines (156 loc) · 8.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
class settings():
# ----------------------------------------------------------------------
# >>>>>>>>>>>>>>>>> I M P O R T A N T ! ! ! ! ! <<<<<<<<<<<<<<<<<<<<<<
# ----------------------------------------------------------------------
# Path to your simc.exe (or binary on linux/mac) if you enable the simulation-part.
# Do not point to the gui-executable. If a window with buttons and tabs opens, you chose the wrong executable!
# Do not forget to >>>>INCLUDE DOUBLE-BACKSLASH<<<< for subfolders, like in the example.
# Lnk to the >>>> simc.EXE, NOT Simulationcraft.exe <<<<
# todo: just path, not the actual exe
simc_path = 'D:\\Programme\\Simcraft\\simc-730-03-win64\\simc.exe'
# ----------------------------------------------------------------------
# >>>>>>>>>>>>>>>>> I M P O R T A N T ! ! ! ! ! <<<<<<<<<<<<<<<<<<<<<<
# ----------------------------------------------------------------------
# standard-input
default_inputFileName = "input.txt"
# standard-output
default_outputFileName = "out.simc"
logFileName = "logs.txt"
errorFileName = "error.txt"
# set minimal amount of legendaries to be simulated
# if min=max=2, it never simulates combinations with fewer legendaries, therefore rapidly decreasing the total
# amount of possible combinations
# beware: if you do not include at least leg_min legendaries into your simpermut-output, it might produce errors
# you can still override these settings via command-line (-l "" 2:2), as described in the readme
# enter max=3 only if you want to include the new Amanthul-Trinket
default_leg_min = 2
default_leg_max = 2
# ----------------------------------------------------------------------
# >>>>>>>>>>>>>>>>> I M P O R T A N T ! ! ! ! ! <<<<<<<<<<<<<<<<<<<<<<
# ----------------------------------------------------------------------
# set the amount of tier-items you want to include in your output
# this reduces the number of permutations generated if you know what you want to sim
# if you have no clue which items do what (= sim every combination), set all txx_min to 0 and txx_max to 6
# common errors are setting min=max=0 for a particular tier, which result in no tier-sets being equipped at all
default_equip_t19_min = 0
default_equip_t19_max = 6
default_equip_t20_min = 4
default_equip_t20_max = 6
default_equip_t21_min = 0
default_equip_t21_max = 6
# quiet_mode for faster output; console is very slow
# default 0; 1 for reduced console-output
b_quiet = 1
# split after n profiles
splitting_size = 50
# for the -sim option; if you set this to True, you will not need to use -sim stage1
default_sim_enabled = True
default_sim_start_stage = "stage1"
# these folders will be created during calculation
# stage 1,2,3 correspond accordingly
subdir1 = "temp_step1"
subdir2 = "temp_step2"
subdir3 = "temp_step3"
# Automatic delete of the temp folders
delete_temp_default = False
# set to False if you want to keep intermediate files
# moves the final .html-result into the specified subfolder before deletion
# the resulting html will be renamed to: <Timestamp - best.html>
clean_up_after_step3 = True
result_subfolder = "results"
# for static mode
default_iterations_stage1 = 100
default_iterations_stage2 = 1000
default_iterations_stage3 = 10000
# for dynamic mode
# pls override this, especially stage2, if you think it is too erroneus, it depends on the chosen class/spec
# the top100 will be simulated in stage2 and top3 in stage 3; stage1 can be chosen dynamically
# beware: if you simulate the first stage with a very low target_error (<0.2), stage2 and stage 3 might become obsolete
# this case might not get fully supported because of the indivduality of these problems
default_top_n_stage2 = 100
default_target_error_stage2 = "0.2"
default_top_n_stage3 = 1
default_target_error_stage3 = "0.05"
# alternate method to determine the "best" profiles when using target_error-method
# it does not choose fixed top n for each stage
# instead it uses the following algorithm:
# 1. create the list of profile-dps as usual, descending order
# 2. if iterates the list and removes all profiles which do not fulfil (topdps-target_error) > profiledps
# e.g. target_error chosen in stage1 = 0.5, topdps = 1.000.000 -> it includes all profiles for stage2 with dps > 995.000
# 3. use the same procedure for stage3
# set this to True|False if you want to use this method
default_use_alternate_grabbing_method = True
# change this to widen/narrow the interval of profiles taken into account for the next stage
default_error_rate_multiplier = 2
# Patchwerk, LightMovement, HeavyMovement, HelterSkelter, HecticAddCleave, Ultraxion, Beastlord, CastingPatchwerk
# https://github.com/simulationcraft/simc/wiki/RaidEvents
default_fightstyle = "Patchwerk"
# enter desires priority
# low, below_normal, normal, above_normal, highest
simc_priority = "low"
# number of threads for simc
# https://github.com/simulationcraft/simc/wiki/Options#multithreading
simc_threads = 4
# True|False
simc_scale_factors_stage3 = False
# 0|1
simc_ptr = 0
# set these to true if you want to permutate talents in the corresponding rows
# beware: each additional row increases amount of permutations by 3, so all rows enabled => multiplikator of 2187
enable_talent_permutation = False
# here you can finetune the rows
permutate_row1 = False
permutate_row2 = False
permutate_row3 = False
permutate_row4 = False
permutate_row5 = False
permutate_row6 = False
permutate_row7 = False
# if simc crashes, try to set this variable to "True"; it will set threads=1 and single_actor_batch=0
# this might also output slightly different results because of single_actor_batch_now simming the input as whole raid instead of single profiles
simc_safe_mode = False
# you want this to be set to 1 most of the time; it is used if you want to simulate a whole raid instead of
# single profiles,
simc_single_actor_batch = 1
# additional input you might want to sim according to
# https://github.com/simulationcraft/simc/wiki/TextualConfigurationInterface
# the file must be present in the autosimc-folder
additional_input_file = "additional_input.txt"
# For Analysis.py
# set to "nul" if you are simulating healer or tanks
analyzer_path = "profiles"
analyzer_filename = "Analysis.json"
# enables multiple instances of simc, drastically speeding up stage1 (up to factor 5 on ryzen++)
# not (yet) used during resimming
multi_sim_enabled = True
# console output tends to get spammy with mutliple instances running at once; this enables/disables this behaviour
# keep in mind that, if enabled, there will be NO output at all, which may be confusing
multi_sim_disable_console_output = False
# how many instances should run simultaneously
# if you have e.g. a AMD Ryzen Threadripper (16 Cores, 32 Threads), you should use Cores-1 = 15 number of instances
# otherwise system gets very laggy as no cores are spare for os-routines
number_of_instances = 3
# some tests showed that multisimming is faster with many instances, each with 1 thread
# you can change this behaviour by modifying this variable
number_of_threads = 1
# skip some inputs, may be expanded in the future
# e.g. "Do you want to resim (yes-no)" will be skipped and automatically started
# ----------------------------------------------------------------------
# >>>>>>>>>>>>>>>>> I M P O R T A N T ! ! ! ! ! <<<<<<<<<<<<<<<<<<<<<<
# ----------------------------------------------------------------------
# ALL OPTIONS BELOW THIS VARIABLE ARE AFFECTED BY THIS SWITCH!!!
# YOU HAVE TO KNOW WHAT YOU DO!
# ----------------------------------------------------------------------
skip_questions = False
# automation of dialogs
# 1 or 2
auto_choose_static_or_dynamic = 1
# enter the number of the number you would enter when being presented the target_error_table
# (run once with skip_questions=False to look it up if you dont know)
auto_dynamic_stage1_target_error_table = 8
# beware: in the current state it is not detectable in which stage it crashed respectively autosimc was restarted
# if you are unsure, try a higher/better amount to not skew the results too much
# resim for static mode gets its values from variables above (default_iterations_stage1,..)
# because target_error for dynamic mode has to be entered manually normally, you can set it here
# most probably you will enter here the value represented by auto_dynamic_stage1_target_error_table
auto_dynamic_stage1_target_error_value = 0.9