mafaca / UtinyRipper

GUI and API library to work with Engine assets, serialized and bundle files
MIT License
2.81k stars 432 forks source link

Genshin impact issue, help? #1061

Open FlasheryTV opened 3 years ago

FlasheryTV commented 3 years ago

Game name: (please, specify the game name) Engine version: 2017.4.30f1 Platform: StandaloneWin64Player File name: unity builtin extra

Error message: Error during reading of asset type Shader

Inner message: System.Exception: No data left en uTinyRipper.Lz4.Lz4DecodeStream.FillInputBuffer(Int32 offset) en uTinyRipper.Lz4.Lz4DecodeStream.ReadInputByte() en uTinyRipper.Lz4.Lz4DecodeStream.Read(Stream stream, Int64 count) en uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count) en uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Byte[] buffer, Int32 offset, Int32 count) en uTinyRipper.Classes.Shaders.ShaderSubProgramBlob.ReadBlob(AssetLayout layout, MemoryStream memStream, UInt32 compressedLength, UInt32 decompressedLength, Int32 segment) en uTinyRipper.Classes.Shader.UnpackSubProgramBlobs(AssetLayout layout, UInt32[] offsets, UInt32[] compressedLengths, UInt32[] decompressedLengths, Byte[] compressedBlob) en uTinyRipper.Classes.Shader.Read(AssetReader reader) en uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)

Stack trace: en uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size) en uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, ObjectInfo& info) en uTinyRipper.SerializedFile.ReadData(Stream stream) en uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file) en uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file) en uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file) en uTinyRipper.GameProcessorContext.ReadSerializedFiles() en uTinyRipper.GameStructureProcessor.ProcessSchemes(GameCollection fileCollection) en uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo) en uTinyRipper.GameStructure.Load(IEnumerable1 pathes, LayoutInfo layinfo) en uTinyRipperGUI.MainWindow.LoadFiles(Object data)

ds5678 commented 3 years ago

Genshin Impact uses a custom unity engine. It's not supported by uTiny or AssetRipper. However, I think there's a modified AssetStudio that works.