| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:trinitycore_3.3.5_localhost [2026/06/26 22:27] – [Secondary] Sean Rhone | servers:windows:games:trinitycore_3.3.5_localhost [2026/07/21 23:52] (current) – [CMake] Sean Rhone |
|---|
| * ''3.3.5'' | * ''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]] |
| | |
| | ===== Media ===== |
| | |
| | * [[https://media.realmofespionage.xyz/index/category/6|Progress Pics]] |
| | * [[https://www.youtube.com/watch?v=Sm4tTKLq5XY|Update Test Video]] |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| * 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.20260624-gb452493-windows-x86_64.msi'' | * Last tested: ''cmake-4.4.20260721-g06e1bb9-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" |
| ===== Compile ===== | ===== Compile ===== |
| |
| * ~20 minutes i5-8400H ((2026/06/25: ''00:18:01.96'' 4C8T)) | * ~20 minutes i5-8400H ((2026/07/06: ''00:17:08.50'' 4C8T)) |
| |
| <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%'' |
| |
| CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\mmaps_generator.exe" --bigBaseUnit "true" --skipLiquid "false" --skipContinents "false" --skipJunkMaps "false" --skipBattlegrounds "false" --debugOutput "false" --threads %NUMBER_OF_PROCESSORS% | CD "%UserProfile%\Projects\TrinityCore-335\build\bin\Release" && "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\mmaps_generator.exe" --bigBaseUnit "true" --skipLiquid "false" --skipContinents "false" --skipJunkMaps "false" --skipBattlegrounds "false" --debugOutput "false" --threads "%NUMBER_OF_PROCESSORS%" |
| |
| ==== Check Files ==== | ==== Check Files ==== |
| * 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" |
| |
| server shutdown 1 | server shutdown 1 |
| |
| ==== Secondary ==== | |
| |
| account create Esp724 x | |
| |
| account set gmlevel Esp724 3 -1 | |
| |
| ====== Extras ====== | ====== Extras ====== |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="CREATE DATABASE authserver" | "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="CREATE DATABASE authserver" |
| |
| MOVE /Y "%UserProfile%\Downloads\"*"-localhost-authserver.sql" "%UserProfile%\Downloads\localhost-authserver.sql" && "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "authserver" < "%UserProfile%\Downloads\localhost-authserver.sql" | MOVE /Y "%UserProfile%\Downloads\"*"-localhost-authserver.sql" "%UserProfile%\Downloads\localhost-authserver.sql" & "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "authserver" < "%UserProfile%\Downloads\localhost-authserver.sql" |
| |
| ==== characters ==== | ==== characters ==== |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="CREATE DATABASE characters" | "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="CREATE DATABASE characters" |
| |
| MOVE /Y "%UserProfile%\Downloads\"*"-localhost-characters.sql" "%UserProfile%\Downloads\localhost-characters.sql" && "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "characters" < "%UserProfile%\Downloads\localhost-characters.sql" | MOVE /Y "%UserProfile%\Downloads\"*"-localhost-characters.sql" "%UserProfile%\Downloads\localhost-characters.sql" & "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" "characters" < "%UserProfile%\Downloads\localhost-characters.sql" |
| |
| ====== TODOs ====== | ====== TODOs ====== |
| |
| "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="DROP DATABASE authserver;DROP DATABASE characters;DROP DATABASE worldserver;CREATE DATABASE authserver;CREATE DATABASE characters;CREATE DATABASE worldserver;GRANT ALL PRIVILEGES ON authserver.* to 'authserver'@'localhost';GRANT ALL PRIVILEGES ON characters.* to 'characters'@'localhost';GRANT ALL PRIVILEGES ON worldserver.* to 'worldserver'@'localhost';FLUSH PRIVILEGES;" | "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="DROP DATABASE authserver;DROP DATABASE characters;DROP DATABASE worldserver;CREATE DATABASE authserver;CREATE DATABASE characters;CREATE DATABASE worldserver;GRANT ALL PRIVILEGES ON authserver.* to 'authserver'@'localhost';GRANT ALL PRIVILEGES ON characters.* to 'characters'@'localhost';GRANT ALL PRIVILEGES ON worldserver.* to 'worldserver'@'localhost';FLUSH PRIVILEGES;" |
| | |
| | ==== auth/character ==== |
| | |
| | "%ProgramFiles%\MariaDB 13.0\bin\mariadb.exe" -u "root" --socket="%UserProfile%\Projects\TrinityCore-335\mariadb\mariadb.sock" --execute="DROP DATABASE authserver;DROP DATABASE characters;CREATE DATABASE authserver;CREATE DATABASE characters;GRANT ALL PRIVILEGES ON authserver.* to 'authserver'@'localhost';GRANT ALL PRIVILEGES ON characters.* to 'characters'@'localhost';FLUSH PRIVILEGES;" |
| |