windows:servers:games:trinitycore_3.3.5_localhost
This is an old revision of the document!
Table of Contents
Information
- These notes provide a local singleplayer server for World of Warcraft 3.3.5 on Windows (see these notes for Linux)
Prerequisites
Resources
Dependencies
- 2024/07/24: Git, Visual Studio 2022, MySQL, Boost, CMake, OpenSSL
- SQLyog for GUI database management
- MariaDB is untested 3)
Git
- Last tested:
Git-2.45.2-64-bit.exe
- Git from the command line and also from 3rd-party software
Visual Studio 2022
- Install needs Modified after the auto-install
- Desktop development with C++
- Any components that don't remove Desktop dev C++ is optional (Pilot, Sanitizers, Live, etc)
MySQL
- Last tested:
mysql-installer-community-8.0.39.0.msi
- Server Only
- Development Computer
- Uncheck Open Windows Firewall ports for network access
SETX /M path "%path%;%ProgramFiles%\MySQL\MySQL Server 8.0\bin"
SQLyog Community Edition
- Last tested:
SQLyog-13.3.0-0.x64Community.exe
Boost
- Last tested:
boost_1_86_0_b1-msvc-14.3-64.exe
CMake
- Last tested:
cmake-3.30.1-windows-x86_64
OpenSSL
- https://slproweb.com/products/Win32OpenSSL.html ( not Light)
- Last tested:
Win64OpenSSL-3_3_1.msi
- Copy OpenSSL DLLs to: The OpenSSL binaries (/bin) directory
Download Source
git clone --branch "3.3.5" --depth "1" --recurse-submodules "https://github.com/TrinityCore/TrinityCore.git" "%UserProfile%\Projects\trinity-335\src"
explorer "%UserProfile%\Projects\trinity-335\src"
Databases
- All Database management including backups/restores are done through SQLyog
Create DBs
- Ctrl + D or Database → Create Database
- Database charset:
utf8mb4
- Database collation:
utf8mb4_unicode_ci
authserver
characters
worldserver
DB Users
- Ctrl + U or Tools → User Manager
- All Host as
localhost
- Click the database with the same name as username and Select All privileges
authserver
characters
worldserver
Initial Compile
CMake
- Visual Studio 17 2022
MKDIR "%UserProfile%\Projects\trinity-335\build\bin\Release\"
cmake-gui
"%UserProfile%\Projects\trinity-335\src"
"%UserProfile%\Projects\trinity-335\build"
Visual Studio
- Build → Configuration Manager → Active solution configuration: Release
- Build → Rebuild Solution
DLLs
COPY /Y "%ProgramFiles%\MySQL\MySQL Server 8.0\lib\libmysql.dll" "%UserProfile%\Projects\trinity-335\build\bin\Release\"
COPY /Y "%ProgramFiles%\OpenSSL-Win64\bin\legacy.dll" "%UserProfile%\Projects\trinity-335\build\bin\Release\"
COPY /Y "%ProgramFiles%\OpenSSL-Win64\bin\libssl-3-x64.dll" "%UserProfile%\Projects\trinity-335\build\bin\Release\"
COPY /Y "%ProgramFiles%\OpenSSL-Win64\bin\libcrypto-3-x64.dll" "%UserProfile%\Projects\trinity-335\build\bin\Release\"
Update
git -C "%UserProfile%\Projects\trinity-335\src" reset --hard && git -C "%UserProfile%\Projects\trinity-335\src" pull origin "3.3.5" --rebase
cmake-gui
- Visual Studio → Build → Build Solution
Content
- Expects World of Warcraft 3.3.5
- Move
mapextractor
mmaps_generator
vmap4assembler
andvmap4extractor
to the WoW folder or useCOPY
commands below
explorer "%UserProfile%\Projects\trinity-335\build\bin\Release"
explorer "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
DBCs, Maps, and Cameras
COPY /Y "%UserProfile%\Projects\trinity-335\build\bin\Release\mapextractor.exe" "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
CD "%ProgramFiles(x86)%\World of Warcraft 3.3.5" && "mapextractor.exe" -f "0"
VMaps
Extract
COPY /Y "%UserProfile%\Projects\trinity-335\build\bin\Release\vmap4extractor.exe" "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
CD "%ProgramFiles(x86)%\World of Warcraft 3.3.5" && "vmap4extractor.exe" -l
Assemble
COPY /Y "%UserProfile%\Projects\trinity-335\build\bin\Release\vmap4assembler.exe" "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
CD "%ProgramFiles(x86)%\World of Warcraft 3.3.5" && "vmap4assembler.exe" "Buildings" "vmaps"
MMaps
COPY /Y "%UserProfile%\Projects\trinity-335\build\bin\Release\mmaps_generator.exe" "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
CD "%ProgramFiles(x86)%\World of Warcraft 3.3.5" && "mmaps_generator.exe" --bigBaseUnit "true" --threads "4"
Move Files
- Move
dbc
maps
Cameras
vmaps
mmaps
folders to theRelease
folder
explorer "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
explorer "%UserProfile%\Projects\trinity-335\build\bin\Release"
Clean-up
- Remove
Buildings
and extractor.exe
s
explorer "%ProgramFiles(x86)%\World of Warcraft 3.3.5"
World Database
TDB
- Download the latest
TDB 335
.7z
with a web browser
- Extract
TDB_full_world_335.sql
toRelease
folder
explorer "%UserProfile%\Projects\trinity-335\build\bin\Release"
Settings
Realm
authserver
authserver
needs started at least once to create the tables and to startworldserver
for account creation- Ctrl + C to exit
CD "%UserProfile%\Projects\trinity-335\build\bin\Release" && "authserver.exe"
Create GM Account
- Change
x
to password
CD "%UserProfile%\Projects\trinity-335\build\bin\Release" && "worldserver.exe"
account create Espionage724 x
account set gmlevel Espionage724 3 -1
server shutdown 1
Launch
Commands
CD "%UserProfile%\Projects\trinity-335\build\bin\Release" && "authserver.exe"
CD "%UserProfile%\Projects\trinity-335\build\bin\Release" && "worldserver.exe"
3)
it works on Linux as of 2024/07/15 but support may be deprecated: https://github.com/TrinityCore/TrinityCore/pull/29960
/var/www/wiki/data/attic/windows/servers/games/trinitycore_3.3.5_localhost.1722136224.txt.gz · Last modified: 2024/07/27 23:10 by Sean Rhone