User Tools

Site Tools


servers:games:trinitycore_3.3.5_localhost

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:games:trinitycore_3.3.5_localhost [2024/03/06 23:05] – [MMaps] Sean Rhoneservers:games:trinitycore_3.3.5_localhost [2024/03/09 17:43] (current) – [Content] Sean Rhone
Line 6: Line 6:
  
   * These notes provide a local singleplayer server; for a traditional dedicated server see [[servers:games:trinitycore_3.3.5|these notes]]   * These notes provide a local singleplayer server; for a traditional dedicated server see [[servers:games:trinitycore_3.3.5|these notes]]
- 
-  * 2024/03/03: WIP: Needs linked to WoW client notes for launching, and desktop launcher save backup, and something for restore [[games:wine:diablo_2#saved_games_data|like Diablo 2]] 
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 51: Line 49:
 ====== Compile ====== ====== Compile ======
  
-  This compiles with GCC and not Clang+****
  
   rm -Rf ~/'Projects/trinity-335/build' ~/'Projects/trinity-335/run' && mkdir -p ~/'Projects/trinity-335/build' ~/'Projects/trinity-335/run' && cd ~/'Projects/trinity-335/build' && cmake ~/'Projects/trinity-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/trinity-335/run' -DTOOLS='1' && sync && make --jobs=$(nproc) install && sync   rm -Rf ~/'Projects/trinity-335/build' ~/'Projects/trinity-335/run' && mkdir -p ~/'Projects/trinity-335/build' ~/'Projects/trinity-335/run' && cd ~/'Projects/trinity-335/build' && cmake ~/'Projects/trinity-335/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/trinity-335/run' -DTOOLS='1' && sync && make --jobs=$(nproc) install && sync
  
 ====== Content ====== ====== Content ======
 +
 +  * :!: WoW Clients from sources other than [[https://wowdl.net/files/clients#wrath-of-the-lich-king|wowdl.net]] or known-authentic sources could come modified in ways that fail with certain server emulator checks ((2022/09/22: [[https://www.warmane.com/download|Warmane's Wrath of the Lich King client]] fails ''StrictVersionCheck=1'' and shouldn't be used))
  
 ===== DBCs, Maps, and Cameras ===== ===== DBCs, Maps, and Cameras =====
Line 161: Line 161:
  
   * See [[games:wine:world_of_warcraft_3.3.5#desktop_launcher|Desktop Launcher]]   * See [[games:wine:world_of_warcraft_3.3.5#desktop_launcher|Desktop Launcher]]
 +  * :!: Expects GNOME Terminal ((other Terminals and non-GNOME desktop environments untested))
  
 ==== authserver ==== ==== authserver ====
Line 166: Line 167:
 **** ****
  
-  cd ~/'Downloads' && sudo mariadb-dump --databases 'authserver' --result-file='localserver-authserver-databases-'$(date +%Y-%m-%d-%s)'.sql' && sudo chown $USER:$USER ~/'Downloads/localserver-authserver-databases-'*'.sql' && sync+  cd ~/'Downloads' && sudo mariadb-dump --databases 'authserver' --result-file='localserver-authserver-database-'$(date +%Y-%m-%d-%s)'.sql' && sudo chown $USER:$USER ~/'Downloads/localserver-authserver-database-'*'.sql' && sync
  
 ==== characters ==== ==== characters ====
Line 172: Line 173:
 **** ****
  
-  cd ~/'Downloads' && sudo mariadb-dump --databases 'characters' --result-file='localserver-characters-databases-'$(date +%Y-%m-%d-%s)'.sql' && sudo chown $USER:$USER ~/'Downloads/localserver-characters-databases-'*'.sql' && sync+  cd ~/'Downloads' && sudo mariadb-dump --databases 'characters' --result-file='localserver-characters-database-'$(date +%Y-%m-%d-%s)'.sql' && sudo chown $USER:$USER ~/'Downloads/localserver-characters-database-'*'.sql' && sync
  
 ===== Restore ===== ===== Restore =====
  
   * :!: This deletes the existing ''authserver'' and ''characters'' databases before restoring from backup   * :!: This deletes the existing ''authserver'' and ''characters'' databases before restoring from backup
 +  * :!: Only have a single ''authserver'' and ''worldserver'' ''.sql'' in ''~/Downloads'' ((more than 1 makes ''mariadb'' throw ''ambiguous redirect'')) ((TODO: See if there's a way to select a newer file either via timestamp or filename as ''%s'' should always increase?))
  
 ==== authserver ==== ==== authserver ====
Line 182: Line 184:
 **** ****
  
-  ls ~/'Downloads/localserver-authserver-databases-'*'.sql' && sudo mariadb --execute='DROP DATABASE authserver' && sudo mariadb --execute='CREATE DATABASE authserver' && sudo mariadb 'authserver' < ~/'Downloads/localserver-authserver-databases-'*'.sql' && sync+  ls ~/'Downloads/localserver-authserver-database-'*'.sql' && sudo mariadb --execute='DROP DATABASE authserver' && sudo mariadb --execute='CREATE DATABASE authserver' && sudo mariadb 'authserver' < ~/'Downloads/localserver-authserver-database-'*'.sql' && sync
  
 ==== characters ==== ==== characters ====
Line 188: Line 190:
 **** ****
  
-  ls ~/'Downloads/localserver-characters-databases-'*'.sql' && sudo mariadb --execute='DROP DATABASE characters' && sudo mariadb --execute='CREATE DATABASE characters' && sudo mariadb 'characters' < ~/'Downloads/localserver-characters-databases-'*'.sql' && sync+  ls ~/'Downloads/localserver-characters-database-'*'.sql' && sudo mariadb --execute='DROP DATABASE characters' && sudo mariadb --execute='CREATE DATABASE characters' && sudo mariadb 'characters' < ~/'Downloads/localserver-characters-database-'*'.sql' && sync
  
 ==== Reapply Permissions ==== ==== Reapply Permissions ====
/var/www/wiki/data/attic/servers/games/trinitycore_3.3.5_localhost.1709784357.txt.gz · Last modified: 2024/03/06 23:05 by Sean Rhone