wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Warcraft Editing Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 03-30-2005, 02:08 PM   #1
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

I'm proud to finally announce the release of the Widgetizer.
You can download the latest compile (1.9.0.3) at http://www.wc3campaigns.net/showthread.php?t=79231 (1.3 MB)
It comes with the latest 1.21 source files of the english version. The readme explains how to use it with other versions or other languages.

A command line version of it is included in the above download.

Usage: BatWitgetizer <inputmap.w3x> [customconfigfile.ini]

Introduction to the hidden, advanced features of the Widgetizer:
http://www.wc3campaigns.net/showthread.php?t=78640


For those who don't know what the tool is supposed to do:

It converts the object data files in Warcraft maps to SLK tables and TXT files. Additionally the WTS strings of the map are internalized. This will result in a remarkable decrease of loading time (on maps with many customized objects).

Simply unrar all files to a folder and start the tool. To find out how to use the Widgetizer please read the readme.

If you are missing a dll or the VB 6 runtime files, you can get the runtime pack at http://www.wc3campaigns.net/tools/weu/RuntimeFiles.exe

CHANGES IN 1.9.0.3

- Fixed a problem with wrong default values for unchanged ability data introduced in a recent update
- Fixed a tooltip problem introduced in a recent update
- Fixed a problem with Names that originally contained commas
- Fixed a problem with slk strings starting with - which could cause crashes and not loaded models
- Fixed a bug where objects used in triggers had a chance to get erased
- Fixed a problem with multilevel tooltips

CHANGES IN 1.8.0.7

- Level 4 data is not put into the SLK anymore because that might screw up higher levels of the ability
This is because the level 4 columns in the SLK represent the default values for higher levels
- However if the ability has no more than 4 levels, level 4 can and will be put into the SLK
- Found a list of abilities that cannot be put into the SLK because they would get broken
Such abilities now stay in the w3a file as a whole (the most important is Command Aura)
- Made it so that all levels of profile data are externalized to the TXT file
This means that CustomKeys.txt files can be used to completely translate maps
However it also means that " characters are replaced with single quotes in strings
- Fixed a problem where profile data of base abilities had a chance to get lost

CHANGES IN 1.8.0.2

- Fixed trouble with linebreaks in interface strings
- Fixed a problem where buffs could be erased although they were needed
- Added detailed instructions and a tool to obtain the proper input files
- Fixed a bug in the w3i parser that could cause a out of memory exception
- Cooldown group references are not followed any more
- Fixed problem with resolving references for abilities with less than 4 levels
- Added reference tracing option to help resolve the reason why objects do net get cleaned

CHANGES IN 1.7.0.7

- Fixed purple boxes problem (for destructables and doodads mainly)

CHANGES IN 1.7.0.6

- Fixed a runtime error with the Clean TXT/SLK File option-
- Now supports natural linebreaks in strings in additoin to |n
- Fixed a problem with reasearches on the Temple of the Damned unit
- Hopefully fixed a problem with certain doodads showing up as checkered boxes in the game

CHANGES IN 1.7

- Fixed a bug where tech requirements were sometimes overlooked when scanning for referenced objects to keep
- Now using 1.20 input files
- Fixed problems with game interface and gameplay constants conversion

CHANGES IN 1.6

- In the INI file you can now exclude certain object ids and change ids from the conversion
- Added capability of converting game interface and gameplay constants data
- Added capability of replacing the ids of changed objects
- Added capability of keeping comments in the resulting files
- Fixed a problem with CustomKeys.txt files
- Fixed a problem that changed the experience gain rate of certain heros
- Fixed a problem with ability levels of 4 and above
- Fixed a problem that removed certain required buffs
- Changed the default dataset to to Custom_V1 dataset

CHANGES IN 1.5

- Added an option to keep objects referenced with triggers
- Made the remove unused objects checkboxes independent of the other settings

CHANGES IN 1.4.0.2

- Added seperate options to remove unused objects for each object type
- Fixed a bug that caused upgrade requirements for level 2 or higher to disappear
- Fixed a bug that caused extended tooltips for abilities and upgrades with more than one level to get
screwed up sometimes
- Fixed a bug that screwed up tinting colors of doodads with more than one variation

CHANGES IN 1.4

- Fixed a problem with inherited ability values that caused ability levels of 5 and higher to get
screwed up
- Incresed the hashtable sizes so it won't fail on maps with a large number of objects
- Added the HashtableSizes entry to the ini file to make the hashtable sizes customizable

Have Fun!
PitzerMike

Last edited by PitzerMike : 04-13-2008 at 09:35 AM.
PitzerMike is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 03-30-2005, 02:59 PM   #2
Ryude
User
 
Join Date: Oct 2004
Posts: 232

Ryude is on a distinguished road (17)

Send a message via AIM to Ryude
Default

HURRAY, Greatest Tool in History besides Lord Vexorian's tool that is :-P
__________________
ROC DOTA Editor
------------------
I edit ROC maps, currently making a new AoS whisper me if you'd like to help.
Ryude is offline   Reply With Quote
Old 03-30-2005, 07:28 PM   #3
Panto
LASER DRAGONS IS RELEASED
 
Panto's Avatar


Development Moderator
User Project: Panto
 
Join Date: Mar 2003
Posts: 3,167

Submissions (2)

Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)

Approved Map: Call to Arms

Default

This is the biggest boon to sophisticated maps and mods since the release of TFT.
__________________
Pantokrator Maps forum.
LASER DRAGONS RELEASED!.
"One good test is worth a thousand expert opinions." Wernher von Braun
"The perfect is the enemy of the good." Voltaire
"When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." C.S. Lewis
Panto is offline   Reply With Quote
Old 03-30-2005, 07:57 PM   #4
Taur
#8 in posting (nolifeftw)
 
Join Date: Jul 2005
Posts: 4,027

Taur is a jewel in the rough (215)Taur is a jewel in the rough (215)Taur is a jewel in the rough (215)Taur is a jewel in the rough (215)

Default

is this compatible, with the other such tools, such as vex's and those other smaller tools, such as the WTS inliner
Taur is offline   Reply With Quote
Old 03-30-2005, 08:03 PM   #5
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Quote:
Originally Posted by darkhorde
is this compatible, with the other such tools, such as vex's and those other smaller tools, such as the WTS inliner

Yes they are compatible. Although the WTS inliner won't be needed, as the Widgetizer also offers an option to inline wts strings.

Regarding Lord Vexorian's optimizer: I recommend you to first run the Widgetizer on your map, and then use his optimizer afterwards. Should give you better results.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 03-30-2005, 08:55 PM   #6
Strategy Master
Great Sage
 
Strategy Master's Avatar


Project Leader: AMAI
 
Join Date: Jun 2003
Posts: 709

Submissions (1)

Strategy Master has a spectacular aura about (77)Strategy Master has a spectacular aura about (77)Strategy Master has a spectacular aura about (77)

Default

At last. The masterpeice is revealed

great work PitzerMike
__________________
Strategy Master is offline   Reply With Quote
Old 03-30-2005, 10:26 PM   #7
escpy
User
 
Join Date: Jul 2005
Posts: 65

escpy has little to show at this moment (0)

Default

good tool .. good job
__________________
escpy is offline   Reply With Quote
Old 03-31-2005, 06:01 AM   #8
Ryude
User
 
Join Date: Oct 2004
Posts: 232

Ryude is on a distinguished road (17)

Send a message via AIM to Ryude
Default

Can we expect better SLK optimization next version?
__________________
ROC DOTA Editor
------------------
I edit ROC maps, currently making a new AoS whisper me if you'd like to help.
Ryude is offline   Reply With Quote
Old 03-31-2005, 06:42 AM   #9
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Quote:
Originally Posted by Ryude
Can we expect better SLK optimization next version?

How should the SLK optimization be better?
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 03-31-2005, 07:00 AM   #10
Ryude
User
 
Join Date: Oct 2004
Posts: 232

Ryude is on a distinguished road (17)

Send a message via AIM to Ryude
Default

You can reduce alot more filesize by deleting unused fields.

For example, almost all of the abilities have X23;K" ", or " - ", or something that is not used.

You can just delete the field entirely and it will work fine.

Edit: Lord Vexorian's crashes after using Widgetizer by the way.
__________________
ROC DOTA Editor
------------------
I edit ROC maps, currently making a new AoS whisper me if you'd like to help.
Ryude is offline   Reply With Quote
Old 03-31-2005, 07:22 AM   #11
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

