mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 15:14:13 +08:00
host
This commit is contained in:
parent
b8bdd7273f
commit
c1cbc9a8fa
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,3 +41,4 @@ LunaTranslator/run38.bat
|
||||
LunaTranslator/run3832.bat
|
||||
LunaTranslator/logs
|
||||
LunaTranslator/LunaTranslator/.vscode/settings.json
|
||||
.vscode/settings.json
|
||||
|
@ -8,7 +8,7 @@
|
||||
</script>
|
||||
<style>
|
||||
body::before {
|
||||
background-image: url("https://image.lunatranslator.xyz/luna.jpg");
|
||||
background-image: url("https://image.lunatranslator.org/luna.jpg");
|
||||
opacity: 0.5;
|
||||
background-size: 100% auto;
|
||||
content: '';
|
||||
|
@ -1912,10 +1912,12 @@
|
||||
"miniaudio"
|
||||
],
|
||||
"main_server": [
|
||||
"https://lunatranslator.org",
|
||||
"https://lunatranslator.xyz",
|
||||
"http://38.46.30.10:5000"
|
||||
],
|
||||
"docs_server": [
|
||||
"https://docs.lunatranslator.org",
|
||||
"https://docs.lunatranslator.xyz",
|
||||
"http://38.46.30.10:8000"
|
||||
]
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
> **一款galgame翻译器**
|
||||
|
||||
### [使用说明](http://38.46.30.10:8000/#/zh/) [视频教程](https://space.bilibili.com/592120404/video) [QQ群](https://qm.qq.com/q/I5rr3uEpi2) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
### [使用说明](https://lunatranslator.org/#/zh/) [视频教程](https://space.bilibili.com/592120404/video) [QQ群](https://qm.qq.com/q/I5rr3uEpi2) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
|
||||
## 功能支持
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
> **A galgame translator**
|
||||
|
||||
|
||||
### [Tutorial](http://38.46.30.10:8000/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
### [Tutorial](https://lunatranslator.org/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
|
||||
|
||||
## Features
|
||||
|
@ -11,7 +11,7 @@
|
||||
> **Переводчик текста с экрана для игр и не только!**
|
||||
|
||||
|
||||
### [Tutorial](http://38.46.30.10:8000/#/ru/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
### [Tutorial](https://lunatranslator.org/#/ru/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
||||
|
||||
|
||||
## Основные функции:
|
||||
|
24
build.py
24
build.py
@ -1,16 +1,24 @@
|
||||
import os, sys, re
|
||||
import os, sys, re, json
|
||||
import shutil, json
|
||||
import subprocess, time
|
||||
import urllib.request
|
||||
|
||||
# 继github被封后,域名又被封了。真是走了狗屎运了。这个世界上到底还有什么是能信任的。
|
||||
# 暂时先这样吧。在软件内使用重定向链接,因为链接失效没办法及时更新;在github网站或文档内,用直链。
|
||||
hostserver = "https://lunatranslator.xyz/"
|
||||
try:
|
||||
urllib.request.urlopen(hostserver)
|
||||
usehost = True
|
||||
except:
|
||||
usehost = False
|
||||
with open(
|
||||
"LunaTranslator/files/defaultconfig/static_data.json", "r", encoding="utf8"
|
||||
) as ff:
|
||||
data = json.loads(ff.read())
|
||||
hostservers = data["main_server"]
|
||||
hostserver = None
|
||||
|
||||
for _hostserver in hostservers:
|
||||
try:
|
||||
urllib.request.urlopen(_hostserver)
|
||||
hostserver = _hostserver
|
||||
break
|
||||
except:
|
||||
pass
|
||||
links302 = {
|
||||
"Github": {
|
||||
"LunaTranslator": "HIllya51/LunaTranslator",
|
||||
@ -32,7 +40,7 @@ links302 = {
|
||||
|
||||
|
||||
def dynalink(path: str):
|
||||
if usehost:
|
||||
if hostserver:
|
||||
return hostserver + path
|
||||
pathx = path.split("/")
|
||||
if pathx[0] == "Github":
|
||||
|
@ -10,7 +10,7 @@ Alternatively, you can:
|
||||
- Click the first highlighted button "Select Game" in the toolbar.
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/toolbar3.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/toolbar3.jpg)
|
||||
|
||||
|
||||
There are three ways to select a process:
|
||||
@ -21,27 +21,27 @@ There are three ways to select a process:
|
||||
|
||||
Note: When running in no_admin mode, the process may be displayed or selections may do nothing. Please switch to admin mode to fix this.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/selectprocess.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/selectprocess.jpg)
|
||||
|
||||
After selection, click OK. A text selection window will automatically appear. (You can also open this by clicking "Select Text" or the second highlighted button in the toolbar)
|
||||
|
||||
Once the text selection window is open, click on the game to display the next line of text. This will show several extracted text strings.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/selecttext.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/selecttext.jpg)
|
||||
|
||||
Click on any item in the list to preview the captured text in the window below.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/yulan.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/yulan.jpg)
|
||||
|
||||
If there are many items in the list, you can filter them by entering text from the current game window into the "Search Entries Containing Text" box at the bottom.
|
||||
|
||||
For example, by searching for the Japanese word "約束" (yakusoku) that appears in the game, you'll filter the list down to just one item.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/filter.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/filter.jpg)
|
||||
|
||||
To select multiple items, hold down the Ctrl key while clicking.
|
||||
|
||||
After making your selection(s), click OK to start the translation. If you later find that the selected items are not suitable, you can always make a new selection.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/reshook.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/reshook.jpg)
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
First, select OCR in the Basic Settings. Three new icons will appear in the toolbar:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/toolbar2.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/toolbar2.jpg)
|
||||
|
||||
Click the first button to select the screenshot area. A selection region will appear as shown in the image below:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/12.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/12.jpg)
|
||||
|
||||
The second button toggles the visibility of the selection region.
|
||||
|
||||
@ -20,4 +20,4 @@ To unbind, click the button and then click on the translator itself.
|
||||
|
||||
Here's how it looks when bound to a screenshot window. OCR will function normally even if windows overlap:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/ocrbind.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/ocrbind.jpg)
|
||||
|
@ -14,7 +14,7 @@ Choose your text output source. A pink ✓ indicates selection, while a gray ×
|
||||
|
||||
- The default is clipboard mode, which automatically extracts and translates text from the clipboard.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/5.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/5.jpg)
|
||||
|
||||
|
||||
## Translation Settings
|
||||
@ -41,7 +41,7 @@ You can select any number of translation engines without restriction.
|
||||
|
||||
- Pre-translation supports fuzzy matching (particularly effective in OCR mode).
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/6.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/6.jpg)
|
||||
|
||||
|
||||
## HOOK设置
|
||||
@ -63,7 +63,7 @@ LocaleEmulator settings allow you to set the LocaleEmulator path (built-in for n
|
||||
|
||||
[➔ See HOOK instructions for detailed usage](hooksetsumei.md)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/21.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/21.jpg)
|
||||
|
||||
|
||||
## OCR Settings
|
||||
@ -82,7 +82,7 @@ In OCR mode, select your preferred OCR source.
|
||||
|
||||
[➔ See OCR instructions for detailed usage](ocrsetsumei.md)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/22.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/22.jpg)
|
||||
|
||||
|
||||
## Display Settings
|
||||
@ -100,22 +100,22 @@ In OCR mode, select your preferred OCR source.
|
||||
- "Selectable Mode" allows content selection within the translation window.
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/7.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/7.jpg)
|
||||
|
||||
The four font styles are shown below:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/ziti1.jpg)
|
||||
![img](https://image.lunatranslator.xyz/zh/ziti2.jpg)
|
||||
![img](https://image.lunatranslator.xyz/zh/ziti3.jpg)
|
||||
![img](https://image.lunatranslator.xyz/zh/ziti4.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/ziti1.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/ziti2.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/ziti3.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/ziti4.jpg)
|
||||
|
||||
Furigana (phonetic guide) display example:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/jiaming.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/jiaming.jpg)
|
||||
|
||||
Tokenization (word segmentation) display example:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/fenci.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/fenci.jpg)
|
||||
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ Tokenization (word segmentation) display example:
|
||||
|
||||
- VOICEVOX is an open-source TTS engine, but it's relatively slow at Text-to-Speech.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/8.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/8.jpg)
|
||||
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ This includes common settings and some advanced options.
|
||||
|
||||
- Users familiar with Python can directly modify the LunaTranslator\LunaTranslator\postprocess\post.py file to implement custom processing.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/10.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/10.jpg)
|
||||
|
||||
|
||||
## Dictionary Settings
|
||||
@ -167,22 +167,22 @@ With a dictionary configured, LunaTranslaotr can help you in your Japanese learn
|
||||
|
||||
Note: Without MeCab, a basic built-in tokenizer will be used, providing limited furigana and segmentation without part-of-speech distinction.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/cishu.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/cishu.jpg)
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/fenci.jpg)
|
||||
![img](https://image.lunatranslator.xyz/zh/searchword.jpg)
|
||||
![img](https://image.lunatranslator.xyz/zh/searchword2.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/fenci.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/searchword.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/searchword2.jpg)
|
||||
|
||||
## Resource Download and Update
|
||||
|
||||
Automatic updates and links to commonly used resources.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/down.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/down.jpg)
|
||||
|
||||
|
||||
## Hotkey Settings
|
||||
|
||||
Enable the use of hotkeys, where you can activate and configure specific hotkey settings as desired.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/quick.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/quick.jpg)
|
||||
|
@ -7,7 +7,7 @@
|
||||
1. Go to [the LunaTranslator releases page](https://github.com/HIllya51/LunaTranslator/releases)
|
||||
2. In the "Assets" section of the latest release, find and download the "LunaTranslator.zip" file
|
||||
3. Extract the contents of the ZIP file to any directory on your computer.
|
||||
![img](https://image.lunatranslator.xyz/zh/download.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/download.jpg)
|
||||
|
||||
## How to Run
|
||||
There are two ways to launch LunaTranslator:
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
## Universal button/Clipboard mode
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/toolbar1.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/toolbar1.jpg)
|
||||
|
||||
> These are universal buttons that appear in clipboard mode. From left to right:
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
|
||||
## OCR Mode Buttons
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/toolbar2.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/toolbar2.jpg)
|
||||
|
||||
> OCR mode includes three additional buttons:
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
## HOOK Mode Buttons
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/toolbar3.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/toolbar3.jpg)
|
||||
|
||||
> HOOK mode includes two additional buttons:
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Tray Icon
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/trayicon.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/trayicon.jpg)
|
||||
|
||||
Left-clicking the tray icon:
|
||||
- First click: Shows the program window
|
||||
|
@ -9,7 +9,7 @@
|
||||
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="0">
|
||||
<link rel="icon" href="https://image.lunatranslator.xyz/luna.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://image.lunatranslator.org/luna.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css" />
|
||||
<link href="//unpkg.com/prismjs/plugins/line-numbers/prism-line-numbers.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
@ -19,7 +19,7 @@
|
||||
<div class="header">
|
||||
<div class="buttons">
|
||||
<div class="buttonitem buttonsize"><a class="goodlink buttonsize" target="_blank"
|
||||
href="https://lunatranslator.xyz/" id="homepage">官方网站</a></div>
|
||||
href="https://lunatranslator.org/" id="homepage">官方网站</a></div>
|
||||
<div class="buttonitem buttonsize">
|
||||
<div class="dropdown buttonsize">
|
||||
<span class="goodlinknormal" id="downloadlink">
|
||||
|
@ -7,7 +7,7 @@
|
||||
Также можно самостоятельно нажать кнопку "Выбрать игру" в настройках приложения во вкладке "Настройка HOOK" или **первую кнопку** на панели инструментов, чтобы открылось окно выбора процесса.
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/toolbar3_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/toolbar3_ru.png)
|
||||
|
||||
|
||||
Существует три способа выбора процесса::
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
При работе с no_admin.exe процессы иногда могут быть невидимы или при выборе процесса не будет ничего происходить.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/selectprocess_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/selectprocess_ru.png)
|
||||
|
||||
После выбора нажмите OK, и окно выбора текста появится автоматически.
|
||||
|
||||
@ -28,17 +28,17 @@
|
||||
|
||||
После того, как появится окно выбора текста, щелкните игру, чтобы сцена поменялась и игра отобразила следующий текст. После этого появятся несколько извлеченных текстов.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/selecttext_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/selecttext_ru.png)
|
||||
|
||||
Нажмите на любой элемент в списке, и текст, захваченный этим элементом, отобразится в окне предварительного просмотра ниже.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/yulan_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/yulan_ru.png)
|
||||
|
||||
Иногда в списке много записей, введите в строку «Поиск записей, содержащих текст:» текст из игры, чтобы отфильтровать записи, и Вы легко найдете то, что вам нужно.
|
||||
|
||||
Ищите по слову «ограничение», как оно встречается в игре, в списке остается только 1 запись.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/filter_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/filter_ru.png)
|
||||
|
||||
Вы можете удерживать нажатой клавишу Ctrl для выбора нескольких элементов, если Вам требуется выбрать несколько источников вывода текста.
|
||||
|
||||
@ -46,4 +46,4 @@
|
||||
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/reshook_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/reshook_ru.png)
|
@ -2,11 +2,11 @@
|
||||
|
||||
После выбора режима OCR в основных настройках, на панели инструментов появятся три значка.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/toolbar2_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/toolbar2_ru.png)
|
||||
|
||||
Нажмите **первую кнопку**, чтобы появилось окно выбора диапазона распознавания текста, как показано на рисунке. Не стоит выбирать слишком большой диапазон, т.к. движок OCR может схватывать мусорные символы и портить качество перевода.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/12_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/12_ru.png)
|
||||
|
||||
Поле выбора области распознавания, можно скрыть/отобразить окно, нажав **вторую кнопку.** Оно закрепится и станет прозрачным, можно будет управлять игрой, нажимая сквозь окно захвата текста.
|
||||
|
||||
@ -16,4 +16,4 @@
|
||||
|
||||
Двойной щелчок по кнопке убирает привязку к окну.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/ocrbind_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/ocrbind_ru.png)
|
@ -14,7 +14,7 @@
|
||||
|
||||
  При выборе источника "буфер обмена", весь копируемый Вами текст будет автоматически извлекаться из буфера обмена и переводиться.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/5_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/5_ru.png)
