Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 直接更新或一键修复“硬链接-绝区零-哔哩哔哩”无法启动,而卸载游戏资源后重装才可正常启动 #1188

Open
1 task done
Ireeul opened this issue Dec 23, 2024 · 0 comments
Labels
triage Issue needs to be triaged

Comments

@Ireeul
Copy link

Ireeul commented Dec 23, 2024

Checklist

  • My issue was not mentioned by others, and it is not a duplicate issue.

Description

1.4更新后,我先更新好了本体并顺利运行之后,再更新了“硬链接-绝区零-哔哩哔哩”,遇到了无法启动的问题。
Snipaste_2024-12-23_13-24-35
之后先是单独使用一键修复以及卸载注册表、临时文件后一键修复都无法恢复。刚刚尝试卸载了游戏资源、临时文件重新建立硬链接后可以正常启动了。

Reproduction Steps

  1. 装好1.3版本时可以正常游玩的 绝区零-中国官方 及 硬链接-哔哩哔哩
  2. 更新1.4版本的 绝区零-中国官方 并启动游玩
  3. 更新 硬链接-绝区零-哔哩哔哩

Expected Behavior

检查一下是什么文件在一键修复时无法一起更新。但检查不到也就算了,因为卸载重装就可以恢复。

Screenshots

No response

Starward Version

0.13.5

Windows Version

22631.4602

Log

[13:19:04.290] [INFO] 
Welcome to Starward v0.13.5
System: Microsoft Windows NT 10.0.22631.0
Command Line: E:\软\starward\app-0.13.5\Starward.dll

[13:19:04.594] [INFO] Starward.Services.DatabaseService
Database path is 'E:\软件\starward'

[13:19:04.886] [INFO] Starward.Services.DatabaseService
Database version is 11, target version is 11.

[13:19:05.910] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[13:19:06.330] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[13:19:09.723] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\Program Files\Star Rail\Game"

[13:19:10.290] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.7.0".

[13:19:10.303] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[13:19:11.065] [INFO] Starward.Services.UpdateService
Current version: "0.13.5", latest version: "0.13.5", ignore version: null

[13:19:15.836] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\Program Files\Star Rail\Game\StarRail.exe"
arg: null

[13:19:15.954] [INFO] Starward.Pages.GameLauncherPage
Game started ("StarRail", 15256)

[13:19:17.977] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 15256)

[13:21:33.173] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[13:21:34.800] [INFO] Starward.Services.UpdateService
Current version: "0.13.5", latest version: "0.13.5", ignore version: null

[13:23:20.126] [INFO] Starward.Pages.MainPage
Change game region to nap_bilibili

[13:23:20.127] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_bilibili

[13:23:20.333] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: "D:\Program Files\zzzbili"

[13:23:20.351] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is "1.4.0".

[13:24:10.034] [INFO] Starward.Services.Download.ZZZInstallGameService
Write config.ini (game_version="1.4.0")

[13:24:10.068] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: "D:\Program Files\zzzbili"

[13:24:10.071] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is "1.4.0".

[13:24:19.504] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (nap_bilibili)
path: "D:\Program Files\zzzbili\ZenlessZoneZero.exe"
arg: null

[13:24:19.602] [INFO] Starward.Pages.GameLauncherPage
Game started ("ZenlessZoneZero", 9848)

[13:24:21.613] [INFO] Starward.Services.PlayTimeService
Start to log playtime (nap_bilibili, 9848)

[13:24:51.634] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[13:24:51.640] [INFO] Starward.Pages.GameLauncherPage
Game is running ("ZenlessZoneZero", 9848)

[13:24:52.651] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[13:25:00.847] [INFO] Starward.Pages.GameLauncherPage
Start to uninstall game with argu: "uninstall --biz nap_bilibili --loc \"D:\Program Files\zzzbili\" --steps 12"

[13:25:07.965] [INFO] Starward.Pages.GameLauncherPage
Uninstall finished.

[13:25:08.036] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: null

[13:25:08.037] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is null.

[13:25:55.344] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: "D:\Program Files\zzzbili"

[13:25:55.345] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "D:\Program Files\zzzbili\config.ini"

[13:25:55.346] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "D:\Program Files\zzzbili\config.ini"

[13:25:55.346] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is null.

[13:26:58.758] [INFO] Starward.Services.Download.ZZZInstallGameService
Write config.ini (game_version="1.4.0")

[13:26:58.762] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: "D:\Program Files\zzzbili"

[13:26:58.765] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is "1.4.0".

[13:27:05.312] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (nap_bilibili)
path: "D:\Program Files\zzzbili\ZenlessZoneZero.exe"
arg: null

