diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bbf6235e..92e923e30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,9 +111,9 @@ SET(RYZOM_WEBIG_TRUSTED_DOMAIN "open.ryzom.dev" CACHE STRING "Ryzom Client # urls when compiling ryzom live client IF(WITH_RYZOM_LIVE) MESSAGE("Using RYZOM_LIVE urls") - SET(RYZOM_CLIENT_CREATE_ACCOUNT_URL "https://account.ryzom.com/signup/from_client.php") - SET(RYZOM_CLIENT_EDIT_ACCOUNT_URL "https://account.ryzom.com/payment_profile/index.php") - SET(RYZOM_CLIENT_FORGET_PASSWORD_URL "https://account.ryzom.com/payment_profile/lost_secure_password.php") + SET(RYZOM_CLIENT_CREATE_ACCOUNT_URL "https://me.ryzom.com") + SET(RYZOM_CLIENT_EDIT_ACCOUNT_URL "https://me.ryzom.com") + SET(RYZOM_CLIENT_FORGET_PASSWORD_URL "https://me.ryzom.com/?forget_password=1") SET(RYZOM_CLIENT_PATCH_URL "http://dl.ryzom.com/patch_live") SET(RYZOM_CLIENT_APP_NAME "ryzom_live") diff --git a/nel/src/gui/css_style.cpp b/nel/src/gui/css_style.cpp index 912ff04d4..22792993c 100644 --- a/nel/src/gui/css_style.cpp +++ b/nel/src/gui/css_style.cpp @@ -1093,7 +1093,19 @@ namespace NLGUI // first loop -> true // second loop -> false && break loop = !loop; - if (next < parts.size()) + + if (next >= parts.size()) + break; + + val = toLower(parts[next]); + if (val == "center") + { + if (bgPositionX.empty()) bgPositionX = "center"; + if (bgPositionY.empty()) bgPositionY = "center"; + // consume 'center' + next++; + } + else if (val == "left" || val == "right") { val = toLowerAscii(parts[next]); if (val == "center") diff --git a/path_config.bat b/path_config.bat new file mode 100644 index 000000000..5b54ddbab --- /dev/null +++ b/path_config.bat @@ -0,0 +1 @@ +set RC_ROOT=.. diff --git a/ryzom/client/src/client_cfg.cpp b/ryzom/client/src/client_cfg.cpp index 9768d84f1..8a68b1140 100644 --- a/ryzom/client/src/client_cfg.cpp +++ b/ryzom/client/src/client_cfg.cpp @@ -909,16 +909,76 @@ void CClientConfig::setValues() READ_STRING_FV(FSHost) READ_BOOL_DEV(DisplayAccountButtons) - READ_STRING_DEV(CreateAccountURL) - READ_STRING_DEV(EditAccountURL) - READ_STRING_DEV(ForgetPwdURL) + + + READ_STRING_FV(CreateAccountURL) + READ_STRING_FV(EditAccountURL) + READ_STRING_FV(ForgetPwdURL) + READ_STRING_DEV(BetaAccountURL) READ_STRING_DEV(FreeTrialURL) // defined in client_default.cfg - READ_STRING_FV(ConditionsTermsURL) - READ_STRING_FV(NamingPolicyURL) READ_STRING_FV(LoginSupportURL) + + // read NamingPolicyURL from client_default.cfg + //READ_STRING_FV(NamingPolicyURL) + + std::string languageCo = "wk"; + CConfigFile::CVar *languageCodeVarPtr = ClientCfg.ConfigFile.getVarPtr("LanguageCode"); + + if (languageCodeVarPtr) + { + languageCo = languageCodeVarPtr->asString(); + } + + CConfigFile::CVar *policyurl = ClientCfg.ConfigFile.getVarPtr("NamingPolicyURL"); + + if (policyurl) + { + for (uint i = 0; i < policyurl->size(); ++i) + { + std::string entry = policyurl->asString(i); + if (entry.size() >= languageCo.size()) + { + if (nlstricmp(entry.substr(0, languageCo.size()), languageCo) == 0) + { + std::string::size_type pos = entry.find("="); + + if (pos != std::string::npos) + { + ClientCfg.NamingPolicyURL = entry.substr(pos + 1); + } + } + } + } + } + + // read NamingPolicyURL from client_default.cfg + //READ_STRING_FV(ConditionsTermsURL) + CConfigFile::CVar *coturl = ClientCfg.ConfigFile.getVarPtr("ConditionsTermsURL"); + + if (coturl) + { + for (uint i = 0; i < coturl->size(); ++i) + { + std::string entry = coturl->asString(i); + + if (entry.size() >= languageCo.size()) + { + if (nlstricmp(entry.substr(0, languageCo.size()), languageCo) == 0) + { + std::string::size_type pos = entry.find("="); + + if (pos != std::string::npos) + { + ClientCfg.ConditionsTermsURL = entry.substr(pos + 1); + } + } + } + } + } + #ifndef RZ_NO_CLIENT // if cookie is not empty, it means that the client was launch diff --git a/ryzom/client/src/connection.cpp b/ryzom/client/src/connection.cpp index 222ad6a1e..fe5ec64f3 100644 --- a/ryzom/client/src/connection.cpp +++ b/ryzom/client/src/connection.cpp @@ -1136,7 +1136,7 @@ TInterfaceState globalMenu() charSelect = LoginCharsel; WaitServerAnswer = false; - if (charSelect == -1) + if (charSelect == -1 || FarTP.isReselectingChar()) { CCDBNodeLeaf *pNL = NLGUI::CDBManager::getInstance()->getDbProp("UI:SERVER_RECEIVED_CHARS", false); if (pNL != NULL) diff --git a/ryzom/client/src/interface_v3/inventory_manager.cpp b/ryzom/client/src/interface_v3/inventory_manager.cpp index a3e1541e5..8c0241acc 100644 --- a/ryzom/client/src/interface_v3/inventory_manager.cpp +++ b/ryzom/client/src/interface_v3/inventory_manager.cpp @@ -3665,6 +3665,15 @@ void CInventoryManager::updateItemInfoQueue() TItemInfoWaiters::iterator it; for(it= _ItemInfoWaiters.begin();it!=_ItemInfoWaiters.end();it++) { + /* yoyo remove: temp patch to be sure that the client does not send messages before the + CONNECTION:READY is sent + Ulukyn: this only happens if player ask to reselect a char before end of update items. + On this case, skip it... + */ + + if (!ConnectionReadySent) + continue; + IItemInfoWaiter *waiter=*it; uint itemSlotId= waiter->ItemSlotId; TItemInfoMap::iterator it= _ItemInfoMap.find(itemSlotId); diff --git a/ryzom/client/src/login.cpp b/ryzom/client/src/login.cpp index 671f70a6b..16ab6698c 100644 --- a/ryzom/client/src/login.cpp +++ b/ryzom/client/src/login.cpp @@ -1951,8 +1951,11 @@ class CAHOpenURL : public IActionHandler #else // TODO: for Linux and Mac OS #endif - - if (sParams == "cfg_EditAccountURL") + if (sParams == "cfg_CreateAccountURL") + { + url = ClientCfg.CreateAccountURL; + } + else if (sParams == "cfg_EditAccountURL") { url = ClientCfg.EditAccountURL; } @@ -1990,32 +1993,35 @@ class CAHOpenURL : public IActionHandler nlwarning("no URL found"); return; } + + if(sParams != "cfg_ConditionsTermsURL" && sParams != "cfg_NamingPolicyURL") + { + // modify existing languages - // modify existing languages - - // old site - string::size_type pos_lang = url.find("/en/"); + // old site + string::size_type pos_lang = url.find("/en/"); - // or new forums - if (pos_lang == string::npos) - pos_lang = url.find("=en#"); + // or new forums + if (pos_lang == string::npos) + pos_lang = url.find("=en#"); - if (pos_lang != string::npos) - { - url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode()); - } - else - { - // append language - if (url.find('?') != string::npos) - url += "&"; + if (pos_lang != string::npos) + { + url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode()); + } else - url += "?"; + { + // append language + if (url.find('?') != string::npos) + url += "&"; + else + url += "?"; - url += "language=" + ClientCfg.LanguageCode; + url += "language=" + ClientCfg.LanguageCode; - if (!LoginCustomParameters.empty()) - url += LoginCustomParameters; + if (!LoginCustomParameters.empty()) + url += LoginCustomParameters; + } } openURL(url); diff --git a/win-build/patch_version.bat b/win-build/patch_version.bat new file mode 100644 index 000000000..0fa19a13f --- /dev/null +++ b/win-build/patch_version.bat @@ -0,0 +1,7 @@ +if /I "%RC_PYTHON2%"=="" call ..\path_config.bat +if /I "%CLIENT_PATCH_VERSION%"=="" goto :update +goto :done +:update +%RC_PYTHON2%\python %RC_ROOT%\build\patch_version.py +call patch_version_set.bat +:done diff --git a/win-build/patch_version.py b/win-build/patch_version.py new file mode 100644 index 000000000..d4693b550 --- /dev/null +++ b/win-build/patch_version.py @@ -0,0 +1,22 @@ +import os +rcRoot = os.environ['RC_ROOT'] +newVersion = 1 +vstr = str(newVersion).zfill(5) +vpath = rcRoot + "\\pipeline\\client_patch\\patch\\" + vstr +while os.path.exists(vpath): + newVersion = newVersion + 1 + vstr = str(newVersion).zfill(5) + vpath = rcRoot + "\\pipeline\\client_patch\\patch\\" + vstr +clientPatchVersion = newVersion +newVersion = 1 +vstr = str(newVersion).zfill(6) +vpath = rcRoot + "\\pipeline\\bridge_server\\" + vstr +while os.path.exists(vpath): + newVersion = newVersion + 1 + vstr = str(newVersion).zfill(6) + vpath = rcRoot + "\\pipeline\\bridge_server\\" + vstr +serverPatchVersion = newVersion +bf = open(rcRoot + "\\build\\patch_version_set.bat", "w") +bf.write("set CLIENT_PATCH_VERSION=" + str(clientPatchVersion) + "\n") +bf.write("set SERVER_PATCH_VERSION=" + str(serverPatchVersion) + "\n") +bf.close() diff --git a/win-build/patch_version_set.bat b/win-build/patch_version_set.bat new file mode 100644 index 000000000..93a550aef --- /dev/null +++ b/win-build/patch_version_set.bat @@ -0,0 +1,2 @@ +set CLIENT_PATCH_VERSION=1 +set SERVER_PATCH_VERSION=1 diff --git a/win-build/vs_build_3dsmax_x64.bat b/win-build/vs_build_3dsmax_x64.bat new file mode 100644 index 000000000..a6dffebb6 --- /dev/null +++ b/win-build/vs_build_3dsmax_x64.bat @@ -0,0 +1,52 @@ +if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" goto :no_build +call ..\path_config.bat +C: +call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd 3dsmax +rem goto :skipmax +if not exist .\2017_x64\CMakeCache.txt goto :no_2017 +cd 2017_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2017 +if not exist .\2018_x64\CMakeCache.txt goto :no_2018 +cd 2018_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2018 +if not exist .\2019_x64\CMakeCache.txt goto :no_2019 +cd 2019_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2019 +if not exist .\2020_x64\CMakeCache.txt goto :no_2020 +cd 2020_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2020 +if not exist .\2022_x64\CMakeCache.txt goto :no_2022 +cd 2022_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +rem FIXME msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2022 +rem :skipmax +cd .. +:no_build diff --git a/win-build/vs_build_3dsmax_x86.bat b/win-build/vs_build_3dsmax_x86.bat new file mode 100644 index 000000000..f57400ddc --- /dev/null +++ b/win-build/vs_build_3dsmax_x86.bat @@ -0,0 +1,37 @@ +if not exist "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto :no_build +call ..\path_config.bat +C: +cd C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\ +call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd 3dsmax +if not exist .\9_x86\CMakeCache.txt goto :no_9 +cd 9_x86 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_9 +if not exist .\2010_x86\CMakeCache.txt goto :no_2010 +cd 2010_x86 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2010 +rem goto :skipmax +if not exist .\2012_x86\CMakeCache.txt goto :no_2012 +cd 2012_x86 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_2012 +rem :skipmax +cd .. +:no_build diff --git a/win-build/vs_build_dev.bat b/win-build/vs_build_dev.bat new file mode 100644 index 000000000..4598edc2e --- /dev/null +++ b/win-build/vs_build_dev.bat @@ -0,0 +1,16 @@ +if not exist .\dev_x64\CMakeCache.txt goto :no_build +call ..\path_config.bat +C: +call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd dev_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Debug %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_build diff --git a/win-build/vs_build_fv_x64.bat b/win-build/vs_build_fv_x64.bat new file mode 100644 index 000000000..2cb836503 --- /dev/null +++ b/win-build/vs_build_fv_x64.bat @@ -0,0 +1,14 @@ +if not exist .\fv_x64\CMakeCache.txt goto :no_build +call ..\path_config.bat +C: +call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd fv_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_build diff --git a/win-build/vs_build_fv_x86.bat b/win-build/vs_build_fv_x86.bat new file mode 100644 index 000000000..27acc3e79 --- /dev/null +++ b/win-build/vs_build_fv_x86.bat @@ -0,0 +1,15 @@ +if not exist .\fv_x86\CMakeCache.txt goto :no_build +call ..\path_config.bat +C: +cd C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\ +call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd fv_x86 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_build diff --git a/win-build/vs_build_tools.bat b/win-build/vs_build_tools.bat new file mode 100644 index 000000000..fbb358463 --- /dev/null +++ b/win-build/vs_build_tools.bat @@ -0,0 +1,14 @@ +if not exist .\tools_x64\CMakeCache.txt goto :no_build +call ..\path_config.bat +C: +call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" +cd /d %RC_ROOT%\build +call patch_version.bat +if %errorlevel% neq 0 pause +cd tools_x64 +cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% . +if %errorlevel% neq 0 pause +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. +:no_build diff --git a/win-build/vs_clean.bat b/win-build/vs_clean.bat new file mode 100644 index 000000000..df530281b --- /dev/null +++ b/win-build/vs_clean.bat @@ -0,0 +1,8 @@ +rmdir /s /q dev_x64 +rmdir /s /q fv_x64 +rmdir /s /q fv_x86 +rmdir /s /q tools_x64 +rmdir /s /q samples_x64 +rmdir /s /q server_x64 +rmdir /s /q 3dsmax +pause diff --git a/win-build/vs_create.bat b/win-build/vs_create.bat new file mode 100644 index 000000000..bd2636abc --- /dev/null +++ b/win-build/vs_create.bat @@ -0,0 +1,130 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build + +set RC_DOMAIN=core4 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_v142 +set "RC_PREFIX_PATH_V142_X64=C:\2019q4_external_v142_x64\zlib;C:\2019q4_external_v142_x64\openssl;C:\2019q4_external_v142_x64\curl;C:\2019q4_external_v142_x64\libjpeg;C:\2019q4_external_v142_x64\libpng;C:\2019q4_external_v142_x64\libiconv;C:\2019q4_external_v142_x64\libxml2;C:\2019q4_external_v142_x64\freetype;C:\2019q4_external_v142_x64\squish;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis;C:\2019q4_external_v142_x64\openal-soft;C:\2019q4_external_v142_x64\lua;C:\2019q4_external_v142_x64\luabind;C:\2019q4_external_v142_x64\mariadb-connector-c;C:\2019q4_external_v142_x64\assimp;C:\2019q4_external_v142_x64\qt5;C:\2019q4_external_v142_x64\boost" +:no_v142 + +if not exist "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" goto :no_v90 +set "RC_PREFIX_PATH_V90_X86=C:\2019q4_external_v90_x86\zlib;C:\2019q4_external_v90_x86\openssl;C:\2019q4_external_v90_x86\curl;C:\2019q4_external_v90_x86\libjpeg;C:\2019q4_external_v90_x86\libpng;C:\2019q4_external_v90_x86\libiconv;C:\2019q4_external_v90_x86\libxml2;C:\2019q4_external_v90_x86\freetype;C:\2019q4_external_v90_x86\squish;C:\2019q4_external_v90_x86\ogg;C:\2019q4_external_v90_x86\vorbis;C:\2019q4_external_v90_x86\openal;C:\2019q4_external_v90_x86\lua;C:\2019q4_external_v90_x86\luabind;C:\2019q4_external_v90_x86\boost" +:no_v90 + +set RC_URLS="-DRYZOM_CLIENT_CREATE_ACCOUNT_URL=https://core.ryzom.dev/ams/" "-DRYZOM_CLIENT_EDIT_ACCOUNT_URL=https://core.ryzom.dev/ams/" "-DRYZOM_CLIENT_FORGET_PASSWORD_URL=https://core.ryzom.dev/ams/" "-DRYZOM_CLIENT_PATCH_URL=https://cdn.ryzom.dev/%RC_DOMAIN%/patch/" "-DRYZOM_CLIENT_RELEASENOTES_URL=https://%RC_DOMAIN%.ryzom.dev/releasenotes/index.php" "-DRYZOM_CLIENT_RELEASENOTES_RING_URL=https://%RC_DOMAIN%.ryzom.dev/releasenotes_ring/index.php" "-DRYZOM_CLIENT_APP_NAME=%RC_DOMAIN%" + +rem goto :v90 +rem goto :max + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_v142_client +mkdir dev_x64 +cd dev_x64 +cmake -G "Visual Studio 16 2019" %RC_URLS% "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=OFF" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=ON" "-DWITH_RYZOM_CLIENT=ON" "-DWITH_RYZOM_PATCH=ON" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=ON" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=ON" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" ..\..\code +if %errorlevel% neq 0 pause +cd .. + +mkdir fv_x64 +cd fv_x64 +cmake -G "Visual Studio 16 2019" %RC_URLS% "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=OFF" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=ON" "-DWITH_RYZOM_CLIENT=ON" "-DWITH_RYZOM_PATCH=ON" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=ON" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=ON" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=ON" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" ..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_v142_client + +if not exist "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" goto :no_v90_client +rem :v90 +mkdir fv_x86 +cd fv_x86 +cmake -G "Visual Studio 9 2008" %RC_URLS% -A Win32 "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V90_X86%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=OFF" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=ON" "-DWITH_RYZOM_CLIENT=ON" "-DWITH_RYZOM_PATCH=ON" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=ON" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=ON" "-DWITH_LIBXML2_ICONV=ON" "-DWITH_STLPORT=OFF" "-DFINAL_VERSION=ON" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DEFXUTIL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DWITH_SSE2=OFF" "-DWITH_SSE3=OFF" "-DDXSDK_DIR=C:/Program Files (x86)/Microsoft DirectX SDK (February 2010)" "-DWINSDK_VERSION=6.0A" "-DCURL_NO_CURL_CMAKE=ON" ..\..\code +if %errorlevel% neq 0 pause +cd .. +rem pause +:no_v90_client + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_v142_tools +mkdir tools_x64 +cd tools_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=ON" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_QT5=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=ON" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=ON" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=ON" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=ON" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" ..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_v142_tools + +rem :max +mkdir 3dsmax +cd 3dsmax + +if not exist "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" goto :no_max9 +if not exist "C:\Program Files (x86)\Autodesk\3ds Max 9 SDK\maxsdk\lib\core.lib" goto :no_max9 +mkdir 9_x86 +cd 9_x86 +cmake -G "Visual Studio 9 2008" -A Win32 "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V90_X86%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DWITH_STLPORT=OFF" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DEFXUTIL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DWITH_SSE2=OFF" "-DWITH_SSE3=OFF" "-DDXSDK_DIR=C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)" "-DWINSDK_VERSION=6.0A" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files (x86)/Autodesk/3ds Max 9 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max9 + +if not exist "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" goto :no_max2010 +if not exist "C:\Program Files (x86)\Autodesk\3ds Max 2010 SDK\maxsdk\lib\core.lib" goto :no_max2010 +mkdir 2010_x86 +cd 2010_x86 +cmake -G "Visual Studio 9 2008" -A Win32 "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V90_X86%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DWITH_STLPORT=OFF" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DEFXUTIL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DWITH_SSE2=OFF" "-DWITH_SSE3=OFF" "-DDXSDK_DIR=C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)" "-DWINSDK_VERSION=6.0A" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files (x86)/Autodesk/3ds Max 2010 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max2010 + +if not exist "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" goto :no_max2012 +if not exist "C:\Program Files (x86)\Autodesk\3ds Max 2012 SDK\maxsdk\lib\core.lib" goto :no_max2012 +rem goto :skipmax +mkdir 2012_x86 +cd 2012_x86 +cmake -G "Visual Studio 9 2008" -A Win32 "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V90_X86%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DWITH_STLPORT=OFF" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DEFXUTIL_INCLUDE_DIR=C:/2019q4_external_v90_x86/openal/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v90_x86/vorbis/include" "-DWITH_SSE2=OFF" "-DWITH_SSE3=OFF" "-DDXSDK_DIR=C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)" "-DWINSDK_VERSION=6.0A" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files (x86)/Autodesk/3ds Max 2012 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max2012 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_max2017 +if not exist "C:\Program Files\Autodesk\3ds Max 2017 SDK\maxsdk\lib\x64\Release\core.lib" goto :no_max2017 +mkdir 2017_x64 +cd 2017_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files/Autodesk/3ds Max 2017 SDK/maxsdk" ..\..\..\code +cd .. +:no_max2017 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_max2018 +if not exist "C:\Program Files\Autodesk\3ds Max 2018 SDK\maxsdk\lib\x64\Release\core.lib" goto :no_max2018 +mkdir 2018_x64 +cd 2018_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files/Autodesk/3ds Max 2018 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max2018 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_max2019 +if not exist "C:\Program Files\Autodesk\3ds Max 2019 SDK\maxsdk\lib\x64\Release\core.lib" goto :no_max2019 +mkdir 2019_x64 +cd 2019_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files/Autodesk/3ds Max 2019 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max2019 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_max2020 +if not exist "C:\Program Files\Autodesk\3ds Max 2020 SDK\maxsdk\lib\x64\Release\core.lib" goto :no_max2020 +mkdir 2020_x64 +cd 2020_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF"" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files/Autodesk/3ds Max 2020 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +:no_max2020 + +if not exist "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" goto :no_max2022 +if not exist "C:\Program Files\Autodesk\3ds Max 2022 SDK\maxsdk\lib\x64\Release\core.lib" goto :no_max2022 +mkdir 2022_x64 +cd 2022_x64 +cmake -G "Visual Studio 16 2019" "-DCMAKE_SUPPRESS_REGENERATION=ON" "-DCUSTOM_FLAGS=/MP3" "-DCMAKE_PREFIX_PATH=%RC_PREFIX_PATH_V142_X64%" "-DWITH_EXTERNAL=OFF" "-DWITH_NEL_SAMPLES=OFF" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=ON" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=ON" "-DWITH_DRIVER_DSOUND=OFF" -"DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-DOPENAL_INCLUDE_DIR=C:/2019q4_external_v142_x64/openal-soft/include" "-DVORBIS_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DVORBISFILE_INCLUDE_DIR=C:/2019q4_external_v142_x64/vorbis/include" "-DCURL_NO_CURL_CMAKE=ON" "-DWITH_NEL_MAXPLUGIN=ON" "-DMAXSDK_DIR=C:/Program Files/Autodesk/3ds Max 2022 SDK/maxsdk" ..\..\..\code +if %errorlevel% neq 0 pause +cd .. +rem :skipmax +:no_max2022 + +rem cd .. + +pause