mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-10-03 22:07:09 +02:00
update wild
This commit is contained in:
parent
0d04e41aa1
commit
97505655f7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"SysDVR": true,
|
||||
"image": "./trainer/cave/eye.png",
|
||||
"view": [620, 340, 20, 20],
|
||||
"view": [610, 330, 30, 30],
|
||||
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
|
||||
}
|
6
config_unown.json
Normal file
6
config_unown.json
Normal 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
6
config_wild.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"SysDVR": true,
|
||||
"image": "./trainer/ruins/eye.png",
|
||||
"view": [610, 330, 30, 30],
|
||||
"reidentify": ""
|
||||
}
|
@ -4,7 +4,7 @@ import time
|
||||
import json
|
||||
from xorshift import Xorshift
|
||||
|
||||
config = json.load(open("config_cave.json"))
|
||||
config = json.load(open("config_wild.json"))
|
||||
|
||||
def expr():
|
||||
player_eye = cv2.imread(config["image"], cv2.IMREAD_GRAYSCALE)
|
||||
@ -70,9 +70,7 @@ def reidentify():
|
||||
time.sleep(next_time)
|
||||
|
||||
if __name__ == "__main__":
|
||||
# inp = input("Find State or Reidentify? (S/R): ")
|
||||
inp = "R"
|
||||
if inp == "R":
|
||||
if config["reidentify"] != "":
|
||||
reidentify()
|
||||
else:
|
||||
expr()
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 577 B |
Loading…
Reference in New Issue
Block a user