| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:trinitycore_3.3.5_localhost [2026/02/27 21:52] – quick/full update batches (WIP) Sean Rhone | servers:windows:games:trinitycore_3.3.5_localhost [2026/03/03 16:24] (current) – [MMaps] Sean Rhone |
|---|
| * 3.3.5 ((https://github.com/TrinityCore/TrinityCore/tree/3.3.5)) | * 3.3.5 ((https://github.com/TrinityCore/TrinityCore/tree/3.3.5)) |
| * [[https://talk.trinitycore.org/t/singleplayer-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/33293/7|TrinityCore Forums]] | * [[https://talk.trinitycore.org/t/singleplayer-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/33293/7|TrinityCore Forums]] |
| |
| * :!: 2026/02/27: LLVM/Clang notes WIP ((updater/etc expects MSVC currently)) | |
| |
| ===== Media ===== | ===== Media ===== |
| * https://cmake.org/download/#dev | * https://cmake.org/download/#dev |
| * https://cmake.org/files/dev/?C=M;O=D (Ctrl + F) | * https://cmake.org/files/dev/?C=M;O=D (Ctrl + F) |
| * Last tested: ''cmake-4.3.20260226-g880752c-windows-x86_64.msi'' | * Last tested: ''cmake-4.3.20260302-g95a8003-windows-x86_64.msi'' |
| |
| * ''[ ]'' Add CMake to the PATH environment variable | * ''[ ]'' Add CMake to the PATH environment variable |
| ===== Compile ===== | ===== Compile ===== |
| |
| * ~5 minutes i5-8400H ((2026/02/27: Clang ''00:05:24.19'')) | * ~5 minutes i5-8400H ((2026/03/03: Clang ''00:04:36.64'')) |
| |
| <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None"</code> | <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None"</code> |
| ===== MMaps ===== | ===== MMaps ===== |
| |
| * :!: 30-40 minutes i5-8400H ((2025/12/13: ''28 Minutes 26 Seconds'' at ''--threads 8'')) | * :!: 30-40 minutes i5-8400H ((2026/03/03: 32 Minutes at ''--threads 8'' Clang)) |
| * ''--threads %NUMBER_OF_PROCESSORS%'' | * ''--threads %NUMBER_OF_PROCESSORS%'' |
| |
| "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-start.bat" | "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-start.bat" |
| |
| ===== Server Update (Quick) ===== | ===== Server Update ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-quick.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| TITLE TrinityCore 335 Updater (Quick) | TITLE TrinityCore 335 Updater |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" pull origin "3.3.5" --rebase | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" pull origin "3.3.5" --rebase |
| |
| "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" | :: Clang |
| | SET "LLVMInstallDir=%ProgramFiles%\LLVM" |
| | SET "LLVMToolsVersion=22" |
| | "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -T "ClangCL" -DBoost_COMPILER="-vc143" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0 -Wno-everything" |
| | |
| | :: MSVC |
| | ::"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" |
| |
| "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None" | "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None" |
| | |
| | SET "LLVMInstallDir=" |
| | SET "LLVMToolsVersion=" |
| |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "WoW 3.3.5 localhost server update complete" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "WoW 3.3.5 localhost server update complete" |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-quick.bat" | "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat" |
| |
| ===== Server Update (Full) ===== | ===== Server Update (Full) ===== |
| @echo off | @echo off |
| |
| TITLE TrinityCore 335 Updater | TITLE TrinityCore 335 Updater (Full) |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" update --channelId "VisualStudio.17.Release" --channelURI "https://aka.ms/vs/17/release/channel" --productId "Microsoft.VisualStudio.Product.Community" --nocache --norestart --quiet | "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" update --channelId "VisualStudio.17.Release" --channelURI "https://aka.ms/vs/17/release/channel" --productId "Microsoft.VisualStudio.Product.Community" --nocache --norestart --quiet |
| |
| "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" | :: Clang |
| | SET "LLVMInstallDir=%ProgramFiles%\LLVM" |
| | SET "LLVMToolsVersion=22" |
| | "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -T "ClangCL" -DBoost_COMPILER="-vc143" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0 -Wno-everything" |
| | |
| | :: MSVC |
| | ::"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SystemDrive%/local/boost_1_90_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.3\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.3\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" |
| |
| "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None" | "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" -binaryLogger:"output.binlog;ProjectImports=None" |
| | |
| | SET "LLVMInstallDir=" |
| | SET "LLVMToolsVersion=" |
| |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "WoW 3.3.5 localhost server update complete" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "WoW 3.3.5 localhost server update complete" |
| |
| Server Updater | Server Updater |
| | |
| | ==== Update (Full) ==== |
| | |
| | "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-full.bat" |
| | |
| | Server Updater (Rebuild) |
| |
| ==== Database Backup ==== | ==== Database Backup ==== |