• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Optimizer removes war3mapSkin.txt file

Status
Not open for further replies.
Level 25
Joined
Feb 2, 2006
Messages
1,686
Apparently Vexorian's optimizer removes the war3mapSkin.txt but somehow the interface values are still used. I have selected all string optimization options.

My file looks like this:
Code:
[CustomSkin]
CinematicBorder=UserInterfaces\Demon\CinematicBorder.blp
ConsoleInventoryCoverTexture=UserInterfaces\Demon\InventoryCover.blp
ConsoleInventoryNoCapacity=UserInterfaces\Demon\InventorySlotFiller.blp
ConsoleTexture01=UserInterfaces\Demon\Tile1.blp
ConsoleTexture02=UserInterfaces\Demon\Tile2.blp
ConsoleTexture03=UserInterfaces\Demon\Tile3.blp
ConsoleTexture04=UserInterfaces\Demon\Tile4.blp
EscMenuBorder=UserInterfaces\Demon\OptionsMenuBorder.blp
PlacementCursor=UserInterfaces\Demon\SpellAreaOfEffect.blp
CommandAttack=ReplaceableTextures\CommandButtons\BTNAttack1.tga
CommandMove=ReplaceableTextures\CommandButtons\BTNMove1.tga
CommandPatrol=ReplaceableTextures\CommandButtons\BTNPatrol1.tga
CommandHoldPosition=ReplaceableTextures\CommandButtons\BTNHoldPosition1.tga
CommandStop=ReplaceableTextures\CommandButtons\BTNStop1.tga
CommandPurchase=ReplaceableTextures\CommandButtons\BTNStop1.tga
QuestDialogBorder=UserInterfaces\Demon\OptionsMenuBorder.blp
ConsoleButtonPushedBackground=UI\Widgets\EscMenu\Undead\undead-options-button-background.blp
ConsoleButtonDisabledBackground=UI\Widgets\EscMenu\Undead\undead-options-button-background-disabled.blp
QuestDialogBackground=UI\Widgets\EscMenu\Undead\undead-options-menu-background.blp
QuestDialogButtonMouseOverHighlight=UI\Widgets\EscMenu\Undead\undead-options-button-highlight.blp
EscMenuDisabledCheckHighlight=UI\Widgets\EscMenu\Undead\undead-checkbox-check.blp
EscMenuCheckBoxPushedBackground=UI\Widgets\EscMenu\Undead\undead-checkbox-depressed.blp
EscMenuBackground=UI\Widgets\EscMenu\Undead\undead-options-menu-background.blp
EscMenuCheckBoxCheckHighlight=UI\Widgets\EscMenu\Undead\undead-checkbox-check.blp
EscMenuSliderThumbButton=UI\Widgets\EscMenu\Undead\undead-slider-knob.blp
EscMenuButtonPushedBackground=UI\Widgets\EscMenu\Undead\undead-options-menu-background.blp
EscMenuButtonBackground=UI\Widgets\EscMenu\Undead\undead-options-menu-background.blp
EscMenuButtonMouseOverHighlight=UI\Widgets\EscMenu\Undead\undead-options-button-highlight.blp
EscMenuButtonDisabledBackground=UI\Widgets\EscMenu\Undead\undead-options-button-background-disabled.blp
EscMenuButtonDisabledPushedBackground=UI\Widgets\EscMenu\Undead\undead-options-button-background-disabled.blp
ReplayCheckBoxCheck=UI\Widgets\EscMenu\Undead\undead-checkbox-check.blp
ReplayCheckBoxPressed=UI\Widgets\EscMenu\Undead\undead-checkbox-depressed.blp
SelectionCircle=Objects\StartLocation\StartLocation
IdlePeon=ReplaceableTextures\CommandButtons\BTNResStone.blp
ScoreScreenPlayerHuman=UI\Glues\ScoreScreen\scorescreen-hero-mountainking.blp
UpperMenuButtonTexture=UI\Widgets\Console\Undead\undead-console-buttonstates2.blp