|
||||
|
||||
|
||||
## Настройки переводчиков
|
||||
@ -40,7 +40,7 @@
|
||||
|
||||
Для предварительного перевода можно использовать нечеткое сопоставление (в основном эффективно для режима OCR).
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/6_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/6_ru.png)
|
||||
|
||||
|
||||
## Настройки HOOK
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
[➔ Более полное описание смотри в "Описании HOOK"](/ru/hooksetsumei.md)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/21_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/21_ru.png)
|
||||
|
||||
|
||||
## Настройки OCR
|
||||
@ -81,7 +81,7 @@
|
||||
|
||||
[➔ Подробности смотри в "Описание OCR"](/ru/ocrsetsumei.md)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/22_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/22_ru.png)
|
||||
|
||||
|
||||
## Настройка окна перевода
|
||||
@ -99,22 +99,22 @@
|
||||
Вы можете ** выбрать контент в окне перевода** , а также настроить реакцию окна перевода на сворачивание игры в режиме HOOK.
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/7_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/7_ru.png)
|
||||
|
||||
Четыре стиля шрифта следующие:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/ziti1_ru.png)
|
||||
![img](https://image.lunatranslator.xyz/ru/ziti2_ru.png)
|
||||
![img](https://image.lunatranslator.xyz/ru/ziti3_ru.png)
|
||||
![img](https://image.lunatranslator.xyz/ru/ziti4_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/ziti1_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/ziti2_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/ziti3_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/ziti4_ru.png)
|
||||
|
||||
Кана отображается следующим образом:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/jiaming_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/jiaming_ru.png)
|
||||
|
||||
Причастие отображается следующим образом:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/fenci_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/fenci_ru.png)
|
||||
|
||||
|
||||
|
||||
@ -129,7 +129,7 @@
|
||||
|
||||
** VOICEVOX** — это механизм TTS с открытым исходным кодом, но он медленно генерирует голос.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/8_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/8_ru.png)
|
||||
|
||||
|
||||
|
||||
@ -152,7 +152,7 @@
|
||||
|
||||
Если пользователь понимает язык python, он может напрямую изменить его в файле ** LunaTranslator\LunaTranslator\postprocess\post.py** , чтобы реализовать любой процесс обработки, который пожелает пользователь.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/10_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/10_ru.png)
|
||||
|
||||
|
||||
|
||||
@ -167,23 +167,23 @@
|
||||
|
||||
После включения ** быстрого поиска слов** щелкните исходный текст в окне перевода, и появится всплывающее окно поиска слов.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/cishu_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/cishu_ru.png)
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/fenci_ru.png)
|
||||
![img](https://image.lunatranslator.xyz/ru/searchword_ru.png)
|
||||
![img](https://image.lunatranslator.xyz/ru/searchword2_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/fenci_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/searchword_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/searchword2_ru.png)
|
||||
|
||||
## Загрузка ресурсов и обновления
|
||||
|
||||
Автоматические обновления и ссылки на некоторые популярные ресурсы.
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/down_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/down_ru.png)
|
||||
|
||||
|
||||
## Настройка сочетания клавиш
|
||||
|
||||
После включения ** использования сочетаний клавиш** , Вы можете настроить одну или сочетание двух клавиш на каждое действие.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/quick_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/quick_ru.png)
|
@ -5,7 +5,7 @@
|
||||
|
||||
Ссылка для загрузки актуальной версии программы: <a target="_blank" href="https://github.com/HIllya51/LunaTranslator/releases">https://github.com/HIllya51/LunaTranslator/releases</a>
|
||||
Скачайте архив **LunaTranslator.zip** и распакуйте его в любое удобное для вас место.
|
||||
![img](https://image.lunatranslator.xyz/ru/download_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/download_ru.png)
|
||||
|
||||
## Запустить
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
## Общие кнопки (В режиме буфера обмена)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/toolbar1_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/toolbar1_ru.png)
|
||||
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
## Кнопки в режиме OCR
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/toolbar2_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/toolbar2_ru.png)
|
||||
|
||||
> В режиме OCR будет на три кнопки больше, чем в режиме буфера обмена.
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
|
||||
## HOOK模式按钮
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/toolbar3_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/toolbar3_ru.png)
|
||||
|
||||
> В режиме HOOK будет на три кнопки больше, чем в режиме буфера обмена.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Иконка на панели задач
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/ru/trayicon_ru.png)
|
||||
![img](https://image.lunatranslator.org/ru/trayicon_ru.png)
|
||||
|
||||
Щелкните на значок левой кнопкой мыши, чтобы **отобразить окно программы**, щелкните еще раз, чтобы **скрыть его**.
|
||||
|
||||
|
@ -3,28 +3,28 @@
|
||||
|
||||
启动后的界面如下。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/opensetting.png)
|
||||
![img](https://image.lunatranslator.org/zh/opensetting.png)
|
||||
|
||||
首先需要激活若干个翻译源,点击“打开设置”按钮,打开设置界面,然后在左侧点击“翻译设置”。
|
||||
|
||||
|
||||
在右侧下面的在线翻译中,任意选择一些翻译源,进行激活。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/transsetting.png)
|
||||
![img](https://image.lunatranslator.org/zh/transsetting.png)
|
||||
|
||||
|
||||
关闭设置界面,点击“选择游戏”按钮,打开游戏选择界面,选择游戏后OK
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/attach.png)
|
||||
![img](https://image.lunatranslator.org/zh/attach.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/selectgame.png)
|
||||
![img](https://image.lunatranslator.org/zh/selectgame.png)
|
||||
|
||||
然后会弹出选择文本界面,让游戏运行一下,以显示一些文本,这时选择文本界面中将会出现若干文本行。
|
||||
|
||||
点击第一列的选择下面的按钮,或者双击文本行,以选择该行文本进行翻译。(如果该游戏支持内嵌翻译,还会额外出现第二列“内嵌”)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/selecttext.png)
|
||||
![img](https://image.lunatranslator.org/zh/selecttext.png)
|
||||
|
||||
选择完毕后关闭选择文本界面即可。这时可以看到游戏的翻译。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/showtrans.png)
|
||||
![img](https://image.lunatranslator.org/zh/showtrans.png)
|
@ -8,19 +8,19 @@
|
||||
|
||||
<details>
|
||||
<summary>部分已内置解决的情况,不再会报错</summary>
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/1.png">
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/3.jpg">
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/1.png">
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/3.jpg">
|
||||
</details>
|
||||
|
||||
#### **2. Error/PermissionError**
|
||||
|
||||
如果软件被放到`Program Files`等特殊文件夹,可能会没有读写权限。请使用管理员权限运行。
|
||||
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/6.png" width=400>
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/6.png" width=400>
|
||||
|
||||
#### **3. 找不到重要组件**
|
||||
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/2.jpg">
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/2.jpg">
|
||||
|
||||
解决方法:关闭杀毒软件,无法关闭(如windows defender)则添加信任,然后重下。
|
||||
|
||||
@ -30,6 +30,6 @@
|
||||
|
||||
<details>
|
||||
<summary>对于windows defender,方法为:“病毒和威胁防护”->“排除项”->“添加或删除排除项”->“添加排除项”->“文件夹”,把Luna的文件夹添加进去</summary>
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/4.png">
|
||||
<img src="https://image.lunatranslator.xyz/zh/cantstart/3.png">
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/4.png">
|
||||
<img src="https://image.lunatranslator.org/zh/cantstart/3.png">
|
||||
</details>
|
@ -5,38 +5,38 @@
|
||||
|
||||
<details>
|
||||
<summary>如果选择文本中没有内嵌这一行,就说明不支持内嵌</summary>
|
||||
<img src="https://image.lunatranslator.xyz/zh/embed/noembed.png">
|
||||
<img src="https://image.lunatranslator.xyz/zh/embed/someembed.png">
|
||||
<img src="https://image.lunatranslator.org/zh/embed/noembed.png">
|
||||
<img src="https://image.lunatranslator.org/zh/embed/someembed.png">
|
||||
</details>
|
||||
|
||||
对于支持内嵌的游戏,选择支持内嵌的文本条目,激活内嵌即可
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/select.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/select.png)
|
||||
|
||||
对于支持内嵌的条目,**显示**和**内嵌**可以随意选择是否同时激活。当同时激活时,既会在游戏中嵌入翻译,也会在软件窗口中显示更多翻译;若只激活内嵌,则只会在游戏中显示嵌入的翻译,软件窗口则不会显示任何内容。
|
||||
|
||||
当开始内嵌翻译后,经常会出现乱码的情况。游戏乱码一般会是**字符集**和**字体**两种问题。对于英文游戏,通常是因为游戏缺少中文**字体**导致的,例如:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/luanma.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/luanma.png)
|
||||
|
||||
这时,你需要在**内嵌设置**中,激活**修改游戏字体**,并选择一个适当的字体,以显示中文字符
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/ziti.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/ziti.png)
|
||||
|
||||
修改完毕字体后,中文可以正确的显示了:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/okembed.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/okembed.png)
|
||||
|
||||
但会发现内嵌的文字是繁体中文,可以在**内嵌设置**中取消**将汉字转换成繁体/日式汉字**。
|
||||
|
||||
>这是因为**对于许多古早日本galgame,他们使用自己内置的shift-jis字符集处理,无法正确处理中文字符,通过将汉字翻译转换成型近的繁体/日式汉字,可以减少乱码的出现,因此默认是会自动将简体中文转换成繁体中文的**。如果取消这一设置后乱码,请恢复这一设置。
|
||||
对于一些较新的游戏引擎和大部分英文游戏,一般使用utf-8或utf-16等Unicode字符集(如**KiriKiri**,**Renpy**,**TyranoScript**,**RPGMakerMV**等),即使出现乱码一般也是字体的问题,而不是字符集的问题。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/fanti.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/fanti.png)
|
||||
|
||||
取消这一设置后,可以正常显示简体中文了。但对于一些无法正常显示简体中文的游戏,可以尝试激活这一选择来看看能不能正常显示。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/good.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/good.png)
|
||||
|
||||
** **
|
||||
|
||||
@ -44,11 +44,11 @@
|
||||
|
||||
**1. 保留原文**
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/keeporigin.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/keeporigin.png)
|
||||
|
||||
由于游戏能显示的文本行数的限制,所以默认没有在翻译和原文中间添加换行。如果确定可以容纳,可以通过在**翻译优化**->**翻译结果修正**中添加一条正则来在翻译前面添加一个换行来实现。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/addspace.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/addspace.png)
|
||||
|
||||
**2. 翻译等待时间**
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
|
||||
有时某些游戏每行能显示的字符数是有限的,超出长度的内容会显示到文本框右边的更外边而无法显示。可以通过这一设置来手动分行来避免这一情况。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/limitlength.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/limitlength.png)
|
||||
|
||||
**7. 修改游戏字体**
|
||||
|
||||
@ -80,4 +80,4 @@
|
||||
|
||||
对于Renpy等游戏,提取的文本经常会包括`{` `}` `[` `]`等语法元素的字符,如果翻译源没有正确处理这些内容导致破坏了语法,会导致游戏崩溃。因此软件默认会通过正则匹配来**跳过翻译**某些可能会导致游戏的字符组合。如果不担心游戏崩溃,可以取消这一设置,或者手动更换一些更细粒度的正则匹配来减少不必要的跳过。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/embed/safeskip.png)
|
||||
![img](https://image.lunatranslator.org/zh/embed/safeskip.png)
|
@ -8,9 +8,9 @@
|
||||
|
||||
点击**绑定窗口**按钮,然后点击游戏窗口,按钮变成粉色,说明成功绑定了游戏窗口
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/gooduseocr/bind.png)
|
||||
![img](https://image.lunatranslator.org/zh/gooduseocr/bind.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/gooduseocr/bindok.png)
|
||||
![img](https://image.lunatranslator.org/zh/gooduseocr/bindok.png)
|
||||
|
||||
这时会有一些重要变化:
|
||||
|
||||
|
@ -6,11 +6,11 @@
|
||||
如果只是有多个不同的密钥想要轮询,只需用|分割就可以了。<br>
|
||||
但有时想要同时使用多个不同的api接口地址/prompt/model/参数等来对比翻译效果。方法是:<br>
|
||||
点击右下方的“+”按钮
|
||||
<img src="https://image.lunatranslator.xyz/zh/damoxing/extraapi1.png">
|
||||
<img src="https://image.lunatranslator.org/zh/damoxing/extraapi1.png">
|
||||
弹出一个窗口,选择ChatGPT兼容接口(或专用接口),并为之取个名字。这样会复制一份当前ChatGPT兼容接口(或专用接口)的设置和api。
|
||||
<img src="https://image.lunatranslator.xyz/zh/damoxing/extraapi2.png">
|
||||
<img src="https://image.lunatranslator.org/zh/damoxing/extraapi2.png">
|
||||
激活复制的接口,并可以进行单独设置。复制的接口可以和原接口一起运行,从而使用多个不同的设置来运行。
|
||||
<img src="https://image.lunatranslator.xyz/zh/damoxing/extraapi3.png">
|
||||
<img src="https://image.lunatranslator.org/zh/damoxing/extraapi3.png">
|
||||
</details>
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
**model** 创建[推理接入点](https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint?current=1&pageSize=10)后,填入**接入点**而非**模型**
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/damoxing/doubao.png)
|
||||
![img](https://image.lunatranslator.org/zh/damoxing/doubao.png)
|
||||
|
||||
|
||||
### **月之暗面**
|
||||
@ -151,8 +151,8 @@
|
||||
|
||||
**model** 应填写百度接口文档中的**请求地址**的尾部,例如:
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/damoxing/qianfan1.png)
|
||||
![img](https://image.lunatranslator.org/zh/damoxing/qianfan1.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/damoxing/qianfan2.png)
|
||||
![img](https://image.lunatranslator.org/zh/damoxing/qianfan2.png)
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
?> 这一设置当且仅当从游戏中提取的文本是**HOOK引擎内部未指定编码**的**多字节字符串**时才有意义,当HOOK引擎内部已经指定了代码页,或者文本是**宽字符字符串**或者**UTF32**字符串时,这一设置没有任何意义
|
||||
|
||||
这一设置一般没有修改的必要,当且仅当部分古老引擎(例如Yuris)的官方中文版可能会有GBK/BIG5/UTF8。如果找不到正确的文本,直接向我发[issue](https://lunatranslator.xyz/Resource/game_support),修改这个设置通常是徒劳的。
|
||||
这一设置一般没有修改的必要,当且仅当部分古老引擎(例如Yuris)的官方中文版可能会有GBK/BIG5/UTF8。如果找不到正确的文本,直接向我发[issue](https://lunatranslator.org/Resource/game_support),修改这个设置通常是徒劳的。
|
||||
|
||||
**2. 移除非选定hook**
|
||||
|
||||
@ -93,7 +93,7 @@ YAPI中如果游戏进程和Luna进程的位数相同,则会正常注入;若
|
||||
有时,需要游戏稍微运行一小会儿后,再插入特殊码。一般情况下不需要延迟,不需要动这个数值。
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/gamesettings/1.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/gamesettings/1.jpg)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/gamesettings/2.jpg)
|
||||
![img](https://image.lunatranslator.org/zh/gamesettings/2.jpg)
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
首次启动start.bat时,会尝试从huggingface上下载模型,但是国内你懂的。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mangaocr/err1.png)
|
||||
![img](https://image.lunatranslator.org/zh/mangaocr/err1.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mangaocr/err2.png)
|
||||
![img](https://image.lunatranslator.org/zh/mangaocr/err2.png)
|
||||
|
||||
解决方法有两种
|
||||
|
||||
@ -13,16 +13,16 @@
|
||||
1. 使用vscode,“打开文件夹”打开整合包的文件夹。
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mangaocr/fix2.png)
|
||||
![img](https://image.lunatranslator.org/zh/mangaocr/fix2.png)
|
||||
|
||||
然后使用搜索功能,将“huggingface.co”全部替换成“hf-mirror.com”。由于替换项较多,需要稍微等待一会儿。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mangaocr/fix.png)
|
||||
![img](https://image.lunatranslator.org/zh/mangaocr/fix.png)
|
||||
|
||||
然后重新运行start.bat,之后会用国内镜像站下载模型,无须魔法上网。
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mangaocr/succ.png)
|
||||
![img](https://image.lunatranslator.org/zh/mangaocr/succ.png)
|
||||
|
||||
|
||||
等待一会儿首次运行的下载模型和每次运行都需要的加载模型。显示“`* Running on http://127.0.0.1:5665`”表示服务已正常启动。
|
@ -1,6 +1,6 @@
|
||||
## OCR自动化执行方法的参数含义
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/ocrauto.png)
|
||||
![img](https://image.lunatranslator.org/zh/ocrauto.png)
|
||||
|
||||
#### 文本相似度阈值
|
||||
|
||||
|
@ -4,24 +4,24 @@
|
||||
|
||||
如果游戏乱码,可以使用[ntleas](https://github.com/zxyacb/ntlea)的x86\ntleas.exe来转区运行游戏。打开cmd切换到ntleas\x86文件夹,运行`ntleas.exe "游戏绝对路径.exe"`。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/playonxp/ntleas.png)
|
||||
![img](https://image.lunatranslator.org/zh/playonxp/ntleas.png)
|
||||
|
||||
**2、在虚拟机中使用LunaHook windows xp专用版提取文本**
|
||||
|
||||
下载[LunaHook](https://github.com/HIllya51/LunaHook/releases)中的`Release_Chinese_winxp.zip`,复制到虚拟机中运行。选择游戏的进程,选择游戏文本。然后,在设置中,激活`复制到剪贴板`。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/playonxp/image.png)
|
||||
![img](https://image.lunatranslator.org/zh/playonxp/image.png)
|
||||
|
||||
|
||||
**3、在宿主机中进行翻译**
|
||||
|
||||
对虚拟机设置共享剪贴板,将虚拟机内的剪贴板内容传到宿主机内。
|
||||
![img](https://image.lunatranslator.xyz/zh/playonxp/copy.png)
|
||||
![img](https://image.lunatranslator.org/zh/playonxp/copy.png)
|
||||
|
||||
在宿主机中运行LunaTranslator,将文本输入从`HOOK`切换到`剪贴板`
|
||||
![img](https://image.lunatranslator.xyz/zh/playonxp/host.png)
|
||||
![img](https://image.lunatranslator.org/zh/playonxp/host.png)
|
||||
|
||||
<hr>
|
||||
|
||||
最终效果如下:
|
||||
![img](https://image.lunatranslator.xyz/zh/playonxp/effect.png)
|
||||
![img](https://image.lunatranslator.org/zh/playonxp/effect.png)
|
@ -2,13 +2,13 @@
|
||||
|
||||
首先需要下载mecab词典,任选其一下载,解压
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mecab_download.png)
|
||||
![img](https://image.lunatranslator.org/zh/mecab_download.png)
|
||||
|
||||
然后在辞书设置中激活mecab,并设置词典路径
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/mecab.png)
|
||||
![img](https://image.lunatranslator.org/zh/mecab.png)
|
||||
|
||||
然后,在显示设置->显示内容中,激活分词注音显示和语法加亮
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/fenci.png)
|
||||
![img](https://image.lunatranslator.org/zh/fenci.png)
|
||||
|
||||
|
@ -4,17 +4,17 @@
|
||||
|
||||
2. 搜 anki connect 第一条
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/anki/336449205-4eb7ce93-a9e9-489b-be8a-da67cfdca6ea.png)
|
||||
![img](https://image.lunatranslator.org/zh/anki/336449205-4eb7ce93-a9e9-489b-be8a-da67cfdca6ea.png)
|
||||
|
||||
会提供一个数字,当前是 2055492159.
|
||||
|
||||
3.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/anki/336449710-95f90d9a-cfe6-42c3-a44f-64d88d13833d.png)
|
||||
![img](https://image.lunatranslator.org/zh/anki/336449710-95f90d9a-cfe6-42c3-a44f-64d88d13833d.png)
|
||||
|
||||
4.
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/anki/336450025-9bf64445-f62e-4bfe-86f7-da99a7100e92.png)
|
||||
![img](https://image.lunatranslator.org/zh/anki/336450025-9bf64445-f62e-4bfe-86f7-da99a7100e92.png)
|
||||
|
||||
填入数字,重启 anki
|
||||
|
||||
@ -24,9 +24,9 @@
|
||||
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/anki/336451202-a2dd54c0-e4ee-4c27-9183-8b4ab05c4819.png)
|
||||
![img](https://image.lunatranslator.org/zh/anki/336451202-a2dd54c0-e4ee-4c27-9183-8b4ab05c4819.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/anki/336451442-7887d600-8c44-4256-9020-1d85e0f6184a.png)
|
||||
![img](https://image.lunatranslator.org/zh/anki/336451442-7887d600-8c44-4256-9020-1d85e0f6184a.png)
|
||||
|
||||
<hr>
|
||||
|
||||
|
@ -6,14 +6,14 @@
|
||||
|
||||
不要下错了下成源代码了!
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/down.png)
|
||||
![img](https://image.lunatranslator.org/zh/down.png)
|
||||
|
||||
### 启动
|
||||
|
||||
解压后可以看到下列文件,使用**LunaTranslator.exe**启动即可
|
||||
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/startup.png)
|
||||
![img](https://image.lunatranslator.org/zh/startup.png)
|
||||
|
||||
|
||||
**LunaTranslator.exe** 会以普通模式启动
|
||||
|
@ -3,4 +3,4 @@
|
||||
|
||||
如果你感觉该软件对你有帮助,欢迎微信扫码赞助,谢谢,么么哒~
|
||||
|
||||
<img src='https://image.lunatranslator.xyz/zh/zan.jpg' style="height: 400px !important;">
|
||||
<img src='https://image.lunatranslator.org/zh/zan.jpg' style="height: 400px !important;">
|
@ -8,7 +8,7 @@
|
||||
|
||||
<details>
|
||||
<summary>示例</summary>
|
||||
<img src="https://image.lunatranslator.xyz/zh/transoptimi/1.png">
|
||||
<img src="https://image.lunatranslator.org/zh/transoptimi/1.png">
|
||||
</details>
|
||||
|
||||
#### **2. 专有名词翻译 占位符**
|
||||
@ -20,9 +20,9 @@
|
||||
<details>
|
||||
<summary>示例</summary>
|
||||
建议使用:
|
||||
<img src="https://image.lunatranslator.xyz/zh/transoptimi/2.png">
|
||||
<img src="https://image.lunatranslator.org/zh/transoptimi/2.png">
|
||||
而不是:
|
||||
<img src="https://image.lunatranslator.xyz/zh/transoptimi/3.png">
|
||||
<img src="https://image.lunatranslator.org/zh/transoptimi/3.png">
|
||||
</details>
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
<details>
|
||||
<summary>示例</summary>
|
||||
<img src="https://image.lunatranslator.xyz/zh/transoptimi/4.png">
|
||||
<img src="https://image.lunatranslator.org/zh/transoptimi/4.png">
|
||||
</details>
|
||||
|
||||
#### **4. 翻译结果修正**
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
然后,在游戏设置->`语音`(或者设置界面的`语音设置`,但这样将是全局的设置,不建议进行全局设置)中,取消`跟随默认`,然后激活`语音指定`,在其设置中添加一行,将`条件`设置为`包含`,`目标`中填入人名,然后在`指定为`中选择语音。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/tts/1.png)
|
||||
![img](https://image.lunatranslator.org/zh/tts/1.png)
|
||||
|
||||
但是,由于额外选择了人名文本,使得显示和翻译的内容多出了人名的内容,且语音也会把人名读出来。为了解决这个问题,我们激活`语音修正`,在其中利用正则表达式,将人名及其符号过滤掉。
|
||||
如果还激活了`作用于翻译`,则该语音修正也会在显示和翻译的内容中也把人名去掉,从而使得显示的内容和未选取人名条目时一样。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/tts/3.png)
|
||||
![img](https://image.lunatranslator.org/zh/tts/3.png)
|
||||
|
||||
|
||||
## 语音指定的具体解释
|
||||
|
@ -13,4 +13,4 @@
|
||||
|
||||
在设置->版本更新中,可以开启自动更新。自动更新偶尔会导致错误,请手动更新以修复!
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/update.png)
|
||||
![img](https://image.lunatranslator.org/zh/update.png)
|
||||
|
@ -2,38 +2,38 @@
|
||||
|
||||
#### 游戏静音,快速静音当前游戏
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/2.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/2.png)
|
||||
|
||||
当绑定游戏窗口后(不只是hook模式,ocr或剪贴板模式都可以,只要绑定了游戏窗口),可以一键对游戏进行静音,省去了在系统音量合成器进行游戏静音的麻烦。
|
||||
|
||||
#### 窗口缩放,一键缩放游戏窗口
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/1.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/1.png)
|
||||
|
||||
可以一键对游戏窗口进行缩放(默认使用内置的Magpie,也可以设置使用自己下载的Magpie等)。使Magpie更好的和软件进行交互的同时,还省去了按快捷键的麻烦(我是真能用鼠标点的,就一下不想碰键盘,不知道有没有和我一样的)。
|
||||
|
||||
#### 备忘录,方便记录游戏感想、攻略
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/4.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/4.png)
|
||||
|
||||
对于当前正在玩的游戏,有单独的一个备忘录文件。可以用来临时写点笔录,或者把攻略复制进来看并且随玩随删,很方便,免去打开网页/单独开一个txt文件的麻烦,非常实用。
|
||||
|
||||
#### 窗口截图&画廊&录音,捕捉每个精彩瞬间
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/6.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/6.png)
|
||||
|
||||
可以对绑定的窗口进行截图,(默认会截两张图,GDI和Winrt,两者均有一定概率会失败)。最好的地方是,如果当前正在使用Magpie/LosslessScaling进行缩放,还会对放大的窗口进行截图(如果用windows自带的别的任何截图工具进行截图,是无法无损的截到放大的图片的)。
|
||||
|
||||
画廊里默认自动包含有根据元数据查询到的从网络下下载的图片,然后截到的图会自动追加到画廊里面,可以方便的对当前正在玩的游戏的截图进行管理。而且还对画廊中的每一张图,都可以添加一些简短的备忘录信息,还可以为每张图添加一段录音,从而可以非常方便的记录游戏中的每一个精彩瞬间。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/3.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/3.png)
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/8.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/8.png)
|
||||
|
||||
#### 关联页面,便捷管理游戏相关网页
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/5.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/5.png)
|
||||
|
||||
相当于一个小浏览器,主要是可以为每个游戏,单独创建一个小的收藏夹。会自动查询元数据收藏游戏的vndb/bangumi/dlsite/等页面,也可以手动再添加一些和这个游戏关联的网页进去(例如游戏攻略的网页,除了用备忘录外,也可以用这个功能进行收藏),方便查看。免去了在浏览器里创建收藏夹进行管理的麻烦。
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/usefulsmalltools/7.png)
|
||||
![img](https://image.lunatranslator.org/zh/usefulsmalltools/7.png)
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
1. 打开“时间和语言”
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/windowsocr/3.png)
|
||||
![img](https://image.lunatranslator.org/zh/windowsocr/3.png)
|
||||
|
||||
1. 打开“语言和区域”,点击“首选语言”->“添加语言”
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/windowsocr/2.png)
|
||||
![img](https://image.lunatranslator.org/zh/windowsocr/2.png)
|
||||
|
||||
1. 安装所需语言
|
||||
|
||||
![img](https://image.lunatranslator.xyz/zh/windowsocr/1.png)
|
||||
![img](https://image.lunatranslator.org/zh/windowsocr/1.png)
|
||||
|
Loading…
x
Reference in New Issue
Block a user