Skip to content

Commit

Permalink
Compatibility and performance boost
Browse files Browse the repository at this point in the history
Compatibility and performance boost
  • Loading branch information
brainiac19 committed Sep 19, 2021
1 parent b02042d commit 65a9a09
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 145 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ And of course you can make it more automated. I'm just too lazy to do it.

It doesn't take too beefy of a PC to run, but if you can't stay at 60 FPS while running this, consider changing the *update_sleep_time* value in config.json, but keep it under 0.2. And if it's still laggy, or losing control sometimes, then prob better just fish it yourself.

## Update 0.0.2
Globalization support. No need to configure language now.
**Substitute templates from the release with the ones in the repo to avoid losing control in some cases**

## Update v0.0.3
Fixed some unstable occasions.

Better compatibility, with lower spec PC, with high resolution monitors, etc.

Pretty significant performence boost. For my 1k monitor laptop with GTX 1060, refresh rate has increased from 20 fps to 60 fps. Higher the resolution, more obvious the effect. If target tension zone indicator displacement happens a lot, try bringing *lower_resolution_ratio* down, minimum 0.

Added tension indicator visual feedback option.

Added clear console on every update option.

Added some debug options.

## Update v0.0.2
Globalization support. No need to configure language now.
38 changes: 30 additions & 8 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
{
"update_sleep_time": 0,
"standby_sleep_time": 0.3,
"wait_for_bite_sleep_time": 0,
"wait_for_progress_bar_time":0.75,
"lower_resolution_ratio": 1,
"wait_for_bite_timeout": 1.2,
"debug_mode": false,
"output_delta_time": false,
"print_delta_time": false,
"average_refresh_rate": true,
"clear_screen": true,
"visualize": true,
"registry_path": "SOFTWARE\\miHoYo\\Genshin Impact",
"templates_source_resolution": [1920,1080],
"lowest_resolution_allowed": [800,600],
"window_caption_height": 31,
"window_margin": 2,
"update_sleep_time": 0,
"standby_sleep_time": 0.5,
"window_margin": 1,
"progress_bar_expand_relative": [5,5],
"core_icon_expand_relative": [50,22],


"color_threshold":
{
"progress_indicator_bright_yellow": [[160,225,225],[210,255,255]],
"progress_bar_bright_green": [[190, 240, 60],[215, 255, 85]],
"progress_bar_dark_green": [[75, 100, 35],[105, 130, 60]]
"progress_indicator_bright_yellow": [[160,225,225],[200,255,255]],
"progress_bar_bright_green": [[100, 150, 0],[215, 255, 85]],
"progress_bar_dark_green": [[70, 90, 30],[100, 160, 150]]
},

"templates_path":
Expand All @@ -35,7 +46,12 @@
"arrow_R_threshold": 0.4,
"cursor_threshold": 0.4
},

"arrow_cursor_overlap_threshold":
{
"arrow_L_overlap": 0.8,
"arrow_R_overlap": 0.8,
"cursor_clear": 0.8
},
"title_in_languages":
{
"en": "Genshin Impact",
Expand All @@ -56,6 +72,12 @@
{
"game_screenshot_path": "debug/game_screenshot.png",
"polarized_progress_bar_image_path": "debug/polarized_progress_bar.png"
},
"debug_save_pic_threshold":
{
"arrow_L_low_threshold": 0.5,
"arrow_R_low_threshold": 0.5,
"cursor_low_threshold": 0.5
}

}
Loading

0 comments on commit 65a9a09

Please sign in to comment.