mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10483] Finally add README to vmap_assembler
This commit is contained in:
parent
921dda56ba
commit
a3e62d43b0
2 changed files with 47 additions and 1 deletions
46
contrib/vmap_assembler/README
Normal file
46
contrib/vmap_assembler/README
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
Linux:
|
||||||
|
|
||||||
|
1. Building
|
||||||
|
|
||||||
|
cd to contrib/vmap_assembler/ and execute:
|
||||||
|
|
||||||
|
$ cmake .
|
||||||
|
$ make
|
||||||
|
|
||||||
|
You should now have an executable file vmap_assembler
|
||||||
|
|
||||||
|
2. Assembling vmaps
|
||||||
|
|
||||||
|
Use the created executable to create the vmap files for MaNGOS.
|
||||||
|
The executable takes two arguments:
|
||||||
|
|
||||||
|
vmap_assembler <input_dir> <output_dir>
|
||||||
|
|
||||||
|
Example:
|
||||||
|
$ ./vmap_assembler Buildings vmaps
|
||||||
|
|
||||||
|
<output_dir> has to exist already and shall be empty.
|
||||||
|
The resulting files in <output_dir> are expected to be found in ${DataDir}/vmaps
|
||||||
|
by mangos-worldd (DataDir is set in mangosd.conf).
|
||||||
|
|
||||||
|
###########################
|
||||||
|
Windows:
|
||||||
|
|
||||||
|
1. Building
|
||||||
|
|
||||||
|
Build the solution in contrib\vmap_assembler\
|
||||||
|
Resulting binaries will be in contrib\vmap_assembler\bin\$(PlatformName)_$(ConfigurationName)\
|
||||||
|
|
||||||
|
2. Assembling vmaps
|
||||||
|
|
||||||
|
Use the created executable (from command prompt) to create the vmap files for MaNGOS.
|
||||||
|
The executable takes two arguments:
|
||||||
|
|
||||||
|
vmap_assembler.exe <input_dir> <output_dir>
|
||||||
|
|
||||||
|
Example:
|
||||||
|
C:\my_data_dir\> vmap_assembler.exe Buildings vmaps
|
||||||
|
|
||||||
|
<output_dir> has to exist already and shall be empty.
|
||||||
|
The resulting files in <output_dir> are expected to be found in ${DataDir}\vmaps
|
||||||
|
by mangos-worldd (DataDir is set in mangosd.conf).
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10482"
|
#define REVISION_NR "10483"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue