From c33518ac774f55ec7c39833291c37caf4e60e3b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com>
Date: Sat, 30 Nov 2024 10:02:51 +0800
Subject: [PATCH] .
---
.github/scripts/build_lunatranslator.py | 16 +------
.gitignore | 1 -
.../Locale/Locale.Emulator/LEConfig.xml | 23 ++++++++++
.../Locale/Locale_Remulator/LRConfig.xml | 45 +++++++++++++++++++
4 files changed, 70 insertions(+), 15 deletions(-)
create mode 100644 py/files/plugins/Locale/Locale.Emulator/LEConfig.xml
create mode 100644 py/files/plugins/Locale/Locale_Remulator/LRConfig.xml
diff --git a/.github/scripts/build_lunatranslator.py b/.github/scripts/build_lunatranslator.py
index b4c90a51..225dabc9 100644
--- a/.github/scripts/build_lunatranslator.py
+++ b/.github/scripts/build_lunatranslator.py
@@ -36,8 +36,8 @@ mylinks = {
}
-pluginDirs = ["DLL32", "DLL64", "Locale_Remulator", "Magpie", "NTLEAS"]
-pluginDirs_1 = ["DLL32", "DLL64", "NTLEAS"]
+pluginDirs = ["DLL32", "DLL64", "Magpie"]
+pluginDirs_1 = ["DLL32", "DLL64"]
vcltlFile = "https://github.com/Chuyu-Team/VC-LTL5/releases/download/v5.0.9/VC-LTL-5.0.9-Binary.7z"
@@ -133,12 +133,6 @@ def downloadlr():
exist_ok=True,
)
- p = subprocess.Popen(f"{fn}/LRProc.exe")
- while 1:
- if os.path.exists(f"{fn}/LRConfig.xml"):
- break
- time.sleep(0.1)
- p.kill()
for f in [
"LRHookx64.dll",
"LRHookx32.dll",
@@ -167,12 +161,6 @@ def downloadLocaleEmulator():
break
time.sleep(0.1)
p.kill()
- p = subprocess.Popen("LocaleEmulator/LEProc.exe")
- while 1:
- if os.path.exists("LocaleEmulator/LEConfig.xml"):
- break
- time.sleep(0.1)
- p.kill()
for f in [
"LoaderDll.dll",
diff --git a/.gitignore b/.gitignore
index d0acfa9a..9b177413 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,7 +28,6 @@ py/userconfig
py/cache
py/chrome_cache
py/files/ocr
-py/files/plugins
py/files/themes
py/run37.bat
py/run3732.bat
diff --git a/py/files/plugins/Locale/Locale.Emulator/LEConfig.xml b/py/files/plugins/Locale/Locale.Emulator/LEConfig.xml
new file mode 100644
index 00000000..3202e798
--- /dev/null
+++ b/py/files/plugins/Locale/Locale.Emulator/LEConfig.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+ ja-JP
+ Tokyo Standard Time
+ false
+ true
+ false
+ false
+
+
+
+ ja-JP
+ Tokyo Standard Time
+ true
+ true
+ false
+ false
+
+
+
\ No newline at end of file
diff --git a/py/files/plugins/Locale/Locale_Remulator/LRConfig.xml b/py/files/plugins/Locale/Locale_Remulator/LRConfig.xml
new file mode 100644
index 00000000..1a8702e3
--- /dev/null
+++ b/py/files/plugins/Locale/Locale_Remulator/LRConfig.xml
@@ -0,0 +1,45 @@
+
+
+
+
+ ja-JP
+ 932
+ 1041
+ Tokyo Standard Time
+ 540
+ false
+ false
+ true
+
+
+ ja-JP
+ 932
+ 1041
+ Tokyo Standard Time
+ 540
+ true
+ true
+ true
+
+
+ zh-TW
+ 950
+ 1028
+ Taipei Standard Time
+ 480
+ true
+ true
+ true
+
+
+ ko-KR
+ 949
+ 1042
+ Korea Standard Time
+ 540
+ true
+ true
+ true
+
+
+
\ No newline at end of file