#1
|
|||
|
|||
UBT | Unity Bundle Tool
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:
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █ Unity Bundle Tool █ █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ Usage: UBT.EXE <options> <infile> <outfile> Options: -i : List information about bundle file (only specify <infile>). -d : Decompress bundle file. -c : Compress bundle file (must specifiy use of LZ4 or LZMA). -credits : View credits. Example usage: UBT.EXE -i data.unity3d UBT.EXE -d data.unity3d decompressed_data.unity3d UBT.EXE -c lz4 decompressed_data.unity3d data.unity3d UBT.EXE -c lzma decompressed_data.unity3d data.unity3d
Last edited by Masquerade; 15-07-2022 at 08:39. |
The Following 19 Users Say Thank You to Masquerade For This Useful Post: | ||
COPyCAT (12-01-2022), danthespal (28-12-2021), FIFA_LOVER (28-12-2021), Gehrman (09-03-2022), Grumpy (28-12-2021), Hexagon123 (30-12-2021), kj911 (29-12-2021), L0v3craft (01-04-2022), newfolder (06-10-2022), Noname1966 (29-11-2024), panker1992 (30-12-2021), Pantsi (29-12-2021), prince55 (08-01-2022), ramydarkness (19-03-2022), Razor12911 (29-12-2021), ScOOt3r (29-12-2021), st0rm (02-01-2022), Vladislav989 (09-08-2022), ZAZA4EVER (03-01-2022) |
Sponsored Links |
#2
|
|||
|
|||
Update for 10/2/22
Last edited by Masquerade; 28-07-2022 at 11:45. |
The Following 3 Users Say Thank You to Masquerade For This Useful Post: | ||
#3
|
|||
|
|||
*.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 Last edited by Masquerade; 03-03-2022 at 15:23. |
#4
|
||||
|
||||
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/detection Edit: testing it on the file data.unity3d from the game "TUNIC" and gives error in re-compression. Last edited by L0v3craft; 01-04-2022 at 07:39. |
#5
|
|||
|
|||
The Following 3 Users Say Thank You to Masquerade For This Useful Post: | ||
#6
|
|||
|
|||
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?
|
#7
|
||||
|
||||
Just an idea: this purple is the transparent color in the textures but the compressor forgot to keep the transparency flag.
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
The Following User Says Thank You to Joe Forster/STA For This Useful Post: | ||
Masquerade (29-06-2022) |
#8
|
|||
|
|||
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:
Last edited by Masquerade; 15-07-2022 at 08:50. |
#9
|
|||
|
|||
Batch decompress - it possible?
|
#10
|
|||
|
|||
For batch file:
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 mparallel --input=run.txt |
#11
|
|||
|
|||
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. |
#12
|
|||
|
|||
Please may you upload a small sample?
|
#13
|
|||
|
|||
https://drive.google.com/file/d/1tYe...ew?usp=sharing
Old version (UBT_Unprotected) - All fine with lz4 |
The Following User Says Thank You to dixen For This Useful Post: | ||
Masquerade (29-07-2022) |
#14
|
||||
|
||||
Quote:
__________________
Haters gonna hate
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Useful programs | Joe Forster/STA | Conversion Tutorials | 103 | 21-05-2024 10:48 |
Multiple Text/String Replacer Tool | vollachr | Conversion Tutorials | 7 | 07-01-2018 05:12 |
Preview: Conversion Tool for Advanced Setup Creator | Razor12911 | Conversion Tutorials | 6 | 10-05-2017 01:30 |
New Chinese SecuROM tool | EMPiRE | PC Games | 5 | 01-11-2005 14:49 |
UT2004 tool | dflash | PC Games | 2 | 28-03-2004 07:16 |