UABEA icon indicating copy to clipboard operation
UABEA copied to clipboard

Bundle file save error

Open gggssepgf opened this issue 1 year ago • 4 comments

Describe the bug

I want to replace a shader in a large .bundle file,it's 8,247,569,151byte shown by windows. As I import dump of the shader file and press save,error occurs. Besides,when I open the bundle file and press "Save" or "Save as",nothing happens.

I also tried UABEANext,it has similar error as screenshot shown below.

I wonder if the file is too large that UABEA can't process it,are there any way to edit it?

To Reproduce Steps to reproduce the behavior: 1.open the bundle file 2.click on “info” 3.choose the shader I want to replace 4.import dump 5.hit CTRL + S 6.error occurs

Expected behavior the bundle file is correctly saved

Screenshots image image

gggssepgf avatar Dec 07 '24 17:12 gggssepgf

Known limitation of the current way of writing. See https://github.com/nesrak1/UABEA/issues/274#issuecomment-2441555974 for the last time this was reported. Blocks can only be 4gb in size, so for each 4gb of new asset data, you need to add another block. Unfortunately, the block info appears before the new asset data (which hasn't been written yet) which makes it a chicken and egg problem when writing a bundle all in one go. Unity's solution is to write temporary files, but I'd like to not do that. UABE's solution is to guess the size but I don't have that set up.

nesrak1 avatar Dec 07 '24 17:12 nesrak1

Known limitation of the current way of writing. See #274 (comment) for the last time this was reported. Blocks can only be 4gb in size, so for each 4gb of new asset data, you need to add another block. Unfortunately, the block info appears before the new asset data (which hasn't been written yet) which makes it a chicken and egg problem when writing a bundle all in one go. Unity's solution is to write temporary files, but I'd like to not do that. UABE's solution is to guess the size but I don't have that set up.

So,it's impossible for UABEA to write such a huge bundle for now?

gggssepgf avatar Dec 07 '24 18:12 gggssepgf

It is not possible right now, unless you patch assetstools to have a hardcoded number of blocks.

nesrak1 avatar Dec 07 '24 18:12 nesrak1

Ok,thanks a lot!

---Original--- From: @.> Date: Sun, Dec 8, 2024 02:17 AM To: @.>; Cc: @.@.>; Subject: Re: [nesrak1/UABEA] Bundle file save error (Issue #396)

It is not possible right now, unless you patch assetstools to have a hardcoded number of blocks.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

gggssepgf avatar Dec 07 '24 18:12 gggssepgf