pvztools 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pvztools-0.0.1/.gitignore +9 -0
- pvztools-0.0.1/LICENSE +21 -0
- pvztools-0.0.1/PKG-INFO +49 -0
- pvztools-0.0.1/README.md +29 -0
- pvztools-0.0.1/pyproject.toml +34 -0
- pvztools-0.0.1/src/pvztools/__init__.py +17 -0
pvztools-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Blue Rose
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pvztools-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: pvztools
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Plants vs. Zombies (PvZ1 & mods) automation framework: memory access with signature-based address discovery, track (轨道) DSL, lineup runner.
|
|
5
|
+
Project-URL: Homepage, https://github.com/BlueRoseMike/pvztools
|
|
6
|
+
Project-URL: Issues, https://github.com/BlueRoseMike/pvztools/issues
|
|
7
|
+
Author: Blue Rose
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: automation,memory,plants-vs-zombies,pvz,植物大战僵尸,轨道,键控
|
|
11
|
+
Classifier: Development Status :: 1 - Planning
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Games/Entertainment
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# pvztools
|
|
22
|
+
|
|
23
|
+
Plants vs. Zombies(PvZ1 及各类改版)自动化框架 / PvZ1 automation framework.
|
|
24
|
+
|
|
25
|
+
> **状态:0.0.1 为占名占坑版本,尚无可用 API。** 正式版本发布前请勿依赖本包。
|
|
26
|
+
|
|
27
|
+
## 目标
|
|
28
|
+
|
|
29
|
+
- **内存层**:附加游戏进程,通过特征码(AOB)扫描自适应定位基址(阳光、刷新倒计时、游戏时钟等),兼容原版多版本与各类改版。
|
|
30
|
+
- **轨道 DSL**:解析社区轨道语言(如 `P|I-P|P|I-P 601|1150|601|1150`、`IP-P|IP-P 1738|1738`),支持上下半场、过渡符、波长与起手/收尾特判。
|
|
31
|
+
- **执行器**:以游戏内部时钟(cs)为基准调度操作,而非墙钟延时。
|
|
32
|
+
- **阵容生成**:按场地、卡槽与节奏(ch4/ch5/ch6/P4…)生成并运行无尽阵容。
|
|
33
|
+
- **修改器**:可选、默认关闭的内存修改功能。
|
|
34
|
+
|
|
35
|
+
## 与现有工具的关系
|
|
36
|
+
|
|
37
|
+
本项目受 AsmVsZombies (AvZ)、lmintlcx/pvz、pvztoolkit 等启发,目标是提供一个 `pip install` 即用的 Python 框架。本包**不包含任何游戏文件**。
|
|
38
|
+
|
|
39
|
+
## 安装
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pip install pvztools
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
仅支持 Windows。
|
|
46
|
+
|
|
47
|
+
## 许可证
|
|
48
|
+
|
|
49
|
+
MIT
|
pvztools-0.0.1/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# pvztools
|
|
2
|
+
|
|
3
|
+
Plants vs. Zombies(PvZ1 及各类改版)自动化框架 / PvZ1 automation framework.
|
|
4
|
+
|
|
5
|
+
> **状态:0.0.1 为占名占坑版本,尚无可用 API。** 正式版本发布前请勿依赖本包。
|
|
6
|
+
|
|
7
|
+
## 目标
|
|
8
|
+
|
|
9
|
+
- **内存层**:附加游戏进程,通过特征码(AOB)扫描自适应定位基址(阳光、刷新倒计时、游戏时钟等),兼容原版多版本与各类改版。
|
|
10
|
+
- **轨道 DSL**:解析社区轨道语言(如 `P|I-P|P|I-P 601|1150|601|1150`、`IP-P|IP-P 1738|1738`),支持上下半场、过渡符、波长与起手/收尾特判。
|
|
11
|
+
- **执行器**:以游戏内部时钟(cs)为基准调度操作,而非墙钟延时。
|
|
12
|
+
- **阵容生成**:按场地、卡槽与节奏(ch4/ch5/ch6/P4…)生成并运行无尽阵容。
|
|
13
|
+
- **修改器**:可选、默认关闭的内存修改功能。
|
|
14
|
+
|
|
15
|
+
## 与现有工具的关系
|
|
16
|
+
|
|
17
|
+
本项目受 AsmVsZombies (AvZ)、lmintlcx/pvz、pvztoolkit 等启发,目标是提供一个 `pip install` 即用的 Python 框架。本包**不包含任何游戏文件**。
|
|
18
|
+
|
|
19
|
+
## 安装
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install pvztools
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
仅支持 Windows。
|
|
26
|
+
|
|
27
|
+
## 许可证
|
|
28
|
+
|
|
29
|
+
MIT
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.25"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pvztools"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Plants vs. Zombies (PvZ1 & mods) automation framework: memory access with signature-based address discovery, track (轨道) DSL, lineup runner."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
authors = [{ name = "Blue Rose" }]
|
|
14
|
+
keywords = ["pvz", "plants-vs-zombies", "植物大战僵尸", "轨道", "键控", "memory", "automation"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 1 - Planning",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Intended Audience :: End Users/Desktop",
|
|
19
|
+
"Operating System :: Microsoft :: Windows",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Topic :: Games/Entertainment",
|
|
23
|
+
]
|
|
24
|
+
dependencies = []
|
|
25
|
+
|
|
26
|
+
[project.urls]
|
|
27
|
+
Homepage = "https://github.com/BlueRoseMike/pvztools"
|
|
28
|
+
Issues = "https://github.com/BlueRoseMike/pvztools/issues"
|
|
29
|
+
|
|
30
|
+
[tool.hatch.build.targets.wheel]
|
|
31
|
+
packages = ["src/pvztools"]
|
|
32
|
+
|
|
33
|
+
[tool.hatch.build.targets.sdist]
|
|
34
|
+
include = ["src/pvztools", "README.md", "LICENSE", "pyproject.toml"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""pvztools — Plants vs. Zombies (PvZ1 & mods) automation framework.
|
|
2
|
+
|
|
3
|
+
Status: 0.0.1 is a name-reservation placeholder. The public API is not
|
|
4
|
+
defined yet. Planned layers:
|
|
5
|
+
|
|
6
|
+
- ``pvztools.memory`` process attach, signature (AOB) scan, version-adaptive addresses
|
|
7
|
+
- ``pvztools.game`` Board / Plant / Zombie / Seed / Wave / Clock object model
|
|
8
|
+
- ``pvztools.track`` 轨道 DSL parser (e.g. ``P|I-P|I-P 601|1500|1500``)
|
|
9
|
+
- ``pvztools.runner`` track executor bound to the in-game clock
|
|
10
|
+
- ``pvztools.lineup`` endless-mode lineup generation
|
|
11
|
+
- ``pvztools.cheats`` opt-in modifier (sun, cooldown, ...)
|
|
12
|
+
|
|
13
|
+
Windows only. Does not ship any game files.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
__version__ = "0.0.1"
|
|
17
|
+
__all__ = ["__version__"]
|