Skip to content

Commit

Permalink
Add more XBFS filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
emoose committed Mar 20, 2019
1 parent 101f682 commit 468a990
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions LibXboxOne/NAND/XbfsFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class XbfsFile
"certkeys.bin", // 4
"smcerr.log", // 5
"system.xvd", // 6
"$sosrst.xvd", // 7
"$sospf.xvd", // 7, formerly $sosrst.xvd
"download.xvd", // 8
"smc_s.cfg", // 9
"sp_s.cfg", // 10, keyvault? has serial/partnum/osig, handled by psp.sys (/Device/psp)
Expand All @@ -32,16 +32,20 @@ public class XbfsFile
"host.xvd", // 17
"settings.xvd", // 18
"1smcbl_b.bin", // 19
"bootanim.bin", // 20, this entry and ones below it are only in retail 97xx and above?
"sostmpl.xvd", // 21
"bootanim.dat", // 20, this entry and ones below it are only in retail 97xx and above?
"obsolete.001", // 21, formerly sostmpl.xvd
"update.cfg", // 22
"sosinit.xvd", // 23
"obsolete.002", // 23, formerly sosinit.xvd
"hwinit.cfg", // 24
"qaslt.xvd", // 25
"keyvault.bin", // 26, keyvault backup? has serial/partnum/osig
"unknown2.bin", // 27
"unknown3.bin", // 28
"unknownBlank2.bin" // 29
"sp_s.bak", // 26, keyvault backup? has serial/partnum/osig
"update2.cfg", // 27
"obsolete.003", // 28
"dump.lng", // 29
"os_d_dev.cfg", // 30
"os_glob.cfg", // 31
"sp_s.alt", // 32
"sysauxf.xvd", // 33
};

private readonly IO _io;
Expand Down Expand Up @@ -204,7 +208,6 @@ public void ExtractXbfsData(string folderPath)
}
}


public override string ToString()
{
return ToString(false);
Expand Down
2 changes: 1 addition & 1 deletion LibXboxOne/XVD/XVDFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ public string ToString(bool formatted)
{
b.AppendLine();
string presenceInfo = "";
if (RegionPresenceInfo != null)
if (RegionPresenceInfo != null && RegionPresenceInfo.Count > i)
{
var presenceFlags = RegionPresenceInfo[i];
presenceInfo = " (";
Expand Down

0 comments on commit 468a990

Please sign in to comment.