Jump to content


Photo

Will Someone With The Xdk Help Me Out?


  • Please log in to reply
No replies to this topic

#1 wildonrio

wildonrio

    X-S Member

  • Members
  • Pip
  • 103 posts

Posted 09 October 2008 - 08:58 AM

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.

Edited by wildonrio, 09 October 2008 - 09:00 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users