Scighost / Starward

Game Launcher for miHoYo - 米家游戏启动器
https://starward.scighost.com
MIT License
3.34k stars 158 forks source link

[Bug] 无法使用StarRail的切换客户端功能 #794

Closed mods-player closed 2 weeks ago

mods-player commented 2 months ago

Checklist

Description

我在尝试把StarRail Global切换为China的时候出现了报错 测试原神 Global切换为China没有发生任何错误

Reproduction Steps

使用切换客户端 把Global切换为China

Expected Behavior

预期中会成功切换 但是实际情况是出现了报错:

An error occurred trying to start process 'PowerShell' with working directory 'E:\data\Program Files (x86)/HoYoLauncher', 文件名或扩展名太长

Screenshots

image

Starward Version

0.11.5

Windows Version

19045.3324

Log

[18:27:12.408] [INFO] 
Welcome to Starward v0.11.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "E:\data\Program Files (x86)\HoYoLauncher\app-0.11.5\Starward.dll"

[18:27:12.432] [INFO] Starward.Services.DatabaseService
Database path is 'E:\data\Program Files (x86)\HoYoLauncher'

[18:27:12.447] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.

[18:27:12.500] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[18:27:12.506] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[18:27:12.935] [INFO] Starward.Pages.LauncherPage
Game install path of hkrpg_cn: "E:\data\Program Files (x86)\HoYoLauncher\StarRail\~Auto~"

[18:27:12.960] [INFO] Starward.Pages.LauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.2.0", hkrpg_global.

[18:27:14.910] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)

[18:27:14.988] [INFO] Starward.Services.UpdateService
Current version: "0.11.5", latest version: "0.11.5", ignore version: null

[18:27:17.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/Astrolabe.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/Astrolabe.dll"

[18:27:17.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "UnityPlayer.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/UnityPlayer.dll"

[18:27:17.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/il2cpp_data/Metadata/global-metadata.dat", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/il2cpp_data/Metadata/global-metadata.dat"

[18:27:17.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/zf_cef.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/zf_cef.dll"

[18:27:17.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/vk_swiftshader.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/vk_swiftshader.dll"

[18:27:17.687] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/Astrolabe.dll"

[18:27:17.708] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/vk_swiftshader.dll"

[18:27:18.619] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "UnityPlayer.dll"

[18:27:18.682] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/il2cpp_data/Metadata/global-metadata.dat"

[18:27:20.383] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/zf_cef.dll"

[18:27:27.833] [INFO] Starward.Pages.SwitchClientPage
Start switching client.

[18:27:27.848] [EROR] Starward.Pages.SwitchClientPage
Start switching client
System.ComponentModel.Win32Exception (206): An error occurred trying to start process 'PowerShell' with working directory 'E:\data\Program Files (x86)\HoYoLauncher'. 文件名或扩展名太长。
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Pages.SwitchClientPage.StartSwitchClientAsync() in D:\a\Starward\Starward\src\Starward\Pages\SwitchClientPage.xaml.cs:line 674

[18:27:56.909] [EROR] Starward.Pages.Setting.FileSettingPage
Delete folder '"C:\Users\Administrator\AppData\Local\Starward\log"'
System.IO.IOException: The process cannot access the file 'Starward_240524_182712.log' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String, WIN32_FIND_DATA&, Boolean)
   at System.IO.FileSystem.RemoveDirectory(String, Boolean)
   at Starward.Pages.Setting.FileSettingPage.<>c__DisplayClass20_0.<DeleteFolderAsync>b__0() in D:\a\Starward\Starward\src\Starward\Pages\Setting\FileSettingPage.xaml.cs:line 368

[18:27:58.556] [EROR] Starward.Pages.Setting.FileSettingPage
Delete folder '"C:\Users\Administrator\AppData\Local\Starward\log"'
System.IO.IOException: The process cannot access the file 'Starward_240524_182712.log' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String, WIN32_FIND_DATA&, Boolean)
   at System.IO.FileSystem.RemoveDirectory(String, Boolean)
   at Starward.Pages.Setting.FileSettingPage.<>c__DisplayClass20_0.<DeleteFolderAsync>b__0() in D:\a\Starward\Starward\src\Starward\Pages\Setting\FileSettingPage.xaml.cs:line 368

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail.exe", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail.exe"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "GameAssembly.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/GameAssembly.dll"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "mhypbase.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/mhypbase.dll"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRailBase.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRailBase.dll"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "UnityCrashHandler64.exe", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/UnityCrashHandler64.exe"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/data.unity3d", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/data.unity3d"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "UnityPlayer.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/UnityPlayer.dll"

[18:28:05.136] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "AntiCheatExpert/InGame/x64/ACE-DRV64.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/AntiCheatExpert/InGame/x64/ACE-DRV64.dll"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/il2cpp_data/Metadata/startup-metadata.dat", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/il2cpp_data/Metadata/startup-metadata.dat"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/app.info", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/app.info"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/abci.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/abci.dll"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/il2cpp_data/Metadata/global-metadata.dat", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/il2cpp_data/Metadata/global-metadata.dat"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/AkMotion.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/AkMotion.dll"

[18:28:05.137] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/AkSoundEngine.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/AkSoundEngine.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/APMLog.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/APMLog.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/AkWaapiClient.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/AkWaapiClient.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/chrome_elf.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/chrome_elf.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/d3dcompiler_47.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/d3dcompiler_47.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/cri_mana_vpx.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/cri_mana_vpx.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/hpatch.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/hpatch.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/crashreport.exe", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/crashreport.exe"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/Astrolabe.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/Astrolabe.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/cri_ware_unity.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/cri_ware_unity.dll"

[18:28:05.138] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/HoYoNetworkSDK.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/HoYoNetworkSDK.dll"

[18:28:05.152] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail.exe"

[18:28:05.153] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/InControlNative.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/InControlNative.dll"

[18:28:05.283] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/app.info"

[18:28:05.284] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/kcp.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/kcp.dll"

[18:28:05.290] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/AkMotion.dll"

[18:28:05.290] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/libEGL.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/libEGL.dll"

[18:28:05.295] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/AkWaapiClient.dll"

[18:28:05.295] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/libGLESv2.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/libGLESv2.dll"

[18:28:05.301] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/hpatch.dll"

[18:28:05.301] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/mailbox.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/mailbox.dll"

[18:28:05.341] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/mailbox.dll"

[18:28:05.342] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/MiHoYoMTRSDK.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/MiHoYoMTRSDK.dll"

[18:28:05.391] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/il2cpp_data/Metadata/startup-metadata.dat"

[18:28:05.392] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/MiHoYoSDKUploader.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/MiHoYoSDKUploader.dll"

[18:28:05.392] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/kcp.dll"

[18:28:05.392] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/MTBenchmark_Windows.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/MTBenchmark_Windows.dll"

[18:28:05.467] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/MTBenchmark_Windows.dll"

[18:28:05.468] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/NamedPipeClient.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/NamedPipeClient.dll"

[18:28:05.470] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/InControlNative.dll"

[18:28:05.470] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/telemetry.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/telemetry.dll"

[18:28:05.497] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/cri_ware_unity.dll"

[18:28:05.497] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/vk_swiftshader.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/vk_swiftshader.dll"

[18:28:05.518] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/HoYoNetworkSDK.dll"

[18:28:05.519] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/vulkan-1.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/vulkan-1.dll"

[18:28:05.521] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/libEGL.dll"

[18:28:05.521] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/XInputInterface64.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/XInputInterface64.dll"

[18:28:05.531] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/abci.dll"

[18:28:05.532] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/xlua.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/xlua.dll"

[18:28:05.543] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/NamedPipeClient.dll"

[18:28:05.543] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/ZFEmbedWeb.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/ZFEmbedWeb.dll"

[18:28:05.546] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/chrome_elf.dll"

[18:28:05.547] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/ZFGameBrowser.exe", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/ZFGameBrowser.exe"

[18:28:05.555] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/MiHoYoMTRSDK.dll"

[18:28:05.555] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/ZFProxyWeb.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/ZFProxyWeb.dll"

[18:28:05.583] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/XInputInterface64.dll"

[18:28:05.583] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/Plugins/x86_64/zf_cef.dll", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/Plugins/x86_64/zf_cef.dll"

[18:28:05.589] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "UnityCrashHandler64.exe"

[18:28:05.590] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/BinaryVersion.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/BinaryVersion.bytes"

[18:28:05.600] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/BinaryVersion.bytes"

[18:28:05.601] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/ClientConfig.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/ClientConfig.bytes"

[18:28:05.617] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/cri_mana_vpx.dll"

[18:28:05.618] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/05b6d74b7a021fceadf4ea25e200519e.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/05b6d74b7a021fceadf4ea25e200519e.bytes"

[18:28:05.678] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/05b6d74b7a021fceadf4ea25e200519e.bytes"

[18:28:05.678] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/0e114f720c14eec5fd0a03626273b02e.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/0e114f720c14eec5fd0a03626273b02e.bytes"

[18:28:05.703] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/ZFProxyWeb.dll"

[18:28:05.703] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/2a5cb793065709cc12c5ac2b4293a686.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/2a5cb793065709cc12c5ac2b4293a686.bytes"

[18:28:05.716] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/ClientConfig.bytes"

[18:28:05.717] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/42197b8a79064446ecd6b93b2f1623e5.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/42197b8a79064446ecd6b93b2f1623e5.bytes"

[18:28:05.750] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/0e114f720c14eec5fd0a03626273b02e.bytes"

[18:28:05.750] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/4f2a42766151e05b9a4eaff8543e0046.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/4f2a42766151e05b9a4eaff8543e0046.bytes"

[18:28:05.753] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/42197b8a79064446ecd6b93b2f1623e5.bytes"

[18:28:05.753] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/71e87b9a69b00e6df4440b8658d3c32c.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/71e87b9a69b00e6df4440b8658d3c32c.bytes"

[18:28:05.766] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/AkSoundEngine.dll"

[18:28:05.766] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/731e3f7357bebb7191e4f4083e85bdf7.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/731e3f7357bebb7191e4f4083e85bdf7.bytes"

[18:28:05.787] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/4f2a42766151e05b9a4eaff8543e0046.bytes"

[18:28:05.787] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/94931ac388a0c82cedd5eba513b34643.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/94931ac388a0c82cedd5eba513b34643.bytes"

[18:28:05.803] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/2a5cb793065709cc12c5ac2b4293a686.bytes"

[18:28:05.803] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/9c4120897cdde43f9b8b205246438676.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/9c4120897cdde43f9b8b205246438676.bytes"

[18:28:05.803] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/ZFEmbedWeb.dll"

[18:28:05.803] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/c9d6755614f9366cc54d145265139b67.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/c9d6755614f9366cc54d145265139b67.bytes"

[18:28:05.808] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/APMLog.dll"

[18:28:05.808] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/vulkan-1.dll"

[18:28:05.808] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/d088f83f33c557626d04b55b5d49cae2.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/d088f83f33c557626d04b55b5d49cae2.bytes"

[18:28:05.809] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/DesignV_dbb8cf411f6d61b3eeb563d11a7cda7d.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/DesignV_dbb8cf411f6d61b3eeb563d11a7cda7d.bytes"

[18:28:05.812] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/71e87b9a69b00e6df4440b8658d3c32c.bytes"

[18:28:05.812] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/e036ffdb2632b5095724914772728955.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/e036ffdb2632b5095724914772728955.bytes"

[18:28:05.815] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/731e3f7357bebb7191e4f4083e85bdf7.bytes"

[18:28:05.815] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/f947f2171d1de8b7c6cdfca58c0e06c2.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/f947f2171d1de8b7c6cdfca58c0e06c2.bytes"

[18:28:05.817] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/c9d6755614f9366cc54d145265139b67.bytes"

[18:28:05.817] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/M_DesignV.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/M_DesignV.bytes"

[18:28:05.826] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/M_DesignV.bytes"

[18:28:05.826] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/M_Design_ArchiveV.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/DesignData/Windows/M_Design_ArchiveV.bytes"

[18:28:05.836] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/ZFGameBrowser.exe"

[18:28:05.836] [INFO] Starward.Pages.SwitchClientPage
Download: FileName "StarRail_Data/StreamingAssets/Lua/Windows/M_LuaV.bytes", Url "https://autopatchcn.bhsr.com/client/cn/20240425223452_X67JiqezhqpvBZW8/PC/unzip/StarRail_Data/StreamingAssets/Lua/Windows/M_LuaV.bytes"

[18:28:05.847] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/Lua/Windows/M_LuaV.bytes"

[18:28:05.854] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/94931ac388a0c82cedd5eba513b34643.bytes"

[18:28:05.858] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/9c4120897cdde43f9b8b205246438676.bytes"

[18:28:05.866] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/d088f83f33c557626d04b55b5d49cae2.bytes"

[18:28:05.878] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/DesignV_dbb8cf411f6d61b3eeb563d11a7cda7d.bytes"

[18:28:05.888] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/M_Design_ArchiveV.bytes"

[18:28:05.903] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/d3dcompiler_47.dll"

[18:28:05.913] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/f947f2171d1de8b7c6cdfca58c0e06c2.bytes"

[18:28:06.020] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/StreamingAssets/DesignData/Windows/e036ffdb2632b5095724914772728955.bytes"

[18:28:06.132] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/xlua.dll"

[18:28:06.134] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/vk_swiftshader.dll"

[18:28:06.158] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/MiHoYoSDKUploader.dll"

[18:28:06.292] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/libGLESv2.dll"

[18:28:06.494] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/crashreport.exe"

[18:28:06.536] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "AntiCheatExpert/InGame/x64/ACE-DRV64.dll"

[18:28:06.631] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/Astrolabe.dll"

[18:28:06.763] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/telemetry.dll"

[18:28:06.818] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "mhypbase.dll"

[18:28:07.261] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRailBase.dll"

[18:28:07.263] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/data.unity3d"

[18:28:07.735] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "UnityPlayer.dll"

[18:28:08.102] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/il2cpp_data/Metadata/global-metadata.dat"

[18:28:10.004] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "GameAssembly.dll"

[18:28:10.059] [INFO] Starward.Pages.SwitchClientPage
Download Successfully: FileName "StarRail_Data/Plugins/x86_64/zf_cef.dll"

[18:28:24.399] [INFO] Starward.Pages.SwitchClientPage
Start switching client.

[18:28:24.405] [EROR] Starward.Pages.SwitchClientPage
Start switching client
System.ComponentModel.Win32Exception (206): An error occurred trying to start process 'PowerShell' with working directory 'E:\data\Program Files (x86)\HoYoLauncher'. 文件名或扩展名太长。
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Pages.SwitchClientPage.StartSwitchClientAsync() in D:\a\Starward\Starward\src\Starward\Pages\SwitchClientPage.xaml.cs:line 674

Additional Context

No response

Scighost commented 2 months ago

谢谢你的反馈,遇到这种问题,你暂时通过游戏设置中的一键修复解决这个问题。

后续将加入全新的客户端共存方案避免类似的问题 #749

starward-bot[bot] commented 2 weeks ago

This issue will be closed due to no reply for more than 14 days.