mafaca / UtinyRipper

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

Trouble with ripping files from Genshin Impact, installed through Epic Games Launcher #1322

Open Ramen5914 opened 2 years ago

Ramen5914 commented 2 years ago

Here is the essential report information: 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 at uTinyRipper.Lz4.Lz4DecodeStream.FillInputBuffer(Int32 offset) at uTinyRipper.Lz4.Lz4DecodeStream.ReadInputByte() at uTinyRipper.Lz4.Lz4DecodeStream.Read(Stream stream, Int64 count) at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count) at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Byte[] buffer, Int32 offset, Int32 count) at uTinyRipper.Classes.Shaders.ShaderSubProgramBlob.ReadBlob(AssetLayout layout, MemoryStream memStream, UInt32 compressedLength, UInt32 decompressedLength, Int32 segment) at uTinyRipper.Classes.Shader.UnpackSubProgramBlobs(AssetLayout layout, UInt32[] offsets, UInt32[] compressedLengths, UInt32[] decompressedLengths, Byte[] compressedBlob) at uTinyRipper.Classes.Shader.Read(AssetReader reader) at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)

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

Here is the file uTinnyRipper said to include: unity_builtin_extra.zip

ds5678 commented 2 years ago

Genshin Impact uses a heavily customized Unity engine.

Ramen5914 commented 2 years ago

Oh okay, are there any programs that can read from its engine?

ds5678 commented 2 years ago

https://github.com/Razmoth/GenshinStudio

PuroOfficial commented 2 years ago

Some unity games can not rip files up to 7GB or 10GB.