can't find K" " anywhere

but you're right that there's often K" - " but you'd be surprised how it fucks up certain spells if you don't place those hyphens
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 03-31-2005, 07:26 AM   #12
Ryude
User
 
Join Date: Oct 2004
Posts: 232

Ryude is on a distinguished road (17)

Send a message via AIM to Ryude
Default

If you want to look at one of my SLK files, I have optimized many of the standard abilities and you can see what to remove and what not to.

Also, Sometimes this messes up buffs, doodads, destructibles, units, and items.

Abilities seem to come out fine though. The strings are sometimes removed completely from some entries.

Edit: Also, Widgetizer messes up some triggers, blanks buff models, destructible models, and replaces some buff icons

I hope you do not take anything I have said offensive. I am trying to help you find bugs and improve the tool. At the moment, I cannot use this tool because it has too many problems.

OPTIMIZED


UNOPTIMIZED
__________________
ROC DOTA Editor
------------------
I edit ROC maps, currently making a new AoS whisper me if you'd like to help.

Last edited by Ryude : 03-31-2005 at 07:42 AM.
Ryude is offline   Reply With Quote
Old 03-31-2005, 07:52 AM   #13
Archael
User
 
Join Date: Feb 2004
Posts: 2

Archael has little to show at this moment (0)

Default

This is a great tool, and the potential behind it is awesome. However, I have some comments that might help you improve it. I don't know WHY these errors occur, but they did.

I checked units, doodads, and destructibles, and ran the program.

All doodads with custom models turned into a big green box, IE their model got scrambled or blanked. Most destructibles, notably bridges, doors, and destructibles with custom models turned into boxes too. Some buffs got their icons turned into the Sammy! Shovelere.blp as well as had their tooltip's blanked. This left me unable to widgetize doodads, destructibles, and buffs.

Abilities are FINE, and you did a great job optimizing those, abilities Widgetized alone helps the map alot. They could be even smaller though, like posted above.

Additionally, any and all attempts to use Lord Vexorian's 2.7 after Widgetizing caused Lord Vexorian's to crash while it was working.

Using the Widgetizer AFTER running Lord Vexorian's works, but causes even more problems.

Note that I am aware that the usefulness of your tool SHOULD NEVER be measured on how compatible it is with Lord Vexorian's Optimizer, since your Widgetizer is a separate tool, but I am just pointing these things out, as I know less sensitive people won't care and will just put it down the moment Lord Vexorian's doesn't work on it.

Honestly, this program is the awenser to ALL problems in ANY custom map. This will easily be the best program ever made for wc3 maps, once it's in working order.

With just abilities, units, and destructibles (despite the bugs) it reduced load-time on Megalith (a mid-load time map) to about 5 seconds. That's amazing in my opinion.

Last edited by Archael : 03-31-2005 at 08:00 AM.
Archael is offline   Reply With Quote
Old 03-31-2005, 10:28 AM   #14
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Thanks, these problems shouldn't take long to fix. I'm sure Vex will also look into it.

I'll be greatful if you could upload the maps where you find problems and explain them in short, will help me a lot to eliminate bugs. Also tell me which options you checked.
Creating maps only to reproduce bugs unfortunately takes so much time :/

@Ryde: If "-" is safe to be removed I'll add this optimization. Maybe I was wrong and it was removing "_" that crashed the game, or maybe the problem has been fixed in one of the later patches.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 03-31-2005, 11:09 AM   #15
Ryude
User
 
Join Date: Oct 2004
Posts: 232

Ryude is on a distinguished road (17)

Send a message via AIM to Ryude
Default

If you need any unprotected maps that produced these bugs we can send them to you.

Don't forget pitzer that you can use invu and vuln instead of the full invulnerable and vulnerable. That alone will save 10kb over the course of about 50 abilities.

Edit: I'm not sure why, but I only use 83 fields and you use 95. I am wondering which one is wrong, probably mine. But mine works fine so I don't know -_-

I am making a website, and I wanted to know if I could host your tool on my site. I also would like to host vexorian's tool.
__________________
ROC DOTA Editor
------------------
I edit ROC maps, currently making a new AoS whisper me if you'd like to help.
Ryude is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 11:51 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2017, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services