Closed jallubaba closed 4 years ago
Hmm - you could try setting show_debug_window
to true? That will show you what the script is seeing - confirm that the script is masking off the map area correctly, and that it's actually processing your HLL screen.
If you can, please attach screenshots of what is shown on the debug window when your game is running and map is open.
Hmm - you could try setting
show_debug_window
to true? That will show you what the script is seeing - confirm that the script is masking off the map area correctly, and that it's actually processing your HLL screen.If you can, please attach screenshots of what is shown on the debug window when your game is running and map is open.
Nothing really changes on the Debug when the map is visible or hidden. The game was readded in OBS after the last log. Changed from 1200p to 1080p temporarily by the way, aspect ratio changed. (https://pastebin.com/FDi2S7B6)
Here's the mask for reference, redid this as I wasn't sure if the game's GUI was changed.
Thanks for the splendid script.
Added: The script seems to automatically switch to "HLL" scene, so there's something going on with the map detection/mask probably.
It was an user error, advanced scene switcher doesn't seem to disable itself even if switched off.
A new monitor had a different aspect ratio, therefore I had to redo profiles and scenes in OBS. Previously script worked fine. nVidia control panel shows changed monitor as "1", like the old monitor. Just to be sure I've redone the mask and hll_map_key_while_alive/dead_image files.
{ "monitor_to_capture": 1, "image_directory": "./hll_map_open_detection/image_files", "mask_file": "./hll_map_open_detection/mask.jpg", "default_scene_name": "HLL", "target_scene_name": "HLL-map", "num_features_to_detect": 500, "num_good_matches_required": 20, "show_debug_window": false }
From Bash: (https://pastebin.com/THz1BEzX)
Any idea whats going on?