From e067e0eeeb662128d684c60ec87605368e1b7bcc Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 13 Jun 2021 03:00:55 +0800 Subject: [PATCH 01/37] Add script to setup dev shard folder --- nel/tools/build_gamedata/b3_shard_dev.py | 87 ++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 nel/tools/build_gamedata/b3_shard_dev.py diff --git a/nel/tools/build_gamedata/b3_shard_dev.py b/nel/tools/build_gamedata/b3_shard_dev.py new file mode 100644 index 000000000..2032e9e92 --- /dev/null +++ b/nel/tools/build_gamedata/b3_shard_dev.py @@ -0,0 +1,87 @@ +#!/usr/bin/python +# +# \file b2_shard_data.py +# \brief Install shard data +# \date 2009-02-18 16:19GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Install shard data +# +# NeL - MMORPG Framework +# Copyright (C) 2009-2014 by authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +import time, sys, os, shutil, subprocess, distutils.dir_util +sys.path.append("configuration") + +if os.path.isfile("log.log"): + os.remove("log.log") +log = open("log.log", "w") +from scripts import * +from buildsite_local import * +from tools import * + +sys.path.append(WorkspaceDirectory) +from projects import * + +# Log error +printLog(log, "") +printLog(log, "-------") +printLog(log, "--- Install to shard dev") +printLog(log, "-------") +printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time()))) +printLog(log, "") + +mkPath(log, ShardDevDirectory) +mkPath(log, ShardDevDirectory + "/local") +printLog(log, ">>> Generate shard dev local.cfg <<<") +cfg = open(ShardDevDirectory + "/local.cfg", "w") +cfg.write("WindowStyle = \"WIN\";") +cfg.write("Paths = {") +cfg.write(" \"" + ShardDevDirectory.replace('/', '\\') + "\\local\",") +cfg.write(" \"" + DataCommonDirectory.replace('/', '\\') + "\",") +cfg.write(" \"" + DataShardDirectory.replace('/', '\\') + "\",") +cfg.write(" \"" + LeveldesignDirectory.replace('/', '\\') + "\",") +cfg.write(" \"" + WorldEditorFilesDirectory.replace('/', '\\') + "\",") +for multiDir in InstallShardDataMultiDirectories: + dstDir = multiDir[0] + mkPath(log, ShardInstallDirectory + "/" + dstDir) + cfg.write(" \"" + ShardInstallDirectory + "\\" + dstDir + "\",") +cfg.write("};") +cfg.write("StartCommands += {") +cfg.write(" // Don't launch AES on development shard for now") +cfg.write(" \"gw_aes.transportRemove aes_l3c\",") +cfg.write("};") +cfg.write("DontNeedBackend = 1;") +cfg.flush() +cfg.close() +printLog(log, "") + +for execDir in InstallShardDataExecutables: + dstDir = execDir[0] + mkPath(log, PatchmanCfgDefaultDirectory) + mkPath(log, InstallDirectory) + mkPath(log, ShardDevDirectory + "/live/" + dstDir) + printLog(log, "SHARD PACKAGE " + dstDir) + copyFileListNoTreeIfNeeded(log, PatchmanCfgDefaultDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[2]) + copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[3]) +printLog(log, "") + +log.close() +if os.path.isfile("b3_shard_dev.log"): + os.remove("b3_shard_dev.log") +shutil.copy("log.log", time.strftime("%Y-%m-%d-%H-%M-GMT", time.gmtime(time.time())) + "_shard_dev.log") +shutil.move("log.log", "b3_shard_dev.log") From bc9d15a1494ed5341cdf918d814a908ae0fd7cea Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 13 Jun 2021 03:15:29 +0800 Subject: [PATCH 02/37] Generate dev shard configuration using patchman --- nel/tools/build_gamedata/0_setup.py | 9 ++++++++ nel/tools/build_gamedata/b3_shard_dev.py | 21 +++++++++++++++++++ .../build_gamedata/configuration/tools.py | 1 + 3 files changed, 31 insertions(+) diff --git a/nel/tools/build_gamedata/0_setup.py b/nel/tools/build_gamedata/0_setup.py index fd85aa5a7..905a88e81 100755 --- a/nel/tools/build_gamedata/0_setup.py +++ b/nel/tools/build_gamedata/0_setup.py @@ -257,6 +257,12 @@ if not args.noconf: LinuxClientExecutableDirectory except NameError: LinuxClientExecutableDirectory = "R:/build/gcc_client/bin" + try: + if args.preset: + DummyUnknownName + PatchmanDevDirectory + except NameError: + PatchmanDevDirectory = "R:/patchman/terminal_dev" try: if args.preset: DummyUnknownName @@ -358,6 +364,7 @@ if not args.noconf: WindowsExeDllCfgDirectories[6] = askVar(log, "[IN] Septenary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[6]).replace("\\", "/") LinuxServiceExecutableDirectory = askVar(log, "[IN] Linux Service Executable Directory", LinuxServiceExecutableDirectory).replace("\\", "/") LinuxClientExecutableDirectory = askVar(log, "[IN] Linux Client Executable Directory", LinuxClientExecutableDirectory).replace("\\", "/") + PatchmanDevDirectory = askVar(log, "[IN] Patchman Directory", PatchmanDevDirectory).replace("\\", "/") PatchmanCfgAdminDirectory = askVar(log, "[IN] Patchman Cfg Admin Directory", PatchmanCfgAdminDirectory).replace("\\", "/") PatchmanCfgDefaultDirectory = askVar(log, "[IN] Patchman Cfg Default Directory", PatchmanCfgDefaultDirectory).replace("\\", "/") PatchmanBridgeServerDirectory = askVar(log, "[OUT] Patchman Bridge Server Patch Directory", PatchmanBridgeServerDirectory).replace("\\", "/") @@ -453,6 +460,7 @@ if not args.noconf: sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n") sf.write("LinuxServiceExecutableDirectory = \"" + str(LinuxServiceExecutableDirectory) + "\"\n") sf.write("LinuxClientExecutableDirectory = \"" + str(LinuxClientExecutableDirectory) + "\"\n") + sf.write("PatchmanDevDirectory = \"" + str(PatchmanDevDirectory) + "\"\n") sf.write("PatchmanCfgAdminDirectory = \"" + str(PatchmanCfgAdminDirectory) + "\"\n") sf.write("PatchmanCfgDefaultDirectory = \"" + str(PatchmanCfgDefaultDirectory) + "\"\n") sf.write("PatchmanBridgeServerDirectory = \"" + str(PatchmanBridgeServerDirectory) + "\"\n") @@ -577,6 +585,7 @@ if not args.noverify: findTool(log, ToolDirectories, TranslationToolsTool, ToolSuffix) findTool(log, ToolDirectories, BuildWorldPackedColTool, ToolSuffix) findTool(log, ToolDirectories, R2IslandsTexturesTool, ToolSuffix) + findTool(log, ToolDirectories, PatchmanServiceTool, ToolSuffix) log.close() if os.path.isfile("0_setup.log"): diff --git a/nel/tools/build_gamedata/b3_shard_dev.py b/nel/tools/build_gamedata/b3_shard_dev.py index 2032e9e92..7f0ef0c4e 100644 --- a/nel/tools/build_gamedata/b3_shard_dev.py +++ b/nel/tools/build_gamedata/b3_shard_dev.py @@ -45,6 +45,10 @@ printLog(log, "-------") printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time()))) printLog(log, "") +# Find tools +PatchmanService = findTool(log, ToolDirectories, PatchmanServiceTool, ToolSuffix) +printLog(log, "") + mkPath(log, ShardDevDirectory) mkPath(log, ShardDevDirectory + "/local") printLog(log, ">>> Generate shard dev local.cfg <<<") @@ -80,6 +84,23 @@ for execDir in InstallShardDataExecutables: copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[3]) printLog(log, "") + +if PatchmanService == "": + toolLogFail(log, PatchmanServiceTool, ToolSuffix) +else: + mkPath(log, PatchmanDevDirectory) + cwDir = os.getcwd().replace("\\", "/") + os.chdir(PatchmanDevDirectory) + os.remove("log.log") + subprocess.call([ PatchmanService, "-C.", "-L." ]) + if os.path.isfile("log.log"): + f = open("log.log", "r") + for l in f: + log.write(l) + f.close() + os.chdir(cwDir) + printLog(log, "") + log.close() if os.path.isfile("b3_shard_dev.log"): os.remove("b3_shard_dev.log") diff --git a/nel/tools/build_gamedata/configuration/tools.py b/nel/tools/build_gamedata/configuration/tools.py index ee933c8e9..e27f4c490 100755 --- a/nel/tools/build_gamedata/configuration/tools.py +++ b/nel/tools/build_gamedata/configuration/tools.py @@ -98,4 +98,5 @@ PatchGenTool = "patch_gen" TranslationToolsTool = "translation_tools" BuildWorldPackedColTool = "build_world_packed_col" R2IslandsTexturesTool = "r2_islands_textures" +PatchmanServiceTool = "ryzom_patchman_service" SevenZipTool = "7za" From 3b993c6cda109ab854d30c16ae56decccc978e8e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 13 Jun 2021 04:40:31 +0800 Subject: [PATCH 03/37] Update defaults --- .../src/patchman_service/spt_server_patch_terminal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryzom/server/src/patchman_service/spt_server_patch_terminal.cpp b/ryzom/server/src/patchman_service/spt_server_patch_terminal.cpp index c668b8894..334f9484b 100644 --- a/ryzom/server/src/patchman_service/spt_server_patch_terminal.cpp +++ b/ryzom/server/src/patchman_service/spt_server_patch_terminal.cpp @@ -74,9 +74,9 @@ NLMISC::CVariablePtr __varSPTMessageE("spt","SPTE","watch for displaying NLMISC::CVariablePtr __varSPTMessageF("spt","SPTF","watch for displaying recent state updates", &SPTMessage[0xF]); NLMISC::CVariable NumSPTWatches("spt","NumSPTWatches","number of SPT watches used by this service",16,0,true); -NLMISC::CVariable DevConfigDirectory("spt", "DevConfigDirectory", "Directory used to build developer configuration file", "../../save/dev", 0, true); -NLMISC::CVariable DevWorkingDirectory("spt", "DevWorkingDirectory", "Directory set as default directory in generated startup batch", "%RC_ROOT%\\save\\dev", 0, true); -NLMISC::CVariable DevSleepCmd("spt", "DevSleepCmd", "Directory set as default directory in generated startup batch", "%RC_ROOT%\\distribution\\ryzom_tools_win_x64-distribution\\nircmd.exe wait 1000", 0, true); +NLMISC::CVariable DevConfigDirectory("spt", "DevConfigDirectory", "Directory used to build developer configuration file", "../../pipeline/shard_dev", 0, true); +NLMISC::CVariable DevWorkingDirectory("spt", "DevWorkingDirectory", "Directory set as default directory in generated startup batch", "%RC_ROOT%\\pipeline\\shard_dev", 0, true); +NLMISC::CVariable DevSleepCmd("spt", "DevSleepCmd", "Directory set as default directory in generated startup batch", "%RC_ROOT%\\distribution\\ryzom_tools_win_x64\\nircmd.exe wait 1000", 0, true); NLMISC::CVariable DevExePrefix("spt", "DevExePrefix", "Executable prefix used in development startup batch", "", 0, true); NLMISC::CVariable DevExeSuffix("spt", "DevExeSuffix", "Executable suffix used in development startup batch", ".exe -new_console", 0, true); From c3dcdd25de05c218fb89502c20ba133ddbc114eb Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 13 Jun 2021 04:54:20 +0800 Subject: [PATCH 04/37] Adjust path style in config --- nel/tools/build_gamedata/b3_shard_dev.py | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nel/tools/build_gamedata/b3_shard_dev.py b/nel/tools/build_gamedata/b3_shard_dev.py index 7f0ef0c4e..5f2ccbd60 100644 --- a/nel/tools/build_gamedata/b3_shard_dev.py +++ b/nel/tools/build_gamedata/b3_shard_dev.py @@ -53,23 +53,23 @@ mkPath(log, ShardDevDirectory) mkPath(log, ShardDevDirectory + "/local") printLog(log, ">>> Generate shard dev local.cfg <<<") cfg = open(ShardDevDirectory + "/local.cfg", "w") -cfg.write("WindowStyle = \"WIN\";") -cfg.write("Paths = {") -cfg.write(" \"" + ShardDevDirectory.replace('/', '\\') + "\\local\",") -cfg.write(" \"" + DataCommonDirectory.replace('/', '\\') + "\",") -cfg.write(" \"" + DataShardDirectory.replace('/', '\\') + "\",") -cfg.write(" \"" + LeveldesignDirectory.replace('/', '\\') + "\",") -cfg.write(" \"" + WorldEditorFilesDirectory.replace('/', '\\') + "\",") +cfg.write("WindowStyle = \"WIN\";\n") +cfg.write("Paths = {\n") +cfg.write(" \"" + ShardDevDirectory + "/local\",\n") +cfg.write(" \"" + DataCommonDirectory + "\",\n") +cfg.write(" \"" + DataShardDirectory + "\",\n") +cfg.write(" \"" + LeveldesignDirectory + "\",\n") +cfg.write(" \"" + WorldEditorFilesDirectory + "\",\n") for multiDir in InstallShardDataMultiDirectories: dstDir = multiDir[0] mkPath(log, ShardInstallDirectory + "/" + dstDir) - cfg.write(" \"" + ShardInstallDirectory + "\\" + dstDir + "\",") -cfg.write("};") -cfg.write("StartCommands += {") -cfg.write(" // Don't launch AES on development shard for now") -cfg.write(" \"gw_aes.transportRemove aes_l3c\",") -cfg.write("};") -cfg.write("DontNeedBackend = 1;") + cfg.write(" \"" + ShardInstallDirectory + "/" + dstDir + "\",\n") +cfg.write("};\n") +cfg.write("StartCommands += {\n") +cfg.write(" // Don't launch AES on development shard for now\n") +cfg.write(" \"gw_aes.transportRemove aes_l3c\",\n") +cfg.write("};\n") +cfg.write("DontNeedBackend = 1;\n") cfg.flush() cfg.close() printLog(log, "") @@ -96,7 +96,7 @@ else: if os.path.isfile("log.log"): f = open("log.log", "r") for l in f: - log.write(l) + printLog(log, l.rstrip()) f.close() os.chdir(cwDir) printLog(log, "") From db211ffff7781777da6de3c673158e1bceda1d2f Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 13 Jun 2021 05:03:49 +0800 Subject: [PATCH 05/37] Put good defaults for development --- web/public_php/setup/install.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web/public_php/setup/install.php b/web/public_php/setup/install.php index 270491dda..03592f8b5 100644 --- a/web/public_php/setup/install.php +++ b/web/public_php/setup/install.php @@ -11,6 +11,8 @@ include('header.php'); require_once('setup/version.php'); +$shardDev = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'); + ?> @@ -396,7 +398,7 @@ require_once('setup/version.php');
- +
@@ -503,19 +505,19 @@ require_once('setup/version.php');
- + ">
- + ">
- + ">
From 090ff7d509b4c496457a7762fe91b01d061c526b Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 19:20:16 +0800 Subject: [PATCH 06/37] Add script to help repairing translation hashes --- tool/translation_repair/cmd_py.bat | 2 + tool/translation_repair/translation_repair.py | 255 ++++++++++++++++++ 2 files changed, 257 insertions(+) create mode 100644 tool/translation_repair/cmd_py.bat create mode 100644 tool/translation_repair/translation_repair.py diff --git a/tool/translation_repair/cmd_py.bat b/tool/translation_repair/cmd_py.bat new file mode 100644 index 000000000..771f5113d --- /dev/null +++ b/tool/translation_repair/cmd_py.bat @@ -0,0 +1,2 @@ +set PATH=C:\Python38;%PATH% +cmd diff --git a/tool/translation_repair/translation_repair.py b/tool/translation_repair/translation_repair.py new file mode 100644 index 000000000..a4cd26638 --- /dev/null +++ b/tool/translation_repair/translation_repair.py @@ -0,0 +1,255 @@ +# +# Copyright (C) 2019-2020 Jan BOON +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +# This script attempts to repair bad hashes in translation files + +import os + +path = "R:\\leveldesign\\translation" + +def processUxt(wk, tl): + print(tl) + inComment = 0 + inString = 0 + lastIndex = "" + lastHash = "" + wkMap = {} + with open(wk, "r") as f: + for l in f: + if l.startswith("\ufeff"): + l = l[1:] + if not inString and not inComment: + s = l.split() + if len(s) > 0: + if not s[0].startswith("[") and not s[0].startswith("//") and not s[0].startswith("/*"): + wkMap[s[0]] = { "index": lastIndex, "hash": lastHash } + # print(s[0] + ", " + lastIndex + ", " + lastHash) + if l.startswith("// HASH_VALUE") or l.startswith("// INDEX"): + inString = 0 + inComment = 0 + if l.startswith("// HASH_VALUE"): + lastHash = l.rstrip() + if l.startswith("// INDEX"): + lastIndex = l.rstrip() + continue + inString = inString + l.count("[") - l.count("\\[") - l.count("]") + l.count("\\]") + inComment = inComment + l.count("/*") - l.count("*/") + inComment = 0 + inString = 0 + reIndex = {} + atIndex = 0 + with open(tl, "r") as fr: + with open(tl + ".new", "w") as fw: + fw.write("\ufeff") + for l in fr: + if l.startswith("\ufeff"): + l = l[1:] + if not inString and not inComment: + s = l.split() + if len(s) > 0: + if not s[0].startswith("[") and not s[0].startswith("//") and not s[0].startswith("/*") and s[0] in wkMap: + if not wkMap[s[0]]["index"] in reIndex: + reIndex[wkMap[s[0]]["index"]] = "// INDEX " + str(atIndex) + atIndex = atIndex + 1 + fw.write(reIndex[wkMap[s[0]]["index"]] + "\n") + fw.write(wkMap[s[0]]["hash"] + "\n") + if l.startswith("// HASH_VALUE") or l.startswith("// INDEX"): + inString = 0 + inComment = 0 + continue + fw.write(l) + inString = inString + l.count("[") - l.count("\\[") - l.count("]") + l.count("\\]") + inComment = inComment + l.count("/*") - l.count("*/") + os.replace(tl + ".new", tl) + +#processUxt(path + "\\translated\\wk.uxt", path + "\\translated\\en.uxt") +#processUxt(path + "\\translated\\wk.uxt", path + "\\translated\\es.uxt") +#processUxt(path + "\\translated\\wk.uxt", path + "\\translated\\fr.uxt") +#processUxt(path + "\\translated\\wk.uxt", path + "\\translated\\ru.uxt") +#processUxt(path + "\\translated\\wk.uxt", path + "\\translated\\de.uxt") + +#processUxt(path + "\\translated\\r2_wk.uxt", path + "\\translated\\r2_en.uxt") +#processUxt(path + "\\translated\\r2_wk.uxt", path + "\\translated\\r2_es.uxt") +#processUxt(path + "\\translated\\r2_wk.uxt", path + "\\translated\\r2_fr.uxt") +#processUxt(path + "\\translated\\r2_wk.uxt", path + "\\translated\\r2_ru.uxt") +#processUxt(path + "\\translated\\r2_wk.uxt", path + "\\translated\\r2_de.uxt") + +#processUxt(path + "\\translated\\clause_wk.txt", path + "\\translated\\clause_en.txt") +#processUxt(path + "\\translated\\clause_wk.txt", path + "\\translated\\clause_es.txt") +#processUxt(path + "\\translated\\clause_wk.txt", path + "\\translated\\clause_fr.txt") +#processUxt(path + "\\translated\\clause_wk.txt", path + "\\translated\\clause_ru.txt") +#processUxt(path + "\\translated\\clause_wk.txt", path + "\\translated\\clause_de.txt") + +def processPhrase(wk, tl): + print(tl) + inComment = 0 + inString = 0 + inPhrase = 0 + lastHash = "" + wkMap = {} + with open(wk, "r") as f: + for l in f: + if l.startswith("\ufeff"): + l = l[1:] + if not inString and not inComment: + s = l.split() + if len(s) > 0: + if not s[0].startswith("[") and not s[0].startswith("//") and not s[0].startswith("/*") and not s[0].startswith("{") and len(lastHash) > 0: + wkMap[s[0]] = { "hash": lastHash } + lastHash = "" + # print(s[0] + ", " + lastIndex + ", " + lastHash) + if l.startswith("// HASH_VALUE"): + inString = 0 + inComment = 0 + inPhrase = 0 + lastHash = l.rstrip() + continue + inString = inString + l.count("[") - l.count("\\[") - l.count("]") + l.count("\\]") + inPhrase = inString + l.count("{") - l.count("\\{") - l.count("}") + l.count("\\}") + inComment = inComment + l.count("/*") - l.count("*/") + inComment = 0 + inString = 0 + inPhrase = 0 + with open(tl, "r") as fr: + with open(tl + ".new", "w") as fw: + fw.write("\ufeff") + for l in fr: + if l.startswith("\ufeff"): + l = l[1:] + if not inString and not inComment: + s = l.split() + if len(s) > 0: + if not s[0].startswith("[") and not s[0].startswith("//") and not s[0].startswith("/*") and not s[0].startswith("{") and s[0] in wkMap: + fw.write(wkMap[s[0]]["hash"] + "\n") + if l.startswith("// HASH_VALUE"): + inString = 0 + inComment = 0 + inPhrase = 0 + continue + fw.write(l) + inString = inString + l.count("[") - l.count("\\[") - l.count("]") + l.count("\\]") + inPhrase = inString + l.count("{") - l.count("\\{") - l.count("}") + l.count("\\}") + inComment = inComment + l.count("/*") - l.count("*/") + os.replace(tl + ".new", tl) + +##processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_en.txt") +#processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_es.txt") +#processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_fr.txt") +#processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_ru.txt") +#processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_de.txt") +#processPhrase(path + "\\translated\\phrase_en.txt", path + "\\translated\\phrase_pt.txt") + +def processWords(ck, wk, tl): + if not os.path.isfile(ck): + return + print(tl) + wkMap = { } + with open(wk, "r") as f: + for l in f: + if l.startswith("\ufeff"): + l = l[1:] + s = l.split("\t") + if len(s) > 1 and len(s[0]) >= 16: + wkMap[s[1]] = s[0] + with open(tl, "r") as fr: + with open(tl + ".new", "w") as fw: + fw.write("\ufeff") + for l in fr: + if l.startswith("\ufeff"): + l = l[1:] + s = l.split("\t") + if len(s) > 1: + if s[1] in wkMap: + h = wkMap[s[1]] + l = h + l[len(s[0]):] + elif s[0] != "*HASH_VALUE": + l = "0000000000000000" + l[len(s[0]):] + fw.write(l) + os.replace(tl + ".new", tl) + + +def processWordsDiff(wk, tl): + if not os.path.isfile(wk): + return + print(tl) + wkMap = { } + with open(wk, "r") as f: + for l in f: + if l.startswith("\ufeff"): + l = l[1:] + s = l.split("\t") + if len(s) > 2 and len(s[1]) >= 16: + wkMap[s[2]] = s[1] + with open(tl, "r") as fr: + with open(tl + ".new", "w") as fw: + fw.write("\ufeff") + for l in fr: + if l.startswith("\ufeff"): + l = l[1:] + s = l.split("\t") + if len(s) > 1: + if s[1] in wkMap: + h = wkMap[s[1]] + l = h + l[len(s[0]):] + elif s[0] != "*HASH_VALUE": + l = "0000000000000000" + l[len(s[0]):] + fw.write(l) + os.replace(tl + ".new", tl) + +def processWordsAll(name): + #processWords(path + "\\translated\\" + name + "_wk.txt", path + "\\translated\\" + name + "_en.txt") + processWordsDiff(path + "\\diff\\" + name + "_en_diff_60C8831C.txt", path + "\\translated\\" + name + "_en.txt") + processWords(path + "\\diff\\" + name + "_es_diff_60C8831C.txt", path + "\\translated\\" + name + "_en.txt", path + "\\translated\\" + name + "_es.txt") + processWords(path + "\\diff\\" + name + "_fr_diff_60C8831C.txt", path + "\\translated\\" + name + "_en.txt", path + "\\translated\\" + name + "_fr.txt") + processWords(path + "\\diff\\" + name + "_ru_diff_60C8831C.txt", path + "\\translated\\" + name + "_en.txt", path + "\\translated\\" + name + "_ru.txt") + processWords(path + "\\diff\\" + name + "_de_diff_60C8831C.txt", path + "\\translated\\" + name + "_en.txt", path + "\\translated\\" + name + "_de.txt") + #processWordsDiff(path + "\\diff\\" + name + "_en_diff_60C8808A.txt", path + "\\translated\\" + name + "_en.txt") + #processWordsDiff(path + "\\diff\\" + name + "_es_diff_60C8808A.txt", path + "\\translated\\" + name + "_es.txt") + #processWordsDiff(path + "\\diff\\" + name + "_fr_diff_60C8808A.txt", path + "\\translated\\" + name + "_fr.txt") + #processWordsDiff(path + "\\diff\\" + name + "_ru_diff_60C8808A.txt", path + "\\translated\\" + name + "_ru.txt") + #processWordsDiff(path + "\\diff\\" + name + "_de_diff_60C8808A.txt", path + "\\translated\\" + name + "_de.txt") + +processWordsAll("bodypart_words") +processWordsAll("career_words") +processWordsAll("characteristic_words") +processWordsAll("classificationtype_words") +processWordsAll("creature_words") +processWordsAll("damagetype_words") +processWordsAll("ecosystem_words") +processWordsAll("faction_words") +processWordsAll("item_words") +processWordsAll("job_words") +processWordsAll("outpost_words") +processWordsAll("place_words") +processWordsAll("powertype_words") +processWordsAll("race_words") +processWordsAll("sbrick_words") +processWordsAll("score_words") +processWordsAll("skill_words") +processWordsAll("sphrase_words") +processWordsAll("title_words") + +#processWordsAll("damage_words") From e9080405fc9854f37ecd47ecd0bb3977850446eb Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 19:27:26 +0800 Subject: [PATCH 07/37] Update title --- ryzom/client/src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryzom/client/src/CMakeLists.txt b/ryzom/client/src/CMakeLists.txt index d4d5ec3e0..a6aee8454 100644 --- a/ryzom/client/src/CMakeLists.txt +++ b/ryzom/client/src/CMakeLists.txt @@ -60,11 +60,11 @@ IF(WITH_RYZOM_CLIENT) SET(RYZOM_BUILD ${RYZOM_VERSION_SHORT}) ENDIF() - SET(MACOSX_BUNDLE_INFO_STRING "Ryzom Classic") + SET(MACOSX_BUNDLE_INFO_STRING "Ryzom Core 4") SET(MACOSX_BUNDLE_ICON_FILE "ryzom.icns") - SET(MACOSX_BUNDLE_GUI_IDENTIFIER "dev.ryzom.classic") + SET(MACOSX_BUNDLE_GUI_IDENTIFIER "dev.ryzom.core4") SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${RYZOM_VERSION}) - SET(MACOSX_BUNDLE_BUNDLE_NAME "Ryzom Classic") + SET(MACOSX_BUNDLE_BUNDLE_NAME "Ryzom Core 4") SET(MACOSX_BUNDLE_SHORT_VERSION_STRING ${RYZOM_VERSION_SHORT}) SET(MACOSX_BUNDLE_BUNDLE_VERSION ${RYZOM_BUILD}) SET(MACOSX_BUNDLE_COPYRIGHT ${COPYRIGHT}) @@ -187,7 +187,7 @@ IF(WITH_RYZOM_CLIENT) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} ${LUABIND_DEFINITIONS}) - NL_DEFAULT_PROPS(ryzom_client "Ryzom, Client: Ryzom Classic") + NL_DEFAULT_PROPS(ryzom_client "Ryzom, Client: Ryzom Core 4") NL_ADD_RUNTIME_FLAGS(ryzom_client) IF(FINAL_VERSION) From 378bef8db3eef833e1c59b793436a85ccca1a1e8 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 21:48:02 +0800 Subject: [PATCH 08/37] Include build output in dev shard at lower prio --- nel/tools/build_gamedata/b3_shard_dev.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nel/tools/build_gamedata/b3_shard_dev.py b/nel/tools/build_gamedata/b3_shard_dev.py index 5f2ccbd60..10a496e44 100644 --- a/nel/tools/build_gamedata/b3_shard_dev.py +++ b/nel/tools/build_gamedata/b3_shard_dev.py @@ -60,6 +60,9 @@ cfg.write(" \"" + DataCommonDirectory + "\",\n") cfg.write(" \"" + DataShardDirectory + "\",\n") cfg.write(" \"" + LeveldesignDirectory + "\",\n") cfg.write(" \"" + WorldEditorFilesDirectory + "\",\n") +for dir in InstallShardDataDirectories: + mkPath(log, ShardInstallDirectory + "/" + dir) + cfg.write(" \"" + ShardInstallDirectory + "/" + dir + "\",\n") for multiDir in InstallShardDataMultiDirectories: dstDir = multiDir[0] mkPath(log, ShardInstallDirectory + "/" + dstDir) From 211d4d276d68ad5c0bbb2b0fd480041f522cf590 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 23:37:39 +0800 Subject: [PATCH 09/37] Add initial template for quick start package --- tool/quick_start_win10/_configure.bat | 87 ++++++ tool/quick_start_win10/_r_check.bat | 11 + tool/quick_start_win10/_r_init.bat | 2 + tool/quick_start_win10/_r_uninit.bat | 1 + .../build/gcc_apt_install.bat | 4 + .../build/gcc_apt_install.sh | 26 ++ tool/quick_start_win10/build/gcc_build.bat | 5 + tool/quick_start_win10/build/gcc_build.sh | 5 + .../build/gcc_build_fast.bat | 5 + .../quick_start_win10/build/gcc_build_fast.sh | 4 + tool/quick_start_win10/build/gcc_clean.bat | 4 + tool/quick_start_win10/build/gcc_create.bat | 4 + tool/quick_start_win10/build/gcc_create.sh | 5 + .../build/gcc_create_debug.bat | 4 + .../build/gcc_create_debug.sh | 5 + .../quick_start_win10/build/patch_version.bat | 7 + tool/quick_start_win10/build/patch_version.py | 22 ++ .../build/patch_version_set.bat | 2 + .../build/ryzom_client.vcxproj.user | 17 + .../build/vs_build_3dsmax_x64.bat | 40 +++ .../build/vs_build_3dsmax_x86.bat | 29 ++ tool/quick_start_win10/build/vs_build_dev.bat | 14 + .../build/vs_build_fv_x64.bat | 12 + .../build/vs_build_fv_x86.bat | 13 + .../build/vs_build_samples.bat | 12 + .../build/vs_build_server.bat | 15 + .../build/vs_build_tools.bat | 12 + tool/quick_start_win10/build/vs_clean.bat | 8 + tool/quick_start_win10/build/vs_create.bat | 108 +++++++ tool/quick_start_win10/cmd_build_gamedata.bat | 6 + tool/quick_start_win10/cmd_tools.bat | 3 + .../copy_dds_to_interfaces.bat | 5 + tool/quick_start_win10/distribution/all.bat | 22 ++ .../distribution/external.bat | 78 +++++ .../nel_plugins_3dsmax_2010_x86.bat | 104 +++++++ .../nel_plugins_3dsmax_2012_x86.bat | 104 +++++++ .../nel_plugins_3dsmax_2017_x64.bat | 101 ++++++ .../nel_plugins_3dsmax_2018_x64.bat | 101 ++++++ .../nel_plugins_3dsmax_2019_x64.bat | 101 ++++++ .../nel_plugins_3dsmax_2020_x64.bat | 101 ++++++ .../nel_plugins_3dsmax_2022_x64.bat | 101 ++++++ .../distribution/nel_plugins_3dsmax_9_x86.bat | 104 +++++++ .../distribution/nel_tools_win_x64.bat | 172 ++++++++++ .../distribution/ryzom_tools_win_x64.bat | 294 ++++++++++++++++++ tool/quick_start_win10/distribution/wipe.bat | 11 + .../quick_start_win10/external/access-log.bat | 3 + tool/quick_start_win10/external/error-log.bat | 3 + tool/quick_start_win10/external/mariadb.bat | 8 + .../external/mariadb_upgrade.bat | 6 + tool/quick_start_win10/external/nginx.bat | 46 +++ tool/quick_start_win10/external/php.bat | 6 + .../quick_start_win10/external/web_config.bat | 5 + tool/quick_start_win10/external/web_config.py | 6 + .../quick_start_win10/external/web_config.sql | 64 ++++ tool/quick_start_win10/external/web_off.bat | 20 ++ tool/quick_start_win10/external/web_on.bat | 21 ++ tool/quick_start_win10/external/web_wipe.bat | 21 ++ tool/quick_start_win10/gcc_vs_build.bat | 15 + .../gcc_vs_build_clientonly.bat | 8 + tool/quick_start_win10/gcc_vs_build_nomax.bat | 13 + tool/quick_start_win10/gcc_vs_rebuild.bat | 16 + .../gcc_vs_rebuild_nomax.bat | 14 + tool/quick_start_win10/rclone_patch.bat | 13 + tool/quick_start_win10/rclone_save_shard.bat | 7 + tool/quick_start_win10/regenerate_xslt.bat | 14 + tool/quick_start_win10/shard_mainland.bat | 5 + .../shard_mainland_debug.bat | 5 + tool/quick_start_win10/shard_ring.bat | 5 + tool/quick_start_win10/shard_ring_debug.bat | 5 + .../quick_start_win10/shard_unifier_debug.bat | 5 + tool/quick_start_win10/web_off.bat | 2 + tool/quick_start_win10/web_on.bat | 2 + 72 files changed, 2229 insertions(+) create mode 100644 tool/quick_start_win10/_configure.bat create mode 100644 tool/quick_start_win10/_r_check.bat create mode 100644 tool/quick_start_win10/_r_init.bat create mode 100644 tool/quick_start_win10/_r_uninit.bat create mode 100644 tool/quick_start_win10/build/gcc_apt_install.bat create mode 100644 tool/quick_start_win10/build/gcc_apt_install.sh create mode 100644 tool/quick_start_win10/build/gcc_build.bat create mode 100644 tool/quick_start_win10/build/gcc_build.sh create mode 100644 tool/quick_start_win10/build/gcc_build_fast.bat create mode 100644 tool/quick_start_win10/build/gcc_build_fast.sh create mode 100644 tool/quick_start_win10/build/gcc_clean.bat create mode 100644 tool/quick_start_win10/build/gcc_create.bat create mode 100644 tool/quick_start_win10/build/gcc_create.sh create mode 100644 tool/quick_start_win10/build/gcc_create_debug.bat create mode 100644 tool/quick_start_win10/build/gcc_create_debug.sh create mode 100644 tool/quick_start_win10/build/patch_version.bat create mode 100644 tool/quick_start_win10/build/patch_version.py create mode 100644 tool/quick_start_win10/build/patch_version_set.bat create mode 100644 tool/quick_start_win10/build/ryzom_client.vcxproj.user create mode 100644 tool/quick_start_win10/build/vs_build_3dsmax_x64.bat create mode 100644 tool/quick_start_win10/build/vs_build_3dsmax_x86.bat create mode 100644 tool/quick_start_win10/build/vs_build_dev.bat create mode 100644 tool/quick_start_win10/build/vs_build_fv_x64.bat create mode 100644 tool/quick_start_win10/build/vs_build_fv_x86.bat create mode 100644 tool/quick_start_win10/build/vs_build_samples.bat create mode 100644 tool/quick_start_win10/build/vs_build_server.bat create mode 100644 tool/quick_start_win10/build/vs_build_tools.bat create mode 100644 tool/quick_start_win10/build/vs_clean.bat create mode 100644 tool/quick_start_win10/build/vs_create.bat create mode 100644 tool/quick_start_win10/cmd_build_gamedata.bat create mode 100644 tool/quick_start_win10/cmd_tools.bat create mode 100644 tool/quick_start_win10/copy_dds_to_interfaces.bat create mode 100644 tool/quick_start_win10/distribution/all.bat create mode 100644 tool/quick_start_win10/distribution/external.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2010_x86.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2012_x86.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2017_x64.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2018_x64.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2019_x64.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2020_x64.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_2022_x64.bat create mode 100644 tool/quick_start_win10/distribution/nel_plugins_3dsmax_9_x86.bat create mode 100644 tool/quick_start_win10/distribution/nel_tools_win_x64.bat create mode 100644 tool/quick_start_win10/distribution/ryzom_tools_win_x64.bat create mode 100644 tool/quick_start_win10/distribution/wipe.bat create mode 100644 tool/quick_start_win10/external/access-log.bat create mode 100644 tool/quick_start_win10/external/error-log.bat create mode 100644 tool/quick_start_win10/external/mariadb.bat create mode 100644 tool/quick_start_win10/external/mariadb_upgrade.bat create mode 100644 tool/quick_start_win10/external/nginx.bat create mode 100644 tool/quick_start_win10/external/php.bat create mode 100644 tool/quick_start_win10/external/web_config.bat create mode 100644 tool/quick_start_win10/external/web_config.py create mode 100644 tool/quick_start_win10/external/web_config.sql create mode 100644 tool/quick_start_win10/external/web_off.bat create mode 100644 tool/quick_start_win10/external/web_on.bat create mode 100644 tool/quick_start_win10/external/web_wipe.bat create mode 100644 tool/quick_start_win10/gcc_vs_build.bat create mode 100644 tool/quick_start_win10/gcc_vs_build_clientonly.bat create mode 100644 tool/quick_start_win10/gcc_vs_build_nomax.bat create mode 100644 tool/quick_start_win10/gcc_vs_rebuild.bat create mode 100644 tool/quick_start_win10/gcc_vs_rebuild_nomax.bat create mode 100644 tool/quick_start_win10/rclone_patch.bat create mode 100644 tool/quick_start_win10/rclone_save_shard.bat create mode 100644 tool/quick_start_win10/regenerate_xslt.bat create mode 100644 tool/quick_start_win10/shard_mainland.bat create mode 100644 tool/quick_start_win10/shard_mainland_debug.bat create mode 100644 tool/quick_start_win10/shard_ring.bat create mode 100644 tool/quick_start_win10/shard_ring_debug.bat create mode 100644 tool/quick_start_win10/shard_unifier_debug.bat create mode 100644 tool/quick_start_win10/web_off.bat create mode 100644 tool/quick_start_win10/web_on.bat diff --git a/tool/quick_start_win10/_configure.bat b/tool/quick_start_win10/_configure.bat new file mode 100644 index 000000000..aa38c404e --- /dev/null +++ b/tool/quick_start_win10/_configure.bat @@ -0,0 +1,87 @@ +@echo off +title Ryzom Core Configuration +powershell ";" +echo ------- +echo --- Ryzom Core Configuration +echo ------- +echo( +echo This script will set up the buildsite configuration, and create needed directories. +echo To use the defaults, simply hit ENTER, else type in the new value. +echo Use -- if you need to insert an empty value. +echo( +echo Requires Python 2.7, Visual Studio 2019, and WSL 1 with GCC 8. +echo( +goto :config +:baddir +echo ERROR: Do not run this script from R: +echo( +pause +exit +:config +if exist path_config.bat call path_config.bat +set RC_ROOT_TEMP=%~dp0 +set RC_ROOT_TEMP=%RC_ROOT_TEMP:~0,-1% +if /I "%RC_ROOT_TEMP%"=="R:" goto :baddir +set RC_ROOT=%RC_ROOT_TEMP% +for /f "delims=" %%A in ('cd') do ( +set RC_ROOT_NAME=%%~nxA +) +set RC_PYTHON2_TEMP= +set /p RC_PYTHON2_TEMP=Python 2.7 (%RC_PYTHON2%): +if /I "%RC_PYTHON2_TEMP%"=="" set RC_PYTHON2_TEMP=%RC_PYTHON2% +if /I "%RC_PYTHON2_TEMP%"=="--" set RC_PYTHON2_TEMP= +set RC_PYTHON2=%RC_PYTHON2_TEMP% +if not exist %RC_PYTHON2%\python.exe goto :config +set PATH=%RC_PYTHON2%;%PATH% +( +echo set RC_PYTHON2=%RC_PYTHON2% +echo set RC_ROOT=%RC_ROOT% +)>path_config.bat +echo( +echo Mounting %RC_ROOT% as R: +call _r_init.bat +cd /d R:\ +echo | set /p=Updating references +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\tile_edit.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\tile_edit.exe';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\object_viewer.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\object_viewer.exe';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\georges.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\georges.exe';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\world_editor.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\world_editor.exe';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\build_gamedata.lnk');$s.TargetPath='%RC_ROOT%\code\nel\tools\build_gamedata';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\client_install_playing.lnk');$s.TargetPath='%RC_ROOT%\pipeline\client_install_playing';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\%RC_ROOT_NAME%.lnk');$s.TargetPath='%RC_ROOT%\';$s.Save()" +echo | set /p=. +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\R.lnk');$s.TargetPath='R:\';$s.Save()" +echo . +echo( +rem %RC_PYTHON2%\python .\code\configure\configure.py +rem echo( +cd /d %RC_ROOT%\code\nel\tools\build_gamedata +python 0_setup.py -p +if %errorlevel% neq 0 pause +if exist %RC_ROOT%\pipeline\install\data_leveldesign\sheet_id.bin goto :skipbuild +python a1_worldedit_data.py +if %errorlevel% neq 0 pause +python 1_export -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard +if %errorlevel% neq 0 pause +python 2_build -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard +if %errorlevel% neq 0 pause +cd /d %RC_ROOT% +call copy_dds_to_interfaces.bat +cd /d %RC_ROOT%\code\nel\tools\build_gamedata +python 3_install.py +if %errorlevel% neq 0 pause +:skipbuild +python b1_client_dev.py +if %errorlevel% neq 0 pause +python b2_shard_data.py +if %errorlevel% neq 0 pause +python b3_shard_dev.py +if %errorlevel% neq 0 pause +echo( +pause diff --git a/tool/quick_start_win10/_r_check.bat b/tool/quick_start_win10/_r_check.bat new file mode 100644 index 000000000..5b2eb7beb --- /dev/null +++ b/tool/quick_start_win10/_r_check.bat @@ -0,0 +1,11 @@ +if not exist R:\_r_init.bat call _r_init.bat +if /I "%RC_ROOT%"=="" call path_config.bat +goto :check +:baddir +echo ERROR: A different environment has already been mounted to R: +echo( +pause +exit +:check +fc /b R:\georges.lnk %RC_ROOT%\georges.lnk > nul +if errorlevel 1 goto baddir diff --git a/tool/quick_start_win10/_r_init.bat b/tool/quick_start_win10/_r_init.bat new file mode 100644 index 000000000..33b9f6547 --- /dev/null +++ b/tool/quick_start_win10/_r_init.bat @@ -0,0 +1,2 @@ +subst R: /D +subst R: . diff --git a/tool/quick_start_win10/_r_uninit.bat b/tool/quick_start_win10/_r_uninit.bat new file mode 100644 index 000000000..d8324e36c --- /dev/null +++ b/tool/quick_start_win10/_r_uninit.bat @@ -0,0 +1 @@ +subst R: /D diff --git a/tool/quick_start_win10/build/gcc_apt_install.bat b/tool/quick_start_win10/build/gcc_apt_install.bat new file mode 100644 index 000000000..86b8aba3a --- /dev/null +++ b/tool/quick_start_win10/build/gcc_apt_install.bat @@ -0,0 +1,4 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +bash gcc_apt_install.sh +pause diff --git a/tool/quick_start_win10/build/gcc_apt_install.sh b/tool/quick_start_win10/build/gcc_apt_install.sh new file mode 100644 index 000000000..e2292ab44 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_apt_install.sh @@ -0,0 +1,26 @@ +set -e +sudo apt update +sudo apt install -y software-properties-common +# sudo add-apt-repository ppa:ubuntu-toolchain-r/test +sudo apt update +sudo apt install cmake build-essential -y +sudo apt install gcc-8 g++-8 -y +sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 +sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60 +sudo apt install bison autoconf automake -y +sudo apt install libpng-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libgif-dev libfreetype6-dev -y +sudo apt install freeglut3-dev -y +sudo apt install liblua5.2-dev libluabind-dev libcpptest-dev -y +sudo apt install libogg-dev libvorbis-dev libopenal-dev -y +sudo apt install libavcodec-dev libavformat-dev libavdevice-dev libswscale-dev libpostproc-dev -y +sudo apt install libmysqlclient-dev -y +sudo apt install libxml2-dev -y +sudo apt install libcurl4-openssl-dev libssl-dev -y +sudo apt install libsquish-dev -y +sudo apt install liblzma-dev -y +sudo apt install libgsf-1-dev -y +sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools -y +gcc -v +g++ -v diff --git a/tool/quick_start_win10/build/gcc_build.bat b/tool/quick_start_win10/build/gcc_build.bat new file mode 100644 index 000000000..dde184c26 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_build.bat @@ -0,0 +1,5 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +call patch_version.bat +bash -c "CLIENT_PATCH_VERSION=%CLIENT_PATCH_VERSION% SERVER_PATCH_VERSION=%SERVER_PATCH_VERSION% bash gcc_build.sh" +pause diff --git a/tool/quick_start_win10/build/gcc_build.sh b/tool/quick_start_win10/build/gcc_build.sh new file mode 100644 index 000000000..48c241425 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_build.sh @@ -0,0 +1,5 @@ +set -e +cd server_gcc +cmake -DNL_VERSION_PATCH=$CLIENT_PATCH_VERSION . +make -j`nproc` +cd .. diff --git a/tool/quick_start_win10/build/gcc_build_fast.bat b/tool/quick_start_win10/build/gcc_build_fast.bat new file mode 100644 index 000000000..1bd84ae9f --- /dev/null +++ b/tool/quick_start_win10/build/gcc_build_fast.bat @@ -0,0 +1,5 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +call patch_version.bat +bash -c "CLIENT_PATCH_VERSION=%CLIENT_PATCH_VERSION% SERVER_PATCH_VERSION=%SERVER_PATCH_VERSION% bash gcc_build_fast.sh" +pause diff --git a/tool/quick_start_win10/build/gcc_build_fast.sh b/tool/quick_start_win10/build/gcc_build_fast.sh new file mode 100644 index 000000000..983f1c327 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_build_fast.sh @@ -0,0 +1,4 @@ +set -e +cd server_gcc +make -j`nproc` +cd .. diff --git a/tool/quick_start_win10/build/gcc_clean.bat b/tool/quick_start_win10/build/gcc_clean.bat new file mode 100644 index 000000000..05ab6fc42 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_clean.bat @@ -0,0 +1,4 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +rmdir /s /q server_gcc +pause diff --git a/tool/quick_start_win10/build/gcc_create.bat b/tool/quick_start_win10/build/gcc_create.bat new file mode 100644 index 000000000..63f59b04c --- /dev/null +++ b/tool/quick_start_win10/build/gcc_create.bat @@ -0,0 +1,4 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +bash gcc_create.sh +pause diff --git a/tool/quick_start_win10/build/gcc_create.sh b/tool/quick_start_win10/build/gcc_create.sh new file mode 100644 index 000000000..222bba6f3 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_create.sh @@ -0,0 +1,5 @@ +set -e +mkdir server_gcc +cd server_gcc +cmake -DCMAKE_BUILD_TYPE=Release -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_LUA51=OFF -DWITH_LUA52=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NELNS=OFF -DWITH_QT5=OFF -DWITH_LIBGSF=OFF -DFINAL_VERSION=OFF -DWITH_DRIVER_OPENGL=OFF -DWITH_DRIVER_OPENAL=OFF -DWITH_PCH=OFF ../../code +cd .. diff --git a/tool/quick_start_win10/build/gcc_create_debug.bat b/tool/quick_start_win10/build/gcc_create_debug.bat new file mode 100644 index 000000000..dba6f88e8 --- /dev/null +++ b/tool/quick_start_win10/build/gcc_create_debug.bat @@ -0,0 +1,4 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build +bash gcc_create_debug.sh +pause diff --git a/tool/quick_start_win10/build/gcc_create_debug.sh b/tool/quick_start_win10/build/gcc_create_debug.sh new file mode 100644 index 000000000..3b450e61e --- /dev/null +++ b/tool/quick_start_win10/build/gcc_create_debug.sh @@ -0,0 +1,5 @@ +set -e +mkdir server_gcc +cd server_gcc +cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_LUA51=OFF -DWITH_LUA52=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NELNS=OFF -DWITH_QT5=OFF -DWITH_LIBGSF=OFF -DFINAL_VERSION=OFF -DWITH_DRIVER_OPENGL=OFF -DWITH_DRIVER_OPENAL=OFF -DWITH_PCH=OFF ../../code +cd .. diff --git a/tool/quick_start_win10/build/patch_version.bat b/tool/quick_start_win10/build/patch_version.bat new file mode 100644 index 000000000..3f3f2e283 --- /dev/null +++ b/tool/quick_start_win10/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/tool/quick_start_win10/build/patch_version.py b/tool/quick_start_win10/build/patch_version.py new file mode 100644 index 000000000..98c57956c --- /dev/null +++ b/tool/quick_start_win10/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/tool/quick_start_win10/build/patch_version_set.bat b/tool/quick_start_win10/build/patch_version_set.bat new file mode 100644 index 000000000..64730c944 --- /dev/null +++ b/tool/quick_start_win10/build/patch_version_set.bat @@ -0,0 +1,2 @@ +set CLIENT_PATCH_VERSION=1 +set SERVER_PATCH_VERSION=1 diff --git a/tool/quick_start_win10/build/ryzom_client.vcxproj.user b/tool/quick_start_win10/build/ryzom_client.vcxproj.user new file mode 100644 index 000000000..18a5fda92 --- /dev/null +++ b/tool/quick_start_win10/build/ryzom_client.vcxproj.user @@ -0,0 +1,17 @@ + + + + Y:\ryzomclassic\pipeline\client_dev + PATH=C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH% +QT_PLUGIN_PATH=C:\2019q4_external_v142_x64\qt5\plugins +$(LocalDebuggerEnvironment) + WindowsLocalDebugger + + + Y:\ryzomclassic\pipeline\client_dev + PATH=C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH% +QT_PLUGIN_PATH=C:\2019q4_external_v142_x64\qt5\plugins +$(LocalDebuggerEnvironment) + WindowsLocalDebugger + + \ No newline at end of file diff --git a/tool/quick_start_win10/build/vs_build_3dsmax_x64.bat b/tool/quick_start_win10/build/vs_build_3dsmax_x64.bat new file mode 100644 index 000000000..fe3c99e8c --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_3dsmax_x64.bat @@ -0,0 +1,40 @@ +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 +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 .. +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 .. +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 .. +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 .. +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 .. +rem :skipmax +cd .. diff --git a/tool/quick_start_win10/build/vs_build_3dsmax_x86.bat b/tool/quick_start_win10/build/vs_build_3dsmax_x86.bat new file mode 100644 index 000000000..c3e222e70 --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_3dsmax_x86.bat @@ -0,0 +1,29 @@ +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 +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 .. +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 .. +rem goto :skipmax +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 .. +rem :skipmax +cd .. diff --git a/tool/quick_start_win10/build/vs_build_dev.bat b/tool/quick_start_win10/build/vs_build_dev.bat new file mode 100644 index 000000000..35deaeffd --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_dev.bat @@ -0,0 +1,14 @@ +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 .. diff --git a/tool/quick_start_win10/build/vs_build_fv_x64.bat b/tool/quick_start_win10/build/vs_build_fv_x64.bat new file mode 100644 index 000000000..3f945e76c --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_fv_x64.bat @@ -0,0 +1,12 @@ +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 .. diff --git a/tool/quick_start_win10/build/vs_build_fv_x86.bat b/tool/quick_start_win10/build/vs_build_fv_x86.bat new file mode 100644 index 000000000..5e2dd9bd9 --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_fv_x86.bat @@ -0,0 +1,13 @@ +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 .. diff --git a/tool/quick_start_win10/build/vs_build_samples.bat b/tool/quick_start_win10/build/vs_build_samples.bat new file mode 100644 index 000000000..7362092a7 --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_samples.bat @@ -0,0 +1,12 @@ +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 samples_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 .. diff --git a/tool/quick_start_win10/build/vs_build_server.bat b/tool/quick_start_win10/build/vs_build_server.bat new file mode 100644 index 000000000..e83c77618 --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_server.bat @@ -0,0 +1,15 @@ +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 server_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 +rem msbuild RyzomCore.sln /target:ryzom_patchman_service /m:2 /p:Configuration=Release %MSBUILDEXTRA% +msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA% +if %errorlevel% neq 0 pause +cd .. diff --git a/tool/quick_start_win10/build/vs_build_tools.bat b/tool/quick_start_win10/build/vs_build_tools.bat new file mode 100644 index 000000000..ac435bb9c --- /dev/null +++ b/tool/quick_start_win10/build/vs_build_tools.bat @@ -0,0 +1,12 @@ +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 .. diff --git a/tool/quick_start_win10/build/vs_clean.bat b/tool/quick_start_win10/build/vs_clean.bat new file mode 100644 index 000000000..da1bcdca3 --- /dev/null +++ b/tool/quick_start_win10/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/tool/quick_start_win10/build/vs_create.bat b/tool/quick_start_win10/build/vs_create.bat new file mode 100644 index 000000000..089d0f688 --- /dev/null +++ b/tool/quick_start_win10/build/vs_create.bat @@ -0,0 +1,108 @@ +call ..\path_config.bat +cd /d %RC_ROOT%\build + +set RC_DOMAIN=core4 + +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" + +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" + +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 + +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 .. + +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 + +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 .. + +mkdir samples_x64 +cd samples_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=ON" "-DWITH_NEL_TOOLS=OFF" "-DWITH_NEL_TESTS=OFF" "-DWITH_LUA51=OFF" "-DWITH_LUA53=ON" "-DWITH_MFC=OFF" "-DWITH_QT5=OFF" "-DWITH_NELNS=ON" "-DWITH_RYZOM=OFF" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=OFF" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=ON" "-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 server_x64 +cd server_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=OFF" "-DWITH_QT5=OFF" "-DWITH_NELNS=OFF" "-DWITH_RYZOM=ON" "-DWITH_RYZOM_CLIENT=OFF" "-DWITH_RYZOM_SERVER=ON" "-DWITH_RYZOM_TOOLS=OFF" "-DWITH_SNOWBALLS=OFF" "-DWITH_STATIC=ON" "-DWITH_STATIC_LIBXML2=OFF" "-DWITH_STATIC_CURL=OFF" "-DWITH_DRIVER_OPENGL=OFF" "-DWITH_DRIVER_DIRECT3D=OFF" "-DWITH_DRIVER_XAUDIO2=OFF" "-DWITH_DRIVER_DSOUND=OFF" "-DWITH_DRIVER_OPENAL=OFF" "-DWITH_LIBXML2_ICONV=ON" "-DFINAL_VERSION=OFF" "-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 .. + +rem :max +mkdir 3dsmax +cd 3dsmax + +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 .. + +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 .. + +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 .. + +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 .. + +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 .. + +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 .. + +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 .. + +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 + +rem cd .. + +pause diff --git a/tool/quick_start_win10/cmd_build_gamedata.bat b/tool/quick_start_win10/cmd_build_gamedata.bat new file mode 100644 index 000000000..95cdc7556 --- /dev/null +++ b/tool/quick_start_win10/cmd_build_gamedata.bat @@ -0,0 +1,6 @@ +call _r_check.bat +set PATH=%RC_PYTHON2%;%PATH% +cd /d %RC_ROOT%\code\nel\tools\build_gamedata +dir *.bat +dir *.py +cmd diff --git a/tool/quick_start_win10/cmd_tools.bat b/tool/quick_start_win10/cmd_tools.bat new file mode 100644 index 000000000..3a73aae47 --- /dev/null +++ b/tool/quick_start_win10/cmd_tools.bat @@ -0,0 +1,3 @@ +call path_config.bat +set PATH=%RC_ROOT%\distribution\nel_tools_win_x64;%RC_ROOT%\distribution\ryzom_tools_win_x64;%RC_PYTHON2%;%RC_ROOT%\external\mariadb\bin;%PATH% +cmd diff --git a/tool/quick_start_win10/copy_dds_to_interfaces.bat b/tool/quick_start_win10/copy_dds_to_interfaces.bat new file mode 100644 index 000000000..2eeaf4018 --- /dev/null +++ b/tool/quick_start_win10/copy_dds_to_interfaces.bat @@ -0,0 +1,5 @@ +rem This script copies lost interface graphics to the interface installation directory +xcopy /Y .\pub\assets\interfaces\ .\pipeline\install\interfaces\ +copy .\pipeline\install\interfaces\login_bg.dds .\pipeline\install\interfaces\launcher_bg_1.dds +move .\pipeline\install\interfaces\login_bg.dds .\pipeline\install\interfaces\launcher_bg_0.dds +pause diff --git a/tool/quick_start_win10/distribution/all.bat b/tool/quick_start_win10/distribution/all.bat new file mode 100644 index 000000000..6ac570742 --- /dev/null +++ b/tool/quick_start_win10/distribution/all.bat @@ -0,0 +1,22 @@ +start "" /b external +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_9_x86 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2010_x86 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2012_x86 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2017_x64 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2018_x64 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2019_x64 +timeout /t 1 /nobreak +start "" /b nel_plugins_3dsmax_2020_x64 +timeout /t 1 /nobreak +rem FIXME start "" /b nel_plugins_3dsmax_2022_x64 +rem FIXME timeout /t 1 /nobreak +start "" /b nel_tools_win_x64 +timeout /t 1 /nobreak +start "" /b ryzom_tools_win_x64 +timeout /t 1 /nobreak diff --git a/tool/quick_start_win10/distribution/external.bat b/tool/quick_start_win10/distribution/external.bat new file mode 100644 index 000000000..79be71358 --- /dev/null +++ b/tool/quick_start_win10/distribution/external.bat @@ -0,0 +1,78 @@ +call ..\path_config.bat +rmdir /s /q external_x64 +if %errorlevel% neq 0 pause +mkdir external_x64 +cd external_x64 +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" zlib.dll +copy "C:\2019q4_external_v142_x64\curl\bin\libcurl.dll" libcurl.dll +copy "C:\2019q4_external_v142_x64\curl\bin\curl.exe" curl.exe +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" freetype.dll +copy "C:\2019q4_external_v142_x64\lua\bin\lua.dll" lua.dll +copy "C:\2019q4_external_v142_x64\lua\bin\lua.exe" lua.exe +copy "C:\2019q4_external_v142_x64\luabind\bin\luabind.dll" luabind.dll +copy "C:\2019q4_external_v142_x64\assimp\bin\assimp.dll" assimp.dll +copy "C:\2019q4_external_v142_x64\assimp\bin\assimp.exe" assimp.exe +copy "C:\2019q4_external_v142_x64\assimp\bin\assimp_viewer.exe" assimp_viewer.exe +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" libcharset.dll +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" libiconv.dll +copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" jpeg62.dll +copy "C:\2019q4_external_v142_x64\libjpeg\bin\turbojpeg.dll" turbojpeg.dll +copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" libpng16.dll +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" libxml2.dll +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" ogg.dll +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" vorbis.dll +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" vorbisfile.dll +copy "C:\2019q4_external_v142_x64\openssl\bin\libeay32.dll" libeay32.dll +copy "C:\2019q4_external_v142_x64\openssl\bin\ssleay32.dll" ssleay32.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Core.dll" Qt5Core.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Gui.dll" Qt5Gui.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Network.dll" Qt5Network.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5PrintSupport.dll" Qt5PrintSupport.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Test.dll" Qt5Test.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Widgets.dll" Qt5Widgets.dll +copy "C:\2019q4_external_v142_x64\qt5\bin\Qt5Xml.dll" Qt5Xml.dll +mkdir imageformats +cd imageformats +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qgif.dll" qgif.dll +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qjpeg.dll" qjpeg.dll +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtga.dll" qtga.dll +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtiff.dll" qtiff.dll +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwbmp.dll" qwbmp.dll +copy "C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwebp.dll" qwebp.dll +cd .. +mkdir platforms +cd platforms +copy "C:\2019q4_external_v142_x64\qt5\plugins\platforms\qwindows.dll" qwindows.dll +cd .. +mkdir styles +cd styles +copy "C:\2019q4_external_v142_x64\qt5\plugins\styles\qwindowsvistastyle.dll" qwindowsvistastyle.dll +cd .. +cd .. + +rmdir /s /q external_x86 +if %errorlevel% neq 0 pause +mkdir external_x86 +cd external_x86 +copy "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" zlib.dll +copy "C:\2019q4_external_v90_x86\curl\bin\libcurl.dll" libcurl.dll +copy "C:\2019q4_external_v90_x86\curl\bin\curl.exe" curl.exe +copy "C:\2019q4_external_v90_x86\freetype\bin\freetype.dll" freetype.dll +copy "C:\2019q4_external_v90_x86\lua\bin\lua.dll" lua.dll +copy "C:\2019q4_external_v90_x86\lua\bin\lua.exe" lua.exe +copy "C:\2019q4_external_v90_x86\luabind\bin\luabind.dll" luabind.dll +copy "C:\2019q4_external_v90_x86\libiconv\bin\libcharset.dll" libcharset.dll +copy "C:\2019q4_external_v90_x86\libiconv\bin\libiconv.dll" libiconv.dll +copy "C:\2019q4_external_v90_x86\libjpeg\bin\jpeg62.dll" jpeg62.dll +copy "C:\2019q4_external_v90_x86\libjpeg\bin\turbojpeg.dll" turbojpeg.dll +copy "C:\2019q4_external_v90_x86\libpng\bin\libpng16.dll" libpng16.dll +copy "C:\2019q4_external_v90_x86\libxml2\bin\libxml2.dll" libxml2.dll +copy "C:\2019q4_external_v90_x86\ogg\bin\ogg.dll" ogg.dll +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbis.dll" vorbis.dll +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbisfile.dll" vorbisfile.dll +copy "C:\2019q4_external_v90_x86\openssl\bin\libeay32.dll" libeay32.dll +copy "C:\2019q4_external_v90_x86\openssl\bin\ssleay32.dll" ssleay32.dll +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2010_x86.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2010_x86.bat new file mode 100644 index 000000000..dd50f41be --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2010_x86.bat @@ -0,0 +1,104 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2010_x86 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2010_x86 +cd nel_plugins_3dsmax_2010_x86 +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v90_x86\ogg\bin\ogg.dll" "ogg.dll" +copy "C:\2019q4_external_v90_x86\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +copy "C:\2019q4_external_v90_x86\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v90_x86\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v90_x86\freetype\bin\freetype.dll" "freetype.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\ssleay32.dll" "ssleay32.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\libeay32.dll" "libeay32.dll" +rem copy "C:\2019q4_external_v90_x86\curl\bin\libcurl.dll" "libcurl.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2010_x86\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2012_x86.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2012_x86.bat new file mode 100644 index 000000000..b72cbfd0a --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2012_x86.bat @@ -0,0 +1,104 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2012_x86 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2012_x86 +cd nel_plugins_3dsmax_2012_x86 +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v90_x86\ogg\bin\ogg.dll" "ogg.dll" +copy "C:\2019q4_external_v90_x86\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +copy "C:\2019q4_external_v90_x86\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v90_x86\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v90_x86\freetype\bin\freetype.dll" "freetype.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\ssleay32.dll" "ssleay32.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\libeay32.dll" "libeay32.dll" +rem copy "C:\2019q4_external_v90_x86\curl\bin\libcurl.dll" "libcurl.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2012_x86\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2017_x64.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2017_x64.bat new file mode 100644 index 000000000..a3fba518b --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2017_x64.bat @@ -0,0 +1,101 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2017_x64 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2017_x64 +cd nel_plugins_3dsmax_2017_x64 +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +rem copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +rem copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2017_x64\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2018_x64.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2018_x64.bat new file mode 100644 index 000000000..322b748ef --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2018_x64.bat @@ -0,0 +1,101 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2018_x64 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2018_x64 +cd nel_plugins_3dsmax_2018_x64 +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +rem copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +rem copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2018_x64\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2019_x64.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2019_x64.bat new file mode 100644 index 000000000..d37e6f756 --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2019_x64.bat @@ -0,0 +1,101 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2019_x64 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2019_x64 +cd nel_plugins_3dsmax_2019_x64 +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +rem copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +rem copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2019_x64\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2020_x64.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2020_x64.bat new file mode 100644 index 000000000..8685b8e59 --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2020_x64.bat @@ -0,0 +1,101 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2020_x64 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2020_x64 +cd nel_plugins_3dsmax_2020_x64 +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +rem copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +rem copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2020_x64\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2022_x64.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2022_x64.bat new file mode 100644 index 000000000..52333b186 --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_2022_x64.bat @@ -0,0 +1,101 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_2022_x64 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_2022_x64 +cd nel_plugins_3dsmax_2022_x64 +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +rem copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +rem copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\2022_x64\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_plugins_3dsmax_9_x86.bat b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_9_x86.bat new file mode 100644 index 000000000..fc03ca820 --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_plugins_3dsmax_9_x86.bat @@ -0,0 +1,104 @@ +call ..\path_config.bat +rmdir /s /q nel_plugins_3dsmax_9_x86 +if %errorlevel% neq 0 pause +mkdir nel_plugins_3dsmax_9_x86 +cd nel_plugins_3dsmax_9_x86 +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\object_viewer_dll_r.dll" "object_viewer_dll_r.dll" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_3dsmax_shared_r.dll" "nel_3dsmax_shared_r.dll" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_drv_opengl_win_r.dll" "nel_drv_opengl_win_r.dll" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_drv_xaudio2_win_r.dll" "nel_drv_xaudio2_win_r.dll" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" +copy "C:\2019q4_external_v90_x86\ogg\bin\ogg.dll" "ogg.dll" +copy "C:\2019q4_external_v90_x86\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v90_x86\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +copy "C:\2019q4_external_v90_x86\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v90_x86\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v90_x86\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v90_x86\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v90_x86\freetype\bin\freetype.dll" "freetype.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\ssleay32.dll" "ssleay32.dll" +rem copy "C:\2019q4_external_v90_x86\openssl\bin\libeay32.dll" "libeay32.dll" +rem copy "C:\2019q4_external_v90_x86\curl\bin\libcurl.dll" "libcurl.dll" +mkdir plugins +cd plugins +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_patch_converter_r.dlm" "nelconvertpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_export_r.dlu" "nelexport_r.dlu" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_patch_paint_r.dlm" "nelpaintpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_patch_edit_r.dlm" "neleditpatch_r.dlm" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\tile_utility_r.dlu" "neltileutility_r.dlu" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\nel_vertex_tree_paint_r.dlm" "nel_vertex_tree_paint_r.dlm" +copy "%RC_ROOT%\build\3dsmax\9_x86\bin\Release\ligoscape_utility_r.dlx" "nelligoscapeutility_r.dlx" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.*" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_patch_paint\keys.cfg" "keys.cfg" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\ligoscape.cfg" "ligoscape.cfg" +cd .. +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC" ".\" +rem xcopy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ".\" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_light_support.txt" "max_light_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_lightmap_support.txt" "max_lightmap_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_material_support.txt" "max_material_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_skinning_support.txt" "max_skinning_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\nel_water_material.txt" "nel_water_material.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\resolve_troubles.txt" "resolve_troubles.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\max_animation_support.txt" "max_animation_support.txt" +copy "%RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg" "object_viewer.cfg" +mkdir scripts +cd scripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_cleaner.ms" "db_cleaner.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_erase_mesh.ms" "db_erase_mesh.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\db_shooter.ms" "db_shooter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\extrude_water.ms" "extrude_water.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_add_name_ref_scale.ms" "nel_add_name_ref_scale.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png.ms" "nel_assets_png.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_batched.ms" "nel_assets_png_batched.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_assets_png_database.ms" "nel_assets_png_database.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_mergesave.ms" "nel_batched_mergesave.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_batched_script.ms" "nel_batched_script.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_copy_biped_figure_mode.ms" "nel_copy_biped_figure_mode.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_create_matrix.ms" "nel_create_matrix.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mat_converter.ms" "nel_mat_converter.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_mirror_weights.ms" "nel_mirror_weights.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_move_animation.ms" "nel_move_animation.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_node_properties.ms" "nel_node_properties.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_old_zone_to_ligo.ms" "nel_old_zone_to_ligo.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_rename.ms" "nel_rename.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_repair_xref.ms" "nel_repair_xref.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select.ms" "nel_select.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_select_ig.ms" "nel_select_ig.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_utility.ms" "nel_utility.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\nel_xref_building.ms" "nel_xref_building.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\reload_textures.ms" "reload_textures.ms" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\scripts\nel_ligoscape.ms" "nel_ligoscape.ms" +mkdir startup +cd startup +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_flare.ms" "nel_flare.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_light.ms" "nel_light.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms" "nel_material.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v1" "nel_material.ms.v1" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v2" "nel_material.ms.v2" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v3" "nel_material.ms.v3" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v5" "nel_material.ms.v5" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_material.ms.v11" "nel_material.ms.v11" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_multi_set.ms" "nel_multi_set.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_box.ms" "nel_pacs_box.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_pacs_cylinder.ms" "nel_pacs_cylinder.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_ps.ms" "nel_ps.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_swt.ms" "nel_swt.ms" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\scripts\startup\nel_wave_maker.ms" "nel_wave_maker.ms" +cd .. +cd .. +mkdir macroscripts +cd macroscripts +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_mirror_weights.mcr" "nel_mirror_weights.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_node_properties.mcr" "nel_node_properties.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\plugin_max\macroscripts\nel_xref_building.mcr" "nel_xref_building.mcr" +copy "%RC_ROOT%\code\nel\tools\3d\ligo\plugin_max\macroscripts\nel_ligoscape.mcr" "nel_ligoscape.mcr" +cd .. +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/nel_tools_win_x64.bat b/tool/quick_start_win10/distribution/nel_tools_win_x64.bat new file mode 100644 index 000000000..eea55801d --- /dev/null +++ b/tool/quick_start_win10/distribution/nel_tools_win_x64.bat @@ -0,0 +1,172 @@ +call ..\path_config.bat +rmdir /s /q nel_tools_win_x64 +if %errorlevel% neq 0 pause +mkdir nel_tools_win_x64 +cd nel_tools_win_x64 + +rem ??? +copy %RC_ROOT%\build\tools_x64\bin\Release\crash_log_analyser.exe crash_log_analyser.exe + +rem copy %RC_ROOT%\build\tools_x64\bin\Release\branch_patcher.exe branch_patcher.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\message_box.exe message_box.exe +rem copy %RC_ROOT%\build\tools_x64\bin\Release\multi_cd_setup_fix.exe multi_cd_setup_fix.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\file_info.exe file_info.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\anim_builder.exe anim_builder.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\animation_set_builder.exe animation_set_builder.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_clod_bank.exe build_clod_bank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_clodtex.exe build_clodtex.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_coarse_mesh.exe build_coarse_mesh.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_far_bank.exe build_far_bank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_interface.exe build_interface.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\unbuild_interface.exe unbuild_interface.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_shadow_skin.exe build_shadow_skin.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_smallbank.exe build_smallbank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\get_neighbors.exe get_neighbors.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\hls_bank_maker.exe hls_bank_maker.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ig_add.exe ig_add.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ig_elevation.exe ig_elevation.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ig_info.exe ig_info.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ig_lighter.exe ig_lighter.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\lightmap_optimizer.exe lightmap_optimizer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\panoply_maker.exe panoply_maker.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\tga2dds.exe tga2dds.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\tga_cut.exe tga_cut.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\tga_resize.exe tga_resize.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\tile_edit.exe tile_edit.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_check_bind.exe zone_check_bind.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_dependencies.exe zone_dependencies.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_dump.exe zone_dump.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_ig_lighter.exe zone_ig_lighter.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_lighter.exe zone_lighter.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_welder.exe zone_welder.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zone_elevation.exe zone_elevation.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\memlog.exe memlog.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\bnp_make.exe bnp_make.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\snp_make.exe snp_make.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\data_mirror.exe data_mirror.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\disp_sheet_id.exe disp_sheet_id.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\exec_timeout.exe exec_timeout.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\extract_filename.exe extract_filename.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\lock.exe lock.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\log_analyser.exe log_analyser.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\extract_warnings_r.dll extract_warnings_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\make_sheet_id.exe make_sheet_id.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\words_dic.exe words_dic.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\xml_packer.exe xml_packer.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\build_ig_boxes.exe build_ig_boxes.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_indoor_rbank.exe build_indoor_rbank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_rbank.exe build_rbank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\georges2csv.exe georges2csv.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\build_sound.exe build_sound.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_soundbank.exe build_soundbank.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\build_samplebank.exe build_samplebank.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\cluster_viewer.exe cluster_viewer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\zviewer.exe zviewer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\object_viewer.exe object_viewer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\object_viewer_dll_r.dll object_viewer_dll_r.dll + +copy %RC_ROOT%\build\tools_x64\bin\Release\logic_editor.exe logic_editor.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\logic_editor_dll_r.dll logic_editor_dll_r.dll + +copy %RC_ROOT%\build\tools_x64\bin\Release\mesh_export.exe mesh_export.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\shapes_exporter.exe shapes_exporter.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\shape2obj.exe shape2obj.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\nl_probe_timers.exe nl_probe_timers.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\textures_optimizer.exe textures_optimizer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\textures_tool.exe textures_tool.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\nl_panoply_preview.exe nl_panoply_preview.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\crash_report.exe crash_report.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\tile_edit_qt.exe tile_edit_qt.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\words_dic_qt.exe words_dic_qt.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\message_box_qt.exe message_box_qt.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_direct3d_win_r.dll nel_drv_direct3d_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_opengl_win_r.dll nel_drv_opengl_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_openal_win_r.dll nel_drv_openal_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_fmod_win_r.dll nel_drv_fmod_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_xaudio2_win_r.dll nel_drv_xaudio2_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_dsound_win_r.dll nel_drv_dsound_win_r.dll + +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.exe" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" + +copy %RC_ROOT%\code\nel\tools\3d\build_clod_bank\config_example.cfg build_clod_bank_config_example.cfg +copy %RC_ROOT%\code\nel\tools\3d\build_clod_bank\path_config_example.cfg build_clod_bank_path_config_example.cfg +copy %RC_ROOT%\code\nel\tools\3d\build_coarse_mesh\build.cfg build_coarse_mesh.cfg +copy %RC_ROOT%\code\nel\tools\pacs\build_ig_boxes\build_ig_boxes.cfg build_ig_boxes.cfg +copy %RC_ROOT%\code\nel\tools\pacs\build_indoor_rbank\build_indoor_rbank.cfg build_indoor_rbank.cfg +copy %RC_ROOT%\code\nel\tools\pacs\build_rbank\build_rbank.cfg build_rbank.cfg +copy %RC_ROOT%\code\nel\tools\misc\data_mirror\config.cfg data_mirror.cfg +copy %RC_ROOT%\code\nel\tools\3d\ig_lighter\config.cfg ig_lighter.cfg +copy %RC_ROOT%\code\nel\tools\misc\make_sheet_id\make_sheet_id.cfg make_sheet_id.cfg +copy %RC_ROOT%\code\nel\tools\3d\object_viewer\object_viewer.cfg object_viewer.cfg +copy %RC_ROOT%\code\nel\tools\3d\panoply_maker\panoply.cfg panoply.cfg +copy %RC_ROOT%\code\nel\tools\misc\words_dic\words_dic.cfg words_dic.cfg +copy %RC_ROOT%\code\nel\tools\3d\zone_lighter\zone_lighter.cfg zone_lighter.cfg +copy %RC_ROOT%\code\nel\tools\3d\zone_welder\zwelder.cfg zwelder.cfg +copy %RC_ROOT%\code\nel\tools\3d\zviewer\zviewer.cfg zviewer.cfg + +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +copy "C:\2019q4_external_v142_x64\openal-soft\bin\OpenAL32.dll" "OpenAL32.dll" +copy "C:\2019q4_external_v142_x64\assimp\bin\assimp.dll" "assimp.dll" +rem copy "C:\2019q4_external_v142_x64\openssl\bin\ssleay32.dll" "ssleay32.dll" +rem copy "C:\2019q4_external_v142_x64\openssl\bin\libeay32.dll" "libeay32.dll" +rem copy "C:\2019q4_external_v142_x64\curl\bin\libcurl.dll" "libcurl.dll" + +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Core.dll Qt5Core.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Gui.dll Qt5Gui.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Test.dll Qt5Test.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Xml.dll Qt5Xml.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Widgets.dll Qt5Widgets.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Network.dll Qt5Network.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5PrintSupport.dll Qt5PrintSupport.dll +copy C:\2019q4_external_v142_x64\qt5\bin\libGLESv2.dll libGLESv2.dll +copy C:\2019q4_external_v142_x64\qt5\bin\libEGL.dll libEGL.dll + +rmdir /s /q platforms +mkdir platforms +cd platforms +copy C:\2019q4_external_v142_x64\qt5\plugins\platforms\qwindows.dll qwindows.dll +cd .. + +rmdir /s /q styles +mkdir styles +cd styles +copy C:\2019q4_external_v142_x64\qt5\plugins\styles\qwindowsvistastyle.dll qwindowsvistastyle.dll +cd .. + +rmdir /s /q imageformats +mkdir imageformats +cd imageformats +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qjpeg.dll qjpeg.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qgif.dll qgif.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtga.dll qtga.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwbmp.dll qwbmp.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtiff.dll qtiff.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwebp.dll qwebp.dll +cd .. + +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/ryzom_tools_win_x64.bat b/tool/quick_start_win10/distribution/ryzom_tools_win_x64.bat new file mode 100644 index 000000000..1af9d3fd2 --- /dev/null +++ b/tool/quick_start_win10/distribution/ryzom_tools_win_x64.bat @@ -0,0 +1,294 @@ +call ..\path_config.bat +rmdir /s /q ryzom_tools_win_x64 +if %errorlevel% neq 0 pause +mkdir ryzom_tools_win_x64 +cd ryzom_tools_win_x64 + +copy %RC_ROOT%\build\server_x64\bin\Release\ryzom_patchman_service.exe ryzom_patchman_service.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\sheets_packer.exe sheets_packer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\sheets_packer_shard.exe sheets_packer_shard.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\build_world_packed_col.exe build_world_packed_col.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ai_build_wmap.exe ai_build_wmap.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\r2_islands_textures.exe r2_islands_textures.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\land_export.exe land_export.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\prim_export.exe prim_export.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\ryzom_mission_compiler.exe ryzom_mission_compiler.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\ryzom_mission_compiler_fe.exe ryzom_mission_compiler_fe.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\patch_gen_service.exe patch_gen_service.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\stats_scan.exe stats_scan.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\patch_gen.exe patch_gen.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\pdr_util.exe pdr_util.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\alias_synchronizer.exe alias_synchronizer.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\translation_tools.exe translation_tools.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\uni_conv.exe uni_conv.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\make_alias_file.exe make_alias_file.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\skill_extractor.exe skill_extractor.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\assoc_mem.exe assoc_mem.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\pd_parser.exe pd_parser.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\7zDec.exe 7zDec.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\named2csv.exe named2csv.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\make_anim_by_race.exe make_anim_by_race.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\make_anim_melee_impact.exe make_anim_melee_impact.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\mp_generator.exe mp_generator.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\icon_search.exe icon_search.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\csv_transform.exe csv_transform.exe + +copy %RC_ROOT%\build\tools_x64\bin\Release\georges.exe georges.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\georges_dll_r.dll georges_dll_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\georges_plugin_sound_r.dll georges_plugin_sound_r.dll + +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor.exe world_editor.exe +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor_sound_plugin_r.dll world_editor_sound_plugin_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor_fauna_graph_plugin_r.dll world_editor_fauna_graph_plugin_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor_graph_plugin_r.dll world_editor_graph_plugin_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor_primitive_plugin_r.dll world_editor_primitive_plugin_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\world_editor_shard_monitor_plugin_r.dll world_editor_shard_monitor_plugin_r.dll + +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_direct3d_win_r.dll nel_drv_direct3d_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_opengl_win_r.dll nel_drv_opengl_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_openal_win_r.dll nel_drv_openal_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_fmod_win_r.dll nel_drv_fmod_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_xaudio2_win_r.dll nel_drv_xaudio2_win_r.dll +copy %RC_ROOT%\build\tools_x64\bin\Release\nel_drv_dsound_win_r.dll nel_drv_dsound_win_r.dll + +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.exe" +"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /sha1 B4D4201C74969879C6052F05631BEA4F5265BDEF /t http://timestamp.comodoca.com/authenticode "*.dll" + +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\create_levedesign_archive.bat create_levedesign_archive.bat +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\create_levedesign_data_archive.bat create_levedesign_data_archive.bat +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\georges.cfg georges.cfg +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\history.txt history.txt +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ligoscape.cfg ligoscape.cfg +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\mission_compiler.cfg mission_compiler.cfg +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\mount_l.bat mount_l.bat +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\world_editor.html world_editor.html +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\world_editor_plugin.cfg world_editor_plugin.cfg +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\world_editor_script.xml world_editor_script.xml + +mkdir ui +cd ui +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\actions.ico actions.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\alias.ico alias.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\audio.ico audio.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\audio_hiden.ico audio_hiden.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\bot_template_npc.ico bot_template_npc.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\bot_template_npc_ml.ico bot_template_npc_ml.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\bot_template_outpost.ico bot_template_outpost.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\bot_template_outpost_ml.ico bot_template_outpost_ml.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\building_destination.ico building_destination.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\building_instance.ico building_instance.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\building_template.ico building_template.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\building_trigger.ico building_trigger.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\cell.ico cell.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\cell_zone.ico cell_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\cell_zones.ico cell_zones.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\continent.ico continent.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\deposit.ico deposit.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\depositzone.ico depositzone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dyn_answer.ico dyn_answer.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dyn_fauna_zone.ico dyn_fauna_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dyn_npc_zone.ico dyn_npc_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dyn_road.ico dyn_road.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dynamic_region.ico dynamic_region.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\dynamic_system.ico dynamic_system.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\emissary.ico emissary.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\env_fx.ico env_fx.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\env_fx_zone.ico env_fx_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\event.ico event.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\event_action.ico event_action.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\event_handler.ico event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\event_handler_action.ico event_handler_action.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\exclude.ico exclude.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna.ico fauna.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna_event_handler.ico fauna_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna_event_handler_action.ico fauna_event_handler_action.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna_generic_place.ico fauna_generic_place.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna_state.ico fauna_state.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\fauna_state_event_handler.ico fauna_state_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flat_dyn_chat_continue.ico flat_dyn_chat_continue.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flat_dyn_chat_fail.ico flat_dyn_chat_fail.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flat_dyn_chat_retry.ico flat_dyn_chat_retry.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flat_dyn_chat_skippable.ico flat_dyn_chat_skippable.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flora.ico flora.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flora_exclude.ico flora_exclude.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flora_path.ico flora_path.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\flora_zone.ico flora_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\food.ico food.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\gear.ico gear.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\geom_items.ico geom_items.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group.ico group.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_descriptions.ico group_descriptions.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_fauna.ico group_fauna.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_fauna_ex.ico group_fauna_ex.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template.ico group_template.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template_fauna.ico group_template_fauna.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template_npc.ico group_template_npc.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template_npc_ml.ico group_template_npc_ml.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template_outpost.ico group_template_outpost.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\group_template_outpost_ml.ico group_template_outpost_ml.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\handon.ico handon.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\jump_to.ico jump_to.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_base.ico kami_base.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_deposit.ico kami_deposit.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_group.ico kami_group.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_guardian.ico kami_guardian.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_manager.ico kami_manager.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\kami_preacher.ico kami_preacher.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\karavan_base.ico karavan_base.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\karavan_emissary.ico karavan_emissary.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\karavan_group.ico karavan_group.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\karavan_guard.ico karavan_guard.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\karavan_manager.ico karavan_manager.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\linear_dyn_chat_continue.ico linear_dyn_chat_continue.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\linear_dyn_chat_fail.ico linear_dyn_chat_fail.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\linear_dyn_chat_retry.ico linear_dyn_chat_retry.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\linear_dyn_chat_skippable.ico linear_dyn_chat_skippable.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\manager.ico manager.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission.ico mission.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_bot_chat_step.ico mission_bot_chat_step.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_objectives.ico mission_objectives.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_reward.ico mission_reward.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_reward_group.ico mission_reward_group.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_step.ico mission_step.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\mission_tree.ico mission_tree.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\missions_editor.ico missions_editor.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\no_answer.ico no_answer.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\no_go.ico no_go.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc.ico npc.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_bot.ico npc_bot.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_event_handler.ico npc_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_event_handler_action.ico npc_event_handler_action.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_folder.ico npc_folder.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_group.ico npc_group.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_group_event_handler.ico npc_group_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_manager.ico npc_manager.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_punctual_state.ico npc_punctual_state.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_route.ico npc_route.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_state_chat.ico npc_state_chat.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_state_event_handler.ico npc_state_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_state_profile.ico npc_state_profile.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\npc_zone.ico npc_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\outpost.ico outpost.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\outpost_manager.ico outpost_manager.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\outpost_spawn_zone.ico outpost_spawn_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\path.ico path.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\people.ico people.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\place.ico place.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\point.ico point.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\population.ico population.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\preacher.ico preacher.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\raw_material_flora.ico raw_material_flora.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\raw_material_ground.ico raw_material_ground.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\raw_material_season.ico raw_material_season.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\region.ico region.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\respawn_point.ico respawn_point.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\respawn_points.ico respawn_points.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\rest.ico rest.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\result_no.ico result_no.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\result_yes.ico result_yes.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\room_destination.ico room_destination.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\room_template.ico room_template.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sample_bank_zone.ico sample_bank_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sample_banks.ico sample_banks.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\shield.ico shield.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sound_path.ico sound_path.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sound_point.ico sound_point.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sound_zone.ico sound_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\sounds.ico sounds.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\spawn.ico spawn.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\spawn_base.ico spawn_base.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\stable.ico stable.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\stable_entry.ico stable_entry.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\stables.ico stables.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\state.ico state.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\state_event_handler.ico state_event_handler.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\state_machine.ico state_machine.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\state_machine_list.ico state_machine_list.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step.ico step.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step_any.ico step_any.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step_dyn_chat.ico step_dyn_chat.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step_failure.ico step_failure.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step_if.ico step_if.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\step_ooo.ico step_ooo.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\teleport_dest.ico teleport_dest.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\teleport_destination.ico teleport_destination.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\teleport_dests.ico teleport_dests.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\teleport_spawn_zone.ico teleport_spawn_zone.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\teleport_trigger.ico teleport_trigger.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\temp.ico temp.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\time.ico time.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_creature.ico var_creature.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_faction.ico var_faction.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_item.ico var_item.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_npc.ico var_npc.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_place.ico var_place.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_quality.ico var_quality.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_quantity.ico var_quantity.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\var_text.ico var_text.ico +copy %RC_ROOT%\code\ryzom\tools\leveldesign\install\ui\zone.ico zone.ico +cd .. + +copy "C:\2019q4_external_v142_x64\ogg\bin\ogg.dll" "ogg.dll" +copy "C:\2019q4_external_v142_x64\libpng\bin\libpng16.dll" "libpng16.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbis.dll" "vorbis.dll" +copy "C:\2019q4_external_v142_x64\vorbis\bin\vorbisfile.dll" "vorbisfile.dll" +copy "C:\2019q4_external_v142_x64\libjpeg\bin\jpeg62.dll" "jpeg62.dll" +copy "C:\2019q4_external_v142_x64\libxml2\bin\libxml2.dll" "libxml2.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libiconv.dll" "libiconv.dll" +copy "C:\2019q4_external_v142_x64\libiconv\bin\libcharset.dll" "libcharset.dll" +copy "C:\2019q4_external_v142_x64\zlib\bin\zlib.dll" "zlib.dll" +copy "C:\2019q4_external_v142_x64\freetype\bin\freetype.dll" "freetype.dll" +copy "C:\2019q4_external_v142_x64\openal-soft\bin\OpenAL32.dll" "OpenAL32.dll" +rem copy "C:\2019q4_external_v142_x64\openssl\bin\ssleay32.dll" "ssleay32.dll" +rem copy "C:\2019q4_external_v142_x64\openssl\bin\libeay32.dll" "libeay32.dll" +rem copy "C:\2019q4_external_v142_x64\curl\bin\libcurl.dll" "libcurl.dll" +copy "C:\2019q4_external_v142_x64\mariadb-connector-c\bin\libmariadb.dll" "libmariadb.dll" + +copy "%RC_ROOT%\distribution\utils\lzma.exe" "lzma.exe" +copy "%RC_ROOT%\distribution\utils\rclone.exe" "rclone.exe" +copy "%RC_ROOT%\distribution\utils\xdelta.exe" "xdelta.exe" +copy "%RC_ROOT%\distribution\utils\7za.exe" "7za.exe" +copy "%RC_ROOT%\distribution\utils\nircmd.exe" "nircmd.exe" +copy "%RC_ROOT%\distribution\utils\msxsl.exe" "msxsl.exe" + +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Core.dll Qt5Core.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Gui.dll Qt5Gui.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Test.dll Qt5Test.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Xml.dll Qt5Xml.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Widgets.dll Qt5Widgets.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Network.dll Qt5Network.dll +copy C:\2019q4_external_v142_x64\qt5\bin\Qt5PrintSupport.dll Qt5PrintSupport.dll +copy C:\2019q4_external_v142_x64\qt5\bin\libGLESv2.dll libGLESv2.dll +copy C:\2019q4_external_v142_x64\qt5\bin\libEGL.dll libEGL.dll + +rmdir /s /q platforms +mkdir platforms +cd platforms +copy C:\2019q4_external_v142_x64\qt5\plugins\platforms\qwindows.dll qwindows.dll +cd .. + +rmdir /s /q styles +mkdir styles +cd styles +copy C:\2019q4_external_v142_x64\qt5\plugins\styles\qwindowsvistastyle.dll qwindowsvistastyle.dll +cd .. + +rmdir /s /q imageformats +mkdir imageformats +cd imageformats +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qjpeg.dll qjpeg.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qgif.dll qgif.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtga.dll qtga.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwbmp.dll qwbmp.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qtiff.dll qtiff.dll +copy C:\2019q4_external_v142_x64\qt5\plugins\imageformats\qwebp.dll qwebp.dll +cd .. + +cd .. + +exit + diff --git a/tool/quick_start_win10/distribution/wipe.bat b/tool/quick_start_win10/distribution/wipe.bat new file mode 100644 index 000000000..d9a6548a3 --- /dev/null +++ b/tool/quick_start_win10/distribution/wipe.bat @@ -0,0 +1,11 @@ +rmdir /s /q external_x64 +rmdir /s /q external_x86 +rmdir /s /q nel_plugins_3dsmax_9_x86 +rmdir /s /q nel_plugins_3dsmax_2010_x86 +rmdir /s /q nel_plugins_3dsmax_2012_x86 +rmdir /s /q nel_plugins_3dsmax_2017_x64 +rmdir /s /q nel_plugins_3dsmax_2018_x64 +rmdir /s /q nel_plugins_3dsmax_2019_x64 +rmdir /s /q nel_plugins_3dsmax_2020_x64 +rmdir /s /q nel_tools_win_x64 +rmdir /s /q ryzom_tools_win_x64 diff --git a/tool/quick_start_win10/external/access-log.bat b/tool/quick_start_win10/external/access-log.bat new file mode 100644 index 000000000..d0aec76da --- /dev/null +++ b/tool/quick_start_win10/external/access-log.bat @@ -0,0 +1,3 @@ +@echo off +title Access Log +powershell Get-Content -Path ".\nginx\logs\access.log" -Wait diff --git a/tool/quick_start_win10/external/error-log.bat b/tool/quick_start_win10/external/error-log.bat new file mode 100644 index 000000000..7cde6e33f --- /dev/null +++ b/tool/quick_start_win10/external/error-log.bat @@ -0,0 +1,3 @@ +@echo off +title Error Log +powershell Get-Content -Path ".\nginx\logs\error.log" -Wait diff --git a/tool/quick_start_win10/external/mariadb.bat b/tool/quick_start_win10/external/mariadb.bat new file mode 100644 index 000000000..eaf4ea84f --- /dev/null +++ b/tool/quick_start_win10/external/mariadb.bat @@ -0,0 +1,8 @@ +@echo off +cd mariadb +title MariaDB +echo MariaDB on localhost:9040 +echo Launch `cmd_tools.bat` and run `mysql --port=9040` to connect +@echo on +if not exist ..\..\pipeline\shard_dev\mysql\my.ini .\bin\mysql_install_db --default-user --datadir=..\..\pipeline\shard_dev\mysql +.\bin\mysqld --no-defaults --port=9040 --datadir=..\..\pipeline\shard_dev\mysql --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --console --standalone diff --git a/tool/quick_start_win10/external/mariadb_upgrade.bat b/tool/quick_start_win10/external/mariadb_upgrade.bat new file mode 100644 index 000000000..e7eaabe4e --- /dev/null +++ b/tool/quick_start_win10/external/mariadb_upgrade.bat @@ -0,0 +1,6 @@ +cd mariadb +rem MariaDB must be running to do this +.\bin\mysql_upgrade --port=9040 +echo Now restart web +pause +cd .. diff --git a/tool/quick_start_win10/external/nginx.bat b/tool/quick_start_win10/external/nginx.bat new file mode 100644 index 000000000..0ff5ad9be --- /dev/null +++ b/tool/quick_start_win10/external/nginx.bat @@ -0,0 +1,46 @@ +@echo off +title NGINX +echo NGINX on http://localhost:9042/ +if /I "%RC_ROOT%"=="" call ..\path_config.bat +cd nginx +for /f "usebackq delims=" %%i in ( + `powershell -noprofile -c "\"%RC_ROOT%\" -replace '\\', '/'"` +) do set "RC_ROOT_FW=%%i" +( +echo worker_processes 1; +echo events { +echo worker_connections 1024; +echo } +echo http { +echo include mime.types; +echo default_type application/octet-stream; +echo sendfile on; +echo keepalive_timeout 65; +echo server { +echo listen 9042; +echo server_name localhost; +echo root %RC_ROOT_FW%/code/web/public_php; +echo index index.php index.html index.htm; +echo location ~ /\.ht { +echo deny all; +echo } +echo location /phpmyadmin { +echo root %RC_ROOT_FW%/external; +echo location ~ ^^/phpmyadmin/^(.+\.php^)$ { +echo fastcgi_pass 127.0.0.1:9041; +echo fastcgi_index index.php; +echo fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; +echo include fastcgi_params; +echo } +echo } +echo location ~ \.php$ { +echo fastcgi_pass 127.0.0.1:9041; +echo fastcgi_index index.php; +echo fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; +echo include fastcgi_params; +echo } +echo } +echo } +)> .\conf\nginx.conf +@echo on +nginx diff --git a/tool/quick_start_win10/external/php.bat b/tool/quick_start_win10/external/php.bat new file mode 100644 index 000000000..28e52c8bc --- /dev/null +++ b/tool/quick_start_win10/external/php.bat @@ -0,0 +1,6 @@ +@echo off +cd php +title PHP-CGI +echo PHP-CGI on 127.0.0.1:9041 +@echo on +php-cgi.exe -b 127.0.0.1:9041 diff --git a/tool/quick_start_win10/external/web_config.bat b/tool/quick_start_win10/external/web_config.bat new file mode 100644 index 000000000..20ee3919d --- /dev/null +++ b/tool/quick_start_win10/external/web_config.bat @@ -0,0 +1,5 @@ +call ..\path_config.bat +python web_config.py +cd mariadb +.\bin\mysql --port=9040 -u=root ..\web_config_local.sql +cd .. diff --git a/tool/quick_start_win10/external/web_config.py b/tool/quick_start_win10/external/web_config.py new file mode 100644 index 000000000..5f34c297f --- /dev/null +++ b/tool/quick_start_win10/external/web_config.py @@ -0,0 +1,6 @@ +import socket +hostname = socket.gethostname() +with open("web_config.sql", "r") as fr: + with open("web_config_local.sql", "w") as fw: + for l in fr: + fw.write(l.replace("%RC_HOSTNAME%", hostname)) diff --git a/tool/quick_start_win10/external/web_config.sql b/tool/quick_start_win10/external/web_config.sql new file mode 100644 index 000000000..5281cfe56 --- /dev/null +++ b/tool/quick_start_win10/external/web_config.sql @@ -0,0 +1,64 @@ +-- Add the domain to the NeL database +USE `nel`; +INSERT INTO `domain` (`domain_id`, `domain_name`, `status`, `patch_version`, `backup_patch_url`, `patch_urls`, `login_address`, `session_manager_address`, `ring_db_name`, `web_host`, `web_host_php`, `description`) + VALUES ('90', 'dev', 'ds_open', '1', NULL, NULL, 'athena:49998', 'athena:49999', 'ring_dev', 'http://athena:9042', 'http://athena:9042', 'Development Domain'); + +-- Add the domain to the NeL Admin Tool database +USE `nel_tool`; +INSERT INTO `neltool_domains` (`domain_id`, `domain_name`, `domain_as_host`, `domain_as_port`, `domain_rrd_path`, `domain_las_admin_path`, `domain_las_local_path`, `domain_application`, `domain_sql_string`, `domain_hd_check`, `domain_mfs_web`, `domain_cs_sql_string`) VALUES ('90', 'dev', 'athena', '47690', 'Y:\\ryzomclassic\\pipeline\\shard_dev\\rrd_graphs', '', '', 'dev', 'mysql://root@athena:9040/ring_dev', '0', NULL, NULL); + +-- Add the mainland shard to the NeL database +use `nel`; +INSERT INTO `shard` (`ShardId`, `domain_id`, `WsAddr`, `Name`, `State`, `MOTD`) VALUES ('901', '90', 'athena', 'mainland', 'ds_open', ''); + +-- Add the mainland and ring shards to the Ring database +use `ring_dev`; +INSERT INTO `sessions` (`session_id`, `session_type`, `title`, `description`) VALUES ('901', 'st_mainland', 'Mainland', ''); +INSERT INTO `shard` (`shard_id`, `RequiredState`, `MOTD`) VALUES ('901', 'ds_open', ''); +INSERT INTO `shard` (`shard_id`, `RequiredState`, `MOTD`) VALUES ('911', 'ds_open', ''); + +-- Add the shards to the Admin Tool database +USE `nel_tool`; +INSERT INTO `neltool_shards` (`shard_id`, `shard_name`, `shard_as_id`, `shard_domain_id`, `shard_lang`, `shard_restart`) VALUES ('900', 'Unifier', 'unifier', '90', 'en', '0'); +INSERT INTO `neltool_shards` (`shard_id`, `shard_name`, `shard_as_id`, `shard_domain_id`, `shard_lang`, `shard_restart`) VALUES ('901', 'Mainland', 'mainland', '90', 'en', '0'); +INSERT INTO `neltool_shards` (`shard_id`, `shard_name`, `shard_as_id`, `shard_domain_id`, `shard_lang`, `shard_restart`) VALUES ('911', 'Ring', 'ring', '90', 'en', '0'); + +-- Grant admin tool access to the domain +USE `nel_tool`; +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (1, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (2, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (3, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (4, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (5, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (6, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (7, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (8, 90); +INSERT INTO `neltool_group_domains` (`group_domain_group_id`, `group_domain_domain_id`) VALUES (9, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (1, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (2, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (3, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (4, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (5, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (6, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (7, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (8, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (9, 900, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (1, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (2, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (3, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (4, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (5, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (6, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (7, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (8, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (9, 901, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (1, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (2, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (3, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (4, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (5, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (6, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (7, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (8, 911, 90); +INSERT INTO `neltool_group_shards` (`group_shard_group_id`, `group_shard_shard_id`, `group_shard_domain_id`) VALUES (9, 911, 90); +UPDATE `neltool_groups` SET `group_default_domain_id` = '90', `group_default_shard_id` = '901'; diff --git a/tool/quick_start_win10/external/web_off.bat b/tool/quick_start_win10/external/web_off.bat new file mode 100644 index 000000000..3ede7f1fb --- /dev/null +++ b/tool/quick_start_win10/external/web_off.bat @@ -0,0 +1,20 @@ +@echo off +cd nginx +.\nginx -s stop +cd .. +:nginxwait +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +for /F %%x in ('tasklist /NH /FI "IMAGENAME eq nginx.exe"') do if %%x == nginx.exe goto :nginxwait +taskkill /f /im nginx.exe +taskkill /f /im php-cgi.exe +for /F %%x in ('tasklist /NH /FI "IMAGENAME eq mysqld.exe"') do if %%x == mysqld.exe goto :mariadbfound +taskkill /f /im mysqld.exe +goto :mariadbnotfound +:mariadbfound +cd mariadb +.\bin\mysqladmin -u root shutdown +cd .. +:mariadbwait +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +for /F %%x in ('tasklist /NH /FI "IMAGENAME eq mysqld.exe"') do if %%x == mysqld.exe goto :mariadbwait +:mariadbnotfound diff --git a/tool/quick_start_win10/external/web_on.bat b/tool/quick_start_win10/external/web_on.bat new file mode 100644 index 000000000..eabf271fe --- /dev/null +++ b/tool/quick_start_win10/external/web_on.bat @@ -0,0 +1,21 @@ +@echo off +title Ryzom Core Web +call web_off +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +cd.>.\nginx\logs\access.log +cd.>.\nginx\logs\error.log +call ..\path_config.bat +mkdir ..\save +mkdir ..\save\dev +mkdir ..\save\dev\mysql +mkdir ..\save\dev\www +set PATH=%~dp0\php;%~dp0\mariadb;%~dp0\nginx;%PATH% +wt -w "Ryzom Core Web" -d . -p "Command Prompt" access-log.bat +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +wt -w "Ryzom Core Web" -d . -p "Command Prompt" error-log.bat +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +wt -w "Ryzom Core Web" -d . -p "Command Prompt" mariadb.bat +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +wt -w "Ryzom Core Web" -d . -p "Command Prompt" php.bat +..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 +wt -w "Ryzom Core Web" -d . -p "Command Prompt" nginx.bat diff --git a/tool/quick_start_win10/external/web_wipe.bat b/tool/quick_start_win10/external/web_wipe.bat new file mode 100644 index 000000000..a10e255df --- /dev/null +++ b/tool/quick_start_win10/external/web_wipe.bat @@ -0,0 +1,21 @@ +call web_off +cd.>.\nginx\logs\access.log +cd.>.\nginx\logs\error.log +cd.>.\nginx\conf\nginx.conf +rmdir /S /Q ..\pipeline\shard_dev\mysql +mkdir ..\pipeline\shard_dev\mysql +del ..\code\web/public_php\ams\is_installe +del ..\code\web\public_php\config.php +del ..\code\web\public_php\is_installed +del ..\code\web\public_php\db_version_lib +del ..\code\web\public_php\db_version_shard +del ..\code\web\public_php\db_version_tool +del ..\code\web\public_php\db_version_web +del ..\code\web\public_php\db_version_ring +del ..\code\web\public_php\role_service +del ..\code\web\public_php\role_support +del ..\code\web\public_php\role_admin +del ..\code\web\public_php\role_domain +del ..\code\web\public_php\config_user.php +del .\phpmyadmin\config.inc.php +del .\web_config_local.sql diff --git a/tool/quick_start_win10/gcc_vs_build.bat b/tool/quick_start_win10/gcc_vs_build.bat new file mode 100644 index 000000000..5012370f4 --- /dev/null +++ b/tool/quick_start_win10/gcc_vs_build.bat @@ -0,0 +1,15 @@ +call path_config.bat +cd /d %RC_ROOT% +cd build +call patch_version.bat +cmd /C "call vs_build_dev" +cmd /C "call vs_build_fv_x64" +cmd /C "call vs_build_fv_x86" +cmd /C "call vs_build_tools" +cmd /C "call vs_build_samples" +cmd /C "call vs_build_server" +cmd /C "call vs_build_3dsmax_x86" +cmd /C "call vs_build_3dsmax_x64" +cmd /C "call gcc_build" +cd .. +pause diff --git a/tool/quick_start_win10/gcc_vs_build_clientonly.bat b/tool/quick_start_win10/gcc_vs_build_clientonly.bat new file mode 100644 index 000000000..5675c496b --- /dev/null +++ b/tool/quick_start_win10/gcc_vs_build_clientonly.bat @@ -0,0 +1,8 @@ +call path_config.bat +cd /d %RC_ROOT% +cd build +call patch_version.bat +cmd /C "call vs_build_dev" +cmd /C "call vs_build_fv_x64" +cd .. +pause diff --git a/tool/quick_start_win10/gcc_vs_build_nomax.bat b/tool/quick_start_win10/gcc_vs_build_nomax.bat new file mode 100644 index 000000000..2b19ed65f --- /dev/null +++ b/tool/quick_start_win10/gcc_vs_build_nomax.bat @@ -0,0 +1,13 @@ +call path_config.bat +cd /d %RC_ROOT% +cd build +call patch_version.bat +cmd /C "call vs_build_dev" +cmd /C "call vs_build_fv_x64" +cmd /C "call vs_build_fv_x86" +cmd /C "call vs_build_tools" +cmd /C "call vs_build_samples" +cmd /C "call vs_build_server" +cmd /C "call gcc_build" +cd .. +pause diff --git a/tool/quick_start_win10/gcc_vs_rebuild.bat b/tool/quick_start_win10/gcc_vs_rebuild.bat new file mode 100644 index 000000000..e27bf8fd5 --- /dev/null +++ b/tool/quick_start_win10/gcc_vs_rebuild.bat @@ -0,0 +1,16 @@ +call path_config.bat +cd /d %RC_ROOT% +set "MSBUILDEXTRA=/t:Clean;Rebuild" +cd build +call patch_version.bat +cmd /C "call vs_build_dev" +cmd /C "call vs_build_fv_x64" +cmd /C "call vs_build_fv_x86" +cmd /C "call vs_build_tools" +cmd /C "call vs_build_samples" +cmd /C "call vs_build_server" +cmd /C "call vs_build_3dsmax_x86" +cmd /C "call vs_build_3dsmax_x64" +cmd /C "call gcc_build" +cd .. +pause diff --git a/tool/quick_start_win10/gcc_vs_rebuild_nomax.bat b/tool/quick_start_win10/gcc_vs_rebuild_nomax.bat new file mode 100644 index 000000000..f6d282b15 --- /dev/null +++ b/tool/quick_start_win10/gcc_vs_rebuild_nomax.bat @@ -0,0 +1,14 @@ +call path_config.bat +cd /d %RC_ROOT% +set "MSBUILDEXTRA=/t:Clean;Rebuild" +cd build +call patch_version.bat +cmd /C "call vs_build_dev" +cmd /C "call vs_build_fv_x64" +cmd /C "call vs_build_fv_x86" +cmd /C "call vs_build_tools" +cmd /C "call vs_build_samples" +cmd /C "call vs_build_server" +cmd /C "call gcc_build" +cd .. +pause diff --git a/tool/quick_start_win10/rclone_patch.bat b/tool/quick_start_win10/rclone_patch.bat new file mode 100644 index 000000000..43d19402a --- /dev/null +++ b/tool/quick_start_win10/rclone_patch.bat @@ -0,0 +1,13 @@ +call path_config.bat +rem rem Remote sfo2 is a DigitalOcean Spaces storage with CDN +rem %RC_ROOT%\distribution\utils\rclone.exe copy "%RC_ROOT%\pipeline\client_patch\patch" sfo2:ryzom/core4/patch --verbose +rem if %errorlevel% neq 0 pause +rem rem Remote core4 is an SFTP server running the patchman bridge server +rem rem ^> rclone config +rem rem ^> n +rem rem ^> core4 +rem rem ^> core +rem rem ^> sftp +rem rem ^> core.ryzom.dev +rem %RC_ROOT%\distribution\utils\rclone.exe sync "%RC_ROOT%\pipeline\bridge_server" core4:bridge_server --verbose --exclude /.patchman.file_index +pause diff --git a/tool/quick_start_win10/rclone_save_shard.bat b/tool/quick_start_win10/rclone_save_shard.bat new file mode 100644 index 000000000..b18ad5b61 --- /dev/null +++ b/tool/quick_start_win10/rclone_save_shard.bat @@ -0,0 +1,7 @@ +call path_config.bat +rem %RC_ROOT%\distribution\utils\rclone.exe sync core4:core4/save_shard_lgs "%RC_ROOT%\save\save_shard_lgs" --transfers=128 --verbose +rem %RC_ROOT%\distribution\utils\rclone.exe sync core4:core4/save_shard_bs "%RC_ROOT%\save\save_shard_bs" --transfers=128 --verbose +rem %RC_ROOT%\distribution\utils\rclone.exe sync core4:core4/www "%RC_ROOT%\save\www" --transfers=128 --verbose +rem rem todo make a zip file because otherwise this is too many writes to b2 +rem rem %RC_ROOT%\distribution\utils\rclone.exe sync %RC_ROOT%\save b2:core4-r/save --fast-list --transfers=16 --verbose +pause diff --git a/tool/quick_start_win10/regenerate_xslt.bat b/tool/quick_start_win10/regenerate_xslt.bat new file mode 100644 index 000000000..e724cc7b5 --- /dev/null +++ b/tool/quick_start_win10/regenerate_xslt.bat @@ -0,0 +1,14 @@ +call _check_r.bat + +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_plr.h output=header side=server bank=PLR +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_plr.cpp output=cpp side=server bank=PLR +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_guild.h output=header side=server bank=GUILD +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_guild.cpp output=cpp side=server bank=GUILD +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_outpost.h output=header side=server bank=OUTPOST +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt -o R:\code\ryzom\server\src\entities_game_service\database_outpost.cpp output=cpp side=server bank=OUTPOST +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\server\src\shard_unifier_service\database_mapping.xml R:\code\ryzom\common\src\game_share\generate_module_interface.xslt -o R:\code\ryzom\server\src\shard_unifier_service\database_mapping.cpp output=cpp filename=database_mapping +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\server\src\shard_unifier_service\database_mapping.xml R:\code\ryzom\common\src\game_share\generate_module_interface.xslt -o R:\code\ryzom\server\src\shard_unifier_service\database_mapping.h output=header filename=database_mapping + +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\src\game_share\ring_session_manager_itf.xml R:\code\ryzom\common\src\game_share\generate_module_interface.xslt -o R:\code\ryzom\common\src\game_share\ring_session_manager_itf.cpp output=cpp filename=ring_session_manager_itf +%RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\src\game_share\ring_session_manager_itf.xml R:\code\ryzom\common\src\game_share\generate_module_interface.xslt -o R:\code\ryzom\common\src\game_share\ring_session_manager_itf.h output=header filename=ring_session_manager_itf +rem %RC_ROOT%\distribution\utils\msxsl R:\code\ryzom\common\src\game_share\ring_session_manager_itf.xml R:\code\ryzom\common\src\game_share\generate_module_interface.xslt -o R:\code\ryzom\common\src\game_share\ring_session_manager_itf.php output=php filename=ring_session_manager_itf diff --git a/tool/quick_start_win10/shard_mainland.bat b/tool/quick_start_win10/shard_mainland.bat new file mode 100644 index 000000000..80e2d2655 --- /dev/null +++ b/tool/quick_start_win10/shard_mainland.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_mainland.bat diff --git a/tool/quick_start_win10/shard_mainland_debug.bat b/tool/quick_start_win10/shard_mainland_debug.bat new file mode 100644 index 000000000..92e55a6a8 --- /dev/null +++ b/tool/quick_start_win10/shard_mainland_debug.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_mainland.bat diff --git a/tool/quick_start_win10/shard_ring.bat b/tool/quick_start_win10/shard_ring.bat new file mode 100644 index 000000000..79e2dc15a --- /dev/null +++ b/tool/quick_start_win10/shard_ring.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_ring.bat diff --git a/tool/quick_start_win10/shard_ring_debug.bat b/tool/quick_start_win10/shard_ring_debug.bat new file mode 100644 index 000000000..9cf87cc49 --- /dev/null +++ b/tool/quick_start_win10/shard_ring_debug.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_ring.bat diff --git a/tool/quick_start_win10/shard_unifier_debug.bat b/tool/quick_start_win10/shard_unifier_debug.bat new file mode 100644 index 000000000..4ef93bfa1 --- /dev/null +++ b/tool/quick_start_win10/shard_unifier_debug.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_unifier.bat diff --git a/tool/quick_start_win10/web_off.bat b/tool/quick_start_win10/web_off.bat new file mode 100644 index 000000000..1df28dd21 --- /dev/null +++ b/tool/quick_start_win10/web_off.bat @@ -0,0 +1,2 @@ +cd external +call web_off diff --git a/tool/quick_start_win10/web_on.bat b/tool/quick_start_win10/web_on.bat new file mode 100644 index 000000000..c3b53ef20 --- /dev/null +++ b/tool/quick_start_win10/web_on.bat @@ -0,0 +1,2 @@ +cd external +call web_on From 8ad0536eedef975dce821f8156e6ab115ea0f033 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 23:43:03 +0800 Subject: [PATCH 10/37] Fix initial configuration build --- tool/quick_start_win10/_configure.bat | 4 ++-- tool/quick_start_win10/copy_dds_to_interfaces.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/quick_start_win10/_configure.bat b/tool/quick_start_win10/_configure.bat index aa38c404e..4872b77ae 100644 --- a/tool/quick_start_win10/_configure.bat +++ b/tool/quick_start_win10/_configure.bat @@ -67,9 +67,9 @@ if %errorlevel% neq 0 pause if exist %RC_ROOT%\pipeline\install\data_leveldesign\sheet_id.bin goto :skipbuild python a1_worldedit_data.py if %errorlevel% neq 0 pause -python 1_export -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard +python 1_export.py -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard if %errorlevel% neq 0 pause -python 2_build -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard +python 2_build.py -ipj common/gamedev common/data_common common/sound common/leveldesign common/exedll shard/data_language shard/data_leveldesign shard/data_shard if %errorlevel% neq 0 pause cd /d %RC_ROOT% call copy_dds_to_interfaces.bat diff --git a/tool/quick_start_win10/copy_dds_to_interfaces.bat b/tool/quick_start_win10/copy_dds_to_interfaces.bat index 2eeaf4018..0e7180130 100644 --- a/tool/quick_start_win10/copy_dds_to_interfaces.bat +++ b/tool/quick_start_win10/copy_dds_to_interfaces.bat @@ -2,4 +2,4 @@ rem This script copies lost interface graphics to the interface installation dir xcopy /Y .\pub\assets\interfaces\ .\pipeline\install\interfaces\ copy .\pipeline\install\interfaces\login_bg.dds .\pipeline\install\interfaces\launcher_bg_1.dds move .\pipeline\install\interfaces\login_bg.dds .\pipeline\install\interfaces\launcher_bg_0.dds -pause +if /I "%RC_ROOT%"=="" pause From 08a28193b43dcac2e2fd30ad451efb3f4914e8a9 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jun 2021 23:53:07 +0800 Subject: [PATCH 11/37] Can also run dev unifier in release mode --- tool/quick_start_win10/shard_unifier.bat | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tool/quick_start_win10/shard_unifier.bat diff --git a/tool/quick_start_win10/shard_unifier.bat b/tool/quick_start_win10/shard_unifier.bat new file mode 100644 index 000000000..cd7ce80e4 --- /dev/null +++ b/tool/quick_start_win10/shard_unifier.bat @@ -0,0 +1,5 @@ +call path_config.bat +cd /d %RC_ROOT% +set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% +cd pipeline\shard_dev +start conemu64 start_unifier.bat From 9230eb162127fd5bf263636e1b7f2d5b58149947 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 16 Jun 2021 00:28:02 +0800 Subject: [PATCH 12/37] Preconfigure web --- .../quick_start_win10/external/config.inc.php | 29 +++++++++++++++++++ tool/quick_start_win10/external/nginx.bat | 1 + .../quick_start_win10/external/web_config.bat | 2 +- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 tool/quick_start_win10/external/config.inc.php diff --git a/tool/quick_start_win10/external/config.inc.php b/tool/quick_start_win10/external/config.inc.php new file mode 100644 index 000000000..795b9fd02 --- /dev/null +++ b/tool/quick_start_win10/external/config.inc.php @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/tool/quick_start_win10/external/nginx.bat b/tool/quick_start_win10/external/nginx.bat index 0ff5ad9be..60b00ce01 100644 --- a/tool/quick_start_win10/external/nginx.bat +++ b/tool/quick_start_win10/external/nginx.bat @@ -2,6 +2,7 @@ title NGINX echo NGINX on http://localhost:9042/ if /I "%RC_ROOT%"=="" call ..\path_config.bat +copy config.inc.php .\phpmyadmin\config.inc.php cd nginx for /f "usebackq delims=" %%i in ( `powershell -noprofile -c "\"%RC_ROOT%\" -replace '\\', '/'"` diff --git a/tool/quick_start_win10/external/web_config.bat b/tool/quick_start_win10/external/web_config.bat index 20ee3919d..fc3ba33bb 100644 --- a/tool/quick_start_win10/external/web_config.bat +++ b/tool/quick_start_win10/external/web_config.bat @@ -1,5 +1,5 @@ call ..\path_config.bat python web_config.py cd mariadb -.\bin\mysql --port=9040 -u=root ..\web_config_local.sql +.\bin\mysql -P 9040 -u root < ..\web_config_local.sql cd .. From 486af5ec8528e5611aa6f16cf701f3a4665ae029 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 16 Jun 2021 02:14:43 +0800 Subject: [PATCH 13/37] Fix working directory for created shortcuts --- tool/quick_start_win10/_configure.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool/quick_start_win10/_configure.bat b/tool/quick_start_win10/_configure.bat index 4872b77ae..42d6f9bea 100644 --- a/tool/quick_start_win10/_configure.bat +++ b/tool/quick_start_win10/_configure.bat @@ -42,13 +42,13 @@ echo Mounting %RC_ROOT% as R: call _r_init.bat cd /d R:\ echo | set /p=Updating references -powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\tile_edit.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\tile_edit.exe';$s.Save()" +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\tile_edit.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\tile_edit.exe';$s.WorkingDirectory='%RC_ROOT%\distribution\nel_tools_win_x64\';$s.Save()" echo | set /p=. -powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\object_viewer.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\object_viewer.exe';$s.Save()" +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\object_viewer.lnk');$s.TargetPath='%RC_ROOT%\distribution\nel_tools_win_x64\object_viewer.exe';$s.WorkingDirectory='%RC_ROOT%\distribution\nel_tools_win_x64\';$s.Save()" echo | set /p=. -powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\georges.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\georges.exe';$s.Save()" +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\georges.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\georges.exe';$s.WorkingDirectory='%RC_ROOT%\distribution\ryzom_tools_win_x64\';$s.Save()" echo | set /p=. -powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\world_editor.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\world_editor.exe';$s.Save()" +powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\world_editor.lnk');$s.TargetPath='%RC_ROOT%\distribution\ryzom_tools_win_x64\world_editor.exe';$s.WorkingDirectory='%RC_ROOT%\distribution\ryzom_tools_win_x64\';$s.Save()" echo | set /p=. powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%RC_ROOT%\build_gamedata.lnk');$s.TargetPath='%RC_ROOT%\code\nel\tools\build_gamedata';$s.Save()" echo | set /p=. From d30a80aceac495a5e59ac41a1e24335c753f9a69 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 16 Jun 2021 02:48:51 +0800 Subject: [PATCH 14/37] Include service folders in dev shard paths --- nel/tools/build_gamedata/b3_shard_dev.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nel/tools/build_gamedata/b3_shard_dev.py b/nel/tools/build_gamedata/b3_shard_dev.py index 10a496e44..b91a23859 100644 --- a/nel/tools/build_gamedata/b3_shard_dev.py +++ b/nel/tools/build_gamedata/b3_shard_dev.py @@ -54,7 +54,7 @@ mkPath(log, ShardDevDirectory + "/local") printLog(log, ">>> Generate shard dev local.cfg <<<") cfg = open(ShardDevDirectory + "/local.cfg", "w") cfg.write("WindowStyle = \"WIN\";\n") -cfg.write("Paths = {\n") +cfg.write("Paths += {\n") cfg.write(" \"" + ShardDevDirectory + "/local\",\n") cfg.write(" \"" + DataCommonDirectory + "\",\n") cfg.write(" \"" + DataShardDirectory + "\",\n") @@ -85,6 +85,21 @@ for execDir in InstallShardDataExecutables: printLog(log, "SHARD PACKAGE " + dstDir) copyFileListNoTreeIfNeeded(log, PatchmanCfgDefaultDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[2]) copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[3]) + for cfgName in execDir[2]: + cfgPath = ShardDevDirectory + "/live/" + dstDir + "/" + cfgName + found = False + with open(cfgPath, "r") as f: + for l in f: + if "Paths += {" in l: + found = True + if not found: + with open(cfgPath, "a") as cfg: + cfg.write("\n") + cfg.write("Paths += {\n") + cfg.write(" \"" + ShardDevDirectory + "/live/" + dstDir + "\",\n") + cfg.write("};\n") + cfg.write("\n") + cfg.flush() printLog(log, "") From cac99dc9aba3bcde7075be925588e8734636f6bc Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 16 Jun 2021 05:21:48 +0800 Subject: [PATCH 15/37] Add missing browser css. Restore login window layout --- .../data/gamedev/interfaces_v3/browser.css | 147 + .../data/gamedev/interfaces_v3/login_main.xml | 52 +- .../data/gamedev/interfaces_v3/macros.xml | 3 + .../gamedev/interfaces_v3/out_v2_select.xml | 13 +- .../data/gamedev/interfaces_v3/player.lua | 48 +- .../data/gamedev/interfaces_v3/reset.xml | 1 + .../data/gamedev/interfaces_v3/webbrowser.lua | 88 +- .../data/gamedev/interfaces_v3/widgets.xml | 2996 +++++++++-------- 8 files changed, 1816 insertions(+), 1532 deletions(-) create mode 100644 ryzom/client/data/gamedev/interfaces_v3/browser.css diff --git a/ryzom/client/data/gamedev/interfaces_v3/browser.css b/ryzom/client/data/gamedev/interfaces_v3/browser.css new file mode 100644 index 000000000..96d2f7a9b --- /dev/null +++ b/ryzom/client/data/gamedev/interfaces_v3/browser.css @@ -0,0 +1,147 @@ +html { + background-color: rgba(0, 0, 0, 1.0); + color: rgba(210, 210, 210, 1.0); + font-size: 12px; + font-style: normal; + font-weight: normal; + text-shadow: none; +} + +address, article, aside, blockquote, details, dialog, dd, div, dl, dt, +fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, +header, hgroup, hr, li, main, nav, ol, p, pre, section, table, ul { + display: block; +} + +table { + display: table; +} + +input,. table, tr, td, th, textarea { + color: inherit; + font-weight: inherit; + font-style: inherit; + font-size: inherit; + text-shadow: inherit; +} + +input, textarea { + text-shadow: 1px 1px #000; +} + +a { + color: rgba(240, 155, 100, 1.0); + text-decoration: underline; +} + +h1, h2, h3, h4, h5, h6 { + color: rgba(255, 255, 255, 1.0); +} + +h1 { + font-size: 2em; +} + +h2 { + font-size: 1.5em; +} + +h3 { + font-size: 1.17em; +} + +h4 { + font-size: 1.0em; +} + +h5 { + font-size: 0.83em; +} + +h6 { + font-size: 0.67em; +} + +pre { + font-family: monospace; +} + +/* th { text-align:center; } overrides property */ +th { + font-weight: bold; +} + +del { + text-decoration: line-through; +} + +u { + text-decoration: underline; +} + +em { + font-style: italic; +} + +strong { + font-weight: bold; +} + +small { + font-size: smaller; +} + +dt { + font-weight: bold; +} + +hr { + color: rgb(120, 120, 120); +} + +/* td { padding: 1px; } overrides attribute */ +/* table { border-spacing: 2px; } overrides attribute */ +table { + border-collapse: separate; +} + +meter::-webkit-meter-bar, +meter::-webkit-optimum-value, +meter::-webkit-suboptimum-value, +meter::-webkit-even-less-good-value { + background: none; +} + +meter::-webkit-meter-bar { + background-color: rgb(100, 100, 100); + width: 5em; + height: 1em; +} + +meter::-webkit-meter-optimum-value { + background-color: rgb(80, 220, 80); +} + +meter::-webkit-meter-suboptimum-value { + background-color: rgb(220, 220, 80); +} + +meter::-webkit-meter-even-less-good-value { + background-color: rgb(220, 80, 80); +} + +progress::-webkit-progress-bar, +progress::-webkit-progress-value { + background: none; +} + +progress::-webkit-progress-bar { + background-color: rgb(230, 230, 230); + width: 10em; + height: 1em; +} + +progress::-webkit-progress-value { + background-color: rgb(0, 100, 180); +} + diff --git a/ryzom/client/data/gamedev/interfaces_v3/login_main.xml b/ryzom/client/data/gamedev/interfaces_v3/login_main.xml index fb45a7123..a1d7afdd2 100644 --- a/ryzom/client/data/gamedev/interfaces_v3/login_main.xml +++ b/ryzom/client/data/gamedev/interfaces_v3/login_main.xml @@ -31,22 +31,31 @@ - - + - - + + + + + + - - + - - - - - + - + + + @@ -296,7 +296,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t checkbox_bitmap_pushed="" checkbox_bitmap_over="" background_bitmap_view="" - home="release.html" + home="" browse_next_time="true" form_text_area_group="edit_box_widget_multiline" > @@ -512,7 +512,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t checkbox_bitmap_pushed="" checkbox_bitmap_over="" background_bitmap_view="" - home="release.html" + home="" browse_next_time="true" form_text_area_group="edit_box_widget_multiline" > diff --git a/ryzom/client/data/gamedev/interfaces_v3/macros.xml b/ryzom/client/data/gamedev/interfaces_v3/macros.xml index d3c886282..f905a514f 100644 --- a/ryzom/client/data/gamedev/interfaces_v3/macros.xml +++ b/ryzom/client/data/gamedev/interfaces_v3/macros.xml @@ -185,6 +185,9 @@ + + diff --git a/ryzom/client/data/gamedev/interfaces_v3/out_v2_select.xml b/ryzom/client/data/gamedev/interfaces_v3/out_v2_select.xml index b52674ba6..acef29020 100644 --- a/ryzom/client/data/gamedev/interfaces_v3/out_v2_select.xml +++ b/ryzom/client/data/gamedev/interfaces_v3/out_v2_select.xml @@ -696,15 +696,10 @@ onclick_l="leave_modal" /> - - - - - - - + - - - - - - - - - - - - - - - -