This commit is contained in:
恍兮惚兮 2024-05-01 11:33:04 +08:00
parent 46857e6221
commit a7bc3574d3
7 changed files with 2283 additions and 939 deletions

View File

@ -7,29 +7,38 @@
"only_from_exe": [], "only_from_exe": [],
"showrangeafterrangeselect": true, "showrangeafterrangeselect": true,
"autodisappear": false, "autodisappear": false,
"WindowBackdrop":0, "WindowBackdrop": 0,
"read_raw": true, "read_raw": true,
"read_trans": false, "read_trans": false,
"read_translator": 0, "read_translator": 0,
"disappear_delay": 5, "disappear_delay": 5,
"network":1, "network": 1,
"hookmagpie":true, "hookmagpie": true,
"imagewrapmode":0, "imagewrapmode": 0,
"relationlinks":[["LunaTranslator","https://github.com/HIllya51/LunaTranslator"],["vndb","https://vndb.org/"]], "relationlinks": [
"hooklossless":true, [
"direct_filterrepeat":false, "LunaTranslator",
"allow_set_text_name":false, "https://github.com/HIllya51/LunaTranslator"
"textoutputer":{ ],
"clipboard":{ [
"use":false "vndb",
"https://vndb.org/"
]
],
"hooklossless": true,
"direct_filterrepeat": false,
"allow_set_text_name": false,
"textoutputer": {
"clipboard": {
"use": false
}, },
"websocket":{ "websocket": {
"use":false, "use": false,
"port":2333 "port": 2333
} }
}, },
"embedded": { "embedded": {
"safecheck_use":true, "safecheck_use": true,
"safecheckregexs": [ "safecheckregexs": [
"(.*?)\\{(.*?)\\}(.*?)", "(.*?)\\{(.*?)\\}(.*?)",
"(.*?)\\[(.*?)\\](.*?)" "(.*?)\\[(.*?)\\](.*?)"
@ -50,13 +59,13 @@
"buttonsize": 20, "buttonsize": 20,
"language_setted_2.4.5": false, "language_setted_2.4.5": false,
"postprocess_rank": [], "postprocess_rank": [],
"transoptimi":{ "transoptimi": {
"noundict":false, "noundict": false,
"transerrorfix":false, "transerrorfix": false,
"gongxiangcishu":false, "gongxiangcishu": false,
"vndbnamemap":false, "vndbnamemap": false,
"myprocess":false, "myprocess": false,
"arabic_reshaper":false "arabic_reshaper": false
}, },
"uselongtermcache": false, "uselongtermcache": false,
"hist_split": false, "hist_split": false,
@ -66,9 +75,12 @@
"button_color_close": "#D32424", "button_color_close": "#D32424",
"button_color_normal": "#FFFFFF", "button_color_normal": "#FFFFFF",
"textthreaddelay": 500, "textthreaddelay": 500,
"flushbuffersize":3000, "flushbuffersize": 3000,
"transuigeo":[ "transuigeo": [
500,500,1200,200 500,
500,
1200,
200
], ],
"hist_geo": [ "hist_geo": [
100, 100,
@ -124,29 +136,29 @@
500, 500,
500 500
], ],
"multiregion":false, "multiregion": false,
"rememberocrregions":false, "rememberocrregions": false,
"ocrregions":[], "ocrregions": [],
"textboxreadonly":true, "textboxreadonly": true,
"ocr_stable_sim": 0, "ocr_stable_sim": 0,
"ocr_diff_sim": 0.95, "ocr_diff_sim": 0.95,
"ocr_text_diff":3, "ocr_text_diff": 3,
"autorun": true, "autorun": true,
"usewebview":0, "usewebview": 0,
"transparent": 80, "transparent": 80,
"fontsize": 17.0, "fontsize": 17.0,
"localeswitchmethod": 0, "localeswitchmethod": 0,
"hide_not_exists":false, "hide_not_exists": false,
"startgamenototop":true, "startgamenototop": true,
"showgametitle":true, "showgametitle": true,
"extra_space":0, "extra_space": 0,
"fonttype": "Arial", "fonttype": "Arial",
"fonttype2": "Arial", "fonttype2": "Arial",
"miaobianwidth2": 3, "miaobianwidth2": 3,
"miaobianwidth": 1, "miaobianwidth": 1,
"miaobiancolor": "#eeeeee", "miaobiancolor": "#eeeeee",
"zitiyangshi": 2, "zitiyangshi": 2,
"hira_vis_type":0, "hira_vis_type": 0,
"iskongxin": true, "iskongxin": true,
"isshowrawtext": true, "isshowrawtext": true,
"kanarate": 0.5, "kanarate": 0.5,
@ -155,14 +167,14 @@
"isshowhira": false, "isshowhira": false,
"locktools": true, "locktools": true,
"showfanyisource": false, "showfanyisource": false,
"use_yapi":true, "use_yapi": true,
"showfanyi":true, "showfanyi": true,
"autoread": false, "autoread": false,
"ttsnointerrupt":false, "ttsnointerrupt": false,
"show_fenci": false, "show_fenci": false,
"jiamingcolor": "black", "jiamingcolor": "black",
"settingfonttype": "Arial", "settingfonttype": "Arial",
"showintab_sub":false, "showintab_sub": false,
"setting_geo_2": [ "setting_geo_2": [
100, 100,
100, 100,
@ -191,8 +203,8 @@
"dialog_savegame_layout": { "dialog_savegame_layout": {
"itemw": 250, "itemw": 250,
"itemh": 350, "itemh": 350,
"margin":10, "margin": 10,
"textH":50, "textH": 50,
"backcolor": "#c38282", "backcolor": "#c38282",
"onselectcolor": "#007fff", "onselectcolor": "#007fff",
"onfilenoexistscolor": "#acacac" "onfilenoexistscolor": "#acacac"
@ -233,16 +245,17 @@
"tip": "打开关联页面", "tip": "打开关联页面",
"icon": "fa.sitemap" "icon": "fa.sitemap"
}, },
"open_game_setting":{ "open_game_setting": {
"use":false, "use": false,
"tip":"游戏设置", "tip": "游戏设置",
"icon":"fa.futbol-o" "icon": "fa.futbol-o"
}, },
"mousetransbutton": { "mousetransbutton": {
"use": true, "use": true,
"tip": "鼠标穿透窗口", "tip": "鼠标穿透窗口",
"icon": "fa.mouse-pointer" "icon": "fa.mouse-pointer"
},"backtransbutton": { },
"backtransbutton": {
"use": true, "use": true,
"tip": "背景窗口透明", "tip": "背景窗口透明",
"icon": "fa.lightbulb-o" "icon": "fa.lightbulb-o"
@ -652,7 +665,7 @@
"use": false, "use": false,
"path": "", "path": "",
"name": "MeCab", "name": "MeCab",
"codec":0 "codec": 0
}, },
"mojinlt": { "mojinlt": {
"use": false, "use": false,
@ -711,17 +724,17 @@
"name": "goo" "name": "goo"
} }
}, },
"darklight":0, "darklight": 0,
"darktheme":0, "darktheme": 0,
"lighttheme":0, "lighttheme": 0,
"usesearchword": false, "usesearchword": false,
"usecopyword":false, "usecopyword": false,
"usewordorigin":false, "usewordorigin": false,
"ttscommon": { "ttscommon": {
"rate": 1.0, "rate": 1.0,
"volume": 100.0, "volume": 100.0,
"tts_repair":false, "tts_repair": false,
"tts_repair_regex":[] "tts_repair_regex": []
}, },
"allowmulti": true, "allowmulti": true,
"sourcestatus2": { "sourcestatus2": {
@ -753,10 +766,12 @@
"baiduocr_X": { "baiduocr_X": {
"use": false, "use": false,
"name": "baiduOCR_X" "name": "baiduOCR_X"
},"txocr": { },
"txocr": {
"use": false, "use": false,
"name": "tencent.ocr" "name": "tencent.ocr"
},"txocrtrans": { },
"txocrtrans": {
"use": false, "use": false,
"name": "tencent.ImageTranslate" "name": "tencent.ImageTranslate"
}, },
@ -881,9 +896,9 @@
"use": false, "use": false,
"color": "blue", "color": "blue",
"name": "DeepLX", "name": "DeepLX",
"useproxy":false "useproxy": false
}, },
"dev_chatgpt":{ "dev_chatgpt": {
"use": false, "use": false,
"color": "blue", "color": "blue",
"type": "dev", "type": "dev",
@ -930,7 +945,8 @@
"color": "blue", "color": "blue",
"type": "dev", "type": "dev",
"name": "有道" "name": "有道"
},"dev_sogou": { },
"dev_sogou": {
"use": false, "use": false,
"color": "blue", "color": "blue",
"type": "dev", "type": "dev",
@ -1133,7 +1149,7 @@
"use": false, "use": false,
"color": "blue", "color": "blue",
"name": "ChatGPT", "name": "ChatGPT",
"is_gpt_like":true "is_gpt_like": true
}, },
"cohere": { "cohere": {
"type": "api", "type": "api",
@ -1152,7 +1168,7 @@
"use": false, "use": false,
"color": "blue", "color": "blue",
"name": "ChatGPT_非官方", "name": "ChatGPT_非官方",
"is_gpt_like":true "is_gpt_like": true
}, },
"hanshant": { "hanshant": {
"type": "offline", "type": "offline",
@ -1199,7 +1215,7 @@
"name": "TGW语言模型" "name": "TGW语言模型"
} }
}, },
"magpiepath":"", "magpiepath": "",
"minifollow": false, "minifollow": false,
"movefollow": false, "movefollow": false,
"focusfollow": false, "focusfollow": false,
@ -1207,7 +1223,7 @@
"autostarthook": true, "autostarthook": true,
"minlength": 0, "minlength": 0,
"maxlength": 1000, "maxlength": 1000,
"maxoriginlength":1000, "maxoriginlength": 1000,
"srclang3": 1, "srclang3": 1,
"tgtlang3": 0, "tgtlang3": 0,
"transkiroku": false, "transkiroku": false,
@ -1216,8 +1232,8 @@
"image_analyse": true, "image_analyse": true,
"time_period": false, "time_period": false,
"ocr_auto_method": 0, "ocr_auto_method": 0,
"ocr_presolve_method":0, "ocr_presolve_method": 0,
"binary_thresh":128, "binary_thresh": 128,
"ocr_interval": 5, "ocr_interval": 5,
"mustocr_interval": 5, "mustocr_interval": 5,
"ocrmininterval": 1, "ocrmininterval": 1,
@ -1228,6 +1244,6 @@
"path": "" "path": ""
}, },
"proxies": null, "proxies": null,
"labelset":[], "labelset": [],
"backupsavedatato":"" "backupsavedatato": ""
} }

