mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 07:04:12 +08:00
link
This commit is contained in:
parent
e63731b7a0
commit
974b33729f
7
.gitmodules
vendored
7
.gitmodules
vendored
@ -3,13 +3,10 @@
|
||||
url = https://github.com/microsoft/wil.git
|
||||
[submodule "plugins/libs/tinymp3"]
|
||||
path = plugins/libs/tinymp3
|
||||
url = https://github.com/HIllya51/tinymp3
|
||||
url = https://github.com/cpuimage/tinymp3
|
||||
[submodule "plugins/libs/miniaudio"]
|
||||
path = plugins/libs/miniaudio
|
||||
url = https://github.com/HIllya51/miniaudio
|
||||
url = https://github.com/mackron/miniaudio
|
||||
[submodule "plugins/libs/rapidfuzz-cpp"]
|
||||
path = plugins/libs/rapidfuzz-cpp
|
||||
url = https://github.com/rapidfuzz/rapidfuzz-cpp
|
||||
[submodule "docs/images"]
|
||||
path = docs/images
|
||||
url = https://github.com/HIllya51/images
|
||||
|
@ -209,8 +209,8 @@ def on_not_find_qweb(self):
|
||||
def _okcallback():
|
||||
|
||||
link = [
|
||||
"https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x86.zip",
|
||||
"https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x64.zip",
|
||||
"https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x86.zip",
|
||||
"https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x64.zip",
|
||||
][platform.architecture()[0] == "64bit"]
|
||||
os.startfile(link)
|
||||
installqwebdialog(self, link)
|
||||
|
1767
LunaTranslator/files/defaultconfig/_.json
Normal file
1767
LunaTranslator/files/defaultconfig/_.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -285,10 +285,7 @@
|
||||
}
|
||||
},
|
||||
"relationlinks": [
|
||||
[
|
||||
"LunaTranslator",
|
||||
"https://github.com/HIllya51/LunaTranslator"
|
||||
],
|
||||
|
||||
[
|
||||
"vndb",
|
||||
"https://vndb.org/"
|
||||
|
@ -246,8 +246,8 @@
|
||||
"mangaocr": {
|
||||
"args": {
|
||||
"项目仓库": "https://github.com/kha-white/manga-ocr",
|
||||
"整合包_CPU": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_cpu_v0.1.11.zip",
|
||||
"整合包_GPU": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_gpu_v0.1.11.7z",
|
||||
"整合包_CPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip",
|
||||
"整合包_GPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z",
|
||||
"Port": 5665
|
||||
},
|
||||
"argstype": {
|
||||
|
@ -674,36 +674,10 @@
|
||||
{
|
||||
"name": "离线翻译",
|
||||
"sources": [
|
||||
{
|
||||
"name": "J北京7",
|
||||
"type": "group",
|
||||
"links": [
|
||||
{
|
||||
"name": "J北京7",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7.zip"
|
||||
},
|
||||
{
|
||||
"name": "用户词典",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7UserDict.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "金山快译",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/FastAIT09_Setup.25269.4101.zip"
|
||||
},
|
||||
{
|
||||
"name": "快译通",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/DR.eye.zip"
|
||||
},
|
||||
{
|
||||
"name": "MT5",
|
||||
"link": "https://github.com/chaihahaha/OrtMT5/releases/tag/v0.1.0"
|
||||
},
|
||||
{
|
||||
"name": "Sugoi",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/Sugoi_Translator_V8.7z"
|
||||
},
|
||||
{
|
||||
"name": "Sakura大模型",
|
||||
"link": "https://github.com/SakuraLLM/Sakura-13B-Galgame"
|
||||
@ -723,27 +697,27 @@
|
||||
"links": [
|
||||
{
|
||||
"name": "日语",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ja.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ja.zip"
|
||||
},
|
||||
{
|
||||
"name": "英文",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/en.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/en.zip"
|
||||
},
|
||||
{
|
||||
"name": "简体中文",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/zh.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/zh.zip"
|
||||
},
|
||||
{
|
||||
"name": "繁体中文",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/cht.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/cht.zip"
|
||||
},
|
||||
{
|
||||
"name": "韩语",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ko.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ko.zip"
|
||||
},
|
||||
{
|
||||
"name": "俄语",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ru.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models/ru.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -757,11 +731,11 @@
|
||||
},
|
||||
{
|
||||
"name": "整合包_CPU",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_cpu_v0.1.11.zip"
|
||||
"link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip"
|
||||
},
|
||||
{
|
||||
"name": "整合包_GPU",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/manga-ocr_gpu_v0.1.11.7z"
|
||||
"link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -776,7 +750,7 @@
|
||||
"links": [
|
||||
{
|
||||
"name": "MeCab",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/Mecab.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Mecab.zip"
|
||||
},
|
||||
{
|
||||
"name": "Unidic",
|
||||
@ -786,19 +760,19 @@
|
||||
},
|
||||
{
|
||||
"name": "小学馆",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/xiaoxueguan.db"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/xiaoxueguan.db"
|
||||
},
|
||||
{
|
||||
"name": "EDICT",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/edict.db"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict.db"
|
||||
},
|
||||
{
|
||||
"name": "EDICT2",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/edict2"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/edict2"
|
||||
},
|
||||
{
|
||||
"name": "灵格斯词典",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/Lingoes.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/dictionary/Lingoes.zip"
|
||||
},
|
||||
{
|
||||
"name": "MDict",
|
||||
@ -819,20 +793,6 @@
|
||||
{
|
||||
"name": "语音合成",
|
||||
"sources": [
|
||||
{
|
||||
"name": "NeoSpeech",
|
||||
"type": "group",
|
||||
"links": [
|
||||
{
|
||||
"name": "Misaki",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.Japanese.Misaki.zip"
|
||||
},
|
||||
{
|
||||
"name": "Show",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.TTS.NeoSpeech.Japanese.Show_v3.10.0.0.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "VOICEVOX",
|
||||
"link": "https://github.com/VOICEVOX/voicevox/releases"
|
||||
@ -854,120 +814,6 @@
|
||||
"link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "VoiceRoid+_東北ずん子/东北俊子",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/voiceroid_plus/VOICEROID+zunko.7z"
|
||||
},
|
||||
{
|
||||
"name": "VoiceRoid2",
|
||||
"type": "group",
|
||||
"links": [
|
||||
{
|
||||
"name": "SFE_結月ゆかり/结月缘",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/Yukari2.zip"
|
||||
},
|
||||
{
|
||||
"name": "結月ゆかり/结月缘",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Yuzuki_Yukari.zip"
|
||||
},
|
||||
{
|
||||
"name": "紲星あかり/绁星灯",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kizuna_Akari.zip"
|
||||
},
|
||||
{
|
||||
"name": "琴葉 茜・葵",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Kotonoha_Akane_Aoi.zip"
|
||||
},
|
||||
{
|
||||
"name": "伊織弓鶴",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Iori_Yuzuru.zip"
|
||||
},
|
||||
{
|
||||
"name": "ついなちゃん",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_tsuina-chan_dl_e.zip"
|
||||
},
|
||||
{
|
||||
"name": "東北イタコ/东北伊达子",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/VOICEROID2_Tohoku_Itako.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_結月ゆかり",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yukari_emo_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_紲星あかり",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akari_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_東北きりたん",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kiritan_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_東北イタコ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/itako_emo_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_東北ずん子",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/zunko_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_伊織弓鶴",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yuzuru_emo_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_ついなちゃん",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_ついなちゃん(関西弁)",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tsuina_west_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_琴葉茜",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/akane_west_emo_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_琴葉葵",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/aoi_emo_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_水奈瀬コウ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/kou_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_桜乃そら",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/sora_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_民安ともえ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/tamiyasu_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_月読アイ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/ai_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_月読ショウタ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/shouta_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_京町セイカ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/seika_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_音街ウナ",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/una_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_鷹の爪吉田",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/yoshidakun_44.zip"
|
||||
},
|
||||
{
|
||||
"name": "附加音源_ギャラ子",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/install_free_voice_packages/galaco_44.zip"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1001,7 +847,7 @@
|
||||
},
|
||||
{
|
||||
"name": "win7适配版",
|
||||
"link": "https://github.com/HIllya51/Magpie9_win7/releases"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/Release.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1011,11 +857,11 @@
|
||||
"links": [
|
||||
{
|
||||
"name": "x86",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x86.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x86.zip"
|
||||
},
|
||||
{
|
||||
"name": "x64",
|
||||
"link": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/QWebEngine_x64.zip"
|
||||
"link": "https://github.com/test123456654321/LunaTranslator/releases/download/other/QWebEngine_x64.zip"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -91,7 +91,6 @@
|
||||
},
|
||||
"sugoix": {
|
||||
"args": {
|
||||
"V8": "https://github.com/HIllya51/RESOURCES/releases/download/softwares/Sugoi_Translator_V8.7z",
|
||||
"api": "http://127.0.0.1:14366/"
|
||||
},
|
||||
"argstype": {
|
||||
|
16
build.py
16
build.py
@ -22,12 +22,12 @@ curlFile64 = "https://curl.se/windows/dl-8.7.1_7/curl-8.7.1_7-win64-mingw.zip"
|
||||
curlFileName64 = "curl-8.7.1_7-win64-mingw.zip"
|
||||
|
||||
|
||||
ocrModelUrl = "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models"
|
||||
ocrModelUrl = (
|
||||
"https://github.com/test123456654321/LunaTranslator/releases/download/ocr_models"
|
||||
)
|
||||
availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"]
|
||||
|
||||
LunaHook_latest = (
|
||||
"https://github.com/HIllya51/LunaHook/releases/latest/download/Release_English.zip"
|
||||
)
|
||||
LunaHook_latest = "https://github.com/test123456654321/LunaTranslator/releases/download/LunaHook/Release_English.zip"
|
||||
|
||||
LocaleRe = "https://github.com/InWILL/Locale_Remulator/releases/download/v1.5.3-beta.1/Locale_Remulator.1.5.3-beta.1.zip"
|
||||
|
||||
@ -113,15 +113,15 @@ def downloadcommon():
|
||||
os.chdir(rootDir + "\\temp")
|
||||
downloadlr()
|
||||
subprocess.run(
|
||||
f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/mecab.zip"
|
||||
f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/mecab.zip"
|
||||
)
|
||||
subprocess.run(f"7z x mecab.zip -oALL")
|
||||
subprocess.run(
|
||||
f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/ocr.zip"
|
||||
f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/ocr.zip"
|
||||
)
|
||||
subprocess.run(f"7z x ocr.zip -oALL")
|
||||
subprocess.run(
|
||||
f"curl -LO https://github.com/HIllya51/RESOURCES/releases/download/common/magpie.zip"
|
||||
f"curl -LO https://github.com/test123456654321/LunaTranslator/releases/download/other/magpie.zip"
|
||||
)
|
||||
subprocess.run(f"7z x magpie.zip -oALL")
|
||||
|
||||
@ -241,7 +241,7 @@ def buildPlugins():
|
||||
|
||||
def downloadsomething():
|
||||
os.chdir(rootDir + "\\temp")
|
||||
os.system("git clone https://github.com/HIllya51/stylesheets")
|
||||
os.system("git clone https://github.com/test123456654321/stylesheets")
|
||||
move_directory_contents("stylesheets", rootDir + "\\LunaTranslator\\files\\themes")
|
||||
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 3463b8df3ff5c1f52ca3e5815536d95a97907175
|
Loading…
x
Reference in New Issue
Block a user