Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while unpacking bf2.ard #7

Open
YayIguess opened this issue Sep 20, 2018 · 1 comment
Open

Exception while unpacking bf2.ard #7

YayIguess opened this issue Sep 20, 2018 · 1 comment

Comments

@YayIguess
Copy link

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```
@YayIguess
Copy link
Author

YayIguess commented Sep 24, 2018

When running XbTool.exe -g xb2 -t ExtractArchive -a bf2.arh bf2.ard -o bf2_extract on windows 10,

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at XbTool.Xb2.FileArchive.DecryptArh(Byte[] file)
   at XbTool.Xb2.FileArchive..ctor(String headerFilename, String dataFilename)
   at XbTool.Tasks.ExtractArchive(Options options)
   at XbTool.Tasks.RunTask(Options options)
   at XbTool.Program.Main(String[] args)

All of the crashes have only occurred on the 2.0.0 version of the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant