2016-12-29 74 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