Skip to main content

No project description provided

Project description

rwmapeditor-exgcdwu

一个铁锈战争 (Rusted Warfare) 地图编辑 python 库

released version

目标

python实现铁锈地图文件地块编辑和宾语编辑。

重点减轻城市争夺地图的宾语编辑工作量。

基本框架已完成。

地块组框架已完成。

宾语组框架已完成。

宾语自动化命令行系统正在添加。

许多其他命令均在command/文件夹。

宾语自动化命令行系统app正在开发。

安装

电脑

建议安装vscode,请自行搜索如何在vscode上使用python并下载python包。然后使用

pip install rwmapeditor-exgcdwu

来安装包,开始使用。

手机termux

还可以使用Termux来在手机上操作python和命令行。

github Termux

termux python环境及包下载(需要一段时间,保持网络畅通)(中间出现的提问选项,全部输入y再回车):

感谢kend在使用termux安装python包方面的帮助

每一条均需要顺序执行,开头不得出现空格。请尽量复制粘贴后执行。

pkg update -y
pkg install -y python
pkg install -y python-numpy
pkg install -y python-pillow
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple #(如果清华镜像不可以,换成别的镜像比如https://pypi.mirrors.ustc.edu.cn/simple 也行)
pip install asteval
pip install regex # 1.6.3新加入
pip install pybind11 # 1.8.0新加入
pip install imageio # 1.8.0新加入
pip install rwmapeditor-exgcdwu==1.8.0 --no-deps
termux-setup-storage

然后点同意获取读取存储权限

之后就可以使用termux使用objectgroupauto处理地图文件了。

如果想要更改版本,使用如下命令行。

pip uninstall -y rwmapeditor-exgcdwu
pip install rwmapeditor-exgcdwu==1.6.1 --no-deps #(新版本,大于等于1.6.1)

教程

简易使用教程

【python库的使用教程】

城夺地图代码

【正在开发的城夺地图和代码】

地块集和图片嵌入

【将地块集和图片嵌入地图,解决Tiled不能嵌入图片的问题。】

地块集自动化

【自动生成地块集】

地块自动化

【地块映射】

地块自动添加障碍

【自动添加周期地块】

地图放大

【地图放大】

宾语自动化引导教程

宾语自动化地图示例

宾语自动化地图示例自动化结果

宾语自动化参数说明

【一个结合Tiled或者notTiled共同使用的宾语生成器,使用命令行操作,基于该库开发】

宾语自动化app

【宾语自动化命令行已经可以图形化。感谢print("")的帮助。】

ID重排

【宾语ID重排,可以兼容自动化(或者说,宾语自动化开始就会检测,然后试图ID重排)】

其他

外部文件

本库使用了铁锈战争的默认地块集,存放在rwmap/other_data/maps/

文件中存在一些地块集模版,存放在rwmap/examples/template/,包括 notTiled的v3模板,来自Xs的若干城夺地块集。文件中的地图文件可能包括这些地块集。

使用kivy库生成app时使用了支持中文的字体库,存放在command/auto/_app/。字体链接

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rwmapeditor_exgcdwu-1.7.9.7.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rwmapeditor_exgcdwu-1.7.9.7-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file rwmapeditor_exgcdwu-1.7.9.7.tar.gz.

File metadata

  • Download URL: rwmapeditor_exgcdwu-1.7.9.7.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for rwmapeditor_exgcdwu-1.7.9.7.tar.gz
Algorithm Hash digest
SHA256 9ada7f7082470bddee359f491db0c7c9aeec8b81e088302039082bcd84518e84
MD5 d7128f50673c2f343585e3e94c877816
BLAKE2b-256 a3eab7d9fe47658c7c4b8e93bdba161c9db2be366ef9359fc2b8a3b11cdb33ad

See more details on using hashes here.

File details

Details for the file rwmapeditor_exgcdwu-1.7.9.7-py3-none-any.whl.

File metadata

File hashes

Hashes for rwmapeditor_exgcdwu-1.7.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c30d4fc652ee230f2f6175160f73f3f078cbfdc6484fb34628ee3318de492c82
MD5 65a7426095d876a088a0ebd93dfe1d75
BLAKE2b-256 4ba77d193306eb7d2bc8e2fe7dbac9dba0a8e52e6ed3d6f13031135a336f1796

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page