2016-12-29 124 views
-1

我一直停留在步骤9“设置为捕获”下面的教程 https://bitbucket.org/visinf/projects-2016-playing-for-data抛出异常:“System.ApplicationException”在renderdocui.exe

我调试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). 

enter image description here

而且这里的日志我从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游戏中不会显示叠加。

在步骤9,它被提及,以确保系统路径指向的OpenEXR库,你可以看到他们在这里: enter image description here

而且当我点击的全球进程挂钩,然后开始游戏,我得到以下错误: enter image description here

回答

0

所以我的游戏不是从Steam而是从Rockstar games。显然这就是为什么我不需要global process hookcapture的作品。但是,我从零开始构建了所有的东西(通过下载git repo重新开始),并且使用releasex64配置而不是debugx64配置。现在,当我选择hook into children选项并选择GTAVLauncher.exe作为可执行文件并单击捕获时,它将在左上角显示overlay,并按F12Print Screen但是在每次捕获保存后,我必须再次按下F12,这会使其变得非常困难我也必须同时使用无线控制器玩游戏。我想知道是否有人可以与我分享他们的经验。 此外,我在编辑环境变量部分添加到了我的全球系统的路径:

C:\Program Files\ilmbase\include\OpenEXR 

,然后重新启动系统。 请注意,如果您在游戏文件夹中使用script hook vscript hook v.NETdll,则捕获/游戏将崩溃,如果您在调试游戏时会告知script hook v is violating access