Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiazengp committed Oct 19, 2023
1 parent e9c6ea5 commit 1d51902
Show file tree
Hide file tree
Showing 9 changed files with 168 additions and 183 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
with:
repository: kongying-tavern/docs

- uses: actions/setup-node@v3
- name: Cache pnpm modules
uses: actions/cache@v2
with:
node-version: '18'
cache: pnpm
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install dependencies
uses: pnpm/action-setup@v2
Expand Down
6 changes: 3 additions & 3 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export default {
onMounted(() => {
initZoom()

const font = new FontFace('zh-cn-full', 'url(./fonts/zh-cn-full.ttf)', {
display: 'swap',
})
// const font = new FontFace('zh-cn-full', 'url(./fonts/zh-cn-full.ttf)', {
// display: 'swap',
// })

// document.fonts.add(font)
// font.load().then((e) => {
Expand Down
4 changes: 0 additions & 4 deletions .vitepress/theme/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ html {
--at-apply: outline-1 outline-primary ring-2 ring-primary;
}

.VPSidebar {
z-index: 2 !important;
}

.VPSidebar::-webkit-scrollbar {
background: transparent;
height: 8px;
Expand Down
21 changes: 10 additions & 11 deletions .vitepress/theme/styles/vars.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

/* @font-face {
font-family: zh-cn-min;
src: url('https:///assets.yuanshen.site/fonts/zh-cn-min.woff');
} */
@font-face {
font-family: zh-cn-full;
src: url('/fonts/zh-cn-full.ttf');
}

/**
* Colors
Expand All @@ -13,9 +12,9 @@
--vp-c-indigo-2: #3aa374;
--vp-c-indigo-3: #008858;
--vp-c-indigo-soft: rgba(0, 108, 69 0.16);
--vp-font-family-base: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui, 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif;
--vp-font-family-base: 'zh-cn-full', -apple-system, BlinkMacSystemFont,
'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui,
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
--vp-c-accent: #35495e;
--vp-c-brand: #44bd87;
--vp-c-text-code: #476582;
Expand All @@ -34,9 +33,9 @@
}

.font-full {
--vp-font-family-base: zh-cn-full, zh-cn-min, -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui, 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif;
--vp-font-family-base: zh-cn-full, zh-cn-min, -apple-system,
BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto,
'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}

.dark {
Expand Down
2 changes: 1 addition & 1 deletion src/join.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ description: 加入我们
3. 负责位置追踪插件的Rust语言重写
4. 负责位置追踪插件的更新服务器维护

以上职责满足其一即可
以上职责满足其一即可

### 要求

Expand Down
66 changes: 36 additions & 30 deletions src/manual/guide/auto-tracking/importantnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ description: This feature is based on image recognition

## 使用说明

* 在开启位置追踪后,《空荧酒馆》会实时获取游戏中玩家的位置,并在地图中显示小箭头,帮助玩家拖动地图并显示自己的位置,以方便玩家更快的找到需要标记的点位。

- 在开启位置追踪后,《空荧酒馆》会实时获取游戏中玩家的位置,并在地图中显示小箭头,帮助玩家拖动地图并显示自己的位置,以方便玩家更快的找到需要标记的点位。

## 特性 {#capabilities}

Expand Down Expand Up @@ -48,7 +47,7 @@ description: This feature is based on image recognition
## 支持的程序 {#Software}

- Windows10/11 下的原神Unity客户端
- 【已不再支持】云原神(*云原神有反录屏,无法获取到截图*
- 【已不再支持】云原神(_云原神有反录屏,无法获取到截图_

---

Expand Down Expand Up @@ -79,32 +78,40 @@ description: This feature is based on image recognition
2. 图像识别的准确度并不高,可能会出现抖动,延迟这个属于图像识别本身的缺陷,无法完全解决
3. 在反馈之前,请确定程序和画面设置没有问题
4. 在反馈问题前,请确保了解位置追踪产生的日志文件,以方便为开发组排查问题:

**追踪日志:**
```
<地图安装目录>/AutoTrack.log
```
可用记事本打开的文本文件(建议使用第三方文本编辑器,如 notepad3,vscode)

**追踪截图:**
```
<地图安装目录>/capture.png
```
png 图像,用来排查 UI 定位的问题。因为带有 Alpha 通道,所以可能会有很大的色差,用 PS 打开或者粘贴到 QQ 上既可正常显示游戏画面

**定位缓存:**
```
<地图安装目录>/cvAutoTrack.xml
```
后缀为xml,实际上是二进制文件,用于对匹配加速

如果坐标不准确或者新地图无法追踪,可以尝试删除,会重新生成

**崩溃镜像:**
```
<地图安装目录>/cvAutoTrack-[时间].dmp
```
位置追踪崩溃后自动生成的文件,如果近期没有出现崩溃的问题,可以删除

**追踪日志:**

```
<地图安装目录>/AutoTrack.log
```

可用记事本打开的文本文件(建议使用第三方文本编辑器,如 notepad3,vscode)

**追踪截图:**

```
<地图安装目录>/capture.png
```

png 图像,用来排查 UI 定位的问题。因为带有 Alpha 通道,所以可能会有很大的色差,用 PS 打开或者粘贴到 QQ 上既可正常显示游戏画面

**定位缓存:**

```
<地图安装目录>/cvAutoTrack.xml
```

后缀为xml,实际上是二进制文件,用于对匹配加速

如果坐标不准确或者新地图无法追踪,可以尝试删除,会重新生成

**崩溃镜像:**

```
<地图安装目录>/cvAutoTrack-[时间].dmp
```

位置追踪崩溃后自动生成的文件,如果近期没有出现崩溃的问题,可以删除

**【注意】:如果反馈群要求发送追踪截图,请不要使用截图,拍屏或者用 qq 的发送图片功能,必须要以文件的方式发送图像。可以将追踪截图的文件直接拖到聊天框来发送文件。**

Expand All @@ -117,4 +124,3 @@ description: This feature is based on image recognition
仓库地址:https://github.com/GengGode/cvAutoTrack

位置追踪基于 **C++和OpenCV** 技术栈,如果你想参与到**空荧酒馆原神地图**位置追踪模块的开发,可以[点击这里](https://qm.qq.com/cgi-bin/qm/qr?k=wXbtoDmXCjlR8iJ-3lRwdNIOWio3quit&jump_from=webapi&authKey=aS/Be7vKSbcu/6zrmYVlpF6DsSnkHVMGT6Arn+RU+IiJf8ItKIFEXnVvfFmOL9We)加入到开发组。或者自行fork修改

Loading

0 comments on commit 1d51902

Please sign in to comment.