工具說明
反編譯unity project資源文件,包括ios,android,pc等平台資源,僅供學習使用!
以下工具任選其一,未有特殊說明是可以同時提取unity3.x,unity4.x,unity5.x的資源
更新於:2016-07-29
1. disunity
編譯后可執行文件地址:https://github.com/ata4/disunity/releases 請下載disunity_vxxx.zip,而非source_code.zip(源碼)
disunity在github源碼地址:https://github.com/ata4/disunity
需要的環境
需要安裝 Jdk1.7 :http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
常用的命令:
disunity extract F:\SVN\assets\*.unity3d 解包F:\SVN\assets\ 目錄下所有后綴為.unity3d的資源
disunity extract F:\SVN\assets\* 解包F:\SVN\assets\ 目錄下所有的資源
更多命令請查看 README.md
使用示例
注:disunity 0.3和目前的0.5部分API發生變化,請以官方使用手冊為准。
Extract all supported assets from a bundle file:
譯:從Web.unity3d,提供所有支持文件
命令:disunity extract Web.unity3d
Extract all packed files from two bundle files:
譯:同時提取兩個.unity文件
命令:disunity bundle-extract episode1.unity3d episode2.unity3d
Extract textures from the asset file sharedassets0.assets:
譯:
命令:disunity extract -f texture2d sharedassets0.assets
Dump web player configuration from the file named Web.unity3d:
譯:
命令:disunity dump -f playersettings Web.unity3d
Show information about all asset files in the directory "assets":
譯:
命令:disunity info assets\*.asset
2. disunityGUI
給disunity提供圖形化的窗口操作,需要配合disunity一起使用
下載地址: https://github.com/Scrivener07/DisunityGuiHelper
注:如果需要重新編譯disunityGUI的源代碼需要安裝Visual Studio或MonoDevelop,或其它可以編譯.Net源文件的IDE
DiunityGUI 用法一
1、下載disunity和disunityGUI,解壓兩個zip。把disunityGUI拷貝到disunity目錄下。
2、運行disunityGUI,點擊 Browse,選擇你要解包的文件
DiunityGUI 用法二
1、下載disunity和disunityGUI,解壓兩個zip。把disunityGUI拷貝到disunity目錄下。
2、把你要解包的文件,拖動到 Drag and Drop File區域區
3、在Command 選擇:Execute ,點擊 Execute,等待操作完成后,解包出的資源放在同目錄下
JDK找不到?-重新編譯
如果你本機安裝的JDK不在C盤,請繼續以下步驟
1、用 Visual Studio打開 DisunityGuiHelper.sln
2、雙擊打開Program.cs,修改Jdk的路徑
3、找到LocateJava,如下圖所示位置
4、修改成自己機器的JDK位置,比如我的安裝在D盤.
5、修改完成后,重新編譯生成項目,可選 生成解決方案,或 重新生成解決方案
6、生成前
7、生成后
6、把編譯生成的DisunityGUI.exe文件放在disunity目錄下,雙擊DisunityGUI.exe,就可運行
可能遇到的問題
如果沒和disunity放在同一目錄,會報錯找到不disunity.jar
3. unity3d decompiler
Unity3d decompiler - unpack data from the compiled .unity3d project to the specified directory. This item is available for .unity3d projects (Web Player, Web Player Streamed);
鏈接:http://en.unity3d.netobf.com/unity3d_decompiler
譯:可以提取 unity web player.unity3d ,webplayer平台的的資源。
使用方法
注:Unity3d decompiler 的兩張截圖來源於網絡
4. UnityAssetsExplorer
可以直接提取*.assets中的資源並保存起來。
如果你想提取Unity5的資源,請使用 UnityAssetsExplorer 1.5 以上版本。
使用方法
Unity Studio
論壇:http://forum.xentax.com/viewtopic.php?f=10&t=11807
github地址:https://github.com/RaduMC/UnityStudio
使用示例
Tegra Graphics Debugger
基於硬件層面查看內存中的貼圖,可以無視加密手段。
下載地址: https://developer.nvidia.com/gameworksdownload ,請下載 Tegra Graphics Debugger
DOC
A console-grade tool that allows developers to debug and profile OpenGL ES 2.0, OpenGL ES 3.0, OpenGL ES 3.1, Android Extension Pack (AEP), OpenGL 4.3, OpenGL 4.4, and OpenGL 4.5 on Windows, OSX and Linux enabling game and graphics developers to get the most out of NVIDIA SOCs with Desktop class GPUs (i.e. Kepler equipped NVIDIA Tegra K1 and Maxwell equipped NVIDIA Tegra X1).
The latest version is available in the CodeWorks for Android
For important information about this release, see the Tegra Graphics Debugger 2.2 Release Notes.
We recommend that all users install a full CodeWorks for Android installer prior to using individual component installers.
Tegra Graphics Debugge:http://docs.nvidia.com/tegra-graphics-debugger/2.2/index.html
注意事項
需要Tegra手機才能支持
Tegra安卓機型查詢: http://www.nvidia.cn/object/tegra-phones-cn.html
使用示例
高通Adreno
如果沒有Tegra的手機,可以使用高通的Adreno 可以批量導出所有圖片
下載地址:https://developer.qualcomm.com/software/adreno-gpu-sdk/tools
Use the Adreno™ mobile gaming and graphics optimization tools and resources below to kick your graphics into high gear – for the kind of games and innovative UIs that truly stand out.
Docs
Adreno OpenGL ES Developer Guide Download (3.2 mb) Updated 26 Aug 15
This document is a guide for developing and optimizing OpenGL ES applications for Android on platforms containing Qualcomm Adreno GPUs. OpenGL ES is a subset of the OpenGL API for developing 2D and 3D graphics, designed for use on embedded systems, which typically are constrained by processor capability, memory limitation, and power consumption limits.
附加資源
工具打包下載地址:http://pan.baidu.com/s/1dDmt5tv
工具的新版本還請自行到工具的github主頁或官網下載,以確保得到新的技術支持。





















