Linux: extracting the game data on the Linux machine itself

A player self-hosting on Linux (Discord install-help, 2026-11-11) got stuck
at the data step: extract_client_data.sh wants mapextractor and the other
extractors, said only "build the worldserver first", and the Linux guide
builds with TOOLS=0, which leaves them out. The script now says to
configure with -DTOOLS=1 and which targets to build, and the guide shows
the extraction on the Linux machine for a client run under Proton or Wine.

(cherry picked from commit 3eb4821f19abddc228a4fc0f969c180cf9e22139)
This commit is contained in:
Karrz1
2026-11-12 00:50:15 +00:00
parent fb895ca040
commit 26a26415ff
2 changed files with 16 additions and 1 deletions
+13
View File
@@ -97,6 +97,19 @@ tar -cf - -C "PATH/TO/DATADIR" dbc gt maps vmaps cameras | ssh root@SERVER_IP "m
(~680 MB.)
If the game client is on the Linux machine itself (for example a desktop running the game under Proton or Wine), the data can be
extracted there instead. The extractors are only built with `-DTOOLS=1`, so configure with it (step 6 turns them off), build, and
point the script at the build's `bin` folder:
```
cmake .. -DCMAKE_BUILD_TYPE=Release -DTOOLS=1 -DWITH_WARNINGS=0
make -j2 mapextractor vmap4extractor vmap4assembler mmaps_generator
tools/extract_client_data.sh --client-path "/path/to/World of Warcraft/_forever_" --output-path /root/TrinityCore/build/bin
```
The data folders then lie in that `bin` folder; copy `dbc`, `gt`, `maps`, `vmaps` and `cameras` (and `mmaps` if made) to the data
folder of step 7.
## 8. Databases
All four databases are created by worldserver's auto-setup on the first start (section 10).
+3 -1
View File
@@ -99,7 +99,9 @@ fi
for bin in "${required[@]}"; do
if [[ ! -x "$OUTPUT_PATH/$bin" ]]; then
die "Required binary not found or not executable: $OUTPUT_PATH/$bin
Build the worldserver project first (cmake --build build)."
The extractors are built only with -DTOOLS=1: configure with it, then
cmake --build build --target mapextractor vmap4extractor vmap4assembler mmaps_generator
and pass the build's bin folder as --output-path (doc/LinuxServerSetup.md, step 7)."
fi
done