Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Tools for (un)packing in Bethesda's Morrowind XBox BSA archive format.

License

Notifications You must be signed in to change notification settings

SockNastre/BethesdaSoftworksArchive-MorrowindXBox

Repository files navigation

Project is not planned on being continued or supported, you may look for an alternative or continue to use the code/software here. Thank you.

BethesdaSoftworksArchive MorrowindXBox

Requires .NET Framework 4.8

Features

  • Can pack BSA archives for XBox properly.
  • Allows for modification of assets on Morrwind XBox.
  • (Potentially) allows for mod assets to be packed into working BSA for Morrowind XBox.
  • CLI tool allows for dragging folder onto executable and getting archives packed straight away.
  • CLI tool allows for dragging BSA onto executable and getting BSA unpacked.
  • Supports name table or non-name table BSA.

F.A.Q

Q: How can we open BSA?
A: The BSA Browser tool by AlexxEG (see credits) supports opening Morrowind XBox BSA.

Q: Can this unpack BSA?
A: Yes. Although, it is recommended you use BSA Browser (see above question) as it is maintained frequently.

Q: How should I pack a BSA for Morrowind XBox?
A: Simply drag your 'Data'/'Data Files' folder onto the Packer CLI executable and it will pack it into a BSA which will work on XBox.

Q: Can this repack the game's main BSA?
A: Yes. Repacking the game's main BSA seems to be the only way to load additional content via a BSA for Morrowind XBox.

Q: Can I pack BSAs for PC with this?
A: Yes although I reccommend for PC to use another tool like bsapack. This tool can pack for PC Morrowind perfectly fine.

Q: Why is BSA Browser able to read the BSA's file names that I just packed? Shouldn't there be no name table?
A: If dragging a folder onto the executable to pack, by default, a name table will be generated in the BSA. XBox Morrowind should still load this fine, this was done to prevent potential data loss (not knowing what file is what) when opening a packed BSA. If this is not desired, simply packing from the executable without the '-strtable' command will do the trick (please look at executable help menu).

Q: I am trying to build/debug this program, why am I not getting file names when unpacking a BSA?
A: Check out the DOCUMENTATION folder for a hash table file to use. Put this file in the same folder as executable.

Credits

  • Thanks to asorrycanadian for helping out where needed, testing, and back-and-forth dialog.