このツールについての注意
- あくまで実験的に作ってみたものであって、積極的に機能追加・サポートするつもりは現時点ではあまりなかったりします。
- 錬金ルーレットの色の変更等に対応していません。
- おそらく、そのままでは動かないので、これらを自分で解決できる人だけ手を出すようにしてください。


| テーブルの種類 | D (大成功) | S (成功) | F (失敗) | P (パルプンテ) |
|---|---|---|---|---|
| "normal" (通常時: デフォルト) | 1.01 | 1.00 | 0.00 | 0.99 |
| "no-parupunte" (なるべくパルプンテを除外) | 1.01 | 1.00 | 0.00 | 0.01 |
| "parupunte" (パルプンテ狙い) | 0.011 | 0.01 | 0.00 | 1.00 |
> C:\Python27\python.exe dqxalchemy.py -hとでも打ち込んで、このスクリプトのヘルプメッセージ(下記参照)が出ることを確認してください。
> C:\Python27\python.exe dqxalchemy.py <錬金ルーレット画面をキャプチャした画像のファイル名>とでも打ち込めば、上記のような画像ファイルが生成されます。
-dオプション)> C:\Python27\python.exe dqxalchemy.py <キャプチャ画像ファイル名> -d
-pオプション)> C:\Python27\python.exe dqxalchemy.py <キャプチャ画像の保存先ディレクトリ\*.bmp> -p
-tオプション)> C:\Python27\python.exe dqxalchemy.py <キャプチャ画像ファイル名> -t no-parupunte
--score-d, --score-s, --score-pオプション)> C:\Python27\python.exe dqxalchemy.py <キャプチャ画像ファイル名> --score-d=1.01 --score-s=1.00 --score-p=0.2
-sオプション)> C:\Python27\python.exe dqxalchemy.py <キャプチャ画像ファイル名> -s D:1.01,S:1.0,P:0.2
コマンドラインオプションは以下のとおりです。分かりづらいと思いますが、ご参考まで。
Usage: dqxalchemy.py [options] in-file [out-file]
Options:
-h, --help show this help message and exit
User interface:
-d, --display display the outputed image in a popup window (default:
False)
-p, --periodic-scan
scan newer image file periodically, and analyze and
display the newest one (in-file name is interpretted
as a glob -- "*.png") (default: False)
-w WINDOW, --window=WINDOW
a rectangle of output window (ex. 640x360 or
640x360+100+100) (default: 960x540)
Score table:
Score tables can be chosen from the followings: no-parupunte,
parupunte, normal
-t TABLE_NAME, --score-table=TABLE_NAME
the name of a built-in score table (default: normal)
Score value:
Specified values for score table are only enabled when all the
SCORE_D, SCORE_S, and SCORE_P are specified.
-s SCORES, --scores=SCORES
a string that describes score values (ex.
D:1.01,S:1.0,F:0.0,P:0.99)
--score-d=SCORE_D score value of dramatic success
--score-s=SCORE_S score value of normal success
--score-p=SCORE_P score value of Parupunte
--score-f=SCORE_F score value of failure (default: 0.0)
Ellipse on the roulette:
Those options define the coodinate of the ellipse on the roulette for
color picking. If -e is specified, the other options will be ignored.
-e ELLIPSE, --ellipse=ELLIPSE
bounding rectangle of the ellipse (ex.
250x250+835+316)
-c CENTER, --center=CENTER
center of the ellipse (ex. 111,111)
-a ASPECT, --aspect=ASPECT
aspect ratio of the ellipse (as a float value --
width/height)
-r RADIUS, --radius=RADIUS
horizontal radius of the ellipse