Both sides previous revisionPrevious revisionNext revision | Previous revision |
servers:windows:games:trinitycore_3.3.5_localhost [2025/04/12 23:15] – [Privileges] Sean Rhone | servers:windows:games:trinitycore_3.3.5_localhost [2025/04/20 21:30] (current) – Sean Rhone |
---|
| |
* These notes provide a local single-player server for World of Warcraft 3.3.5 | * These notes provide a local single-player server for World of Warcraft 3.3.5 |
* Last tested commit: [[https://github.com/TrinityCore/TrinityCore/commit/c3ee8498320894c229d64008b537647517cf613b|c3ee849]] | * Last tested commit: [[https://github.com/TrinityCore/TrinityCore/commit/a1814cf13d24e7bb5142417a6f8f0dfd08db72e1|a1814cf]] |
| |
===== Media ===== | ===== Media ===== |
* VS2022 [[https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022|VisualStudioSetup.exe]] | * VS2022 [[https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022|VisualStudioSetup.exe]] |
| |
* :!: Pause installer to close it ASAP ((avoid initial auto-download of unnecessary components)) | * Pause installer to prevent initial auto-download of unnecessary components |
| |
==== Required Components ==== | ==== Required Components ==== |
* Last tested: ''mariadb-11.7.2-winx64.msi'' | * Last tested: ''mariadb-11.7.2-winx64.msi'' |
| |
* [x] MariaDB Server (Entire feature) | * ''[x]'' MariaDB Server |
* [x] Development components (Entire feature) | * ''[x]'' Development Components |
* Third party tools not required | * ''[ ]'' Third party tools |
* Use UTF8 as default server's character set | |
* **Uncheck** Install as service and Enable networking | * ''[ ]'' Enable access from remote machines for 'root' user |
| * ''[x]'' Use UTF8 as default server's character set |
| |
| * ''[ ]'' Install as service |
| * ''[ ]'' Enable networking |
| |
===== Boost ===== | ===== Boost ===== |
| |
* https://sourceforge.net/projects/boost/files/boost-binaries/ | * https://sourceforge.net/projects/boost/files/boost-binaries/ |
* Last tested: ''boost_1_86_0-msvc-14.3-64.exe'' ([[https://sourceforge.net/projects/boost/files/boost-binaries/1.86.0/boost_1_86_0-msvc-14.3-64.exe/download|link]]) | * Last tested: ''boost_1_88_0-msvc-14.3-64.exe'' |
* :!: 2025/01/14: ''1_87_0'' had build failures | |
| |
===== CMake ===== | ===== CMake ===== |
* Last tested: ''cmake-4.0.1-windows-x86_64.msi'' | * Last tested: ''cmake-4.0.1-windows-x86_64.msi'' |
| |
* CMake to PATH env not required | * ''[ ]'' Add CMake to the PATH environment variable |
| |
===== OpenSSL ===== | ===== OpenSSL ===== |
* Last tested: ''Win64OpenSSL-3_5_0.msi'' | * Last tested: ''Win64OpenSSL-3_5_0.msi'' |
| |
* :!: Copy OpenSSL DLLs to: The OpenSSL binaries (/bin) directory | * Copy OpenSSL DLLs to: |
| * ''[x]'' The OpenSSL binaries (/bin) directory |
| |
====== Download Source ====== | ====== Download Source ====== |
**** | **** |
| |
<code>"%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_INCLUDE_DIR="%SystemDrive%/local/boost_1_86_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1"</code> | <code>"%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_88_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1"</code> |
| |
===== Compile ===== | ===== Compile ===== |
**** | **** |
| |
<code>"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" reset --hard && "%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_INCLUDE_DIR="%SystemDrive%/local/boost_1_86_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1" && "%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"</code> | <code>"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" reset --hard && "%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_88_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1" && "%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"</code> |
| |
====== Content ====== | ====== Content ====== |
| |
:: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-start.bat" |
| |
===== Server Update ===== | ===== Server Update ===== |
"%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_INCLUDE_DIR="%SystemDrive%/local/boost_1_86_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1" | "%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_88_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 11.7\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 11.7\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1" |
| |
"%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" | "%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" |
| |
:: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat" |
| |
===== Database Back-up ===== | ===== Database Back-up ===== |
| |
:: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-database-backup.bat" |
| |
====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
* ''authserver'' needs started at least once to create the tables and to start ''worldserver'' for account creation | * ''authserver'' needs started at least once to create the tables and to start ''worldserver'' for account creation |
* Ctrl + C to exit | * Ctrl + C to exit |
| |
| "%ProgramFiles%\MariaDB 11.7\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 11.7\data\my.ini" |
| |
CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "authserver.exe" --config-dir "%UserProfile%\Projects\TrinityCore-335\conf\authserver" | CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "authserver.exe" --config-dir "%UserProfile%\Projects\TrinityCore-335\conf\authserver" |
| |
* Change ''x'' to password | * Change ''x'' to password |
| |
| "%ProgramFiles%\MariaDB 11.7\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 11.7\data\my.ini" |
| |
CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "worldserver.exe" --config-dir "%UserProfile%\Projects\TrinityCore-335\conf\worldserver" | CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "worldserver.exe" --config-dir "%UserProfile%\Projects\TrinityCore-335\conf\worldserver" |