抛出异常:' System.ApplicationException'在renderdocui.exe中

时间:2016-12-29 22:05:30

标签: c# windows visual-studio networking timeout

我被困在"捕捉设置"的第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).

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

1 个答案:

答案 0 :(得分:0)

所以我的游戏不是来自Steam,而是来自Rockstar games。显然,这就是我不需要global process hookcapture的原因。但是,我从头开始构建所有内容(通过下载git repo重新开始),并使用releasex64配置而不是debugx64配置。现在,当我选择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