- Joined
- Jun 23, 2007
- Messages
- 4,066
The GUI does not work for me (chinese error popup) but the CLI version seems to work great.
(24 ratings)
The GUI does not work for me (chinese error popup) but the CLI version seems to work great.
What is the error message? The compatibility of the GUI does have many problems, and I am planning to rewrite the current GUI.
So if I understood you correctly this is sort of an optimizer? Can it protect maps?
So if I understood you correctly this is sort of an optimizer? Can it protect maps?
Thanks. It means that your OS miss the font it wants.Maybe new GUI can solve this problem.
I am also getting the same error.
Why wouldn't the font just be included in the package then? :x
And please provide some description in the config, how do I change it so that the error message is in English?
Thank you for the amazing tool, other than the GUI, it worked really well!Sorry, I am writing a new GUI now, so the current GUI is no longer maintained. Currently you can use the CLI version instead.
i don't think it happened with widgetizer.@ownlyme That happens with any SLK optimizer (like Widgetizer). The only solution currently is to force everyone to restart their game if they played another map before playing your map.
This happens because the global SLK table values get overwritten when playing an optimized map causing data to be different for everyone.
40% of the players desync *every time* when i optimize my map with this.
i tried it with vxoptimizer with old wc3 data and that one didnt cause desyncs (but i cant use that because you cant sell items then because of missing shop selection boxes or smth like that)
wc3 version: 1.29.2.9231 settings: slk format
[global]
lang = ${AUTO}
data_war3 = enUS-1.27.1
data_ui = enUS-1.27.1
data_meta = enUS-1.27.1
data_wes = enUS-1.27.1
[lni]
read_slk = false
find_id_times = 0
export_lua = false
[slk]
remove_unuse_object = false
optimize_jass = false
mdx_squf = false
remove_we_only = false
slk_doodad = false
find_id_times = 10
confused = false
confusion = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
[obj]
read_slk = false
find_id_times = 0
(i tried deactivating settings until i reached this point, no change)
when i deactivated (mdx_squf or slk_doodad, not sure), many (doodad?) models also went missing.
map: https://www.dropbox.com/s/mofxa1kgs4or7c0/Vamp Zero Turbo 6.00 raw.w3x?raw=1
i don't think it happened with widgetizer.
i used to optimize my map all the time with widgetizer (after the optimization with vxopt)
if there were that many desyncs, i would have noticed it earlier (trust me, i hosted it a LOT^^)
does that mean i just have to choose another format?
obj seems to load pretty long
40% of the players desync *every time* when i optimize my map with this.
i tried it with vxoptimizer with old wc3 data and that one didnt cause desyncs (but i cant use that because you cant sell items then because of missing shop selection boxes or smth like that)
wc3 version: 1.29.2.9231 settings: slk format
[global]
lang = ${AUTO}
data_war3 = enUS-1.27.1
data_ui = enUS-1.27.1
data_meta = enUS-1.27.1
data_wes = enUS-1.27.1
[lni]
read_slk = false
find_id_times = 0
export_lua = false
[slk]
remove_unuse_object = false
optimize_jass = false
mdx_squf = false
remove_we_only = false
slk_doodad = false
find_id_times = 10
confused = false
confusion = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
[obj]
read_slk = false
find_id_times = 0
(i tried deactivating settings until i reached this point, no change)
when i deactivated (mdx_squf or slk_doodad, not sure), many (doodad?) models also went missing.
map: https://www.dropbox.com/s/mofxa1kgs4or7c0/Vamp Zero Turbo 6.00 raw.w3x?raw=1
if slk causes so terrible desyncs, why did you write in the description that it's meant for final distribution?
when i run the commandline w2l.exe i get an error message saying
Commit: c65eb4ed10ab1d8acc2c613f60000130d23c64d5
Stack:
----------------------------------------
C:\Users\own\Desktop\W3x2Lni v2.3\w3x2lni_v2.3\bin\w3x2lni-lua.exe: (command line):1: unfinished long string (starting at line 1) near <eof>
----------------------------------------
edit: now im getting the error for the gui too (even after a windows restart), but the first time it worked.. Oo
deleting and unzipping the download again doesn't change anything
version 2.2.1 (command line) still works
as you can see from the settings i posted, i had already deactivated optimized doodads when i still got desyncs
now im using obj which is still pretty good compared to unoptimized, and probably even better than vxopt was.
the only bug i noticed was that some later levels of research had missing icons (green placeholder)
most weirdly, they don't even have a different icon at level 4 and other researches work just fine.. though they are the only researches (of those i've checked) that do have different icons at some levels.
when they reach level 6 respectively 5 (when they get a different icon) it works again.
if you want to check my map, it's improved masonry 4.. and combat training 4...
the only bug i noticed was that some later levels of research had missing icons (green placeholder)
most weirdly, they don't even have a different icon at level 4 and other researches work just fine.. though they are the only researches (of those i've checked) that do have different icons at some levels.
when they reach level 6 respectively 5 (when they get a different icon) it works again.
if you want to check my map, it's improved masonry 4.. and combat training 4...
Just 1 little suggestion:
In the gui, there is no option for extracting the current wc3 data.
Maybe some people are not so comfortable with using the command line, so I think it would be best if there was a button in the gui.
i found another bug:
when you use a higher level research requirement (above 4), the requirement gets ignored
here is a test map: https://www.dropbox.com/s/np27xa2xah2ll5x/Vamp Zero Turbo test raw.w3x?raw=1
enter "r" in the chat and watch the "ignited embers" research get unlocked (i set research time to 3 and it gives you resources)
(i placed an upgrade center just to the right of the portal)
when you optimized the map (i picked obj), level 4+ will ignore the technology requirement.
(i'm using the latest version, 2.3.1)
W3x2lni has inlined more than 17000 wts strings by converting your map. By contrast, shortened one or two long-string may not make you feel any change.i shortened my map info now but it doesn't load faster even though the program stated it when i converted to lni. I'm pretty sure there are a few buildings that exceed 299 characters though. But I'm not sure if it's even possible to reduce the loading time for my map. I probably just have too many researches, abilities (all with tons of levels) and units. (even though i preload very few)
It means that trigger data file("TriggerData.txt", extracted from your wc3) parsing fails. When convert to lni, W3x2lni converted your trigger from wtg to lml, it depends on your wc3's trigger data file. However, this file is built with many grammatical errors, so we have to support and ignore these errors. But in 1.29.0 Blizzard added some new grammatical errors in, so it parsed fails. We will support them in next version.also this: Didn't convert WTG - Trigger data error (no idea which trigger, impossible to fix when you have 100 triggers)
Ability 'ANdo' really has a field 'DataD' used by wc3, means "max creep level". However it is not visible in default WE. To make sure that the map can be opened in your WE, we used your WE config("abilitymetadata.slk", extracted from your wc3) when convert to Obj, so this field is droped after leaving the report. 'ANia' is same with 'ANdo'. By the way, in China ever WEer used YDWE witch has fixed all the cheats, so we didn't have these problem. For others, we have no idea and you can ignore these reports.when i convert to obj, i get weird error messages about abilities.
==========================
Invalid object data (7)
==========================
Ability ANdo - [datad]: [1]: 5
Ability ANia - [dataa]: [1]: 1.0 [2]: 2.0
Ability ANia - [datab]: [1]: 30.0 [2]: 45.0
Ability ANia - [datac]: [1]: 90.0 [2]: 90.0
Ability ANia - [datad]: [1]: 15.0 [2]: 22.0
Ability ANia - [datae]: [1]: 180.0 [2]: 180.0
Ability ANia - [dataf]: [1]: 0.2 [2]: 0.2
.... ANdo is not even changed. And i have no idea what the fields in ANia are. I don't recognize those values.
We do not intend to modify the semantics of the script. The risk is very large, the income is very small, and there is compatibility problem.I also have one more idea for the program: Maybe it could automatically replace those BJ functions with the native ones.
Need more infomation, it's better to be a demonstration.In my last game i also experienced that at some point in the game i could research "insta-rez" even though it requires "slayer-focus", but it's hard to reproduce because the requirement works by default. I now added "required level: 1" to the research, maybe that already fixes it.
After discussion, I think we have found a way to solve this problem.Ability 'ANdo' really has a field 'DataD' used by wc3, means "max creep level". However it is not visible in default WE. To make sure that the map can be opened in your WE, we used your WE config("abilitymetadata.slk", extracted from your wc3) when convert to Obj, so this field is droped after leaving the report. 'ANia' is same with 'ANdo'. By the way, in China ever WEer used YDWE witch has fixed all the cheats, so we didn't have these problem. For others, we have no idea and you can ignore these reports.
Ability 'ANdo' really has a field 'DataD' used by wc3, means "max creep level". However it is not visible in default WE. To make sure that the map can be opened in your WE, we used your WE config("abilitymetadata.slk", extracted from your wc3) when convert to Obj, so this field is droped after leaving the report. 'ANia' is same with 'ANdo'. By the way, in China ever WEer used YDWE witch has fixed all the cheats, so we didn't have these problem. For others, we have no idea and you can ignore these reports.
Why do you say so?but it is not friendly with maps that were built in MPQ Editor
Why do you say so?
Well, if you fill the map from 0 with files, they are added to (listfile), but the tool still thinks that some of them are missing, even though they are not, my mistake. I thought it was actually missing them, turns out it thinks it does, but it does not.
Meaning it does all it has, which is amazing. Actually, i should post a screenshot:
View attachment 299826
Sent you link in PM.Could you please show me your map?
You can have spells that have 50+ levels and slk optimization will still work as it does. Only initial level is actually the reason for lag, the rest are used solely as pointers.So if I don't want to convert to slk because some abilities have over 4 levels deep, the only optimization available is inlining wts file? The only option I see is read slk, but I guess it does wts inlining
You can have spells that have 50+ levels and slk optimization will still work as it does. Only initial level is actually the reason for lag, the rest are used solely as pointers.
It does WTS inlining only if any string exceed normal length.
All in all, just use slk optimization, it works as it should
Yes, it can. Also this is a very strange type of warning, it is the first time I see something like this. Basically it does not like that one buff is used for different purposes or just because two different spells use same buff, which is kinda strange.Well, even when I dont check any optimization on slk, map crashes on load when trying it. Would a warning cause it? Have 0 errors but have this warning:
Id [BUst] is conflicted between different objects - [Ability]HP증가 800 --> [Buff]Sleep (Stun)
Yes, it can. Also this is a very strange type of warning, it is the first time I see something like this. Basically it does not like that one buff is used for different purposes or just because two different spells use same buff, which is kinda strange.
It means `[Ability]HP증가 800` and `[Buff]Sleep (Stun)` use the same Id [BUst]. But I don't think it cause your map crashes, please show me your map, thank you.Well, even when I dont check any optimization on slk, map crashes on load when trying it. Would a warning cause it? Have 0 errors but have this warning:
Id [BUst] is conflicted between different objects - [Ability]HP증가 800 --> [Buff]Sleep (Stun)
It means `[Ability]HP증가 800` and `[Buff]Sleep (Stun)` use the same Id [BUst]. But I don't think it cause your map crashes, please show me your map, thank you.
It seems your map has many special usage, I'll try to support them.Sent in pm
Well, I converted to lni and checked all .ini files in table directory and can only see BUst mentioned once in ability.ini and once in item.ini (as one of the item abilities). Also, when trying to go from lni to either object or slk, throws error, attached log.