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]云原神截屏和地图追踪 #1084

Open
WcpXieG opened this issue Jan 31, 2025 · 1 comment
Open

[bug]云原神截屏和地图追踪 #1084

WcpXieG opened this issue Jan 31, 2025 · 1 comment

Comments

@WcpXieG
Copy link

WcpXieG commented Jan 31, 2025

  • 系统环境 / System Environment:
    版本 Windows 10 专业版
    版本号 22H2
    安装日期 ‎2022/‎8/‎4
    操作系统内部版本 19045.5371
    体验 Windows Feature Experience Pack 1000.19060.1000.0

  • BetterGI版本号 / BetterGI Version:0.40.0

  • 问题描述 / Description of the issue:在WGC测试截屏时出现报错(只指针对云原神,其他软件如BetterGI截屏没有问题):
    UnHandle Exception
    System.ArgumentException: Value does not fall within the expected range.
    at Fischless.GameCapture.Graphics.Helpers.CaptureHelper.IGraphicsCaptureItemInterop.CreateForWindow(IntPtr window, Guid& iid)
    at Fischless.GameCapture.Graphics.Helpers.CaptureHelper.CreateItemForWindow(IntPtr hWnd)
    at Fischless.GameCapture.Graphics.GraphicsCapture.Start(IntPtr hWnd, Dictionary`2 settings)
    at BetterGenshinImpact.View.CaptureTestWindow.StartCapture(IntPtr hWnd, CaptureModes captureMode) in D:\a\bettergi-publish\bettergi-publish\BetterGenshinImpact\View\CaptureTestWindow.xaml.cs:line 49
    at BetterGenshinImpact.ViewModel.Pages.HomePageViewModel.OnStartCaptureTest() in D:\a\bettergi-publish\bettergi-publish\BetterGenshinImpact\ViewModel\Pages\HomePageViewModel.cs:line 153
    at CommunityToolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)
    at System.Windows.Controls.Button.OnClick()
    at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
    at System.Windows.Input.InputManager.ProcessStagingArea()
    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

同时在地图追踪中,似乎到达一个位置时无法正常工作,会一直绕圈圈

  • 复现步骤 / Reproduction steps:

Image

完整日志:better-genshin-impact20250131.log

感谢作者大大!!!

@WcpXieG WcpXieG changed the title [bug]请补充标题内容 [bug]云原神截屏和地图追踪 Jan 31, 2025
@WcpXieG
Copy link
Author

WcpXieG commented Jan 31, 2025

bios开启了虚拟化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant