Jump to content

UABE - Asset Bundle Extractor


DerPopo

Recommended Posts

  • 4 weeks later...
On 7/19/2023 at 10:29 AM, n2n1 said:

Yes, UABE does not work with resources from new A21.
I hope for an update from the author.

As far as i know, there is no other utility that has the ability to pack resources back.

The original UABE is on extremely low development (I won't say abandoned, but I wouldn't expect anything from it for a very long time at the rate it's currently going.)  The best bet for modifying anything remotely newish is Unity Asset Bundle Extractor Avalonia.  It has very active development (I've actually been able to talk to its author about features and test a couple of things with them.)  I checked it on the 7D2D data.unity3d file in mine and it worked fine, though I'm not sure exactly how people are using it with this game for any serious modding.  (You probably want to use the nightly build, not the actual release -- especially since the last release was an April fools thing.)

Edited by Nazo (see edit history)
Link to comment
Share on other sites

4 hours ago, Nazo said:

The original UABE is on extremely low development (I won't say abandoned, but I wouldn't expect anything from it for a very long time at the rate it's currently going.)  The best bet for modifying anything remotely newish is Unity Asset Bundle Extractor Avalonia.  It has very active development (I've actually been able to talk to its author about features and test a couple of things with them.)  I checked it on the 7D2D data.unity3d file in mine and it worked fine, though I'm not sure exactly how people are using it with this game for any serious modding.  (You probably want to use the nightly build, not the actual release -- especially since the last release was an April fools thing.)

Thank you for the information!
This utility is a remake of the original UABE, it looks like someone picked up the baton :)

Link to comment
Share on other sites

  • 1 month later...

Avalonia worked just like the original uabe for me. The version i am using is
uabea-windows6 nightly build. So i guess any after that should work also.


The file I viewed is below
7 Days To Die\7DaysToDie_Data\data.unity3d

Its like a cumulative of all of the bundles.
I made a folder on a separate drive to work with and exported there.
To use the plugins is much like UABE. you must select at least 2 of the texture
files then it will give an option for export format


Basic starter instructions for anyone new to UABE modding.

 

Tools used: UABEAvalonia, Krita to separate the png mask if the image appears blank in windows
viewer, and photoshop to edit colors if needed. You can also use Krita to do so, I just like photoshop UI
better.

 

PREP WORK


1 Make a folder for Avalonia, and use an archive program to extract the release files there.

 

2 Make a working folder so you don't accidentally overwrite your existing game files.
Copy the bundle or data.unity3d file you will be working with to the newly created folder.

NOTE: The bundle may say it's compressed, do you want to extract to file or memory, I choose memory, as a preference
its less confusion when saving the edited file to the created folder.

 

Image Extraction:

 

1 double click UABEAvalonia.exe, in the window choose File,Open, Navigate to the copied bundle file or data.unity3d.
select the file.

 

2 receive a message. "This bundle is compressed. Decompress to file or memory?" I choose memory. If you only have 8 gig
ram you should choose File.

 

FOR FILE Option


Select File
Navigate to your working folder
give the new file a simple name
hit save and wait for the cursor working ani to disappear, And for the name of the file to appear in the UABEA window.
Below the name you will see Cab and a lot of letters and numbers, that means you are ready.

 

Click info, the asset Info window opens.
Stretch it to the right until you can see Type at top of window.
Click Type and it will group sort the entries.

 

Select the first Texture2D scroll down  hold Shift and select the last Texture2D

 

On right side of window select Plugins

 

Plugins window
Batch export textures
OK
PNG
OK
smaller window  OK


Depending on how many textures there were "Gotta Wait"


Open your working folder to find textures there
View Extra Large Icons, any that look blank means that the Alpha layer is blanking it out.

 

To view and edit these,  open with Krita.
You will see a checkerboard or plain colored window.
On the right of window you will see Layer 1 with an eye next to it

 

Right click layer 1
come down to Split Alpha
Select Alpha Into Mask

 

Now you have two layers.
Uncheck the eye next to transparency
If you are going to edit the file then
right click transparency layer
select remove layer
save file.

 

now you can work with the file in the image editor of your choice.

 

When you are ready to import back into the work file,   """Even if you only changed 1 texture"""   select at
least that texture and another. go to plugins and the batch import option will appear.
select folder with the textures
they appear in left window, highlight each and the right window should show a matching file.
If it doesn't its because you changed the texture name.

 

Hit OK

 

In the Small window
File
Compress
Give it a name with compressed added to it.   Example if it was umaplayer   then name the compressed file
umaplayercompressed to recognize it
Save

 

Messagebox for two save formats LZ4 and LZMA
LZ4saves closest to original size, it your choice, just experiment to see which works better for you project.

 

Once saved go to the 7 days to die folder that had the original file you copied.
Rename that file by adding original.  Example Umaplayer becomes Umaplayeroriginal.
Copy the edited file to that folder and remove the compressed from the end. so
Umaplayercompressed becomes Umaplayer. Start game. If all went according to plan you should see your edited texture
where ever you did it.

 

If any error pops up, then exit game, delete the copied file, and rename Umaplayeroriginal back to Umaplayer and start
game with no loss.

 

I only used Umaplayer as an example, each file you work with follows the same path to edit.

 

Hope this helps

4Sheetz.

Link to comment
Share on other sites

  • 1 month later...

Thanks for the guide 4sheetzngeegles, I feel like i followed everything there, but when i copy the file back to the original location and change the name to the default file name then run the game I am not seeing the updated textures.

 

I believe there is a step missing or one i do not understand in the import texture section.

After updating the textures i do see a '*' in the modified column

But after completing the steps to import, I then test the new compressed file by coping it to a test directory and then run the same steps to open and export the png textures. in the new compressed named file I do not get my new/updated textures.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...