Skip to content

Exception while unpacking bf2.ard #7

@YayIguess

Description

@YayIguess

When running mono XbTool.exe -g xb2 -t ExtractArchive -a bf2.arh bf2ard -o unpacked on Arch Linux mono version 5.14

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```

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