mafaca / UtinyRipper

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

vrchat cache extract error #990

Open KrevetkaOo opened 3 years ago

KrevetkaOo commented 3 years ago
Engine version: (specify engine version, if known)
Platform: (specify platform, if known)

Error message: Some data left

Stack trace:    в uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count)
   в uTinyRipper.BundleFiles.BundleFileBlockReader.ReadEntry(Node entry)
   в uTinyRipper.BundleFileScheme.ReadFileStreamData(Stream stream, Int64 basePosition, Int64 headerSize)
   в uTinyRipper.BundleFileScheme.ReadScheme(Stream stream)
   в uTinyRipper.GameCollection.ReadScheme(SmartStream stream, String filePath, String fileName)
   в uTinyRipper.GameCollection.LoadScheme(String filePath, String fileName)
   в uTinyRipper.GameStructure.ProcessPlatformStructure(GameStructureProcessor processor, PlatformGameStructure structure)
   в uTinyRipper.GameStructure.Load(List`1 pathes, LayoutInfo layinfo)
   в uTinyRipper.GameStructure.Load(IEnumerable`1 pathes, LayoutInfo layinfo)
   в uTinyRipperGUI.MainWindow.LoadFiles(Object data)
TheKfcBandit commented 3 years ago

https://github.com/ds5678/AssetRipper

ds5678 commented 3 years ago

Cache files are encrypted by VR Chat

Swagsy commented 3 years ago

@ds5678 Is that confirmed? I was experimenting around earlier, it seems like cache files/avatars that still have UnityFS 2017 in their headers were still importable by UtinyRipper, every version after that isn't. That must mean that they're either only encrypting the 2019 uploads without the 2017 builds (which is questionable?) or the 2019 ones just aren't importable by uTinyRipper

ds5678 commented 3 years ago

@Swagsy At this time, the AssetRipper team no longer offers any technical support for ripping VR Chat or content intended for VR Chat. However, AssetRipper works on every Unity version since 3.4.0. I can say with confidence that those cache files are not normal bundles.