當遊戲無法啟動時的簡易除錯工具 - Steam

By Daniel
at 2018-02-15T16:34
at 2018-02-15T16:34
Table of Contents
簡介
想重新回味一款遊戲時,有時會遇到遊戲啟動失敗的情況,會想說奇怪之前還有在玩,怎
麼突然開不起來,刪除遊戲重新安裝還是找不出原因,十之八九是有DLL遺失了。
原理
DLL檔是系統中的公用程式資料庫,當遊戲程式需要某些功能時,不用重寫程式,只要存取
現有的DLL就好,可方便遊戲設計的時間與簡化程式複雜度。而有時會因為共用的某些原因
讓DLL遺失,造成遊戲在開啟時的啟動失敗。
方法
以上可知,我們只需把遺失的DLL檔找回就好,但常常沒有顯示足夠的啟動錯誤資訊,最簡
單就是手動重新安裝在遊戲資料夾中_CommonRedist的vcredist(這裡需注意你系統是64就
選x64、32就選x86),可補回基本一些用C++設計的DLL,而installscript.vdf就是遊戲第
一次執行時自動判斷要裝那些的腳本,像有些遊戲更新沒注意到,每次開遊戲會有鬼打牆
一直重複安裝,把.vdf砍了就好。
而可進遊戲但畫面全黑,最常見就是DirectX出問題,這部分也是手動_CommonRedist裡的
DXSETUP.exe重新安裝。
進階就是使用Process Explorer或Dependency Walker等免費工具來監視遊戲執行的啟動狀
況,這程式就像是進階版的工作管理員,可針對遊戲列出使用中的DLL檔,找出DLL檔。
Process Explorer
https://docs.microsoft.com/zh-tw/sysinternals/downloads/process-explorer
View->Lower pane view->DLLs 開啟監視DLL清單
https://i.imgur.com/47Lq5pF.png
Dependency Walker
http://www.dependencywalker.com/
File選好遊戲執行檔後,Profile->Start profile 或直接F7。跑一遍就會直接跟你說少了
什麼DLL,下方也有訊息欄可知道遊戲為何中斷。
https://i.imgur.com/DXIern2.png
一點小心得跟大家分享。
--
Tags:
Steam
All Comments

By Dorothy
at 2018-02-19T23:28
at 2018-02-19T23:28

By Rebecca
at 2018-02-20T15:53
at 2018-02-20T15:53

By Caitlin
at 2018-02-21T06:00
at 2018-02-21T06:00

By Hedda
at 2018-02-22T00:45
at 2018-02-22T00:45

By Hedwig
at 2018-02-22T07:54
at 2018-02-22T07:54

By Sandy
at 2018-02-25T03:34
at 2018-02-25T03:34

By Adele
at 2018-02-28T11:32
at 2018-02-28T11:32

By Olivia
at 2018-03-01T13:52
at 2018-03-01T13:52

By Leila
at 2018-03-03T01:35
at 2018-03-03T01:35

By Olga
at 2018-03-07T05:16
at 2018-03-07T05:16

By Frederic
at 2018-03-08T14:29
at 2018-03-08T14:29

By Madame
at 2018-03-13T03:21
at 2018-03-13T03:21

By John
at 2018-03-13T21:02
at 2018-03-13T21:02
Related Posts
Fortnite組隊Discord群

By Emily
at 2018-02-15T16:17
at 2018-02-15T16:17
total war 戰鎚系列

By Regina
at 2018-02-15T14:42
at 2018-02-15T14:42
SLI聯賽CSGO烏克蘭總決賽2月17日來襲!!

By Franklin
at 2018-02-15T13:40
at 2018-02-15T13:40
MGSV:TPP STEAM版核廢絕達成?

By Bethany
at 2018-02-15T11:32
at 2018-02-15T11:32
total war 戰鎚系列

By Ursula
at 2018-02-15T11:18
at 2018-02-15T11:18