Skip to content

Commit

Permalink
adds support for the later (v2) DVT3 HDD format (August, July)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaasedelen committed Jul 27, 2023
1 parent 4762786 commit f96d91e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions FATX/DriveReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@ public void Initialize()
return;
}

// Check for Original XBOX DVT3 (Prototype Development Kit) partition.
Seek(0x80000);
if (ReadUInt32() == 0x58544146)
{
Console.WriteLine("Mounting Xbox DVT3 HDD (v2)..");

AddPartition("Partition1", 0x80000, 0x1312D6000); // DATA
AddPartition("Partition2", 0x131356000, 0x1f400000); // SHELL
AddPartition("Partition3", 0x150756000, 0x2ee00000); // CACHE
AddPartition("Partition4", 0x17F556000, 0x2ee00000); // CACHE
AddPartition("Partition5", 0x1AE356000, 0x2ee00000); // CACHE
return;
}

// Check for XBOX 360 partitions.
Seek(0);
ByteOrder = ByteOrder.Big;
Expand Down

0 comments on commit f96d91e

Please sign in to comment.