Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Solved] map protection

Discussion in 'Triggers & Scripts' started by Rugarus, Jan 6, 2020.

  1. Rugarus

    Rugarus

    Joined:
    Dec 2, 2016
    Messages:
    724
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Have a few questions about map deprotection. Theres a map that hasnt been updated in 5+ years and the developer has quit the community with no contact info.

    I want to fix some bugs and also add some new items and units.

    I managed to deprotect the map and imported object data from old versions.

    Now I can fix a few bugs by editing the jass script. But no matter what I try I cant seem to find the object data that the jass script uses. If I import the jass script into the map it ignores any changes I made to the map regarding units and items.

    Does anyone know where its storing the units, items in the mpq?

    In the jass script it creates the units in the script and places them, but what im wondering is where the script is getting the object data since it ignores all edits or additions I make to the maps object data.

    Thanks.
     
  2. sonphamthe11H

    sonphamthe11H

    Joined:
    Mar 6, 2017
    Messages:
    157
    Resources:
    0
    Resources:
    0
    use widgetizer like w3x2lni or pike's widgetizer to widgetize the map and u can find the name,value,etc in the txt and slk files
     
  3. Rugarus

    Rugarus

    Joined:
    Dec 2, 2016
    Messages:
    724
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Thanks
     
  4. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    26,128
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Possibly they were converted to .slk files. This is done by tools like w3x2ln or widgitizer. The reason for this is that .slk formatted object data could be made to load faster than its normal World Editor form.

    Slk files should be able to be edited by most spreadsheet software. Assuming there were properly formatted. The Warcraft III base data is stored in .slk format inside the CASC storage.
     
  5. Cheezeman

    Cheezeman

    Joined:
    Aug 19, 2008
    Messages:
    488
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    The unit and item data is stored in war3map.doo and war3mapUnits.doo. Use an MPQ archive viewer (there are several, use google and your best judgement), extract the files and read up on the w3x file format.

    ...unless the files have been converted to .slk. Then listen to super good guy above.

    Edit: I'm totally wrong, the custom objects file is called war3map.w3o
     
  6. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    26,128
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    The .doo files contain the data for the pre-placed unit and items. They do not contain object editor data.
     
  7. Cheezeman

    Cheezeman

    Joined:
    Aug 19, 2008
    Messages:
    488
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    I realized that seconds after I posted. I don't know why my edit isn't visible for you.