Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Translate README_zh.md #95

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Please for the love of god do not install GrassClipper into a path in OneDrive

# ! NOTICE !
# ! NOTICE

A new launcher is in the works that I am a large contributor to. Unfortunately this means I cannot maintain GrassClipper much - if at all - since I am busy on the new one. This is good news, however, because this new launcher is already much more stable and contains many additional features. If you are having too much trouble with GrassClipper, I recommend you wait until the new launcher.

# GrassClipper
EN | [PL](README_PL.md) | [ID](README_id.md)

EN | [PL](README_PL.md) | [ID](README_id.md) | [ZH](README_zh.md)

Experimental Grasscutter launcher for easily switching between Official and Private servers

Expand Down Expand Up @@ -71,6 +73,7 @@ Below are some scenarios you may encounter and their solutions.
# Manual Proxy Installation

If you having trouble installing the proxy server, you can also install it manually. To do so:

1. Create a folder if it does not exist named `ext` in the GrassClipper folder.
2. Download and extract the contents of [this file](https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip) into the `ext` folder
3. Double click `mitmdump.exe` and allow it to run for a few seconds to generate the certificate
Expand All @@ -89,9 +92,10 @@ If you have Chinese characters in your file path, this may crash it too! I am wo
You can also try running in Windows 8 compatitbility mode.

If all else fails, you can run GrassClipper in `chrome` or `browser` mode. To do so:

* Create a shortcut to `GrassClipper.exe`
* Right click the shortcut, click `properties`
* In the `Target` box, at the very end, add ` --mode=chrome` or ` --mode=browser`
* In the `Target` box, at the very end, add `--mode=chrome` or `--mode=browser`
* `chrome` only works if you have Chrome installed, and will create a Chrome window
* `brower` will, you guessed it, open GrassClipper in your default browser
* Click `Ok`
Expand All @@ -110,6 +114,7 @@ If you are still getting an error 502 when attempting to log in to your own serv
```json
"PublicPort": YOUR_PORT
```

where `YOUR_PORT` is the same port you use as the `Port` value already. This will probably be 443.

## Error 4206
Expand All @@ -120,19 +125,19 @@ Ensure you have the correct `keystore.p12` file that comes with your branch (`st

If you are getting infinite CMD windows for any of the scripts (such as the proxy installation, or private server start), ensure you have UAC (user access control) set to any option that requires asking. Ensure your user account can open things as Admin.

## My Discord is not letting me send messages or load images/My Youtube is acting strange!
## My Discord is not letting me send messages or load images/My Youtube is acting strange

Discord/YouTube (plus surely some others) does not seem to be a fan of the proxy server. You may need to disable it by either closing mitmdump or by disabling your proxy in the Windows proxy settings.

## I have no internet after closing everything/restarting my PC!
## I have no internet after closing everything/restarting my PC

The launcher most likely did not close correctly, and was unable to clean your proxy settings back to what they were. Disable your proxy in the Windows proxy settings.

# Available Languages and Translation Credits

Thank you to everyone who has provided translations! <3

* ZH - nuoxianCN, Scirese & MrAru
* ZH - nuoxianCN, Yang_qwq(README_zh.md), Scirese & MrAru
* ZH-TW - Kimi & KormiMeiko
* PT-BR - na.na & actuallyeunha
* VIE - labalityowo & lunaticwhat
Expand All @@ -157,5 +162,3 @@ Thank you to everyone who has provided translations! <3
![image](https://user-images.githubusercontent.com/25207995/164393118-de844e75-f9a2-491a-aea6-f2d563abecc7.png)
![image](https://user-images.githubusercontent.com/25207995/164882735-77aa535c-0e93-4b32-af7c-f8b59888257a.png)
![image](https://user-images.githubusercontent.com/25207995/164882716-c9f16cd0-c0b6-4c0a-ae9e-4c95da9ef7f5.png)


11 changes: 7 additions & 4 deletions README_PL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# GrassClipper
[EN](README.md) | PL | [ID](README_id.md)

[EN](README.md) | PL | [ID](README_id.md) | [ZH](README_zh.md)

Experymentalny launcher Grasscutter'a stworzony dla łatwego przełączania się pomiędzy serwerami oficjalnymi, a prywatnymi

Expand Down Expand Up @@ -67,6 +68,7 @@ Poniżej znajdują się najczęściej pojawiające się problemy oraz ich rozwi

Jeżeli napotkałeś problemy z automatyczną instalacją proxy, możesz zainstalować je ręcznie. <br>
W tym celu:

1. Jeżeli nie istnieje stwórz folder `ext` w folderze GrassClipper'a.
2. Pobierz i wypakuj zawartość [tego pliku](https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip) do folderu `ext`
3. Uruchom `mitmdump.exe` i poczekaj kilka chwil, żeby wygenerował certyfikat.
Expand All @@ -85,9 +87,10 @@ Jeżeli w twojej ścieżce do pliku występują chińskie symbole, to mogą one
Możesz spróbować uruchomić aplikacje w trybie zgodności z Windows'em 8

Jeżeli nic z tego nie pomoże, możesz uruchomić GrassClipper'a w trybie `chrome` lub `browser`. W tym celu:

* Stwórz skrót do `GrassClipper.exe`
* Kliknij na niego prawym przyciskiem, wybierz `Właściwości`
* W polu `Element docelowy`, na samym końcu, dodaj ` --mode=chrome` lub ` --mode=browser`
* W polu `Element docelowy`, na samym końcu, dodaj `--mode=chrome` lub `--mode=browser`
* `chrome` działa tylko wtedy gdy masz zainstalowanego Chrome'a, otworzy okienko Chrome'a
* `brower` otworzy GrassClippera w twojej domyślnej przeglądarce
* Kliknij `Ok`
Expand Down Expand Up @@ -119,15 +122,15 @@ Jeżeli jakikolwiek skrypt uruchamia nieskończoność okien CMD (np. instalator

Discord/Youtube (i na pewno pare innych) nie przepadają za serwerem proxy. Musisz go wyłączyć zamykając mitmdump, albo wyłączając proxy w ustawieniach Windowsa.

## Nie mam dostępu do internetu po zamknięciu wszystkiego/restarcie komputera!
## Nie mam dostępu do internetu po zamknięciu wszystkiego/restarcie komputera

Launcher najprawdopodobniej nie został poprawnie zamknięty, przez co nie był w stanie przywrócić oryginalnych ustawień proxy. Wyłącz proxy w ustawieniach Windows'a.

# Dostępne tłumaczenia oraz ich autorzy

Dziękujemy dla wszystkich, którzy pomagają w tłumaczeniu! <3

* ZH - nuoxianCN, Scirese & MrAru
* ZH - nuoxianCN, Yang_qwq(README_zh.md), Scirese & MrAru
* ZH-TW - Kimi & KormiMeiko
* PT-BR - na.na
* VIE - labalityowo
Expand Down
14 changes: 8 additions & 6 deletions README_id.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# GrassClipper
[EN](README.md) | [PL](README_PL.md) | ID

[EN](README.md) | [PL](README_PL.md) | ID | [ZH](README_zh.md)

Peluncur eksperimental Grasscutter untuk memudahkan penggantian antara server resmi (Official) dan server pribadi

Expand Down Expand Up @@ -66,6 +67,7 @@ Dibawah ini mungkin beberapa skenario yang kamu hadapi dan beserta solusinya.
# Pemasangan Manual Proxy

Jika kamu punya masalah saat memasang server proxy, kamu juga dapat memasangnya secara manual. Cara memasangnya:

1. Buat sebuah folder yang bernama `ext` di folder GrassClipper jika folder tersebut tidak ada.
2. Unduh dan ekstrak isi konten dari [file ini](https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip) ke dalam folder `ext`
3. Klik dua kali `mitmdump.exe` dan izinkan untuk menjalankan beberapa detik agar bisa membuat sertifikat
Expand All @@ -84,9 +86,10 @@ Jika kamu mempunyai karakter Cina di jalur file mu, mungkin ini dapat menyebabka
Kamu mungkin bisa juga menjalankan ini di mode kompatibilitas Windows 8.

Jika semuanya gagal, kamu bisa menjalankan GrassClipper di mode `chrome` atau `browser`. Cara melakukannya:

* Buat sebuah shortcut ke `GrassClipper.exe`
* Klik kanan shortcut tersebut, lalu klik `Properties`
* Di dalam kotak `Target`, pada bagian akhirnya, tambahkan ` --mode=chrome` atau ` --mode=browser`
* Di dalam kotak `Target`, pada bagian akhirnya, tambahkan `--mode=chrome` atau `--mode=browser`
* `chrome` hanya bisa bekerja jika kamu punya Chrome yang terpasang dan akan membuat jendela Chrome
* Untuk `browser` seperti yang kamu tebak, akan membuka GrassClipper di default browser mu
* Klik `Ok`
Expand All @@ -103,6 +106,7 @@ Jika kamu masih mendapatkan kesalahan 502 ketika mencoba masuk ke servermu sendi
```json
"PublicPort": PORT_MU
```

dimana `PORT_MU` itu sama dengan port yang kamu gunakan sebagai nilai `Port`. Biasanya diisi dengan nilai 443.

## Kesalahan 4206
Expand All @@ -117,15 +121,15 @@ Jika kamu mendapatkan jendela CMD yang terbuka secara terus-menerus dari beberap

Discord/YouTube (dan beberapa aplikasi lainnya) sepertinya tidak menyukai server proxy mu. Kamu mungkin perlu menonaktifkannya dengan menutup mitmdump atau dengan menonaktifkan proxy mu di pengaturan Windows proxy.

## Komputerku Tidak Ada Akses Internet Setelah Menutup Peluncur atau Restart!
## Komputerku Tidak Ada Akses Internet Setelah Menutup Peluncur atau Restart

Sepertinya peluncur tidak menutup dengan benar dan tidak bisa membersihkan pengaturan proxy seperti semula. Nonaktifkan proxy mu di pengaturan Windows proxy.

# Bahasa yang Tersedia dan Kredit Penerjemah

Terima kasih kepada semua orang yang telah menyediakan terjemahan! <3

* ZH - nuoxianCN, Scirese & MrAru
* ZH - nuoxianCN, Yang_qwq(README_zh.md), Scirese & MrAru
* ZH-TW - Kimi & KormiMeiko
* PT-BR - na.na
* VIE - labalityowo & lunaticwhat
Expand All @@ -148,5 +152,3 @@ Terima kasih kepada semua orang yang telah menyediakan terjemahan! <3
![image](https://user-images.githubusercontent.com/25207995/164393118-de844e75-f9a2-491a-aea6-f2d563abecc7.png)
![image](https://user-images.githubusercontent.com/25207995/164882735-77aa535c-0e93-4b32-af7c-f8b59888257a.png)
![image](https://user-images.githubusercontent.com/25207995/164882716-c9f16cd0-c0b6-4c0a-ae9e-4c95da9ef7f5.png)


166 changes: 166 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
# 为了上帝的爱,请不要把GrassClipper安装到OneDrive的路径中

# ! 公告

一个新的启动器正在开发中,我是一个很大的贡献者。不幸的是,这意味着我不能维护GrassClipper太多 - 如果有的话 - 因为我忙于新的启动器开发。但是,这是个好消息,因为这个新的启动器已经更加稳定,并且包含许多附加功能。如果您在使用GrassClipper时遇到太多麻烦,我建议您等到新的启动器发布

# GrassClipper

[EN](README.md) | [PL](README_PL.md) | [ID](README_id.md) | ZH

实验性Grasscutter启动器,可在官方和私人服务器之间轻易切换

[在这里下载!](https://github.com/Grasscutters/GrassClipper/releases/) (支持 Windows 8+)

*\*注意:有些翻译已经过时了,所以如果随机出现英文文本或某个选项似乎具有误导性,这就是原因。如果您发现这样的问题,请随时提出Pull Requests!*

# 目录

* [安装 (对于用户)](#安装-对于用户)
* [安装 (对于开发者)](#安装-对于开发者)
* [TODO](#todo)
* [常见问题](#有一些问题-)
* [代理安装未打开/失败](#手动安装代理)
* [白屏修复](#白屏修复)
* [502错误](#502错误)
* [4206错误](#4206错误)
* [无限CMD窗口](#无限cmd窗口)
* [损坏的 Discord/Youtube](#我的Discord不让我发送消息或加载图像/我的Youtube看起来很奇怪)
* [没有网络连接](#关闭所有内容或者重新启动PC后,我没有互联网连接)
* [语言和翻译者](#可用语言和翻译贡献者)
* [截图](#截图)

# 安装 (对于用户)

1. 下载zip压缩文件
2. 把它解压到一个地方
3. 启动 `GrassClipper.exe`,安装代理服务器,然后设置你的游戏文件夹!

# 安装 (对于开发者)

0. 克隆本储存库
1. 确保您已安装了 [NodeJS](https://nodejs.org/en/download/)
2. 安装 `neu` cli工具: `npm install -g @neutralinojs/neu`
3. 安装依赖项: `setup_win.cmd`
4. 编译,并运行:
* 开发/测试环境: `npm run dev`
* 生产环境: `npm run build`

# TODO

* Interface/internals
* [x] 用户界面
* [x] 官服/私服选项
* [x] 服务器IP地址输入
* [x] 有趣的花哨CSS样式`n`的东西(CoD:MW 2019风格的垂直菜单,用于在官方和私人服务器之间进行选择? [查看这个](https://charlieintel.com/wp-content/uploads/2020/11/MW-new-menu.png))
* [x] 终止切换脚本(可选)
* [x] 首次启动时自动运行`install.cmd`
* [x] Grasscutter自动下载器
* [ ] 检测程序无法访问的文件夹 (例如 `C:/Program Files`) 并且发出警告
* [ ] 私服部分的自定义图像(欢迎任何人提交Pull Requests以添加一些!)
* [x] 在进入之前为服务器创建可选的用户名/密码(尚未在Grasscutter中实现)
* [ ] 平台检测和bash脚本
* [ ] 集成的横幅创建器
* 代理服务
* [x] 本地代理服务器
* [x] 拦截和修改GI请求,就像使用Fiddler一样,允许其他东西通过
* [ ] 修复启用代理时的Discord和YouTube问题(可能已修复)

# 有一些问题?

以下是您可能遇到的一些情况及其解决方案。

# 手动安装代理

如果在安装代理服务器时遇到问题,也可以手动安装它。为此,请执行以下操作:

1. 如果 GrassClipper 文件夹中不存在名为`ext`的文件夹,请创建一个该文件夹。
2. 下载并解压 [这个文件](https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip) 到 `ext` 文件夹中
3. 打开 `mitmdump.exe` 并允许它运行几秒钟以生成证书
4. 以管理员权限运行该命令: `certutil -addstore root "%USERPROFILE%\.mitmproxy\mitmproxy-ca-cert.cer"`
5. 像往常一样使用GrassClipper!

## 白屏修复

遇到白屏? [确保WebView2已经安装](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download)

您可能还要以管理员身份运行以下命令:
`CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.Win32WebViewHost_cw5n1h2txyewy"`

如果您的文件路径中有中文字符,这也可能会使它崩溃!我正在努力修复它

你还可以尝试在 Windows 8 兼容性模式下运行

如果所有其他方法都失败了,您可以在`Chrome`或`browser`模式下运行GrassClipper。为此,请执行以下操作:

* 创建快捷方式到 `GrassClipper.exe`
* 右键单击快捷方式,单击 `性能`
* 在`目标`框中,在最后面添加`--mode=chrome`或`--mode=browser`
* `chrome` 仅在您安装了Chrome时才有效,并且会创建一个Chrome窗口
* `browser` 它将......,你猜对了,在你的默认浏览器中打开GrassClipper
* 点击`确定`
* 从现在开始使用此快捷方式运行GrassClipper!

## 502错误

***您可能使用了错误的端口,请确保您在GrassClipper中的端口是443或没有(不是0,但实际上什么都没有)***

1. 如果运行的是本地服务器,请确保本地服务器正在运行。否则,请确保您连接到的服务器实际正在运行

2. 如果可以的话,[使用Grasscutter的开发分支](https://github.com/Grasscutters/Grasscutter/tree/development)。众所周知,它与GrassClipper一起工作得更好

如果您在尝试登录到自己的服务器时仍然收到错误502,请打开Grasscutter配置并将以下内容添加到`调度服务器`部分:

```json
"PublicPort": 你的端口
```

其中`你的端口`是您已经与`端口`值相同的端口。这可能是443

## 4206错误

确保分支附带正确的`keystore.p12`文件(`稳定`或`开发`)。还要确保在Grasscutters `config.json`中正确设置密码(空白表示`稳定`,`123456`表示`开发`)。

## 无限CMD窗口

*注意:本部分为机器翻译*

如果为任何脚本(如代理安装或专用服务器启动)获取无限的 CMD 窗口,请确保已将 UAC(用户访问控制)设置为需要询问的任何选项。确保您的用户帐户可以管理员身份打开内容。

## 我的Discord不让我发送消息或加载图像/我的Youtube看起来很奇怪

Discord/YouTube(当然还有其他一些应用)似乎不是代理服务器的粉丝。您可能需要通过关闭 mitmdump 或在 Windows 代理设置中禁用代理来修复它。

## 关闭所有内容或者重新启动PC后,我没有互联网连接

启动器很可能未正确关闭,并且无法将您的代理设置清理回原来的状态。你可以在 Windows 代理设置中禁用代理。

# 可用语言和翻译贡献者

感谢所有提供翻译的人! <3

* ZH - nuoxianCN, Yang_qwq(README_zh.md), Scirese & MrAru
* ZH-TW - Kimi & KormiMeiko
* PT-BR - na.na & actuallyeunha
* VIE - labalityowo & lunaticwhat
* ID - Iqrar99 & nautilust
* FR - linsorak & memetrollsXD
* ES - memetrollsXD
* ND - memetrollsXD
* RU - fitiskin
* TR - lilmayofuksu
* JP - conochy
* HD - Arikatsu
* PL - zakhil-dev
* TH - ongsalt
* KO - tsukiroku

# 截图

![image](https://user-images.githubusercontent.com/25207995/164574276-645548c2-7ba6-47c3-8df4-77082003648f.png)
![image](https://user-images.githubusercontent.com/25207995/164393190-f7e6633c-60bd-4186-bf0c-30d9f30871f4.png)
![image](https://user-images.githubusercontent.com/25207995/164393040-4da72f29-6d59-4af4-bd60-072269f2ba2a.png)
![image](https://user-images.githubusercontent.com/25207995/164393024-56543ddf-7063-4c04-9a9f-0c6238f30e90.png)
![image](https://user-images.githubusercontent.com/25207995/164393118-de844e75-f9a2-491a-aea6-f2d563abecc7.png)
![image](https://user-images.githubusercontent.com/25207995/164882735-77aa535c-0e93-4b32-af7c-f8b59888257a.png)
![image](https://user-images.githubusercontent.com/25207995/164882716-c9f16cd0-c0b6-4c0a-ae9e-4c95da9ef7f5.png)