- This code is for Windows PC.
- 只支持Windows系统。
- Copy
opr.exe
,windowspy.exe
,coor.txt
,coor_real.txt
,dup.png
,star.png
andtemplate
folder in root folder to a new directory.
- 把根目录的
opr.exe
,windowspy.exe
,coor.txt
,coor_real.txt
,dup.png
,star.png
以及template
文件夹复制到新的一个文件夹里。
- In your own OPR Portal Analysis page, screen shot one of the star and Mark as duplicate button. After screen shot, use Windows pre-installed software Paint or any software you like to cut out the black edge of them. Make sure your outcome is similar to the provided
dup.png
andstar.png
. Then save them asstar.png
&dup.png
and replace the existing one.
- 打开你的OPR能量塔分析页面,截单个星星和Mark as duplicate按钮的图。然后参考已经有的
star.png
和dup.png
图,用windows自带的画图或者PS把图片的黑边裁剪掉。
- You can check out the
template
folder, and find whether there is a resolution similar to yours. If there is one, copy it out and rename & cover the existingcoor_real.txt
. Openopr.exe
, enable function byCtrl+Shift+o
, try some rating function to checkout the basic mechanism in Control. (This step may not working since you may need your owncoor_real.txt
. If any warning happens, just ignore this step. Or it works totally fine, you can skip following step)
- 在
template
文件夹寻找有没有和你的屏幕一样的分辨率,有的话把对应的txt
复制出来改成并覆盖掉原有的coor_real.txt
,打开opr.exe
,按Ctrl+Shift+o
来初始化程序,然后按照 Control 来进行打分操作。如果一切良好,恭喜你,此教程结束。如果没有对应txt
或者打分失败,请进行下一步。
- Open the
coor_real.txt
andwindowspy.exe
, use thewindowspy.exe
to make your owncoor_real.txt
according to Setting.
- 打开
coor_real.txt
和windowspy.exe
,根据Setting用windowspy.exe
来自定义你的coor_real.txt
。
- Once you made your own coordinate
coor_real.txt
, make a copy of the it (save it to the template directory).
- 当你有了你自己的
coor_real.txt
时,保存一份到template
文件夹(推荐在本repository的issue里面发给作者加到本repository里)。
- Open
opr.exe
and enable function byCtrl+Shift+o
, then you can start your OPR.
- 打开
opr.exe
,按Ctrl+Shift+o
来初始化程序,然后按照 Control 来进行打分操作。
Ctrl+Shift+o
: set up the coordinate (automatically generate thecoor.txt
), and enable or disable the whole function 初始化坐标,以及功能开关Ctrl+Shift+p
: User manual and current state 程序是否被使能z
: 1 stara
: duplicate (left click on the duplicated picture by yourself) 标重,需要先点击相应的图片x
: 2 star (not very good) 不咋样s
: 2 star (ordinary and bad location) 凑合,位置完全没谱c
: 3 star (overall not very good and not very bad) 凑合d
: 3 star (very good but not correct location by street view) 不错,就是位置没谱v
: 4 star (good but not perfect) 还行f
: 4 star (very good but indoor position) 不错,就是因为室内位置拿不准b
: 5 star (very good with visual 5* culture 4* position 4*) 因为好看5星g
: 5 star (very good with visual 4* culture 5* position 4*) 因为历史5星t
: 5 star (perfect with visual 5* culture 5* position 5*) 全5星Space
: submit 提交(以上打分除一星和标重都需要点提交)esc
: stop the script 退出程序
(number based on my personal setup)
All in pixel, all coordinate in Relative mode. "center" is just for the place to click, may not be exactly center of the star or button.
全部为像素值,windowspy.exe
的Relative mode
,中心是指点击的位置,不需要是正中心。
30
:star.png
widthstar.png
图片的宽26
:star.png
heightstar.png
图片的宽40
: Distance between center of two adjacent star 两个相邻星星在opr页面的正中心的距离(真正的正中心,或者两个的最左边也可以)980
: X coordinate for center of "Submit" button (coordinate when scrollbar at the bottom) 把滚轮拉倒最下面时,提交
按钮的中心X坐标880
: Y coordinate for center of "Submit" button (coordinate when scrollbar at the bottom) 把滚轮拉倒最下面时,提交
按钮的中心Y坐标1000
: X coordinate for center of "Analyze Next" button (also for "submit" button around the same place) 弹出的下一个
按钮的中心X坐标,也是另一个提交
的位置300
: Y coordinate for center of "Analyze Next" button (also for "submit" button around the same place) 弹出的下一个
按钮的中心Y坐标,也是另一个提交
的位置1445
: X coordinate for center of 5 star of "Is the title accurate?"标题起的精确吗?
第五颗星的中心X坐标170
: Y coordinate for center of 5 star of "Is the title accurate?"标题起的精确吗?
第五颗星的中心Y坐标220
: Y coordinate for center of 5 star of "Is it historically or culturally significant?"具有历史或文化特殊意义吗?
第五颗星的中心Y坐标280
: Y coordinate for center of 5 star of "Is it visually unique?"视觉上独一无二吗?
第五颗星的中心Y坐标760
: X coordinate for center of 5 star of "Is the location accurate?" (coordinate when scrollbar at the bottom) 把滚轮拉倒最下面时,位置精确吗?
第五颗星的中心X坐标670
: Y coordinate for center of 5 star of "Is the location accurate?" (coordinate when scrollbar at the bottom) 把滚轮拉倒最下面时,位置精确吗?
第五颗星的中心Y坐标755
: Y coordinate for center of 5 star of "Can it be safely accessed?" (coordinate when scrollbar at the bottom) 把滚轮拉倒最下面时,可以安全抵达吗?
第五颗星的中心Y坐标640
: X coordinate for upper left point for searching "Should this be a portal?" 5 star (check the figure below) 参考下图,搜索这可以作为能量塔吗?
的左上角X坐标260
: Y coordinate for upper left point for searching "Should this be a portal?" 5 star 搜索这可以作为能量塔吗?
的左上角Y坐标690
: X coordinate for lower right point for searching "Should this be a portal?" 5 star 搜索这可以作为能量塔吗?
的右下角X坐标640
: Y coordinate for lower right point for searching "Should this be a portal?" 5 star 搜索这可以作为能量塔吗?
的右下角Y坐标970
: X coordinate for upper left point for searching "Mark as duplicate." (check the figure below) 参考下图,搜索Mark as duplicate.
的左上角X坐标500
: Y coordinate for upper left point for searching "Mark as duplicate." 搜索Mark as duplicate.
的左上角Y坐标1575
: X coordinate for lower right point for searching "Mark as duplicate." 搜索Mark as duplicate.
的右下角X坐标900
: Y coordinate for lower right point for searching "Mark as duplicate." 搜索Mark as duplicate.
的右下角Y坐标
The searching box is not very strict as long as it include the image used to search regardless the changing of the image height. Make sure that star searching box does not contain the #4 star. 这个搜索框要保证包括你截的图,不建议太大,类似下图即可,搜索星星的要保证不包括第四颗星星。