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. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  5. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  6. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  7. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  8. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  9. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  10. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  11. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

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,250
    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