docs: 更新其他文档 更新部分翻译

This commit is contained in:
Rbqwow
2024-07-31 17:45:34 +08:00
parent 9438140794
commit e6ba0c2b7d
3 changed files with 51 additions and 17 deletions

View File

@@ -23,17 +23,17 @@ This page is outdated and maybe still in Simplified Chinese. Translation is need
::: details Example
| Use Sanity Potion | Use Originium | Perform Battles | Material | Result |
| :------: | :----: | :------: | :------: | -------------------------------------------------------------------------------------------------------------------------------------- |
| | | | | 刷完现有理智即结束。 |
| 2 | | | | 先刷完现有理智,然后吃一次理智药,一共吃 `2` 次,刷完理智后结束。 |
| _999_ | 2 | | | 先刷完现有理智,并吃光理智药后,再碎石,一共碎 `2` 次,刷完理智后结束。 |
| | | 2 | | `2` 次选择的关卡即结束。 |
| | | | 2 | 掉落统计刷到 `2` 个指定的材料即结束。 |
| 2 | | 4 | | 在最多吃 `2` 次理智药的情况下,刷 `4` 次选择的关卡即结束。 |
| 2 | | | 4 | 在最多吃 `2` 次理智药的情况下,掉落统计刷到 `4` 个指定的材料即结束。 |
| 2 | | 4 | 8 | 在最多吃 `2` 次理智药的情况下,刷 `4` 次选择的关卡即结束。但如果在没刷完 `4` 次之前就获得了 `8` 个指定材料,则会提前结束。 |
| _999_ | 4 | 8 | 16 | 在最多吃光理智药并碎 `4` 次石头的情况下,刷 `8` 次选择的关卡即结束。但如果在没刷完 `8` 次之前就获得了 `16` 个指定材料,则会提前结束。 |
| | 2 | | | 先刷完现有理智,如果仓库中有理智药则结束,如果没有理智药则碎 `2` 次石刷完理智后结束。_非 MAA GUI 行为_ |
| 2 | 4 | | | 先刷完现有理智,如果吃完 `2` 次理智药后还有理智药,则结束;如果吃完 ≤`2` 次理智药后没有理智药了,则继续碎 `4` 次石头刷完理智后结束。_非 MAA GUI 行为_ |
| | | | | Ends after using up the existing Sanity. |
| 2 | | | | Uses up the existing Sanity first, then consumes a Sanity Potion once, totaling `2` times. Ends after using up the Sanity. |
| _999_ | 2 | | | Uses up the existing Sanity and all Sanity Potions, then uses Originium, totaling `2` times. Ends after using up the Sanity. |
| | | 2 | | Ends after performing the selected stage `2` times. |
| | | | 2 | Ends after farming and obtaining `2` of the specified materials. |
| 2 | | 4 | | Ends after performing the selected stage `4` times, using up to `2` Sanity Potions. |
| 2 | | | 4 | Ends after farming and obtaining `4` of the specified materials, using up to `2` Sanity Potions. |
| 2 | | 4 | 8 | Ends after performing the selected stage `4` times, using up to `2` Sanity Potions. However, if `8` of the specified materials are obtained before completing `4` times, it will end early. |
| _999_ | 4 | 8 | 16 | Ends after performing the selected stage `8` times, using up all Sanity Potions and `4` Originium. However, if `16` of the specified materials are obtained before completing `8` times, it will end early. |
| | 2 | | | Uses up the existing Sanity first. If there are Sanity Potions in storage, it ends; if there are no Sanity Potions, it uses `2` Originium and ends after using up the Sanity. _Not a MAA GUI behavior_ |
| 2 | 4 | | | Uses up the existing Sanity first. If after consuming `2` Sanity Potions there are still Sanity Potions left, it ends; if there are no Sanity Potions after consuming ≤`2` Sanity Potions, it continues to use `4` Originium and ends after using up the Sanity. _Not a MAA GUI behavior_ |
:::

View File