[13:27:05.353] [INFO] Starward.Pages.GameLauncherPage
Game started ("ZenlessZoneZero", 8752)

[13:27:07.367] [INFO] Starward.Services.PlayTimeService
Start to log playtime (nap_bilibili, 8752)

[13:29:21.453] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[13:35:48.401] [INFO] Starward.Pages.GameLauncherPage
Start to uninstall game with argu: "uninstall --biz nap_bilibili --loc \"D:\Program Files\zzzbili\" --steps 15"

[13:35:56.282] [INFO] Starward.Pages.GameLauncherPage
Uninstall finished.

[13:35:56.364] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: null

[13:35:56.364] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is null.

[13:35:56.564] [INFO] Starward.Pages.MainPage
Change game region to nap_cn

[13:35:56.565] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_cn

[13:35:56.689] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_cn: "D:\Program Files\ZenlessZoneZero Game"

[13:35:56.716] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_cn is "1.4.0".

[13:36:15.004] [INFO] Starward.Pages.MainPage
Change game region to nap_bilibili

[13:36:15.005] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_bilibili

[13:36:15.176] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: null

[13:36:15.176] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is null.

[13:36:40.814] [EROR] Starward.Controls.InstallGameDialog
Start installation nap_bilibili failed.
System.Net.Http.HttpRequestException: 不知道这样的主机。 (hyp-api.mihoyo.com:443)
 ---> System.Net.Sockets.SocketException (11001): 不知道这样的主机。
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError, CancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs, ValueTask, CancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String, Int32, HttpRequestMessage, Boolean, CancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String, Int32, HttpRequestMessage, Boolean, CancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage, Boolean, CancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage, Boolean, Boolean, CancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage, HttpCompletionOption, CancellationTokenSource, Boolean, CancellationTokenSource, CancellationToken)
   at Starward.Core.HoYoPlay.HoYoPlayClient.CommonGetAsync[T](String url, String node, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 45
   at Starward.Core.HoYoPlay.HoYoPlayClient.GetGameChannelSDKAsync(String launcherId, String language, GameId gameId, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 271
   at Starward.Services.HoYoPlayService.GetGameChannelSDKAsync(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\HoYoPlayService.cs:line 395
   at Starward.Services.Download.InstallGameService.PrepareBilibiliChannelSDKAsync(InstallGameItemType type) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 419
   at Starward.Services.Download.ZZZInstallGameService.StartHardLinkAsync(GameBiz linkGameBiz, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\ZZZInstallGameService.cs:line 116
   at Starward.Controls.InstallGameDialog.StartInstallationAsync() in D:\a\Starward\Starward\src\Starward\Controls\InstallGameDialog.xaml.cs:line 308

[13:36:46.316] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_bilibili: "D:\Program Files\zzzbili"

[13:36:46.317] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "D:\Program Files\zzzbili\config.ini"

[13:36:46.317] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "D:\Program Files\zzzbili\config.ini"

[13:36:46.317] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_bilibili is null.

[13:37:30.384] [EROR] Starward.Services.Download.ZZZInstallGameService
ExecuteTaskItemAsync
System.IO.IOException: The process cannot access the file 'D:\Program Files\zzzbili\GameAssembly.dll' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64)
   at System.IO.File.Open(String, FileMode)
   at Starward.Services.Download.InstallGameService.DownloadItemAsync(InstallGameItem item, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1205
   at Starward.Services.Download.InstallGameService.ExecuteTaskItemAsync(CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1136

[13:37:30.388] [EROR] Starward.Services.Download.ZZZInstallGameService
ExecuteTaskItemAsync
System.IO.IOException: The process cannot access the file 'D:\Program Files\zzzbili\ZenlessZoneZero_Data\il2cpp_data\Metadata\global-metadata.dat' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64)
   at System.IO.File.Open(String, FileMode)
   at Starward.Services.Download.InstallGameService.DownloadItemAsync(InstallGameItem item, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1205
   at Starward.Services.Download.InstallGameService.ExecuteTaskItemAsync(CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1136

[13:37:30.389] [EROR] Starward.Services.Download.ZZZInstallGameService
ExecuteTaskItemAsync
System.IO.IOException: The process cannot access the file 'D:\Program Files\zzzbili\ZenlessZoneZero_Data\il2cpp_data\Metadata\startup-metadata.dat' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64)
   at System.IO.File.Open(String, FileMode)
   at Starward.Services.Download.InstallGameService.DownloadItemAsync(InstallGameItem item, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1205
   at Starward.Services.Download.InstallGameService.ExecuteTaskItemAsync(CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Download\InstallGameService.cs:line 1136

Additional Context

No response

@Ireeul Ireeul added the triage Issue needs to be triaged label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant