xvdtool
xvdtool copied to clipboard
XBFSTool exception - Index was outside the bounds of the array
Hi,
I got 3 dumps, where 1 works perfectly fine and the other two throw the following expection, when I use the -i parameter:
XBFSTool 0.53.0-5737d20: Xbox boot filesystem tool
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at LibXboxOne.Nand.XbfsHeader.ToString(Boolean formatted)
at LibXboxOne.Nand.XbfsFile.ToString(Boolean formatted)
at LibXboxOne.Nand.XbfsFile.ToString()
at XBFSTool.Program.Main(String[] args)
The -c paramter however works on both of them and I can see all the contents of the certificate.
Could it be that the two dumps which don't work come from a recent FW update or something where Microsoft changed something that XBFS Tool can't parse correctly?
The dump can be provided if needed.
Yeah, it's possible that something was changed in the header layout. A dump would be helpful.
Yeah, it's possible that something was changed in the header layout. A dump would be helpful.
Do you need the entire dump or just a part of it? Is there another way to contact you and hand it over? I wouldn't want it to be public tbh :/
Follow up: the NAND contains more files than known filenames.
Needs to be handled here: https://github.com/emoose/xvdtool/blob/ca47ce1ae6d551bcb50a9a4865791606d891a6a1/LibXboxOne/NAND/XbfsHeader.cs#L79
Should be fixed now