mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-17 00:15:13 +00:00
feat: add en and Global server options
This commit is contained in:
parent
2f4d64e5d0
commit
7b2c3bb165
@ -11,7 +11,8 @@
|
|||||||
"value": "auto",
|
"value": "auto",
|
||||||
"option": [
|
"option": [
|
||||||
"auto",
|
"auto",
|
||||||
"JP-Official"
|
"JP-Official",
|
||||||
|
"OVERSEA-Global"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"GameLanguage": {
|
"GameLanguage": {
|
||||||
@ -19,7 +20,8 @@
|
|||||||
"value": "auto",
|
"value": "auto",
|
||||||
"option": [
|
"option": [
|
||||||
"auto",
|
"auto",
|
||||||
"jp"
|
"jp",
|
||||||
|
"en"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ScreenshotMethod": {
|
"ScreenshotMethod": {
|
||||||
|
|||||||
@ -23,7 +23,7 @@ Emulator:
|
|||||||
option: [ auto, ]
|
option: [ auto, ]
|
||||||
GameLanguage:
|
GameLanguage:
|
||||||
value: auto
|
value: auto
|
||||||
option: [ auto, jp ]
|
option: [ auto, jp, en ]
|
||||||
ScreenshotMethod:
|
ScreenshotMethod:
|
||||||
value: auto
|
value: auto
|
||||||
option: [ auto, ADB, ADB_nc, uiautomator2, aScreenCap, aScreenCap_nc, DroidCast, DroidCast_raw, scrcpy ]
|
option: [ auto, ADB, ADB_nc, uiautomator2, aScreenCap, aScreenCap_nc, DroidCast, DroidCast_raw, scrcpy ]
|
||||||
|
|||||||
@ -17,8 +17,8 @@ class GeneratedConfig:
|
|||||||
|
|
||||||
# Group `Emulator`
|
# Group `Emulator`
|
||||||
Emulator_Serial = 'auto'
|
Emulator_Serial = 'auto'
|
||||||
Emulator_PackageName = 'auto' # auto, JP-Official
|
Emulator_PackageName = 'auto' # auto, JP-Official, OVERSEA-Global
|
||||||
Emulator_GameLanguage = 'auto' # auto, jp
|
Emulator_GameLanguage = 'auto' # auto, jp, en
|
||||||
Emulator_ScreenshotMethod = 'auto' # auto, ADB, ADB_nc, uiautomator2, aScreenCap, aScreenCap_nc, DroidCast, DroidCast_raw, scrcpy
|
Emulator_ScreenshotMethod = 'auto' # auto, ADB, ADB_nc, uiautomator2, aScreenCap, aScreenCap_nc, DroidCast, DroidCast_raw, scrcpy
|
||||||
Emulator_ControlMethod = 'MaaTouch' # minitouch, MaaTouch
|
Emulator_ControlMethod = 'MaaTouch' # minitouch, MaaTouch
|
||||||
Emulator_AdbRestart = False
|
Emulator_AdbRestart = False
|
||||||
|
|||||||
@ -76,19 +76,21 @@
|
|||||||
"name": "Game Server",
|
"name": "Game Server",
|
||||||
"help": "Can't distinguish different regions of oversea servers, please select the server manually.",
|
"help": "Can't distinguish different regions of oversea servers, please select the server manually.",
|
||||||
"auto": "Auto-detect",
|
"auto": "Auto-detect",
|
||||||
"JP-Official": "[JP]-Official"
|
"JP-Official": "[JP]-Official",
|
||||||
|
"OVERSEA-Global": "[OVERSEA]-Global"
|
||||||
},
|
},
|
||||||
"GameLanguage": {
|
"GameLanguage": {
|
||||||
"name": "In-game Text Language",
|
"name": "In-game Text Language",
|
||||||
"help": "Currently, only Simplified Chinese and English are supported. Please set the text language in game to one of them.",
|
"help": "",
|
||||||
"auto": "Auto-detect",
|
"auto": "Auto-detect",
|
||||||
"jp": "Japanese"
|
"jp": "Japanese",
|
||||||
|
"en": "English"
|
||||||
},
|
},
|
||||||
"ScreenshotMethod": {
|
"ScreenshotMethod": {
|
||||||
"name": "Screenshot Method",
|
"name": "Screenshot Method",
|
||||||
"help": "When using auto-select, a benchmark will be performed and automatically changed to the fastest screenshot method.\nGeneral speed: DroidCast_raw >> aScreenCap_nc > ADB_nc >>> aScreenCap > uiautomator2 ~= ADB.\nRun Tools - Performance Test to find the fastest method.",
|
"help": "When using auto-select, a benchmark will be performed and automatically changed to the fastest screenshot method.\nGeneral speed: DroidCast_raw >> aScreenCap_nc > ADB_nc >>> aScreenCap > uiautomator2 ~= ADB.\nRun Tools - Performance Test to find the fastest method.",
|
||||||
"auto": "Auto-select the fastest",
|
"auto": "Auto-select the fastest",
|
||||||
"ADB": "ADB ",
|
"ADB": "ADB",
|
||||||
"ADB_nc": "ADB_nc",
|
"ADB_nc": "ADB_nc",
|
||||||
"uiautomator2": "uiautomator2",
|
"uiautomator2": "uiautomator2",
|
||||||
"aScreenCap": "aScreenCap",
|
"aScreenCap": "aScreenCap",
|
||||||
|
|||||||
@ -76,13 +76,15 @@
|
|||||||
"name": "游戏服务器",
|
"name": "游戏服务器",
|
||||||
"help": "无法区分国际服的不同地区,请手动选择服务器",
|
"help": "无法区分国际服的不同地区,请手动选择服务器",
|
||||||
"auto": "自动检测",
|
"auto": "自动检测",
|
||||||
"JP-Official": "[日服]-官服"
|
"JP-Official": "[日服]-官服",
|
||||||
|
"OVERSEA-Global": "[国际服]-全球"
|
||||||
},
|
},
|
||||||
"GameLanguage": {
|
"GameLanguage": {
|
||||||
"name": "游戏内文本语言",
|
"name": "游戏内文本语言",
|
||||||
"help": "",
|
"help": "",
|
||||||
"auto": "自动检测",
|
"auto": "自动检测",
|
||||||
"jp": "日语"
|
"jp": "日语",
|
||||||
|
"en": "英语"
|
||||||
},
|
},
|
||||||
"ScreenshotMethod": {
|
"ScreenshotMethod": {
|
||||||
"name": "模拟器截图方案",
|
"name": "模拟器截图方案",
|
||||||
|
|||||||
@ -5,9 +5,10 @@ Use 'import module.config.server as server' to import, don't use 'from xxx impor
|
|||||||
lang = 'jp' # Setting default to cn, will avoid errors when using dev_tools
|
lang = 'jp' # Setting default to cn, will avoid errors when using dev_tools
|
||||||
server = 'JP-Official'
|
server = 'JP-Official'
|
||||||
|
|
||||||
VALID_LANG = ['jp']
|
VALID_LANG = ['jp', 'en']
|
||||||
VALID_SERVER = {
|
VALID_SERVER = {
|
||||||
'JP-Official': 'com.YostarJP.BlueArchive'
|
'JP-Official': 'com.YostarJP.BlueArchive',
|
||||||
|
'OVERSEA-Global': 'com.nexon.bluearchive',
|
||||||
}
|
}
|
||||||
VALID_PACKAGE = set(list(VALID_SERVER.values()))
|
VALID_PACKAGE = set(list(VALID_SERVER.values()))
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ from module.config.atomicwrites import atomic_write
|
|||||||
LANGUAGES = ['zh-CN', 'en-US']
|
LANGUAGES = ['zh-CN', 'en-US']
|
||||||
SERVER_TO_TIMEZONE = {
|
SERVER_TO_TIMEZONE = {
|
||||||
'JP-Official': timedelta(hours=9),
|
'JP-Official': timedelta(hours=9),
|
||||||
|
'OVERSEA-Global': timedelta(hours=0),
|
||||||
}
|
}
|
||||||
DEFAULT_TIME = datetime(2020, 1, 1, 0, 0)
|
DEFAULT_TIME = datetime(2020, 1, 1, 0, 0)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user