|
|
@ -201,11 +201,34 @@ CPatchManager::CPatchManager() : State("t_state"), DataScanState("t_data_scan_st
|
|
|
|
_StateListener = NULL;
|
|
|
|
_StateListener = NULL;
|
|
|
|
_StartRyzomAtEnd = true;
|
|
|
|
_StartRyzomAtEnd = true;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef NL_OS_UNIX
|
|
|
|
// only download binaries for current platform
|
|
|
|
// don't use cfg, exe and dll from Windows version
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.clear();
|
|
|
|
ForceRemovePatchCategories.clear();
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll");
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll");
|
|
|
|
ForceRemovePatchCategories.push_back("main_cfg");
|
|
|
|
#if defined(NL_OS_WIN64)
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
|
|
|
|
|
|
|
#elif defined(NL_OS_WIN32)
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
|
|
|
|
|
|
|
#elif defined(NL_OS_APPLE)
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
|
|
|
|
|
|
|
#elif defined(NL_OS_UNIX) && defined(_LP64)
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_win64");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
|
|
|
|
|
|
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -3029,7 +3052,7 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP)
|
|
|
|
// to apply a single patch from a refrence version to them. (so here we necessarily got
|
|
|
|
// to apply a single patch from a refrence version to them. (so here we necessarily got
|
|
|
|
// 'rFTP.Patches.size() == 1' !)
|
|
|
|
// 'rFTP.Patches.size() == 1' !)
|
|
|
|
// The reference version itself is incrementally patched, however, and may be rebuilt from time to time
|
|
|
|
// The reference version itself is incrementally patched, however, and may be rebuilt from time to time
|
|
|
|
// when the delta to the reference has become to big (but is most of the time < to the sum of equivallent delta patchs)
|
|
|
|
// when the delta to the reference has become too big (but is most of the time < to the sum of equivallent delta patchs)
|
|
|
|
// The non-incremental final patch (from ref file to final bnp), is guaranteed to be done last
|
|
|
|
// The non-incremental final patch (from ref file to final bnp), is guaranteed to be done last
|
|
|
|
// after the reference file has been updated
|
|
|
|
// after the reference file has been updated
|
|
|
|
|
|
|
|
|
|
|
|