@@ -8,11 +8,27 @@ order: 11
This page is outdated and maybe still in Simplified Chinese. Translation is needed.
:::
## GPU-accelerated inference
Use DirectML to call the GPU for recognition and inference acceleration.<sup>[PR](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/9236)</sup>It can reduce a significant amount of CPU usage with minimal GPU usage, and it's recommended to enable it.
Testing has shown that some graphics cards may encounter recognition issues when using this feature due to lacking certain functions or having lower performance. MAA has already built-in a blacklist for some GPUs.<sup>[PR](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/9990)</sup>If graphics cards not on the list also encounter recognition issues after enabling this feature, please submit an issue.
## Only Once
Configuration changes in the main interface and settings are usually saved automatically, but the following types will reset after MAA is restarted.
- Options marked with a `*`
- Options marked with `(Only Once)`
- Semi-selected switches obtained by right-clicking the checkbox
## Automatically switch configurations on startup
MAA 支持通过启动参数自动切换配置,在 MAA 进程名后附加 `--config <配置名>` 即可。例子:`./MAA/MAA.exe --config 官服`
MAA supports automatic configuration switching through launch parameters by appending `--config <configuration name>` after the MAA process name.
Example: `./MAA/MAA.exe --config Official`.
部分符号需要转义,参考 Json。例子在配置名为 `"官服"` 时,参数应为 `--config \"官服\"`
Some symbols need to be escaped, following Json conventions.
Example: when the configuration name is `"Official"`, the parameter should be `--config \"Official\"`.
## Pre/Post-Script
@@ -20,12 +36,14 @@ Starting from v4.13.0, it is possible to set pre/post-script that automatically
You need to provide the absolute or relative path to the batch file, which should have a `.bat` extension.
## Configuration Migration
In the Windows version, all MAA configurations are stored in the `gui.json` file within the `config` folder. Migrating this folder will transfer all MAA settings.
## Note
- Tasks order can be changed on the UI. So can the shifting order in the infrastructure.
- Almost all configuration changes will be saved automatically, except for options with `*`, `(only once)` and half-select by right-clicking on the checkbox.
- All clicking event is randomized within a region, following Poisson distribution (higher probability at the center, lower probability around).
- Developed in C++, the core algorithm supports multi-level cache, in order to reduce CPU and memory usage as much as possible.
- Our software supports auto-update ✿✿ ヽ(°▽°) ✿ Beta-testers can try beta versions, which updates faster and less buggy (maybe).
- If auto-update fails, you can download the OTA package manually and put the ZIP file under the same directory. The update will start automatically.
- 在 Windows 版本中MAA 目录下 `config` 文件夹中的 `gui.json` 记录了所有设置,如果下载了新的完整包可以将此文件夹复制到新的 MAA 目录下。

View File

@@ -4,6 +4,20 @@ order: 11
# 其他
## GPU 加速推理
使用 DirectML 调用 GPU 进行识别推理加速<sup>[PR](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/9236)</sup>,可通过少量的 GPU 占用降低大量的 CPU 占用,推荐启用。
经测试部分显卡因缺少功能或性能较低在使用本功能时会出现识别问题。MAA 已内置了部分 GPU 黑名单<sup>[PR](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/9990)</sup>,若列表外的显卡在启用本功能后也出现识别问题,请发 Issue。
## 仅一次
主界面和设置中的配置更改通常会自动保存,但以下几种会在 MAA 重启后重置。
- 标有 `*` 号的选项
- 标有 `(仅一次)` 的选项
- 通过右键单击复选框得到的半选开关
## 启动时自动切换配置
MAA 支持通过启动参数自动切换配置,在 MAA 进程名后附加 `--config <配置名>` 即可。例子:`./MAA/MAA.exe --config 官服`
@@ -14,12 +28,14 @@ MAA 支持通过启动参数自动切换配置,在 MAA 进程名后附加 `--c
v4.13.0 后支持设置开始前/结束后脚本,可在任务前后自动执行批处理文件。输入框内需填写批处理文件即 `*.bat` 的绝对或相对路径。
## 配置迁移
在 Windows 版本中MAA 的所有配置都存放在 `config` 文件夹中的 `gui.json` 里。迁移此文件夹即可迁移 MAA 的所有设置。
## 其他说明
- 首页左侧任务可以拖动改变顺序,基建换班设置中设施顺序同理。
- 主界面和设置中的配置更改通常会自动保存,标有 `*` 号或 `(仅一次)` 的选项,以及通过右键单击复选框得到的半选开关都会在 MAA 重启后重置。
- 所有点击操作,都是点击按钮内随机位置,并模拟泊松分布(按钮中心的点击概率最高,距离中心越远,点击概率越低)。
- 底层算法纯 C++ 开发,并设计了多重缓存技术,最大限度降低 CPU 和内存占用。
- 软件支持自动更新 ✿✿ ヽ(°▽°) ✿ ,推荐非杠精的同学使用公测版,一般来说更新快且 bug 少。(什么 MIUI (╯‵□′)╯︵┻━┻
- 如果新版本自动下载失败,可手动下载 OTA 压缩包后直接放到 MAA 目录下,会自动更新的。
- 在 Windows 版本中MAA 目录下 `config` 文件夹中的 `gui.json` 记录了所有设置,如果下载了新的完整包可以将此文件夹复制到新的 MAA 目录下。