Hi. I've read the Usage file already, and also consulted the above posts. However, I'm still unable to do my batch export.
- My batch file. (It's encoded in UTF-8-BOM, as UTF-8 didn't seem to work. It's also located in the same folder as UABE, in the Downloads folder of my comp.)
- The error I get from the command prompt when attempting batch export: Image1 and Image 2
- Proof that my batch file has the correct directory path to the bundles: Image
- I don't believe there's anything wrong with the bundle files named 00a1bde4, etc. since I can export them individually just fine. (Proof: Image1 and Image2) Other than those 4 files at the top (which I've attempted to exclude in my batch file), I don't believe there are any "invalid" bundle files there.
I assume there's a simple error(s) I'm making somewhere, so I'd really appreciate if someone could point it out to me.
However, while making this post, I decided to extensively comb through the 3a folder of these bundle files (the files were originally each divided into subfolders corresponding to the first two characters in their file names), and I came across at least 1 file that yielded the message "Unable to read the bundle file! (Invalid file or unknown version?)". Is it unreadable files like these that are blocking the batch export I'm attempting? (The unreadable file in question: Here, though understandable if wary of viruses.)
The package file error likely is because the current directory doesn't contain the classdata.tpk file. Either use cd in cmd to go to the path of UABE or copy the .tpk file to the current directory.
That error isn't the cause for the missing exports though, but it could cause issues attaching to the cmd window simply because of the delay until the message is closed. Alternatively, if it doesn't show any program output, it should be possible to redirect the output to a log file through "AssetBundleExtractor batchexport batchfile > logfile.txt".
The unreadable file is no bundle file (probably game specific) or it's a compressed / encrypted one. The only thing that could reveal more to that is the game code.
DerPopo,
I want to know more about the way unity assets are formatted.
I am modding a different game (terratech) and want to manipulate the assets so I can change the prefabs such that the classes originate from a DLL of my choosing.
So far I have been working to translate the code from
ata4/disunity and making it compatible with 5.0 and onwards.
My code is to the point where it can parse the file with some meaning but there still are things not entirely clear to me.
Would you be willing to help me understand the unity file formats?
Not to give you the burden of writing it all down, I can write down the format as far as I understand it and you could help clear up some details.
If not, I want to ask if you have some advice on finding out the format further.
Sorry for the late response. I've put your repo on my watch list so you can ask me through issues. You can also ask me via forum PMs.
I think you forgot to apply endian swaps when reading TypeField_0D 'depth' and 'isarray' fields.
These are one byte fields so endian swapping is not required in this case.
Hi, thank you for the tool. I've noticed that since updating to 2.1d, the program crashes when trying to export multiple textures at once with the plugins. It'll export the first file selected, but not the rest. Everything else works as usual.
I couldn't reproduce that issue (at least with my current internal version) but I'll definitely see if I can find files it crashes on. Thanks for the report!
hey guysi have a problem is when I replace a texture which uses a sprite, it cuts if its bigger (tho both original and custom textures are 256x256)
i've tried editing sprite dump, it worked in the first asset bundle, but when I've edited the other one, the game didn't load texture at all (well it did but it didn't show it) and as log file states, sprite wasn't loaded because of mismatched serilization. How can I solve this problem?
Probably the type information UABE chose isn't accurate for the second bundle's Unity version. Could you tell me the Unity version of that file? It can be looked up with a hex editor or simply with notepad, searching for version names such as "5.5.0f3" at the beginning of the file.
thanks to your api, i can export textures from assets now. very good!

eaceful: btw, how can i export meshs like your mesh plugin?
Meshes are more complicated to export due to format changes and undocumented behaviour regarding offsets in the raw mesh data and the meaning of some important values.
The mesh has multiple channels (from 0 to 4 : position, normal, color, uv1, uv2) that may be located in different streams (in the same data buffer but at separate offsets). Each vertex is described through these channels which have a stream index, an offset value (describing the relative position of that channel for each vertex), a format value (0 = 32bit float, 1 = 16bit float, not sure whether 2 is 32bit int) and a dimension count (amount of floats/ints).
In newer Unity versions, the stream info is in another field but for older files, the stream location has to be calculated through the stride of each vertex in a stream (i.e. the amount of bytes of the stream's channels) multiplied by the amount of vertices. In some cases, the offset of the last stream is the size of the buffer minus the byte size of that stream.
I don't know much of compressed meshes though.
Hi,
I'm trying to get textures from a unity 5.6.0f3 game.
What I do:
File>open>select the asset>select the texture>Plugins, nothing apears in the Plugins window...
When I launch the program, I have an error message saying that it's "unable to load the PVR tex lib [...] may be fixed by installing the Visual C++2013 redistributable".
I've installed it but it still doesn't work.
Any idea?
Thanks!
Did you download UABE 2.1 first and then copy the 2.1d files in the 2.1 folder (overwriting existing ones)?
Hello, I want to extract some .ogg files from a .unity3d file
So I opened it and clicked on info.
Now, when I select the AudioClip (Ogg file) and select Plugins and select Export sound, the program stops working and crashes.
Do you know how I can extract these Audiofiles without crashing :/…?
Could you send me the .unity3d file via PM (or any file with an AudioClip it fails to extract)?