1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-01-07 14:05:12 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
7b2c3bb165
feat: add en and Global server options 2023-11-13 16:06:00 +08:00
2f4d64e5d0
fix: adapt AAS 2023-11-13 15:19:48 +08:00
12 changed files with 30 additions and 22 deletions

View File

@ -1,8 +1,8 @@
Deploy: Deploy:
Git: Git:
# URL of AzurLaneAutoScript repository # URL of AzurLaneAutoScript repository
# [CN user] Use 'cn' to get update from git-over-cdn service # [CN user] Use 'cn' to get update from self-hosted git service
# [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSrcipt # [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSweeper
Repository: cn Repository: cn
# Branch of Alas # Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features # [Developer] Use 'dev', 'app', etc, to try new features

View File

@ -1,8 +1,8 @@
Deploy: Deploy:
Git: Git:
# URL of AzurLaneAutoScript repository # URL of AzurLaneAutoScript repository
# [CN user] Use 'cn' to get update from git-over-cdn service # [CN user] Use 'cn' to get update from self-hosted git service
# [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSrcipt # [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSweeper
Repository: global Repository: global
# Branch of Alas # Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features # [Developer] Use 'dev', 'app', etc, to try new features

View File

@ -1,8 +1,8 @@
Deploy: Deploy:
Git: Git:
# URL of AzurLaneAutoScript repository # URL of AzurLaneAutoScript repository
# [CN user] Use 'cn' to get update from git-over-cdn service # [CN user] Use 'cn' to get update from self-hosted git service
# [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSrcipt # [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSweeper
Repository: 'global' Repository: 'global'
# Branch of Alas # Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features # [Developer] Use 'dev', 'app', etc, to try new features

View File

@ -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": {

View File

@ -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 ]

View File

@ -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

View File

@ -76,13 +76,15 @@
"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",

View File

@ -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": "模拟器截图方案",

View File

@ -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()))

View File

@ -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)

View File

@ -1110,7 +1110,7 @@ class AlasGUI(Frame):
""" """
AAS is a free open source software, if you paid for AAS from any channel, please refund. AAS is a free open source software, if you paid for AAS from any channel, please refund.
AAS 是一款免费开源软件如果你在任何渠道付费购买了AAS请退款 AAS 是一款免费开源软件如果你在任何渠道付费购买了AAS请退款
Project repository 项目地址`https://github.com/TheFunny/ArisuAutoSrcipt` Project repository 项目地址`https://github.com/TheFunny/ArisuAutoSweeper`
""" """
).style("text-align: center") ).style("text-align: center")

View File

@ -1,8 +1,8 @@
Deploy: Deploy:
Git: Git:
# URL of AzurLaneAutoScript repository # URL of AzurLaneAutoScript repository
# [CN user] Use 'cn' to get update from git-over-cdn service # [CN user] Use 'cn' to get update from self-hosted git service
# [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSrcipt # [Other] Use 'global' to get update from https://github.com/TheFunny/ArisuAutoSweeper
Repository: {{repository}} Repository: {{repository}}
# Branch of Alas # Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features # [Developer] Use 'dev', 'app', etc, to try new features