Closed alampole closed 2 years ago
Awesome work! Will check it out later today when I get off work!
All changes seemed pretty good, the current_directory was outside the main function in case down the line something else needed to access it, but we can move it back if we ever need to, I think putting in the main was a good idea. I will be adding some slight improvements tonight.
Made this update to be able to generically add new automations for different maps, difficulties, etc.
This works by each set of instructions have its own folder, then have the instructions.csv and a setup.txt which allows us to select the appropriate hero, the map, difficulty, and game mode.
Behind the scenes once all the data is loaded, the code remains unchanged. The biggest code changes here are the addition of more data for button positions (Still using 1440p}.
The running process was made slightly more difficult with this iteration, needing now a path to the file. The base of the path is found within code, so we only needs what's after the base path of the main.py. (If this explanation is somewhat confusing, looking at the provided Run.bat should clear things up)