1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  3. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  4. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  5. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice

Campaign Processing Helper v1.1

Submitted by Shadow Daemon
This bundle is marked as approved. It works and satisfies the submission rules.
Campaign Processing Helper (CPH) is a program, which helps to optimize Warcraft III campaigns. Usually the manual process of optimization looks like that:
  • Extract map from the campaign file.
  • Run through Widgetizer.
  • Run through Optimizer.
  • Add optimized map to the campaign file.
  • Repeat steps 1-4 for other maps.
CPH automatizes this process. User just presses one button, and the program does the rest.

If you found any bugs or you have new ideas, feel free to post them here.

Copyright � 2012 Shadow Daemon (aka Spec).
Program uses SFMPQ.DLL by ShadowFlare.

Keywords:
w3n, campaign, optimizer, widgetizer, swdn
Contents

Campaign Processing Helper v1.1 (Binary)

Reviews
Moderator
Vengeancekael Date: 2012/Aug/24 18:56:41 Comment: [Approved] Very useful tool and also easy to use. Staff Contact - Rules
  1. Aeroblyctos

    Aeroblyctos

    Joined:
    Aug 14, 2006
    Messages:
    6,597
    Resources:
    24
    Models:
    1
    Packs:
    1
    Maps:
    22
    Resources:
    24
    Great, so you finally released this. I've tested this few times and it works perfectly. I recommend every campaign maker use this program.

    Awesome job, Shadow Daemon!
     
  2. Tirlititi

    Tirlititi

    Joined:
    Jul 11, 2010
    Messages:
    396
    Resources:
    12
    Models:
    6
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    12
    This tool makes the campaigns bug because Widgetized map shouldn't be used inside a campaign.

    I remind you the widgetizer's purpose.
    In normal maps, the datas are loaded this way :

    1) Load default War3 object datas,
    2) apply object editor transformations to them.

    In a widgetized map, object editor datas are transformed into raw Warcraft III object datas and are put in the W3 map with the good path so it replaces the default W3 object datas. So datas are loaded this way :

    1) Load replaced War3 object datas,
    2) object editor datas are not applied.

    But for campaigns, there is one more step :

    1) Load default War3 object datas,
    2) apply campaign object editor transformations,
    3) apply map object editor transformations.

    Using widgetized maps inside a non-widgetized campaign (there is no tool yet to widgetize campaign datas) will cause bug because the order of the transformation is screwed. I only tested what happens for 1 mission campaign but it might be worse when you change between 2 levels of the same campaign. The datas are loaded this way in that case :

    1) Load replaced War3 object datas (containing map's datas),
    2) apply campaign object editor transformations,
    3) map object editor datas doesn't do anything.

    In practical terms, if the map and the campaign both edit the same field of the same object, the campaign value will be the one applied.

    Therefore I suggest you to change the widgetizing part of the tool so it only widgetizes the campaign's datas. I say how to make that in this post. With that, only part of the objects are widgetized but it doesn't bug (and it should be the biggest part).
    If you widgetize both the campaign and the maps datas, then the map's datas will be read as "replaced War3 datas" and it will completly ignore the campaign's datas.

    Attached are 4 versions of the same campaign sample (campaign datas remove Witch's invisibility and Spellbreaker's spell-steal while map datas remove the Spellbreaker's Control-of-Magic and the Dragon-Ridder's Cloud) :
    The first is the normal campaign that WE gives,
    The second is the widgetized campaign with normal map,
    The third is the normal campaign with widgetized map (same as what your tool does for now),
    The last is the widgetized campaign with widgetized map.

    Thx for reading :ogre_haosis:.

    EDIT: The explanations are still relevant but the solution I gave has flaws (which do not figure in the test campaigns below). The best solution we found is to merge the campaign and map datas and widgetize them afterward.
     

    Attached Files:

    Last edited: Jun 5, 2012
  3. Shadow Daemon

    Shadow Daemon

    Joined:
    Nov 23, 2008
    Messages:
    184
    Resources:
    3
    Tools:
    3
    Resources:
    3
    I have read that post. I'd use all object (.w3*) data for widgetizing, not only ones you have mentioned. Also, some .w3* files may remain after process, so it is important to take them into account.

    Thanks for the explanation of how campaign data works. I'll update the tool as soon as possible.
     
  4. mijustin

    mijustin

    Joined:
    Apr 21, 2012
    Messages:
    44
    Resources:
    0
    Resources:
    0
    useful
     
  5. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    this tool can't protect maps inside the campaign, :/ or I just did something wrong?
     
  6. suhaild23

    suhaild23

    Joined:
    Jan 8, 2014
    Messages:
    39
    Resources:
    1
    Maps:
    1
    Resources:
    1
    srry if this seems off topic but ive been looking for a tool that can separate campaign maps into separate maps could you maybe tell me how
     
  7. suhaild23

    suhaild23

    Joined:
    Jan 8, 2014
    Messages:
    39
    Resources:
    1
    Maps:
    1
    Resources:
    1
    so i can make my own version of 2 player campaign war3
     
  8. Tirlititi

    Tirlititi

    Joined:
    Jul 11, 2010
    Messages:
    396
    Resources:
    12
    Models:
    6
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    12
    Yeah, this is 100% off-topic :)
     
  9. suhaild23

    suhaild23

    Joined:
    Jan 8, 2014
    Messages:
    39
    Resources:
    1
    Maps:
    1
    Resources:
    1
    dude i just typed in campaign on control-f this is what i found and dont know what to do