X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
347 stars 51 forks source link

Autodetect Local Mods folder for WOTC #246

Open Iridar opened 3 years ago

Iridar commented 3 years ago

A fresh "installation" of AML automatically adds the Local Mods folder for vanilla XCOM 2:

..\steamapps\common\XCOM 2\XComGame\Mods

But not for War of the Chosen:

..\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\XComGame\Mods

I suggest that it should add both Local Mods folders automatically.

Dragon-32 commented 1 year ago

Would you really want two local mods folder? Why not just install in one? I've been using just the base game one for years. I just think it'd be needlessly confusing having two locations to check for an installed mod.

RevZero commented 1 year ago

Currently, AML just reads the existing the mod folders from the ini-file. It would not add XComGame\Mods if it wasn't there. On the other hand it would add both, if the game would automatically add them.

The steam mod folder is an exception. If it is not there, it will be added by AML. Not sure what the reasoning behind that was. The folder should also be automatically added, as soon as there are workshop mods. Otherwise it wouldn't work, would it?

Iridar commented 1 year ago

Would you really want two local mods folder? Why not just install in one? I've been using just the base game one for years. I just think it'd be needlessly confusing having two locations to check for an installed mod.

  1. When a modmaker compiles a WOTC mod in WOTC SDK, it will be copied into WOTC\XComGame\Mods folder, not the vanilla one.
  2. Highlander requires being loaded from the workshop folder or the XComGame\Mods folder, it will not work from any other folder. And I don't know if it will work in WOTC if loaded from vanilla XComGame\Mods.
  3. Third party mod installation instructions could just be saying "Unzip your mods into XComGame\Mods". Without specifying each specific folder. Having two XComGame\Mods folders, but loading mods only from one of them - that's needlessly confusing.
Dragon-32 commented 1 year ago

OK I see with 3, I'd hope the people for whom 1 and 2 are relevant would be capable of dealing with it.

I read the original suggestion as being "create the folder" but it's "create the folder and define in AML's config"?

Maybe Solariz created the Steam mod folder because they didn't want the Steamworks API to fall over? I don't recall it being mentioned in the early days.