Announcement

Collapse
No announcement yet.

Unity Assets Bundle Extractor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unity Assets Bundle Extractor

    Ancient version 1.0 screenshot
    Screenshot.PNG

    Unity Assets Bundle Extractor (UABE) is a stylish tool that allows editing asset bundles and .assets. It can export .assets files from bundles, import them back, modify most asset formats with plugins and dumps with type information and create a standalone installer from the modifications.
    I tested this tool with 7 Days to Die's bundles but let me know if you encounter any bugs or if you have suggestions.

    I included a 32bit and a 64bit version although it doesn't use much memory.
    Installers created with the 64bit version can't be used on 32bit systems but an installer package can be exported from the 64bit version and imported in the 32bit version to create a 32bit installer.

    Old changelog : here

    Changes in 2.2 stable :
    • Add a new 'Add' option for MonoBehaviours.
    • Bundle replacer type information and hashes inside installer packages.
    • Add support for 2018.3; streamed mesh export is not tested.
    • Add a new console command 'applyemip' to apply installer packages.
    • Fix the file order in written bundles to stay the same.
    • Fix the serialized flag for bundles so it is not set on .resS files.
    • Write assets listed in the preload table before others.
    • Fix reading Mesh assets.
    • Fix the window focus after progress dialogs.
    • Improve the errors logged to progress dialogs and make them stay open if an error occured.
    • Improve the MonoBehaviour type retrieve tool for array and List fields.
    • Look for newly added MonoScripts when retrieving MonoBehaviour script info.
    • Fix writing bundles with an installer package loaded.
    • Fix writing multiple .assets files with an installer package loaded.
    • Fix a crash that may occur when adding a new asset in a bundle and reopening the 'Asset info' dialog.
    • Fix a crash when using assets that were added, removed and added again.
    • Fix locating script assemblies in 2018.2 and 3. Also added m_AssemblyName in MonoScript manually to 2018.2 and 3 type databases, since it was missing.
    • Allow setting the field version in the type database editor.
    • Fix removing version targets in the type database editor.
    • Fix version names in classdata.tpk.
    • Fix the file name extension for exported .obj meshes.
    • Improve classdata.tpk compression.

    Changes in 2.2 stable b :
    • Fix Mesh export (again).
    • Fix mip map generation for RGBA32 textures.

    Changes in 2.2 stable c :
    • Add class databases for 2018.4.5f1 and 2019.1.0f3
    • Support the slightly changed Unity 2019 .assets file format.
    • The mod installer now uses a statically linked AssetsTools.dll to reduce file size and hopefully reduce the amount of false-positives.

    Changes in 2.2 stable d :
    • Add a class database for 2019.2.0f1.
    • Support the updated Unity 2019.2 .assets file format.
    • Make the mod installer close properly after a file dialog was opened.


    If you have no forum account but want to give me feature requests or want to report bugs, you can use the github page.

    By downloading and/or using this software, you agree to the terms of its license ("human-readable summary").

    Old releases : here
    API Releases :
    2.2 stable c API (here or here)
    2.2 stable d API (here or here)

    Releases :

    2.2 stable b (32bit : here or here, 64bit : here or here)
    2.2 stable c (32bit : here or here, 64bit : here or here)
    2.2 stable d (32bit : here or here, 64bit : here or here)
    Last edited by DerPopo; 08-02-2019, 10:28 PM. Reason: 2.2 stable d + API

    #2
    Hi, I tried it butit always says unknown unable to read Bundle file! (invalid file or unknown version?)
    Tried to open the resources.asset.

    Comment


      #3
      Originally posted by Pacco View Post
      Hi, I tried it butit always says unknown unable to read Bundle file! (invalid file or unknown version?)
      Tried to open the resources.asset.
      As i understand this program unpacks the asset files from the Bundles Folder > BlockTextureAtlases and TerrainTextures > These files can be opened with UAE.

      I tested the tool and it works. Thx @ DerPopo

      Comment


        #4
        Awesome work DerPopo. Thanks for looking into this for me. Would you mind if I post a link in some other forums? I'll make sure you get full credit.

        Comment


          #5
          Good Work DerPopo

          Comment


            #6
            Cam i beg for an explaining this for some one, who arent familiar at the programing? What this does? how it works step by step?

            Thnx for the reply =)

            Comment


              #7
              Originally posted by Con Agni View Post
              Cam i beg for an explaining this for some one, who arent familiar at the programing? What this does? how it works step by step?

              Thnx for the reply =)
              This tool extracts .assets files from assets bundles (like BlockTextureAtlases) so you can view them with UAE.
              To extract an .assets file, just press File->Open, select the file, press Export and select the output file.
              To import an .assets file, do the same steps as above but press Import.
              7 Days to Die's block textures are stored in these assets bundles so this allows you to edit them.

              Originally posted by grimreefer24601 View Post
              Awesome work DerPopo. Thanks for looking into this for me. Would you mind if I post a link in some other forums? I'll make sure you get full credit.
              Of course, feel free to post a link.

              Comment


                #8
                Great Job DerPopo, +1 I had a feeling you would crack this given enough time.

                Comment


                  #9
                  Does it work with audio and/or meshes?

                  Can it be used to edit existing assets?

                  Comment


                    #10
                    Originally posted by DerPopo View Post
                    This tool extracts .assets files from assets bundles (like BlockTextureAtlases) so you can view them with UAE.
                    To extract an .assets file, just press File->Open, select the file, press Export and select the output file.
                    To import an .assets file, do the same steps as above but press Import.
                    7 Days to Die's block textures are stored in these assets bundles so this allows you to edit them.

                    Thnx for the reply, and i need to ask another favor, if i did the export, after what need i use, to actualy see the files, and "makes some sense" for a beginner like me. I just can humbly say thnx, for the great community, how they keep us "feed" and help, and still give help to the greens to

                    Comment


                      #11
                      Originally posted by Con Agni View Post
                      Thnx for the reply, and i need to ask another favor, if i did the export, after what need i use, to actualy see the files, and "makes some sense" for a beginner like me. I just can humbly say thnx, for the great community, how they keep us "feed" and help, and still give help to the greens to
                      1. Start UABE
                      2. select File-> open and browse for BlockTextureAtlases on my pc its C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die\Data\Bundles)
                      3. Make sure Remove the Treetype is selected in UABE, click EXPORT and save the file as test.asset
                      4. Open test.asset in UAE just as you would with sharedasset2.asset or any other asset file. (if you can't see the file make sure that UAE looks for all files instead of just *.asset if you just saved it as test)

                      Comment


                        #12
                        Originally posted by Razzoriel View Post
                        Does it work with audio and/or meshes?

                        Can it be used to edit existing assets?
                        This is no .assets file editor, it's a tool that extracts .assets files from bundles (like BlockTextureAtlases) so you can edit it with UAE.

                        Comment


                          #13
                          Here's some eye candy :

                          I have made a tree view for assets that uses the type information in asset bundle files. I tested it with multiple Unity 4 and Unity 5 asset bundle files and different asset file formats and it works so far.
                          I will add an option to load .assets files to view the asset data of these.

                          Comment


                            #14
                            I have released v1.3. It can show the data of assets in a tree view and now also opens the asset list for .assets files outside a bundle file.
                            I am planning to add an export/import button for assets that also allows to read and write type tree dumps.

                            Comment


                              #15
                              Great!!

                              Comment

                              Working...
                              X