我被困在"捕捉设置"的第9步中。以下教程 https://bitbucket.org/visinf/projects-2016-playing-for-data
我正在调试renderdocui.exe,然后点击捕获,这是我收到的错误。有什么见解吗?
'renderdocui.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\mona\playing-for-data\renderdoc\x64\Debug\renderdocui.exe'. Symbols loaded.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Cannot find or open the PDB file.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Cannot find or open the PDB file.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'Microsoft.GeneratedCode'.
'renderdocui.exe' (CLR v4.0.30319: renderdocui.exe): Loaded 'C:\Users\mona\playing-for-data\renderdoc\x64\Debug\WeifenLuo.WinFormsUI.Docking.dll'. Symbols loaded.
The thread 0x6a8 has exited with code 0 (0x0).
Exception thrown: 'System.ApplicationException' in renderdocui.exe
Exception thrown: 'System.ApplicationException' in renderdocui.exe
The thread 0x176c has exited with code 0 (0x0).
此处还有我从renderdocui获取的日志:
RENDERDOC: [15:49:29] core.cpp( 242) - Log - RenderDoc v0.27 x64 (NO_GIT_COMMIT_HASH_DEFINED) loaded in replay application
RENDERDOC: [15:50:55] win32_process.cpp( 307) - Log - Injecting renderdoc into process 7732
RENDERDOC: [15:50:55] win32_process.cpp( 180) - Debug - Injecting call to RENDERDOC_SetLogFile
RENDERDOC: [15:50:55] win32_process.cpp( 180) - Debug - Injecting call to RENDERDOC_SetCaptureOptions
RENDERDOC: [15:50:55] win32_process.cpp( 180) - Debug - Injecting call to RENDERDOC_GetRemoteAccessIdent
RENDERDOC: [15:50:55] win32_network.cpp( 323) - Debug - connect before timeout
RENDERDOC: [15:50:55] remote_access.cpp( 389) - Log - Got remote handshake: PlayGTAV () [7732]
RENDERDOC: [15:50:56] win32_network.cpp( 169) - Warning - recv: 10054
RENDERDOC: [15:50:59] win32_network.cpp( 317) - Debug - connect timed out
RENDERDOC: [15:50:59] win32_network.cpp( 344) - Warning - Failed to connect to localhost:38920
RENDERDOC: [15:51:02] win32_network.cpp( 317) - Debug - connect timed out
RENDERDOC: [15:51:02] win32_network.cpp( 344) - Warning - Failed to connect to localhost:38920
我不确定我的方法应该是调试此问题并修复它。使用Capture(比如启用儿童挂钩)或Global Process Hook,GTA5游戏中不会显示叠加。
答案 0 :(得分:0)
所以我的游戏不是来自Steam
,而是来自Rockstar games
。显然,这就是我不需要global process hook
和capture
的原因。但是,我从头开始构建所有内容(通过下载git repo重新开始),并使用release
和x64
配置而不是debug
和x64
配置。现在,当我选择hook into children
选项并为可执行文件选择GTAVLauncher.exe
并点击捕获时,它会在左上角显示overlay
并按F12
或{{1}然而,在每次捕获保存后,我必须再次按F12,这使得它变得相当困难,因为我还必须使用无线控制器同时玩游戏。我想知道是否有人可以与我分享他们的经验。
我还将其添加到编辑环境变量部分的全局系统路径中:
Print Screen
然后重新启动系统。
请注意,如果您在游戏文件夹中使用C:\Program Files\ilmbase\include\OpenEXR
或script hook v
script hook v.NET
,则捕获/游戏将崩溃,如果您调试游戏,它将告知dll
。