User Tools

Site Tools


servers:linux:games:trinitycore_3.3.5_localhost

Differences

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

Link to this comparison view

servers:linux:games:trinitycore_3.3.5_localhost [2025/08/26 03:22] Sean Rhoneservers:linux:games:trinitycore_3.3.5_localhost [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 24: Line 24:
 ===== 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]]
Line 32: Line 32:
 **** ****
  
-  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 ======
Line 38: Line 38:
   * 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 ======
Line 70: Line 70:
 **** ****
  
-  rm -Rf ~/'Projects/TrinityCore-335/build' ~/'Projects/TrinityCore-335/run' && mkdir -p ~/'Projects/TrinityCore-335/build' ~/'Projects/TrinityCore-335/run' && cd ~/'Projects/TrinityCore-335/build' && cmake ~/'Projects/TrinityCore-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/TrinityCore-335/run' -DCMAKE_BUILD_TYPE='Release' -DWITHOUT_METRICS='1' -DTOOLS='1' && sync && make --jobs=$(nproc) install && sync+  rm -Rf ~/'Projects/TrinityCore-335/build' ~/'Projects/TrinityCore-335/run' && mkdir -p ~/'Projects/TrinityCore-335/build' ~/'Projects/TrinityCore-335/run' && cd ~/'Projects/TrinityCore-335/build' && cmake ~/'Projects/TrinityCore-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/TrinityCore-335/run' -DCMAKE_BUILD_TYPE='Release' -DWITHOUT_METRICS='1' -DTOOLS='1' -DNOJEM='1' && make --jobs=$(nproc) install
  
 ====== Update ====== ====== Update ======
Line 76: Line 76:
   * https://github.com/TrinityCore/TrinityCore/commits/3.3.5/   * https://github.com/TrinityCore/TrinityCore/commits/3.3.5/
  
-  git -C ~/'Projects/TrinityCore-335/src' pull origin '3.3.5' && cd ~/'Projects/TrinityCore-335/build' && cmake ~/'Projects/TrinityCore-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/TrinityCore-335/run' -DCMAKE_BUILD_TYPE='Release' -DWITHOUT_METRICS='1' -DTOOLS='1' && sync && make --jobs=$(nproc) install && cp -v --remove-destination ~/'Projects/TrinityCore-335/run/etc/authserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/authserver.conf' && cp -v --remove-destination ~/'Projects/TrinityCore-335/run/etc/worldserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/worldserver.conf' && sync+  git -C ~/'Projects/TrinityCore-335/src' pull origin '3.3.5' && cd ~/'Projects/TrinityCore-335/build' && cmake ~/'Projects/TrinityCore-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/TrinityCore-335/run' -DCMAKE_BUILD_TYPE='Release' -DWITHOUT_METRICS='1' -DTOOLS='0' -DNOJEM='1' && make --jobs=$(nproc) install && cp -v --remove-destination ~/'Projects/TrinityCore-335/run/etc/authserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/authserver.conf' && cp -v --remove-destination ~/'Projects/TrinityCore-335/run/etc/worldserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/worldserver.conf' && sync
  
 ====== Content ====== ====== Content ======
Line 84: Line 84:
 ===== 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'
Line 92: Line 92:
 ==== 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
Line 98: Line 98:
 ==== 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'
Line 104: Line 104:
 ===== MMaps ===== ===== MMaps =====
  
-  * Size ((''mmaps'' folder ''3635''/1.6 GB)) +  * :!: 30-40 minutes i5-8400H ((2025/08/26: ''33 Minutes 23 Seconds'' at ''--threads 4'')) 
-  * :!: Takes 30minutes on i5-8400H ((Fastest time: ''Finished. MMAPS were built in 33 Minutes 23 Seconds.'' at ''threads 4''))+  * ''--threads $(nproc)''
  
-  cp -f ~/'Projects/TrinityCore-335/run/bin/mmaps_generator' ~/'.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 'mmaps' && mkdir -p 'mmaps' && ./'mmaps_generator' --bigBaseUnit 'true' --threads '4' +  cp -f ~/'Projects/TrinityCore-335/run/bin/mmaps_generator' ~/'.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 'mmaps' && mkdir -p 'mmaps' && ./'mmaps_generator' --bigBaseUnit 'true' --threads $(nproc)
- +
-<code>--threads $(nproc)</code>+
  
 ===== Move Files ===== ===== Move Files =====
Line 115: Line 113:
 **** ****
  
-  cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files (x86)/World of Warcraft 3.3.5a.12340'*'/' && mv --force 'dbc' 'maps' 'Cameras' 'vmaps' 'mmaps' ~/'Projects/TrinityCore-335/run/bin' && rm -f 'mapextractor' 'vmap4extractor' 'vmap4assembler' 'mmaps_generator' && cd ~ && sync+  cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && mv -'dbc' 'maps' 'Cameras' 'vmaps' 'mmaps' ~/'Projects/TrinityCore-335/run/bin' && rm -f 'mapextractor' 'vmap4extractor' 'vmap4assembler' 'mmaps_generator' && cd ~
  
 ==== Check Files ==== ==== Check Files ====
Line 123: Line 121:
   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 =====
  
-  cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files (x86)/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'Buildings' 'mapextractor' 'vmap4extractor' 'vmap4assembler' 'mmaps_generator' 'WoWDL.lnk' && cd ~ && sync+  cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && rm -Rf 'Buildings' 'mapextractor' 'vmap4extractor' 'vmap4assembler' 'mmaps_generator' 'WoWDL.lnk' && cd ~
  
-  gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files (x86)/World of Warcraft 3.3.5a.12340'*'/'+  gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/'
  
 ===== World Database ===== ===== World Database =====
Line 136: Line 134:
  
   * https://github.com/TrinityCore/TrinityCore/releases   * https://github.com/TrinityCore/TrinityCore/releases
-  * Download the latest ''TDB 335'' ''.7z'' with a web browser +  * Last tested: ''TDB_full_world_335.24111_2024_11_22.7z''
- +
-  * Expects something like ''TDB_full_world_335.24111_2024_11_22.7z'' in ''~/Downloads''+
  
-  rm -Rf ~/'Projects/TrinityCore-335/run/bin/TDB_full_world_335.'*'.sql' && cd ~/'Projects/TrinityCore-335/run/bin' && 7za x ~/'Downloads/TDB_full_world_335.'*'.7z' && cd ~+  rm -~/'Projects/TrinityCore-335/run/bin/TDB_full_world_335.'*'.sql' && 7za x ~/'Downloads/TDB_full_world_335.'*'.7z' -o$HOME/'Projects/TrinityCore-335/run/bin'
  
 ====== Settings ====== ====== Settings ======
/srv/www/wiki/data/attic/servers/linux/games/trinitycore_3.3.5_localhost.1756192942.txt.gz · Last modified: by Sean Rhone