Can someone with the XDK help me out?
#1
Information 
Ok guys, I just installed a 1.5TB using an SATA to IDE converter. Everything is working great, but now I need to format the drive and I'd like to use 128k clusters so I can just have on big F drive with no corruption. The problem is xbpartitioner 1.1 only formats up to 64k clusters. I've got the code I need to change for it to format with 128k clusters but I don't have the XDK. Can someone with the XDK make the following changes to the xbpartitioner1.1 source code? Here's all you need to do.

Find the file PartInfo.cpp, and then within that file find lines 915-924. Here's what is there currently:

Quote:void SelectClusterSize()
{
g_iClusterSize = 16;
ULONG compare = 0x20000000;
while (PartTbl.TableEntries[g_iCurrentPart].LBASize > compare)
{
compare = compare * 2;
g_iClusterSize = g_iClusterSize * 2;
}
}

Replace those lines with this code:

Quote:void SelectClusterSize()
{
g_iClusterSize = 128;
}

Then just compile it and let me know! (If you need the source code for xbpartitioner 1.1 PM me.) Thanks so much guys! This new version will be a big help for other people who want to use a hard drive larger than 1TB and have just one big F drive.
Reply

Logout Mark Read Team Forum Stats Members Help
Can someone with the XDK help me out?2