I am using CVS version from Sept 18 2007, and its alc and alcc utilities will not create the ed2k link for a file bigger than 4GB. It explicitly says that aMule network does not allow files bigger than 4GB.
Thanks!
edit:
I fixed this issue by doing the following:
1. In file ed2khash.cpp I removed these lines:
else if (file.Length() > (size_t)-1)
{
wxLogError (_("The file %s is to big for the Donkey: maximum allowed is 4 GB."),
unicode2char(filename.GetFullPath()));
return (false);
}
which were around line 85 of the file
2. in the file ed2khash.cpp I also changed line 225 from:
+wxT("|")+ wxString::Format(wxT("%u"),m_fileSize) +wxT("|")
to
+wxT("|")+ wxString::Format(wxT("%llu"),m_fileSize) +wxT("|")
3. in the file ed2khash.h I changed the type of m_fileSize from size_t to long long int
But there is one issue remaining: the progressbar while hashing, will get to some part, when it has hashed about 4GB of the file, and then restarts from 0. The resulting link is OK, however.
Regards.