First of all, I did not succeed in the end, for your reference only.
I did this because the scene0.unity scene file in my Unity project was corrupted, and I thought that the file would be in the generated apk and would like to be solved.
Steps
1. Unzip apk
Change the apk file suffix to rar/zip and so on to extract the following files:
This is the inside of a very modest Android apk.
2. Find resource Files
Here it is.
Managed is all the referenced DLLs, as well as their own script files composed of DLLs, heard in this inside: Assembly-unityscript.dll, but this is not my business, I also want to find. Unity Scene File ...
Of course, I also want to resource files, because coveted other game resource files for a long time, hey ~
3. Learn to use disunity_v0.5.0 tools
After you unzip the tool, there's a read me, that's the manual.
Come on, let's have a preliminary reading.
It does not seem very good to support the 2~5 of the anti-solution. But it also said, because only support the native file read and write, these files do not contain any object deserialization, (this sentence I do not understand, but also to ask everyone). But the latter sentence I understand, that is, it can not directly solve the assert.
Below is the operating instructions.
Usage: disunity <command> [options] <file>
That is to say disunity command, plus optional instructions, plus must write the file address
Again, the command is divided into two groups, one for the assert, the other for the bundle.
I focus on the Assert group,
Asset Unpack | Unpacks raw data blocks from a file. Could is useful for manual extraction.
Unzip the file native data block, this may be useful for manual decompression OH
|asset Blocks | List data block offsets and sizes. Could is useful for manual extraction.
List the offset and size of the data block, which of course is useful for manual decompression.
(Ah, I wrote here, suddenly found that I should put this asert blocks good use, perhaps can further solve the problem. )
4. Operation
Well, with these two orders, you can open up.
First use assert unpack to decompress.
CMD is positioned in the disunity_v0.5.0 directory and then writes
Disunity assert unpack C:\assert\bin\data\*.*
Enter, found a large pile of unrecognized split1/split2/... The error.
5. The crux of the problem
The problem comes out, what I need is actually. Assert, however here is. assert.split*
As for how to merge these split packages, there is no response.
*************************************************************************************************************** *********************************************************************************
Gorgeous Split-line ****************************************** ************************************************************************
The previous section of the study was over, and then I suddenly remembered that I could try the anti-decryption of the EXE file generated by unity
Yes, this is the EXE data packet, which Sharedassets0.assets is, no division ah, how good, and then I like the above steps to the same thing successfully extracted, decompression after the following:
Got this thing, this, is the above mentioned blocks, as for this again how to decompress, I have no way, but there is a command is assert blocks may be useful, I have time to study it