[FrameDef]
AGILITY=TRIGSTR_677
COLON_AGILITY=TRIGSTR_678
QUESTSMAIN=TRIGSTR_17193
INTELLECT=TRIGSTR_681
INTELLIGENCE=TRIGSTR_682
COLON_INTELLECT=TRIGSTR_679
STRENGTH=TRIGSTR_683
COLON_STRENGTH=TRIGSTR_680
QUESTSOPTIONAL=TRIGSTR_6093
QUESTSTATUSLABEL=TRIGSTR_688
KEY_QUESTS=TRIGSTR_686
QUESTS=TRIGSTR_689
UPPER_BUTTON_QUEST_TIP=TRIGSTR_692
QUESTDESCRIPTION=TRIGSTR_687
UPKEEP_NONE=TRIGSTR_1944
QUESTNOTDISCOVERED=TRIGSTR_2453
QUESTNEEDTODISCOVER=TRIGSTR_2454
COLON_GOLD_INCOME_RATE=TRIGSTR_17352
COMPUTER_INSANE=TRIGSTR_2365
COMPUTER_NEWBIE=TRIGSTR_2366
COMPUTER_NORMAL=TRIGSTR_2367
COMPUTER=TRIGSTR_2364
TIME_OF_DAY_UBERTIP=TRIGSTR_2378
MINIMAPCREEPCOLORTOOLTIP_UBER=TRIGSTR_2371
UPPER_BUTTON_QUEST_UBER=TRIGSTR_2383
UPPER_BUTTON_LOG_UBER=TRIGSTR_17396
UPPER_BUTTON_MENU_UBER=TRIGSTR_17395
GOLD=TRIGSTR_2368
RESOURCE_UBERTIP_GOLD=TRIGSTR_2374
COLON_GOLD=TRIGSTR_2356
SCORESCREEN_TAB2=TRIGSTR_3415
COLON_HERO_ATTRIBUTES=TRIGSTR_3409
OVERVIEW_COLUMN1=TRIGSTR_3411
REQUIREDLEVELTOOLTIP=TRIGSTR_3412
DAMAGETIP_HERO=TRIGSTR_3403
DAMAGETIP_HERO_V0C=TRIGSTR_3404
DAMAGETIP_HERO_V0M=TRIGSTR_3405
RESOURCES_COLUMN1=TRIGSTR_2376
RESOURCE_UBERTIP_LUMBER=TRIGSTR_17394
LUMBER=TRIGSTR_2370
COLON_LUMBER=TRIGSTR_2362
UNDEAD=TRIGSTR_16775
COLON_UNDEAD=TRIGSTR_16774
UNDISCOVERED_QUEST=TRIGSTR_2380
INTELLECT_HILIGHT=TRIGSTR_2451
AGILITY_HILIGHT=TRIGSTR_2450
STRENGTH_HILIGHT=TRIGSTR_2452
BONUS_HPREGEN=TRIGSTR_2726
BONUS_HITPOINTS=TRIGSTR_2725
BONUS_MANAREGEN=TRIGSTR_2727
REQUIRESNEARHERO=TRIGSTR_2864
ALLIED_ONLY=TRIGSTR_2860
COLON_PRIMARY_ATTRIBUTE=TRIGSTR_2858
RESOURCE_TRADING=TRIGSTR_2866
OVERVIEW_COLUMN2=TRIGSTR_2863
SCORESCREEN_TAB3=TRIGSTR_2868
RESOURCES_COLUMN2=TRIGSTR_2867
ALLY_RESOURCES=TRIGSTR_2861
REQUIRESNEARPATRON=TRIGSTR_2865
COLON_STATUS=TRIGSTR_2859
IDLE_PEON=TRIGSTR_2862
IDLE_PEON_DESC=TRIGSTR_17393
REVIVE_AT_ALTAR=TRIGSTR_3414
DAMAGE_HERO=TRIGSTR_3402
ARMOR_HERO=TRIGSTR_3401
KEY_ALLIES=TRIGSTR_3410
ALLY=TRIGSTR_3408
ALLIES=TRIGSTR_3407
UPPER_BUTTON_ALLY_TIP=TRIGSTR_3416
PRIMARY_ATTRIBUTE=TRIGSTR_3406
ORC=TRIGSTR_11608
COLON_ORC=TRIGSTR_9376
NIGHT_ELF=TRIGSTR_11294
COLON_NIGHT_ELF=TRIGSTR_9362
ARMORTIP_HERO_V0M=TRIGSTR_17392
ARMORTIP_HERO_V0C=TRIGSTR_16062
ARMORTIP_HERO=TRIGSTR_1962

[Errors]
Goldandlumberfromally=TRIGSTR_2353
Goldfromally=TRIGSTR_2354
Lumberfromally=TRIGSTR_2355
Heromaxed=TRIGSTR_3399
HPmaxed=TRIGSTR_3400
Nogold=TRIGSTR_2349
Nolumber=TRIGSTR_2350
Nottownhall=TRIGSTR_3398
Inventoryfull=TRIGSTR_16048
STRING 16048 is an empty entry (one space character). When I replace the war3map.wts file by an English version which has the same entry as the German:
Code:
STRING 16048
{

}
The game shows "Inventory is full." instead. In the German map it shows nothing. I am just wondering what happens to the file and how it is integrated by the optimizer since the custom skin works perfectly. Does anybody know what happens and why my empty value does not work anymore?
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,191
Apparently Vexorian's optimizer removes the war3mapSkin.txt but somehow the interface values are still used. I have selected all string optimization options.
Are you sure it is being removed? The optimizer should be removing the list file so MPQ archive explorers might not be able to detect the names of uncommon files.

Otherwise it might be merging it into another file subject to similar parsing.
 
Status
Not open for further replies.
Top