diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 61a157262..d357f65ca 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -205,6 +205,10 @@ int main(int argc, char **argv) { std::string currentPath = CPath::getApplicationDirectory("Ryzom"); + // append config ID to directory + if (Args.haveArg("c")) + currentPath = NLMISC::CPath::standardizePath(currentPath) + Args.getArg("c").front(); + if (!CFile::isExists(currentPath)) CFile::createDirectory(currentPath); CPath::setCurrentPath(currentPath);