update wild

This commit is contained in:
Lincoln-LM 2021-12-28 01:15:52 -07:00
parent 0d04e41aa1
commit 97505655f7
5 changed files with 15 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"SysDVR": true, "SysDVR": true,
"image": "./trainer/cave/eye.png", "image": "./trainer/cave/eye.png",
"view": [620, 340, 20, 20], "view": [610, 330, 30, 30],
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387" "reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
} }

6
config_unown.json Normal file
View File

@ -0,0 +1,6 @@
{
"SysDVR": true,
"image": "./trainer/cave/eye.png",
"view": [610, 330, 30, 30],
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
}

6
config_wild.json Normal file
View File

@ -0,0 +1,6 @@
{
"SysDVR": true,
"image": "./trainer/ruins/eye.png",
"view": [610, 330, 30, 30],
"reidentify": ""
}

View File

@ -4,7 +4,7 @@ import time
import json import json
from xorshift import Xorshift from xorshift import Xorshift
config = json.load(open("config_cave.json")) config = json.load(open("config_wild.json"))
def expr(): def expr():
player_eye = cv2.imread(config["image"], cv2.IMREAD_GRAYSCALE) player_eye = cv2.imread(config["image"], cv2.IMREAD_GRAYSCALE)
@ -70,9 +70,7 @@ def reidentify():
time.sleep(next_time) time.sleep(next_time)
if __name__ == "__main__": if __name__ == "__main__":
# inp = input("Find State or Reidentify? (S/R): ") if config["reidentify"] != "":
inp = "R"
if inp == "R":
reidentify() reidentify()
else: else:
expr() expr()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 577 B