Files
moonwell-core-vanilla/contrib/vmap_extractor
ratkosrb 39afde5307 Implement pathing on elevators and improve extractors. (#1206)
* Implement GAMEOBJECT_TYPE_TRANSPORT serverside position simulation

https://github.com/cmangos/mangos-classic/commit/a0a9ebfb641146d347c10d2bd6348c560914d2ed

* Implement Boarding and Unboarding for GO type 11 TRANSPORT

https://github.com/cmangos/mangos-classic/commit/3b3ff84751f264a06b1ed92c5d439c756404e8af

* Fix issues with boats.

* Rename DARK_WATER to DEEP_WATER.

Cherry picked from https://github.com/cmangos/mangos-classic/commit/bf00a047bed5fdf736f3308a1d8b2947ac11a3c3

* Mmap generation improvements

https://github.com/cmangos/mangos-classic/commit/ee121a78542f28acfe152a89c8f4e9e8cb28ef50

* Replace use of 'new' with CreateGameObject.

* Implement Gameobject model mmap extraction and loading

https://github.com/cmangos/mangos-classic/commit/91291db3928feff80fa9066f65dea08ec551169a

* MMAP: Add mmap extractor option to only extract GO models

https://github.com/cmangos/mangos-classic/commit/add3e1f6e5b9cfa67454eaf1367c65f6ae032917

* Rename a few local variables in buildGameObject to match cmangos.

https://github.com/cmangos/mangos-classic/commit/ac98ef2cc9ee52ba425af35fe15c20f46686dd5c

* Implement support for transport pathfinding and teleporting onto transport

https://github.com/cmangos/mangos-classic/commit/d6bb14ce3dd394ee0b6d5c08e034c35775e8e63e

* MMap: Adjust default parameters in favor of proper extraction of gameobjects

https://github.com/cmangos/mangos-classic/commit/15ba386aac01ccac95c40d5a196ecd1e5b595ac8

* MMap: Add building of all transports

https://github.com/cmangos/mangos-classic/commit/99fcbe1a58ee61ac3a1904cd1cb015a7c0e86ab4

* Transport: Make movementInfo pos and tpos reference

https://github.com/cmangos/mangos-classic/commit/ff0df5e811f7f1ad5753778b94d5b6b0ca6d047d

* Transport: Add readout to HandleGPSCommand for transport pos

https://github.com/cmangos/mangos-classic/commit/c2cb0050f412b174cf2d359c47b086b1f6c7bf6d

* Transport/Object: Minor refactor of position fetching for UPDATEFLAG_HAS_POSITION

https://github.com/cmangos/mangos-classic/commit/f758a22f39bbf46af8b4a2d2514fa99c09e37b75

* Transport/MMAP: Add help output for new --onlyGO switch

https://github.com/cmangos/mangos-classic/commit/0f8a8d1bd8ad03ba9285499118c77b2589d5b85b

* Increase visibility range of transports.

* Do not use UPDATEFLAG_TRANSPORT for corpses

https://github.com/cmangos/mangos-classic/commit/018bccf6ca43338d098ae8b996c26bc867c784ec

* Transport: Fix order and sign of transport type 11 coordinates

https://github.com/cmangos/mangos-classic/commit/f8002fe061811805fc3f6f27087481be9e834759

* Transports: Remove redundant if (GetGoState() == GO_STATE_READY) block in TBC

https://github.com/cmangos/mangos-classic/commit/36c8c2dfd380b331667cee463e04d8f7747f7266

* Transports: Fix orientation of GO type 11 in vanilla and tbc using proper quat computation

https://github.com/cmangos/mangos-classic/commit/08004564acaeee6e20e76180a1073c4eb1f17c20

* Vmap: Search upward for finding height if below is nothing

https://github.com/cmangos/mangos-classic/commit/c124b3eb8579ae2dcbf1d8ab30ee5249701fad9e

* MapExtraction: Fix water height redundancy algorithm ignoring no water

https://github.com/cmangos/mangos-classic/commit/9b39a41774b145bcb1e5a49038a030f6739d91a9

* VMAP: Replace string* with vector of strings

https://github.com/cmangos/mangos-classic/commit/884452ef54cc265d326dc56e6cef3994794c3db

* Vmap: Port MOPY flag usage from TC and introduce back mogpflag usage for lighting groups

https://github.com/cmangos/mangos-classic/commit/0666136d0d6cc6843fad1eb4286aee83df1dea01

* Vmap: Introduce skipping of antiportals

https://github.com/cmangos/mangos-classic/commit/2cee1027baeebef3646b2645ec95d8d079e6da89

* Transports: Also print orientation in gps command

https://github.com/cmangos/mangos-classic/commit/6effe3f0786bf1d67a722f7379cc533083247475

* Mmap: Do not register and extract GO displayid 462 and 562

https://github.com/cmangos/mangos-classic/commit/328ef02c05a36867772c08f3cb3d8de116719619

* Increase map version.

* Fix version check.

Co-authored-by: Killerwife <killerwife@gmail.com>
Co-authored-by: Laizerox <dpetmanson@gmail.com>
2021-06-01 19:18:40 +03:00
..
2017-03-10 00:38:11 +03:00
2017-03-10 00:38:11 +03:00
2017-03-10 00:38:11 +03:00

Linux:

1. Building

	Because vmap_extractor depends on libmpq for reading mpq files, you will have
	to build libmpq prior to vmap_extractor. Therefore cd to dep/libmpq and execute:

	$ ./autogen.sh
	$ ./configure
	$ make

	After that, cd to contrib/vmap_extractor/ and execute:

	$ cmake .
	$ make

	You should now have an executable file at vmapextract/vmapextractor

2. Extracting

	Use the created executable to extract model information. Change the data path if
	needed.

	$ vmapextract/vmapextractor -d /mnt/windows/games/wow/Data/

	Resulting files will be in ./Buildings

###########################
Windows:

1. Building

	Just build the solution in contrib\vmap_extractor\win
	Resulting binaries will be in contrib\vmap_extractor\bin\$(PlatformName)_$(ConfigurationName)

2. Extracting

	Use the created executable (from command prompt) to extract model information.
	It should find the data path for your client installation through the windows registry,
	but the data path can be specified with the -d option.

	Resulting files will be in .\Buildings