Berserker,
Thanks for the tip of campaign index. What if it's a 3rd party campaign that I have only the h3c? Guess testing each of them is the only choice?
(09.11.2020 22:16)igrik Wrote: [ -> ]
То есть !!FU87052:P; и !!FU87053:P; больше не нужны?
Archer30, look at zamptext.txt or camptext.txt
Say, the map zone is Even way home
Long Live the Queen
Liberation
Song for the Father
Dungeons and Devils
Long Live the King
Spoils of War
Seeds of Discontent
Bracada
Islands
Krewlod
Nighon
Tatalia
Armageddon
A Life of A-d-v-e-n-t-u-r-e
Evil Way Home - 14-th item in the list
In the Wake of Gods
The Samaritan
Rise of the Necromancer
Unholy Alliance
Specter of Power
Item index is 14. In each campaign group item indexes start from zero.
(12.11.2020 23:06)daemon_n Wrote: [ -> ]То есть !!FU87052:P; и !!FU87053:P; больше не нужны?
Нужны. Я ошибся. Исправлю в своих сообщениях.
Berserker, I don't fully understand your way as it seems only works for the official campaigns. When it comes to 3rd party campaign, for example, Heroes Chronicles, I got confused. But anyway I figured out with IF:M.
HC - Masters of the Elements
Another question I would like to ask is about installmod.exe. What parameter should I use to insert text in list.txt with it (if I run a cmd)?
Trying to create a custom installer without Sydr's Mod Manager.
Archer30,
Edit - Campaign properties - Map: Armageddon
open zamptext.txt
Search for Argageddon:
// Armageddon Map Region Names
Armageddon A
Armageddon B
Armageddon C
Armageddon D
Armageddon E
Armageddon F
Armageddon G
Armageddon H
So Armageddon A = 0
Armageddon B = 1
Armageddon C = 2
...
installmod.exe "mod name"
You can open Mixed Neutrals.exe mod file with winrar and see sfx comments and settings. All my mods can be installed without mod manager.
Thanks
Berserker, now I understand how it works!
A small drawback is that installmod.exe triggers UAC, which makes an installer far more suspicious. For now, is there no way to have the same function as installmod.exe but without UAC warning?
Also, any idea about HE:L1/L2? They don't seem to work in the latest ERA (no need to check in a hurry, just reminding).
Welcome
Archer30, installmod is simpliest program, used for years. I don't know, why it triggers UAC at your side.
Quote:Also, any idea about HE:L1/L2? They don't seem to work in the latest ERA (no need to check in a hurry, just reminding).
I will recheck both, added to TODO, thanks.
HE:L1^^ is invalid syntax for Era 3+
I'll rewrite the command from scratch, but you will have to write HE:L1/^name^ (not slash, separating arguments).
Strange, so HE:L2 does work?

Then we have different results here.
The example you gave
isn't this the same as
the previous HE:L1 syntax (without /)?
I'm surprised that UAC does not trigger on your end with installmod.exe. How could it be? I use the OS with the most market share - Windows 10 Home btw.

It would be really handy if installmod.exe also remove the outdated mod folder with the name specified.
I use Windows 7 with UAC off. installmod should not trigger anything, unless you've installed the game on C drive in program files.
Update:
https://dropmefiles.com/RcmX5
Code:
[!] HE:L command was rewritten to support #/^...^ Era 3 syntax. Automatical adventure map redrawing was removed.
From now command supports any ERM string.
Berserker, thanks! Now HE:L works like a charm.
Hehe, you won't believe it unless I show a screenshot, check this one.
As you see, installmod.exe is with a "shield" on its icon, that's the mark for programs that triggers UAC. Also I don't think it matters which location I put it or my games, the program itself has been marked and will trigger UAC whenever it's run.
4. Right click on the desktop shortcut icon and select “Properties”. Select tab for “Compatibility”.
5. On “Privilege Level” at the bottom of this window: remove check from the box next to “Run this program as an administrator”.
Sorry
Berserker, I should have identified the cause sooner. The reason that installmod triggered UAC is becoz it's not from a known publisher.
So basically if a user clicks "yes" in this pop-up, installmods will run as it should, nothing more. But it looks suspicious. That's why I'm looking for an alternative way.
Archer30, I didn't received a single compliance on UNC for years. It's normal, that any new application without a company signature will trigger such a warning single time. Many people have UAC disabled.