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 > Resources > Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 01-13-2006, 09:52 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 Widgetizer

The Widgetizer 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 (up to 80 percent).

The latest version is 1.9.0.3, don't use older versions please.

Bug Reports and Comments
Advanced Tutorial

You can download the latest version below. Included are the normal Widgetizer and a command line version aka BatWidgetizer.

Download

...
Attached Images
File Type: gif widgetizer.gif (1.6 KB, 4505 views)

Last edited by PitzerMike : 04-13-2008 at 09:34 AM.
PitzerMike is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-20-2007, 07:55 PM   #2
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

Some additional infos:
How to choose the correct input files
__________________
Zoom (requires log in)

Last edited by PitzerMike : 07-20-2007 at 07:56 PM.
PitzerMike is offline   Reply With Quote
Old 08-09-2007, 02:10 AM   #3
ClichesAreSt00pid
User
 
Join Date: Jan 2007
Posts: 157

ClichesAreSt00pid has little to show at this moment (4)

Default

Download doesn't work.

Last edited by ClichesAreSt00pid : 08-09-2007 at 02:13 AM.
ClichesAreSt00pid is offline   Reply With Quote
Old 08-09-2007, 02:40 AM   #4
Veev
User
 
Join Date: Nov 2006
Posts: 199

Veev will become famous soon enough (63)Veev will become famous soon enough (63)Veev will become famous soon enough (63)

Default

Download works fine if you Right-Click and select "Save Link As..." in Firefox (latest version).

Last edited by Veev : 08-09-2007 at 02:41 AM.
Veev is offline   Reply With Quote
Old 11-12-2007, 05:07 PM   #5
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Yo Mike.
I am pissed at you man.

Your widgetizer fucks-up my game interface strings.

I attached original and widgetized versions below for your sexual pleasure.

-----
Btw I don't need you to tell me it is because I used new-line characters in strings, I know that.
No I don't want to use |n , I want you to fix it.

or else ...
Attached Files
File Type: txt war3mapSkin.txt (845 Bytes, 179 views)
File Type: txt war3mapSkin-widgetized.txt (756 Bytes, 144 views)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 11-12-2007 at 05:08 PM.
cohadar is offline   Reply With Quote
Old 11-13-2007, 09:59 PM   #6
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

Ok. I will take a look at it when I can.

Oh, in case you weren't aware a short reminder: Widgetized skin/misc data doesn't get loaded from the map, so it's only useful if you have a custom loader for the files.
__________________
Zoom (requires log in)

Last edited by PitzerMike : 11-13-2007 at 10:05 PM.
PitzerMike is offline   Reply With Quote
Old 11-14-2007, 07:19 AM   #7
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by PitzerMike
Oh, in case you weren't aware a short reminder: Widgetized skin/misc data doesn't get loaded from the map, so it's only useful if you have a custom loader for the files.

I totally don't understand what this means?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-14-2007, 08:08 AM   #8
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 saying that some files like GlobalStrings.fdf do not get loaded by war3 (when they are imported into a map), because they are loaded already at startup. You would need a custom loader to actually get the changes in-game, something like MPQDraft or Loadmpq from Grimoire.

Other files like CommandStrings/Func work fine.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 11-14-2007, 01:54 PM   #9
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Ah this is referring to standard game files that are being replaced by users custom ones?

I only imported/replaced CommandStrings.txt and CommandFunc.txt
do I need a custom loader for that?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-14-2007, 06:50 PM   #10
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 cohadar
Ah this is referring to standard game files that are being replaced by users custom ones?

I only imported/replaced CommandStrings.txt and CommandFunc.txt
do I need a custom loader for that?

You don't need one. The files you mention work fine.

I was under the impression that you used Constants=1 in the ini (which moves changes from war3mapSkin.txt and war3mapMisc.txt to the respective files). That's why I brought it up. Now that I have looked at your files I noticed that you hadn't used that option anyway, so there's nothing to worry.

Regarding the files you provided. There's something strange about your input file. It conains single carriage returns without a linefeed. Why is that? And when i tried it in a map it didn't even work (I mean the input file), the displayed tooltip in-game just ended where the single CR was.

I realized that I need to replace CRLF with |n (which is already done for object files, but I apparently forgot this for the interface strings). But even then your input file wouldn't compile properly because it doesn't contain CRLF but only CR which is not expected.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 11-14-2007, 09:24 PM   #11
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by PitzerMike
Regarding the files you provided. There's something strange about your input file. It conains single carriage returns without a linefeed. Why is that? And when i tried it in a map it didn't even work (I mean the input file), the displayed tooltip in-game just ended where the single CR was.

I realized that I need to replace CRLF with |n (which is already done for object files, but I apparently forgot this for the interface strings). But even then your input file wouldn't compile properly because it doesn't contain CRLF but only CR which is not expected.

I totally avoid that ini file.

I don't have any idea how that single CR came into existence.
Strings in war3MapMisc are usually externalized:
Code:
[Errors]
Nofood=TRIGSTR_005
Notownportalhalls=TRIGSTR_006

[FrameDef]
DAMAGETIP_SIEGE=TRIGSTR_007

CR is a newline character on linux btw.... (probably mac too)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-14-2007, 09:58 PM   #12
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 1.8.0.2

Well, I've had this 1.8 update sitting around on my harddisk for a while already.
This + the fix for cohadar's problem = 1.8.0.2 release.

CHANGES IN 1.8.0.2

- Fixed trouble with linebreaks in interface strings (cohadar)
- Fixed a problem where buffs could be erased although they were needed, eg. Unholy Frenzy buff (Dark One)
- Added detailed instructions and a tool to obtain the proper input files
- Fixed a bug in the w3i parser that could cause an out of memory exception
- Cooldown group references are not followed any more (Icefrog)
- Fixed a problem with resolving references for abilities with less than 4 levels (Icefrog)
- Added reference tracing option to help resolve the reason why apparently unused objects do not get removed (Icefrog)

Regarding the reference tracing: Check out the ReferenceLog.txt in the output folder to find out why objects didn't get removed, although you think they're not needed.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 11-27-2007, 09:54 PM   #13
DreamRaider
User
 
DreamRaider's Avatar
 
Join Date: Nov 2007
Posts: 186

DreamRaider has little to show at this moment (4)

Send a message via MSN to DreamRaider
Default

I am not sure if this occured to anyone here yet but i had 1.7 i think last time and it screws up the model i think. The model doesn't appear at all. Not sure if 1.8 is fixed.
DreamRaider is offline   Reply With Quote
Old 12-22-2007, 07:02 PM   #14
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Why is my map having 350kb when I use widgetizer + wc3mapoptimizer
but it has only 300kb when I use only wc3mapoptimizer?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 12-22-2007, 08:12 PM   #15
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Because widgetized maps take a lot of godamn space?

Compare a bunch of SLK and txt files with a bunch of binary object files, and the files on a widgetized map need to contain all the objects in the game, not just the custom ones.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian 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 10:50 PM.


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