| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:trinitycore_3.3.5_localhost [2026/07/06 06:30] – [Compile] Sean Rhone | servers:windows:games:trinitycore_3.3.5_localhost [2026/08/26 06:11] (current) – [CMake] Sean Rhone |
|---|
| * https://www.boost.org/releases/latest/ | * https://www.boost.org/releases/latest/ |
| * https://sourceforge.net/projects/boost/files/boost-binaries/ (Ctrl + F) | * https://sourceforge.net/projects/boost/files/boost-binaries/ (Ctrl + F) |
| * Last tested: ''boost_1_91_0-msvc-14.5-64.exe'' | * Last tested: ''boost_1_92_0-msvc-14.5-64.exe'' |
| |
| msvc-14.5-64 | msvc-14.5-64 |
| * https://cmake.org/files/dev/?C=M;O=D (Ctrl + F) | * https://cmake.org/files/dev/?C=M;O=D (Ctrl + F) |
| * https://cmake.org/download/#dev | * https://cmake.org/download/#dev |
| * Last tested: ''cmake-4.4.20260705-g27d7502-windows-x86_64.msi'' | * Last tested: ''cmake-4.4.20260820-gb45ff85-windows-x86_64.msi'' |
| |
| * ''[ ]'' Add CMake to the PATH environment variable | * ''[ ]'' Add CMake to the PATH environment variable |
| ===== Connect ===== | ===== Connect ===== |
| |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadbd.exe" --defaults-file="%UserProfile%\Projects\TrinityCore-335\mariadb\database\my.ini" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" | START "MariaDB Server" /MIN /D "%Temp%" "%ProgramFiles%\MariaDB 13.0\bin\mariadbd.exe" --defaults-file="%UserProfile%\Projects\TrinityCore-335\mariadb\database\my.ini" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" |
| |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" | "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" |
| ===== CMake ===== | ===== CMake ===== |
| |
| ==== CXX_FLAGS Info ==== | <code>"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_92_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DWITHOUT_METRICS="1" -DTOOLS="1"</code> |
| | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/eh-exception-handling-model?view=msvc-170|/EHs]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-170|/arch:AVX2]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/favor-optimize-for-architecture-specifics?view=msvc-170|/favor:INTEL64]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/gd-gr-gv-gz-calling-convention?view=msvc-170|/Gz]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/oy-frame-pointer-omission?view=msvc-170|/Oy]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/gs-buffer-security-check?view=msvc-170|/GS-]] | |
| * [[https://learn.microsoft.com/en-us/cpp/build/reference/guard-enable-control-flow-guard?view=msvc-170|/guard:cf-]] | |
| | |
| <code>"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_91_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" -DWITHOUT_METRICS="1" -DTOOLS="1"</code> | |
| |
| ===== Compile ===== | ===== Compile ===== |
| |
| * ~20 minutes i5-8400H ((2026/07/06: ''00:17:08.50'' 4C8T)) | * ~20 minutes i5-8400H ((2026/07/06: ''00:17:08.50'' 4C8T MSVC)) |
| | * 30 minutes i5-6400T ((2026/07/30: ''00:29:13.36'' Clang)) |
| |
| <code>"%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off"</code> | <code>"%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off"</code> |
| |
| ===== DBCs, Maps, and Cameras ===== | ===== DBCs, Maps, and Cameras ===== |
| | |
| | * ''mapextractor.exe'' |
| |
| "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\mapextractor.exe" -i "%ProgramFiles(x86)%\World of Warcraft 3.3.5" -o "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" -f "0" | "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\mapextractor.exe" -i "%ProgramFiles(x86)%\World of Warcraft 3.3.5" -o "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" -f "0" |
| |
| ==== Extract ==== | ==== Extract ==== |
| | |
| | * ''vmap4extractor.exe'' |
| |
| CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmap4extractor.exe" -d "%ProgramFiles(x86)%\World of Warcraft 3.3.5" -l | CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmap4extractor.exe" -d "%ProgramFiles(x86)%\World of Warcraft 3.3.5" -l |
| |
| ==== Assemble ==== | ==== Assemble ==== |
| | |
| | * ''vmap4assembler.exe'' |
| |
| "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmap4assembler.exe" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\Buildings" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmaps" | "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmap4assembler.exe" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\Buildings" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\vmaps" |
| ===== MMaps ===== | ===== MMaps ===== |
| |
| * :!: 30-40 minutes i5-8400H ((2026/03/03: 32 Minutes at ''--threads 8'' [[servers:windows:games:trinitycore_3.3.5_localhost?rev=1775702616|Clang]])) | * ''mmaps_generator.exe'' |
| | * :!: 30-40 minutes i5-8400H ((2026/07/06: ''36 Minutes 45 Seconds'' 4C8T)) ((2026/03/03: 32 Minutes ([[servers:windows:games:trinitycore_3.3.5_localhost?rev=1775702616|Clang]]) 4C8T)) |
| * ''--threads %NUMBER_OF_PROCESSORS%'' | * ''--threads %NUMBER_OF_PROCESSORS%'' |
| |
| * Last tested: ''TDB_full_world_335.25101_2025_10_21.7z'' | * Last tested: ''TDB_full_world_335.25101_2025_10_21.7z'' |
| |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadbd.exe" --defaults-file="%UserProfile%\Projects\TrinityCore-335\mariadb\database\my.ini" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" | START "MariaDB Server" /MIN /D "%Temp%" "%ProgramFiles%\MariaDB 13.0\bin\mariadbd.exe" --defaults-file="%UserProfile%\Projects\TrinityCore-335\mariadb\database\my.ini" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" |
| |
| "%ProgramFiles%\7-Zip\7z.exe" x "%UserProfile%\Downloads\TDB_full_world_335."*".7z" -o"%UserProfile%\Downloads" && MOVE /Y "%UserProfile%\Downloads\TDB_full_world_335."*".sql" "%UserProfile%\Downloads\TDB_full_world_335.sql" && "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "worldserver" < "%UserProfile%\Downloads\TDB_full_world_335.sql" && DEL /Q "%UserProfile%\Downloads\TDB_full_world_335."*".7z" "%UserProfile%\Downloads\TDB_full_world_335.sql" | "%ProgramFiles%\7-Zip\7z.exe" x "%UserProfile%\Downloads\TDB_full_world_335."*".7z" -o"%UserProfile%\Downloads" && MOVE /Y "%UserProfile%\Downloads\TDB_full_world_335."*".sql" "%UserProfile%\Downloads\TDB_full_world_335.sql" && "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "worldserver" < "%UserProfile%\Downloads\TDB_full_world_335.sql" && DEL /Q "%UserProfile%\Downloads\TDB_full_world_335."*".7z" "%UserProfile%\Downloads\TDB_full_world_335.sql" |
| "%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 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_91_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" -DWITHOUT_METRICS="1" -DTOOLS="0" | "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_92_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DWITHOUT_METRICS="1" -DTOOLS="0" |
| |
| "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" | "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" |
| "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" update --channelId "VisualStudio.18.Insiders" --channelURI "https://aka.ms/vs/insiders/channel" --productId "Microsoft.VisualStudio.Product.Community" --nocache --norestart --quiet | "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" update --channelId "VisualStudio.18.Insiders" --channelURI "https://aka.ms/vs/insiders/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 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_91_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DCMAKE_CXX_FLAGS="/EHs /arch:AVX2 /favor:INTEL64 /Gz /Oy /GS- /guard:cf- /W0" -DWITHOUT_METRICS="1" -DTOOLS="0" | "%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 18 2026" --fresh -Wno-error="author" -DBOOST_ROOT="%SystemDrive%/local/boost_1_92_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 13.0\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 13.0\lib\libmariadb.lib" -DNOJEM="1" -DSCRIPTS="static" -DUSE_COREPCH="0" -DUSE_SCRIPTPCH="0" -DWITHOUT_METRICS="1" -DTOOLS="0" |
| |
| "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" | "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" |