nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.21k stars 153 forks source link

Please support LZ4 compression method by version. #361

Closed kyumin-kim closed 4 months ago

kyumin-kim commented 4 months ago

First of all, thank you for creating UABEA. I imported an asset bundle created in version 2021.3.6f1, edited it, and then compressed it back to LZ4. However, the game fails to load the asset bundle and an error occurs. I checked the header with HxD, and it seems that even though it's the same LZ4 compression, the compression method might differ by version. I would appreciate it if you could support version-specific compression.

kyumin-kim commented 4 months ago

I found the solution. The issue was that modifying assets in the {GameName}_Data/StreamingAssets/aa/StandaloneWindows64 folder caused errors due to CRC checks, which prevented the assets from loading correctly. By using the tool from https://github.com/nesrak1/AddressablesTools/releases to bypass the CRC check, it works perfectly. Thank you very much!