entry_world.sh 435 B

123456789101112131415
  1. #/bin/sh
  2. set -e
  3. if [ ! -f "/data/maps/done" ]; then
  4. mkdir -p /data/maps
  5. cd /data/raw_maps
  6. /data/TrinityCore.install/bin/mapextractor -o /data/maps/
  7. cd /data/maps
  8. /data/TrinityCore.install/bin/vmap4extractor -d /data/raw_maps/Data/
  9. mkdir -p vmaps
  10. /data/TrinityCore.install/bin/vmap4assembler Buildings vmaps
  11. /data/TrinityCore.install/bin/mmaps_generator
  12. cd /data/TrinityCore.install/bin
  13. fi
  14. touch /data/maps/done
  15. ./worldserver