User Tools

Site Tools


servers:windows:games:trinitycore_3.3.5_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:games:trinitycore_3.3.5_localhost [2026/02/27 21:46] Sean Rhoneservers:windows:games:trinitycore_3.3.5_localhost [2026/03/03 16:24] (current) – [MMaps] Sean Rhone
Line 4: Line 4:
   * 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 =====
Line 63: Line 61:
   * 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
Line 183: Line 181:
 ===== 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>
Line 229: Line 227:
 ===== MMaps ===== ===== MMaps =====
  
-  * :!: 30-40 minutes i5-8400H ((2025/12/13''28 Minutes 26 Seconds'' at ''--threads 8''))+  * :!: 30-40 minutes i5-8400H ((2026/03/0332 Minutes at ''--threads 8'' Clang))
   * ''--threads %NUMBER_OF_PROCESSORS%''   * ''--threads %NUMBER_OF_PROCESSORS%''
  
Line 381: Line 379:
  
 ===== Server Update ===== ===== Server Update =====
- 
-  * [[https://learn.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=visualstudio|Visual Studio setup.exe Flags]] 
-  * TODO: ''-target:Build'' and have VC update on separate script with the ''Rebuild'' ((updating VC isn't a req, but full rebuilds slow quick casual updating)) 
  
   "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"   "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"
Line 391: Line 386:
  
 TITLE TrinityCore 335 Updater TITLE TrinityCore 335 Updater
 +CD "%Temp%"
 +
 +"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" reset --hard "origin/3.3.5"
 +"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" pull origin "3.3.5" --rebase
 +
 +:: 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"
 +
 +SET "LLVMInstallDir="
 +SET "LLVMToolsVersion="
 +
 +"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "WoW 3.3.5 localhost server update complete"
 +
 +:: End</code>
 +
 +  "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"
 +
 +===== Server Update (Full) =====
 +
 +  * [[https://learn.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=visualstudio|Visual Studio setup.exe Flags]]
 +
 +  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-full.bat"
 +
 +<code>
 +@echo off
 +
 +TITLE TrinityCore 335 Updater (Full)
 CD "%Temp%" CD "%Temp%"
  
Line 398: Line 427:
 "%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"
Line 406: Line 444:
 :: End</code> :: End</code>
  
-  "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"+  "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-full.bat"
  
 ===== Database Back-up ===== ===== Database Back-up =====
Line 482: Line 520:
  
   Server Updater   Server Updater
 +
 +==== Update (Full) ====
 +
 +  "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update-full.bat"
 +
 +  Server Updater (Rebuild)
  
 ==== Database Backup ==== ==== Database Backup ====
/usr/local/www/wiki/data/attic/servers/windows/games/trinitycore_3.3.5_localhost.1772246808.txt.gz · Last modified: by Sean Rhone