Jump to content

Why is this repacked BSA archive larger than the original?


Recommended Posts

I am experimenting with BSA archives and was testing BSArch against the "BSHeartland - Textures.bsa" archive from Beyond Skyrim - Bruma SE.

All I did was unpack and repack the archive:

bsarch unpack "BSHeartland - Textures.bsa" temp
bsarch pack temp/ ../repack.bsa -sse -z -mt -share

What I found was that the new file was larger than the old one (2,135,412,736 bytes vs 2,167,792,265 bytes).

Why do these sizes differ?

Link to comment
Share on other sites

you can use a terminal for  command line applications,  but you do not know what archive is? 

what is a PC archive

https://www.google.com/search?q=what+is+a+PC+archive&sourceid=chrome&ie=UTF-8

what is PC archive compression 

https://www.google.com/search?q=what+is+PC+archive+compression&sourceid=chrome&ie=UTF-8

feeling silly now, cos you knew that did you not?

btw window support Sudo now "Super User Do" don't run bat or cmd files if you do not know what they do.. they can download Malware and installed them as Admin.. under the right conditions, of which you got no idea, what they are, have you?

 

Link to comment
Share on other sites

No I let him read it for himself, and it was something he knew, cos every person on the nexus has unpacked an archive and knows, no matter whether it is a 

  1. zip
  2. 7z
  3. rar
  4. bsa

they are just compressed archives that unpack to a bigger size, cos they are LOL compressed... 

Edit I admit you can have archives with no compression or differing degrees of compression, all of which alter what the actual unpack  size will be...

LOL I think i just explained a bsa is a glorified zip file, ... nothing more, with a different ext and encoding, and certainly there's nothing special about it as an archive 

Link to comment
Share on other sites

@Kahenraz there is nothing to fix, everything is working as normal, you just needed to be aware a bsa is an archive and it behaves like any other archive, there is nothing wrong with any of the files you unpacked, unless the archive itself was corrupted and no tool will fix that, for skyrim validate the files, and for a mod redownload it. 

edit the part about the bat or cmd file and not running code on your PC, if you cannot read it, I was deadly serious about.  sudo mean just one line of code can run as Admin without you giving it express permission, the likelihood of that happening is extremely small, but it is not zero

Link to comment
Share on other sites

The question was really simple.

OP took a  .bsa file from a mod, unpacked it to loose files, then repacked those very same files back into another bsa using BSArch utility.    And resulting repacked bsa came out larger than the original one.   OP wanted to know why.  There was zero mention of sudo or batch files or what not.   

The answer is also simple - cause original bsa was likely created using some other utility, employing a slightly more efficient compression.       

Link to comment
Share on other sites

my bad,yeah,  it is all about the compression, they were compressed by two different tools.. if he wants exactly the same compression level, needs to use to use the exact same tool, with the exact same settings the original was packed with, else there will always be variations. Agreed

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...