Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Extracting Game Data


    antz

    Extracting Game Data

    This guide assumes that you have copied the contents of the tools folder (the result of a build of the source code) into the root of your client folder.
    i.e. Where launcher.exe and wow.exe are located !!

    1) Run 'ExtractResources.sh' and follow the onscreen prompts, you should choose the option to extract everything.

    2) You will be asked how many CPU's to use for extracting MMaps (1 to 4) - The more CPU's the faster the MMaps extraction

    3) You will then be asked whether you want to delay MMap extraction, just press enter for no delay.

    4) A summary will be shown of your choices, press enter to start or CTRL+C to cancel the script

    5) Several hours later you should see a message similar to:

    	Finished creating MoveMaps
    

    6) Navigate to the client folder and select the DBC, Maps, MMaps and VMaps folders and move them to your server folder

    7) The “Buildings” folder can be deleted.

     

    Edited by antz


    User Feedback

    Recommended Comments

    If you have Git installed, then you have the program able to execute Linux shell scripts. Start Git console, change directory (commands "cd" and "pwd" to check) to your client directory (where wow.exe file resides) and enter "./ExtractResources.sh" without quotes. But yes, this detail must be mentioned in the guide.

    • Like 1
    Link to comment
    Share on other sites

    I have tried this multiple times and it does not work. Client is on j:/WOW I try running the scripts and they do not work.

    If I run map-extractor works fine and i run vmap-extractor and populates buildings folder but nothing in vmaps.

    Does it require for it to be on C drive and can the name of the folder be changed like I did ?

    Link to comment
    Share on other sites

    Keep support in the forum on the site or in the Discord?

     

    Yes, that .sh file is a linux script and requires some form of bash on a Windows system, since it is already default on many Linux distros and Mac.  There is Git bash of course which seems easy enough for most users already working with the project source code.  There is also MinGW "Minimalist GNU for Windows".  I use Cygwin, and now there is an improved second iteration of the Windows Subsystem for Linux.

    I actually hope we use more of these type of scripts as the stronger scripting language than Windows Batch we have elsewhere, or even JS and Python too, anything but :).

    • Like 1
    Link to comment
    Share on other sites
    On 6/15/2020 at 1:08 PM, antz said:

    @Ghost007- As was mentioned elsewhere:


    - The extraction tools MUST BE PLACED IN THE FOLDER WHERE wow.exe is.
    - The folder can be located on any drive.

    Yes but my ExtractResources.sh script is not in the tools directory. It is one up in the bin directory. I would have thought it should be with the map extraction scripts in the tools directory. It is also not obvious to windows users that git bash exists, let alone what git is.

    Link to comment
    Share on other sites

    ExtractResources.sh script is not in the tools directory. It is one up in the bin directory. I would have thought it should be located in the tools directory. These instructions are not clear enough. I put the contents of the tools directory into the root of my wow folder on my windows machine.

    Running ExtractResources.sh produced the following and I cannot proceed further:-

      __  __      _  _  ___  ___  ___
     |  \/  |__ _| \| |/ __|/ _ \/ __|
     | |\/| / _` | .` | (_ | (_) \__ \
     |_|  |_\__,_|_|\_|\___|\___/|___/

     For help and support please visit:
     Website/Forum/Wiki: https://getmangos.eu
    =========================================================

    Current Extraction Settings: DBCs/maps: 1
                                     vmaps: 1
                                     mmaps: 1 using 2 processes

    If you don't like these settings, interrupt with CTRL+C

    Press any key to proceed

    Sat, Jan  9, 2021  7:43:23 AM: Start extracting data for MaNGOS
    DBC and map files will be extracted
    Vmaps will be extracted
    Mmaps will be extracted with 2 processes

    Sat, Jan  9, 2021  7:43:23 AM: Start extracting data for MaNGOS, DBCs/maps 1, vmaps 1, mmaps 1 on 2 processes

    Sat, Jan  9, 2021  7:43:23 AM: Start extraction of DBCs and map files...
    ./ExtractResources.sh: line 200: ./map-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:23 AM: Extracting of DBCs and map files finished


    Sat, Jan  9, 2021  7:43:24 AM: Start extraction of vmaps...
    ./ExtractResources.sh: line 210: ./vmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:24 AM: Extracting of vmaps finished


    Excluded maps: 13 25 29 35 37 42 44 169 451 598
      __  __      _  _  ___  ___  ___
     |  \/  |__ _| \| |/ __|/ _ \/ __|
     | |\/| / _` | .` | (_ | (_) \__ \
     |_|  |_\__,_|_|\_|\___|\___/|___/

     For help and support please visit:
     Website/Forum/Wiki: https://getmangos.eu
    ==========================================

    Sat, Jan  9, 2021  7:43:24 AM: Start creating MoveMaps
    Used params: --silent --offMeshInput offmesh.txt

    Detailed log can be found in MaNGOSExtractor_detailed.log
    Start creating MoveMaps

    ################################################################
    ##                                                            ##
    ##      BE PATIENT - This process will take a long time       ##
    ##                                                            ##
    ################################################################
    ##                                                            ##
    ##   There will also be periods where the display does not    ##
    ##   update, this is normal behavior for this process         ##
    ##                                                            ##
    ##  Once you see the message 'creating MoveMaps' is finished  ##
    ##  then the process is complete.                             ##
    ################################################################


    Build Summary:
    ===============
    2 CPUs selected:
    ===============
     CPU 1: Maps: 0 534 560 309 533 568 509 30 532 469 33 209 289 329 564 580 529 572 269 531 230 429 34 43 229 249 349 369 389 409 449 450 540 550 552 553 554 555 37 451 13 29 35 42 44 598 25
     CPU 2: Maps: 1 530 543 585 36 489 47 562 566 548 559 48 70 90 109 129 189 542 544 545 546 547 556 557 558 565 169

    Starting to create MoveMaps
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 1
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 0
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 530
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 534
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 543
    Sat, Jan  9, 2021  7:43:24 AM: (Re)created map 560
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 585
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 309
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 36
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 533
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 489
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 568
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 47
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 509
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 562
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 30
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 566
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 532
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 548
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 469
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 559
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 33
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 48
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 209
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 70
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 289
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 90
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:25 AM: (Re)created map 329
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 109
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 564
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 129
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 580
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 189
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 529
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 542
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 572
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 544
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 269
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 545
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 531
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 546
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 230
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 547
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 429
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 556
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 34
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 557
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 43
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:26 AM: (Re)created map 558
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 229
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 565
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 249
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 349
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 369
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 389
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 409
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 449
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 450
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 540
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 550
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:27 AM: (Re)created map 552
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:28 AM: (Re)created map 553
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:28 AM: (Re)created map 554
    ./MoveMapGen.sh: line 202: ./mmap-extractor: cannot execute binary file: Exec format error
    Sat, Jan  9, 2021  7:43:28 AM: (Re)created map 555


    Sat, Jan  9, 2021  7:43:28 AM: Finished creating MoveMaps

    Press any key

     

    Link to comment
    Share on other sites

    Hi Dave - Just ran into the same problem. Looks like you are using the 'tools' under 'home/mangos/sources/src/tools' - which do not work. You want the created install tools under 'opt/wow/mangos/install/bin/tools' - these ones work.

     

    Link to comment
    Share on other sites

    Hi, that has made no difference. The extracted maps still start with file 2692527.map

    They both appear to work but produce the same results in that they are missing the earlier maps. Notably the map that mangosd complains about is 0004331.map.

     

    Link to comment
    Share on other sites


    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use