UtinyRipper.EndianStream.ReadByteArray() error
See original GitHub issueHello! I’m having several issues when trying to extract files from an game called “Crossfire” , made in unity for android. Some files works, but in example of this, i got the error:
General: Version[5.6.4p4] 'level62' General: System.Exception: Read 16593172 but expected 1056964608 em UtinyRipper.EndianStream.ReadByteArray() em UtinyRipper.Classes.Meshes.VertexData.Read(AssetStream stream) em UtinyRipper.Classes.Mesh.Read(AssetStream stream) em UtinyRipper.SerializedFiles.SerializedFile.ReadAsset(AssetStream stream, AssetInfo assetInfo, Int64 offset, Int32 size) em UtinyRipper.SerializedFiles.SerializedFile.ReadAsset(AssetStream stream, AssetEntry info, Int64 startPosition) em UtinyRipper.SerializedFiles.SerializedFile.ReadAssets(EndianStream stream, Int64 startPosition) em UtinyRipper.SerializedFiles.SerializedFile.Read(Stream baseStream, Action
1 requestDependencyCallback)
em UtinyRipper.SerializedFiles.SerializedFile.Load(String assetPath, Action1 requestDependencyCallback) em UtinyRipper.FileCollection.LoadSerializedFile(String filePath, String fileName) em UtinyRipper.GameStructure.Load(IEnumerable
1 pathes)
em UtinyRipper.Program.Load(IReadOnlyList1 args)
The file is this zip (Level.zip).
Thx for your attention 😃
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Well, I checked apk you provided. It’s definitely modified version. I’m pretty sure that developers has Unity’s source code and they can modify assets format the way they want. That’s why UR can’t read file properly, because it only supports common structure. However if you really need I can send you modded version of UR that can read this format. But as I said before I’m not going to include this to main build because it’s related only for one specific game. Provide your email if you need this version.
First of all I need a link to the store for this game. I don’t understand what “Crossfire” do you mean. I know “CrossFire Legends” but it doesn’t contains file you provided. There was an issue in AS project and there were some files from this game. They were modified (had extra fields) by developers as I though. But after some research I found that original files don’t contains those extra fields. I checked file you provided and it’s very familiar with those I checked previously. Its structure doesn’t match to generic file structure. Maybe developers really change formats for some assets and distribute this modded version for some specific regions. I don’t know. Anyway if those files are modifies then I’m not going to support them. If you are talking about CFLegend upload akp file somewhere and give me the link, I want to check your version. If it isn’t CFLegens then give me the link to the store.