![]() |
UBT | Unity Bundle Tool
1 Attachment(s)
UBT | Unity Bundle Tool
Unity Bundle Tool is a software made by my friend, SowwyItsAnAlt, which I have been using in my repacks for a few months. With her permission, I have rewritten and polished the code and made a new executable which I am sharing here. The function of this tool is the ability to decompress compressed Unity Asset Bundles and then recompress them to a close enough point in which a patch is possible (& viable!). I like to use HDiffZ because it gives the smallest patches. XDelta should work just fine (patch creation is significantly quicker than with HDiffZ although the patch file will be larger). UBT is based on AssetTools.NET by nesrak1 and has compression support for both LZ4 and LZMA algorithms. Code:
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
|
Update for 10/2/22
|
*.CMS from Car Mechanic Simulator games are compressed Asset Bundles with LZ4, however devs changed the File Header so that the "U" in UnityFS is replaced with an S.
If you swap the S for a U, you can then decompress the bundles with UBT :) |
Hi. Thank you very much for your work, but please, share an UBT.exe file that works with files larger than 2GB and that is not detected as a trojan. It is dected as virus by 44 on 67 antiviruses:
Code:
https://www.virustotal.com/gui/file/9d34b1c2b139f41d6c733b3cb0730ec76c70a6083818c4ee28644ed5421a365f/detectionEdit: testing it on the file data.unity3d from the game "TUNIC" and gives error in re-compression. |
|
whats happening here?
ran decomp on "data.unity3d" on a game called "Mango", the file is ~1.7 GB and is compressed with lz4, got an output of ~4 GB or so. Then compressed it using lz4 and the tool finished weirdly quick, after checking the output of the compression it was 300 Megs, then i tried running the game using this output as the "data.unity3d" and the game ran however every texture was purple, whats going on?
|
Quote:
|
Update for 15/7/22
Download the latest build from the AssetsTools.NET GitHub and grab the file "AssetsTools.NET.dll" from the zip. Put it in the same folder as UBT.EXE and you're good to go. I don't mind compiling a "standalone" version with the library merged into the executable if someone would like that. https://github.com/nesrak1/AssetsToo...eleases/latest Also there's no support for Powerwash Simulator because the bundles are strange. Here's a quote from sowwyitsnalt when we were discussing the bundles: Quote:
|
Batch decompress - it possible?
|
Quote:
Code:
for /r %%f in (*.bundle) do ubt -d "%%f" "%%f.dec"Code:
for /r %%f in (*.bundle) do echo ubt -d "%%f" "%%f.dec" >> run.txt |
As Dusk Falls
UBT.exe - c lz4 1.tmp 2 tmp - don't work and don't compressed UBT.exe - c lzma 1.tmp 2 tmp - all fine works. |
Quote:
|
Quote:
Old version (UBT_Unprotected) - All fine with lz4 |
Quote:
|
1 Attachment(s)
Quote:
|
Thanks, will test it.
|
Quote:
Thanks for the testing. |
Sometimes the new compressed file is smaller than the original file, which makes any patches pointless.
Example Code:
Original file - 239 MB |
Quote:
After doing more testing i realized that this happens if the output written in the command does not have an extension, what i was doing is just "UBT.exe -c -lz4 data.unity3d data" instead of adding the .unity3d extention and modifying the output name, the tool seems to work nice, thanks Masq! |
Good evening everyone! I have some questions:
-) Can I use this tool on a single file? (A .pak file, a .pkg file, a generic .xxx file, etc) -) Can I use UBT tool even if the decompressed file is composed of several small files? (Such as .dat files, .bin files, etc) -) I can see a .tmp file in the picture at top of forum. What is that? How can I generate that file? |
| All times are GMT -7. The time now is 14:58. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com