All Projects → Aloxaf → MirageTankGo

Aloxaf / MirageTankGo

Licence: GPL-3.0 license
幻影坦克(特指点开后不一样的图片)快速发车工具

Programming Languages

python
139335 projects - #7 most used programming language
tcl
693 projects

幻影坦克快速发车工具(带图形界面)

简介

"幻影坦克", 是对指点开后不一样的图片的戏称. 实际上就是在黑底和白底下的显示不一样的图片. 常用于老司机发车.

本工具可以让您无论在Linux还是在Windows下都能快速发车

原理

幻影坦克架构指南(一)

幻影坦克架构指南(三)

棋盘格与幻影坦克

用法

Usage:
    MirageTankGo.py --gui
    MirageTankGo.py -h
    MirageTankGo.py -o <outputfile> <blackImg> <whiteImg>
                    [-s <whiteScale> <blackScale>]
                    [-l <whiteLit> <blackLit>]
                    [-e | -c <whiteCol> <blackCol>]
    MirageTankGo.py -v

Options:
    --gui                以GUI模式启动(需要tkinter支持, Win下自带)
    -h, --help           显示本帮助
    -o                   输出文件(png格式)
    -s                   缩放比例
    -l                   黑底和白底的亮度, 取值0~1.
    -e                   使用棋盘格(仅限灰度车)
    -c                   彩色车的黑底白底色彩保留比例, 取值0~1
    -v, --version        显示版本号

Examples:
    python MirageTankGo.py -o remu.png black.jpg white.jpg -s 1 1 -l 1 0.18 -c 0.5 0.7

示例

白底图

黑底图

合成图

(在白色背景和黑色背景下的样子不同, 建议使用手机QQ发送以查看效果)

GUI截图

依赖

  • python3
  • docopt
  • Pillow
  • numpy
  • tkinter (可选, windows下自带)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].