Skip to content

Building and running on Linux #27

@sparr

Description

@sparr

I know the README says this is a Windows project, but I thought it worth trying anyway.

I was able to get the project built with just nuget restore && msbuild. The following warnings and errors, all non-fatal, were produced along the way (most repeatedly across many files) which might be worth addressing for correctness:

  • warning CS0618: 'Inflater' is obsolete: 'This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.'
  • error CS1069: The type name 'IXmlSerializable' could not be found in the namespace 'System.Xml.Serialization'. This type has been forwarded to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Consider adding a reference to that assembly.
  • error CS1069: The type name 'XmlSchema' could not be found in the namespace 'System.Xml.Schema'. This type has been forwarded to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Consider adding a reference to that assembly.
  • error CS1069: The type name 'XmlReader' could not be found in the namespace 'System.Xml'. This type has been forwarded to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Consider adding a reference to that assembly.
  • error CS1069: The type name 'XmlWriter' could not be found in the namespace 'System.Xml'. This type has been forwarded to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Consider adding a reference to that assembly.
  • BSA_Browser/BSA Browser/Classes/WindowStates.cs(64,14): error CS0538: 'IXmlSerializable' in explicit interface declaration is not an interface

Then I was able to run the program! It gave me helpful usage instructions, leading me to try bsab.exe -e Skyrim\ -\ Textures4.bsa outdir. Sadly that, and the same with every other bsa file I have from the base game and mods, produced the same failure mode:

An error occured opening archive:
Could not set up parent class, due to: Could not load type of field 'SharpBSABA2.Archive:<Inflater>k__BackingField' (11) due to: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=4.84.0.0, Cultu
re=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. assembly:data-02c000e8 type:Archive member:(null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions