| |
| servers:linux:games:trinitycore_3.3.5_localhost [2025/08/27 00:46] – [MMaps] Sean Rhone | servers:linux:games:trinitycore_3.3.5_localhost [2025/09/11 06:43] (current) – external edit 127.0.0.1 |
|---|
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[linux;distros;fedora_workstation_gnome|Fedora Workstation]] | * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
| * [[servers:linux:mariadb|MariaDB]] | * [[servers:linux:mariadb|MariaDB]] |
| * [[games;linux;wine;world_of_warcraft_3.3.5|World of Warcraft 3.3.5]] | * [[games;linux;wine;world_of_warcraft_3.3.5|World of Warcraft 3.3.5]] |
| **** | **** |
| |
| sudo dnf install bzip2-devel gcc-c++ cmake git boost boost-devel readline-devel zlib-ng-compat-devel openssl-devel mariadb-devel | sudo zypper install gcc gcc-c++ cmake git-core boost-devel libboost_filesystem-devel libboost_program_options-devel libboost_regex-devel libboost_locale-devel zlib-devel libopenssl-3-devel mariadb libmariadbd-devel readline-devel libbz2-devel |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| * https://github.com/TrinityCore/TrinityCore/commits/3.3.5/ | * https://github.com/TrinityCore/TrinityCore/commits/3.3.5/ |
| |
| cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/TrinityCore-335/src' && git clone --branch '3.3.5' --depth '1' --recurse-submodules 'https://github.com/TrinityCore/TrinityCore.git' ~/'Projects/TrinityCore-335/src' && sync | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/TrinityCore-335/src' && git clone --branch '3.3.5' --depth '1' --recurse-submodules 'https://github.com/TrinityCore/TrinityCore.git' ~/'Projects/TrinityCore-335/src' |
| |
| ====== Databases ====== | ====== Databases ====== |
| ===== DBCs, Maps, and Cameras ===== | ===== DBCs, Maps, and Cameras ===== |
| |
| * Sizes ((''dbc'' folder ''247''/90.3 MB, ''maps'' folder ''5744''/557.6 MB, ''Cameras'' folder ''14''/34.8 KB)) | **** |
| |
| cp -f ~/'Projects/TrinityCore-335/run/bin/mapextractor' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'dbc' 'maps' 'Cameras' && ./'mapextractor' -f '0' | cp -f ~/'Projects/TrinityCore-335/run/bin/mapextractor' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'dbc' 'maps' 'Cameras' && ./'mapextractor' -f '0' |
| ==== Extract ==== | ==== Extract ==== |
| |
| * Size ((''Buildings'' folder ''7552''/584.7 MB)) | **** |
| |
| cp -f ~/'Projects/TrinityCore-335/run/bin/vmap4extractor' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'Buildings' && ./'vmap4extractor' -l | cp -f ~/'Projects/TrinityCore-335/run/bin/vmap4extractor' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'Buildings' && ./'vmap4extractor' -l |
| ==== Assemble ==== | ==== Assemble ==== |
| |
| * Size ((''vmaps'' folder ''12501''/1.3 GB)) | **** |
| |
| cp -f ~/'Projects/TrinityCore-335/run/bin/vmap4assembler' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'vmaps' && mkdir -p 'vmaps' && ./'vmap4assembler' 'Buildings' 'vmaps' | cp -f ~/'Projects/TrinityCore-335/run/bin/vmap4assembler' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'vmaps' && mkdir -p 'vmaps' && ./'vmap4assembler' 'Buildings' 'vmaps' |
| ===== MMaps ===== | ===== MMaps ===== |
| |
| * :!: 30-40 minutes i5-8400H ((''Finished. MMAPS were built in 33 Minutes 23 Seconds.'' at ''--threads 4'')) | * :!: 30-40 minutes i5-8400H ((2025/08/26: ''33 Minutes 23 Seconds'' at ''--threads 4'')) |
| * Requires [[#assemble|assembled VMaps]] | |
| * ''--threads $(nproc)'' | * ''--threads $(nproc)'' |
| |
| ls --directory ~/'Projects/TrinityCore-335/run/bin/dbc' ~/'Projects/TrinityCore-335/run/bin/maps' ~/'Projects/TrinityCore-335/run/bin/Cameras' ~/'Projects/TrinityCore-335/run/bin/vmaps' ~/'Projects/TrinityCore-335/run/bin/mmaps' | ls --directory ~/'Projects/TrinityCore-335/run/bin/dbc' ~/'Projects/TrinityCore-335/run/bin/maps' ~/'Projects/TrinityCore-335/run/bin/Cameras' ~/'Projects/TrinityCore-335/run/bin/vmaps' ~/'Projects/TrinityCore-335/run/bin/mmaps' |
| |
| gio open ~/'Projects/TrinityCore-335/run/bin/' | gio open ~/'Projects/TrinityCore-335/run/bin' |
| |
| ===== Clean-up ===== | ===== Clean-up ===== |