System.IndexOutOfRangeException: Index was outside the bounds of the array.
at XbTool.Xb2.FileArchive.DecryptArh (System.Byte[] file) [0x0007a] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Xb2.FileArchive..ctor (System.String headerFilename, System.String dataFilename) [0x00051] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Tasks.ExtractArchive (XbTool.Options options) [0x00025] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Tasks.RunTask (XbTool.Options options) [0x00074] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Program.Main (System.String[] args) [0x00012] in <616d784149e34f5fbefbd91d3c1169f8>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at XbTool.Xb2.FileArchive.DecryptArh (System.Byte[] file) [0x0007a] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Xb2.FileArchive..ctor (System.String headerFilename, System.String dataFilename) [0x00051] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Tasks.ExtractArchive (XbTool.Options options) [0x00025] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Tasks.RunTask (XbTool.Options options) [0x00074] in <616d784149e34f5fbefbd91d3c1169f8>:0
at XbTool.Program.Main (System.String[] args) [0x00012] in <616d784149e34f5fbefbd91d3c1169f8>:0```
When running
mono XbTool.exe -g xb2 -t ExtractArchive -a bf2.arh bf2ard -o unpackedon Arch Linux mono version 5.14