View File

@ -1,7 +1,7 @@
{ {
"use": true, "use": true,
"args": { "args": {
"替换内容": { "替换内容": {
"\\|二": "に", "\\|二": "に",
"ムロ": "合", "ムロ": "合",
"カゝ": "か", "カゝ": "か",

View File

@ -3,175 +3,221 @@
"args": { "args": {
"注册网址": "https://console.bce.baidu.com/ai/?fromai=1#/ai/ocr/app/list", "注册网址": "https://console.bce.baidu.com/ai/?fromai=1#/ai/ocr/app/list",
"API Key": "", "API Key": "",
"Secret Key": "", "Secret Key": "",
"接口":0, "接口": 0,
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"接口":{ },
"type":"combo", "接口": {
"list":["通用文字识别(标准版)","通用文字识别(标准含位置版)","通用文字识别(高精度版)","通用文字识别(高精度含位置版)"] "type": "combo",
"list": [
"通用文字识别(标准版)",
"通用文字识别(标准含位置版)",
"通用文字识别(高精度版)",
"通用文字识别(高精度含位置版)"
]
} }
} }
},"txocr": { },
"txocr": {
"args": { "args": {
"注册网址": "https://cloud.tencent.com/document/product/866/33526", "注册网址": "https://cloud.tencent.com/document/product/866/33526",
"SecretId": "", "SecretId": "",
"SecretKey": "", "SecretKey": "",
"Region":0 "Region": 0
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"Region":{ },
"type":"combo", "Region": {
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"] "type": "combo",
"list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
} }
} }
},"txocrtrans": { },
"txocrtrans": {
"args": { "args": {
"注册网址": "https://cloud.tencent.com/document/product/551/17232", "注册网址": "https://cloud.tencent.com/document/product/551/17232",
"SecretId": "", "SecretId": "",
"SecretKey": "", "SecretKey": "",
"ProjectId":"0", "ProjectId": "0",
"Region":0 "Region": 0
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"Region":{ },
"type":"combo", "Region": {
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"] "type": "combo",
"list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
} }
} }
},"feishu": { },
"feishu": {
"args": { "args": {
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal", "注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
"app_id": "", "app_id": "",
"app_secret": "" "app_secret": ""
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
} "islink": true
} }
}
}, },
"docsumo": { "docsumo": {
"args": { "args": {
"注册网址": "https://docsumo.com/", "注册网址": "https://docsumo.com/",
"token": "", "token": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
} "islink": true
} }
}
}, },
"youdaocr": { "youdaocr": {
"args": { "args": {
"注册网址": "https://ai.youdao.com/product-ocr-print.s", "注册网址": "https://ai.youdao.com/product-ocr-print.s",
"接口":0, "接口": 0,
"APP_KEY": "", "APP_KEY": "",
"APP_SECRET":"", "APP_SECRET": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"接口":{ },
"type":"combo", "接口": {
"list":["免费试用","通用文字识别 API"] "type": "combo",
"list": [
"免费试用",
"通用文字识别 API"
]
} }
}
}
}, },
"youdaocrtrans": { "youdaocrtrans": {
"args": { "args": {
"注册网址": "https://ai.youdao.com/product-fanyi-picture.s", "注册网址": "https://ai.youdao.com/product-fanyi-picture.s",
"接口":0, "接口": 0,
"APP_KEY": "", "APP_KEY": "",
"APP_SECRET":"", "APP_SECRET": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"接口":{ },
"type":"combo", "接口": {
"list":["免费试用","图片翻译 API"] "type": "combo",
"list": [
"免费试用",
"图片翻译 API"
]
} }
}
}
}, },
"ocrspace": { "ocrspace": {
"args": { "args": {
"注册网址": "https://ocr.space/", "注册网址": "https://ocr.space/",
"apikey": "", "apikey": "",
"次数统计": "0", "次数统计": "0",
"interface":0 "interface": 0
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
}, "islink": true
"interface":{ },
"type":"combo", "interface": {
"list":["pro","free"] "type": "combo",
"list": [
"pro",
"free"
]
} }
} }
}, },
"volcengine": { "volcengine": {
"args": { "args": {
"注册网址": "https://console.volcengine.com/ai/ability/detail/1", "注册网址": "https://console.volcengine.com/ai/ability/detail/1",
"密钥获取": "https://console.volcengine.com/iam/keymanage/", "密钥获取": "https://console.volcengine.com/iam/keymanage/",
"Access Key ID": "", "Access Key ID": "",
"Secret Access Key": "" "Secret Access Key": ""
},"argstype":{ },
"注册网址":{ "argstype": {
"type":"label", "注册网址": {
"islink":true "type": "label",
},"密钥获取":{ "islink": true
"type":"label", },
"islink":true "密钥获取": {
} "type": "label",
} "islink": true
}
}
}, },
"tesseract5": { "tesseract5": {
"args": { "args": {
"下载": "https://github.com/UB-Mannheim/tesseract/wiki", "下载": "https://github.com/UB-Mannheim/tesseract/wiki",
"路径": "", "路径": "",
"语言":0, "语言": 0,
"附加参数":"--psm 6" "附加参数": "--psm 6"
},"argstype":{ },
"下载":{ "argstype": {
"type":"label", "下载": {
"islink":true "type": "label",
},"路径":{ "islink": true
"type":"file", },
"dir":false, "路径": {
"filter":"tesseract.exe", "type": "file",
"multi":false "dir": false,
}, "filter": "tesseract.exe",
"语言":{ "multi": false
"type":"combo", },
"list_function":["ocrengines.tesseract5","list_langs"] "语言": {
"type": "combo",
"list_function": [
"ocrengines.tesseract5",
"list_langs"
]
} }
} }
}, },
"mangaocr": { "mangaocr": {
"args": { "args": {
"项目仓库": "https://github.com/kha-white/manga-ocr", "项目仓库": "https://github.com/kha-white/manga-ocr",
"整合包-CPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip", "整合包-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.2/manga-ocr_gpu_v0.1.11.7z", "整合包-GPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z",
"Port":5665 "Port": 5665
}, },
"argstype": { "argstype": {
"项目仓库": { "项目仓库": {
@ -186,12 +232,12 @@
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"Port":{ "Port": {
"type":"intspin", "type": "intspin",
"min":1, "min": 1,
"max":65535, "max": 65535,
"step":1 "step": 1
} }
} }
} }
} }

View File

@ -1,24 +1,27 @@
{ {
"_remove_non_shiftjis_char":{ "_remove_non_shiftjis_char": {
"use":false, "use": false,
"name":"过滤文本中的非日语字符集字符" "name": "过滤文本中的非日语字符集字符"
}, },
"_remove_latin":{ "_remove_latin": {
"use":false, "use": false,
"name":"过滤latin-1字符集" "name": "过滤latin-1字符集"
}, },
"_remove_ascii":{ "_remove_ascii": {
"use":false, "use": false,
"name":"过滤ASCII字符集" "name": "过滤ASCII字符集"
},"_remove_control":{ },
"use":false, "_remove_control": {
"name":"过滤控制字符" "use": false,
},"_remove_chaos":{ "name": "过滤控制字符"
"use":false, },
"name":"过滤其他乱码" "_remove_chaos": {
},"_remove_not_in_ja_bracket":{ "use": false,
"use":false, "name": "过滤其他乱码"
"name":"过滤「」以外的字符" },
"_remove_not_in_ja_bracket": {
"use": false,
"name": "过滤「」以外的字符"
}, },
"_1": { "_1": {
"use": false, "use": false,
@ -29,9 +32,9 @@
"name": "去除重复字符_AAAABBBBCCCC->ABC", "name": "去除重复字符_AAAABBBBCCCC->ABC",
"args": { "args": {
"重复次数(若为1则自动分析去重)": 1, "重复次数(若为1则自动分析去重)": 1,
"保持非重复字符":true "保持非重复字符": true
}, },
"argstype":{ "argstype": {
"保持非重复字符": { "保持非重复字符": {
"type": "switch" "type": "switch"
}, },
@ -49,7 +52,7 @@
"args": { "args": {
"重复次数(若为1则自动分析去重)": 1 "重复次数(若为1则自动分析去重)": 1
}, },
"argstype":{ "argstype": {
"重复次数(若为1则自动分析去重)": { "重复次数(若为1则自动分析去重)": {
"type": "intspin", "type": "intspin",
"min": 0, "min": 0,
@ -57,7 +60,8 @@
"step": 1 "step": 1
} }
} }
},"_3_2": { },
"_3_2": {
"use": false, "use": false,
"name": "去除重复行_S1S1S1S2S2S2->S1S2" "name": "去除重复行_S1S1S1S2S2S2->S1S2"
}, },
@ -76,20 +80,25 @@
"_91": { "_91": {
"use": false, "use": false,
"name": "过滤数字" "name": "过滤数字"
},"_92": { },
"_92": {
"use": false, "use": false,
"name": "过滤英文字母" "name": "过滤英文字母"
}, },
"_7": { "_7": {
"use": true, "use": true,
"name": "简单字符串替换", "name": "简单字符串替换",
"args": { "替换内容": {}} "args": {
}, "替换内容": {}
"_7_zhuanyi": { }
},
"_7_zhuanyi": {
"use": true, "use": true,
"name": "转义字符串替换", "name": "转义字符串替换",
"args": { "替换内容": {}} "args": {
}, "替换内容": {}
}
},
"_8": { "_8": {
"use": false, "use": false,
"name": "正则表达式替换", "name": "正则表达式替换",

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
PyQt5==5.15.10 PyQt5==5.15.10
PyQt5-Qt5==5.15.2 PyQt5-Qt5==5.15.2
webviewpy==1.1.0 webviewpy
nuitka==2.0.5 nuitka==2.2
imageio imageio
pefile pefile