mafaca / UtinyRipper

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

AssetRipper Crash #984

Open UrLittleDashie opened 3 years ago

UrLittleDashie commented 3 years ago

The game is VRChat, I downloaded https://github.com/ds5678/AssetRipper/releases/download/0.1.4.0/AssetRipper_win64.zip I tried to run as administrator and tried different avatars but no success

Game name: VRChat Engine version: Unity 2019.4.29f1 Platform: PC - Windows 10 x64

Error message: Some data left

Stack trace: at AssetRipper.Core.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Lz4\Lz4DecodeStream.cs:line 225 at AssetRipper.Core.Parser.Files.BundleFile.IO.BundleFileBlockReader.ReadEntry(Node entry) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Parser\Files\BundleFile\IO\BundleFileBlockReader.cs:line 90 at AssetRipper.Core.Parser.Files.BundleFile.BundleFileScheme.ReadFileStreamData(Stream stream, Int64 basePosition, Int64 headerSize) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Parser\Files\BundleFile\BundleFileScheme.cs:line 210 at AssetRipper.Core.Parser.Files.BundleFile.BundleFileScheme.ReadScheme(Stream stream) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Parser\Files\BundleFile\BundleFileScheme.cs:line 60 at AssetRipper.Core.Parser.Files.BundleFile.BundleFileScheme.ReadScheme(Stream stream, String filePath, String fileName) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Parser\Files\BundleFile\BundleFileScheme.cs:line 40 at AssetRipper.Core.Structure.SchemeReader.ReadScheme(SmartStream stream, String filePath, String fileName) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\SchemeReader.cs:line 51 at AssetRipper.Core.Structure.SchemeReader.LoadScheme(String filePath, String fileName) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\SchemeReader.cs:line 19 at AssetRipper.Core.Structure.GameStructure.GameStructure.ProcessPlatformStructure(GameStructureProcessor processor, PlatformGameStructure structure) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\GameStructure\GameStructure.cs:line 175 at AssetRipper.Core.Structure.GameStructure.GameStructure.Load(List1 paths, LayoutInfo layinfo) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\GameStructure\GameStructure.cs:line 58 at AssetRipper.Core.Structure.GameStructure.GameStructure.Load(IEnumerable1 paths, LayoutInfo layinfo) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\GameStructure\GameStructure.cs:line 36 at AssetRipper.Core.Structure.GameStructure.GameStructure.Load(IEnumerable`1 paths) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperCore\Structure\GameStructure\GameStructure.cs:line 26 at AssetRipper.GUI.MainWindow.LoadFiles(Object data) in C:\Users\Jeremy\source\repos\AssetRipper\AssetRipperGUI\MainWindow.xaml.cs:line 98

ds5678 commented 3 years ago

Hi, I'm aware of this issue. I'll see what can be done

ds5678 commented 3 years ago

If this isn't fixed by now, then I think it might be game-specific encryption. VRC has that on cached avatars

UrLittleDashie commented 3 years ago

Thanks, but I'm in doubt, I don't see a new version, so I just have to download that one again ? The same file ?

ds5678 commented 3 years ago

I'll be posting a new release soon. Until then, you can try the latest alpha build on the actions page.

https://github.com/ds5678/AssetRipper/actions/runs/1154207827

ds5678 commented 3 years ago

0.1.5.0 has been released

UrLittleDashie commented 3 years ago

So, the game has sum kind of encryption, the cached files r now useless. I'm now using another software to download the vrca file directly from the server, bcz those aren't encrypted, and now I'm able to use the AssetRipper to extract them. Thank u, I guess I'm back now heh