1.參考資料
(1)解包工具
手游游戲資源提取 :https://www.cnblogs.com/gamedaybyday/p/13559763.html
(2)截幀工具
楚留香手游模型提取方法:https://www.bilibili.com/read/cv324561/
PC Profile工具-Nsight/GPA入門:https://zhuanlan.zhihu.com/p/76715274?from_voters_page=true
Intel GPA + 夜神模擬器:https://www.cnblogs.com/lizhanzhao/p/11757296.html
使用Intel GPA在PC上分析Android游戲的渲染流程:https://zhuanlan.zhihu.com/p/68741433
調試&截幀 過一遍虛幻渲染管線:https://zhuanlan.zhihu.com/p/341431133
RenderDoc[01] 使用RenderDoc 分析Android游戲(免Root): https://blog.csdn.net/huutu/article/details/111659729?spm=1001.2014.3001.5501
RenderDoc[02] 修改Shader,分析目標游戲陰影實現:https://blog.csdn.net/huutu/article/details/111872392?spm=1001.2014.3001.5502
RenderDoc[03] 還原粒子特效shader:https://blog.csdn.net/huutu/article/details/112307325?spm=1001.2014.3001.5502
還有一些關於SnapDragonProfile 沒有即時收藏
2.實現
PC環境搭建
工具鏈接:https://pan.baidu.com/s/1erBDkpyrFglgg4wNoAhJgg
提取碼:utgy
GPA安裝成功
SDP安裝成功
天涯明月刀手游模型提取方法
方法一:Intel GPA+夜神模擬器
1.夜神模擬器:下載地址
2.夜神模擬器:設置Nox中將顯卡渲染模式
運行Nox,在設置中將顯卡渲染模式改成DirectX並保存
3.退出模擬器
4.打開GraphicsMonitor
4.1選擇Nox程序的位置
4.2然后打開設置面板
將Auto-detect launched applications切換為On。
4.3然后點擊右下按鈕運行Nox
注意:Auto-detect lanucned applications每次打開都默認都為Off,因此每次一定要手動切換為On,否則GPA無法識別應用。(Auto-detect launched applications切換為On,在GraphicsMonitor啟動 Nox.exe , 會有NoxVBoxHandle.exe)
4.4檢查工具是否生效
4.5 開始選擇需要截幀的游戲
4.6 打開System Analyzer
點擊Connect后,選擇NoxVBoxHandler.exe.
4.6分析界面
接着在你想要抓幀的地方點擊照相的按鈕。
4.7抓取完成后
最后打開Graphics Frame Analyzer,你應該能在主界面看到剛剛抓幀的信息
(
補充
NoxVBoxHandle.exe 存在地方 和 GPA啟動NoxVBoxHandle.exe的命令行:
"C:\Program Files (x86)\BignoxA\BigNoxVM\RT\NoxVBoxHandle.exe" --comment nox64 --startvm 00000000-d59c-4c95-aa51-000000000070 --vrde config --romx 0 --romy 0 --romwidth 900 --romheight 1600 --renderport 52865 --callbackport 51865 --rendertype directx --hwnd 1181522 --renderpath libdx.dll --passthrough NOXa.dll
)
注意:=========================================================
Error:adb server version (36) doesn't match this client (39)
原因是模擬器得adb版本和as/eclipse得adb版本不一致導致的
解決方法:替換掉夜神安裝目錄下的adb.exe與as/eclipse保持一致;
-
步驟1
找到夜神安裝目錄,在地址欄輸入cmd 回車 看到版本是36
-
步驟2:找到as得安裝目錄,同樣在地址欄輸入cmd 然后執行adb命令
看到這個版本是39,所以替換掉夜神模擬器安裝目錄下得nox_adb.exe,然后重啟模擬器就可以了
看到下面這句話就可以了。
方法二:真機+SnapDragonProfile(建議:顯卡至少1080)
1.手機要求
准備一台高通曉龍芯片手機(能Root最好)並開啟開發者模式
2.下載安裝snapdragon profiler
Snapdragon Profiler - Qualcomm Developer Network
3.連接手機
以管理員身份啟動snapdragon profiler並連接手機
4.連接手機成功,並選擇截幀
5.運行手機上所要截幀的APP
6.選中APP進程
7.使用Capture進行截幀
===================================================================
