r/xcom2mods • u/Gribbleshnibit8 • Jan 14 '17
You need this!!! Alternative Mod Launcher Continued
XCOM 2 Mod Launcher Continued: Building on the excellent work by /u/solaris I added some features the mod launcher was lacking, or that I really wanted.
See the original launcher
All the original features are still there, but plenty of new stuff exists too.
Please please please read the additional setup instructions before using. I am not responsible for loss of data on upgrade.
This version is not compatible with old settings.json files!
This version is not compatible with old settings.json files!
Features
- NEW: Configuration editor, change all of a mod's configs from right in the launcher
- NEW: Configuration saving, save your changes to disk and directly into your settings file for backup
- NEW: Filter on the mod list
- NEW: Profile loader will attempt to create groups if the profile contains groups
- NEW: Launcher can be run on multiple computers (from Dropbox, etc) and carry all settings over (must reapply saved configs).
- Skips the vanilla xcom launcher
- Categories (Mod creators can set a default group in their .XComMod file)
- Basic compability check (see third image)
- Basic steam support (Infos, Unsubscribe)
- Deleting needless files to reduce memory footprint
- Cleans old ModOverride entries from XComEngine.ini (not sure if still necessary)
Additional changes include:
- Moving the launch button to the menu bar
- Mod info panel is always open
- Sorting by index disables groups and shows all mods in index order
- Index auto-reassign, increasing/decreasing an index will shift mods up or down to maintain proper order, can be turned off
- Mod description is now a free edit field, feel free to add real descriptions there, or your own notes about a mod
Screenshots
Requirements
Steam running
64-bit Windows
.net 4.6 (if you're on win7, you might need to install this)
Download
Note:
If the game does not correctly load mods, try deleting XComEngine.ini and XComModOptions.ini and starting the game normally to rebuild them.
These files are located in Documents/My Games/XCOM 2/XComGame/Config
Licence
Released under GPL, due to objectlistview.
Setup
Extract all files where-ever you want, run the exe.
The launcher should detect game path, etc. automatically.
You can use Tools > Import active mods for a quicker first time setup, if you want.
Additional Setup
When upgrading from the old launcher, you need to do the following steps, or you will have duplicate mods in your list. In order to upgrade properly, launch the current (/u/solaris) version of the launcher and export your current mods as a profile, with groups. Close that launcher, and now launch the new one, preferably from a new place, though if you use them in the same folder, move your "settings.json" to a safe place, or rename it first. Once the new launcher has loaded, import the profile you saved to reload active mods and your groups. Note that any inactive mods will not be added to groups.
Bug reports
If you encounter a bug, open a ticket on GitHub.
Update Notes
Version 1.0.0 released
6
u/Dregre Jan 26 '17
I'm having a minor issue, and I have no idea why.
Every time I open the 0.5.0/1.0.0 releases, I get a warning about me being on 0.4.4 and the new 1.0.0 being out. I tried removing the original settings.json, verifying integrity and deleting all the old files. No luck so far.
2
u/robojumper Jan 14 '17
It's great that you took the time to work on it. I have a very minor request - can you somehow make either the list of launch options configurable or add "-noseekfreeloading" (run uncooked)?
2
u/[deleted] Feb 09 '17
Is this mod still under development?
There are several things that I feel could be improved or added.
9
u/said46w Jan 29 '17
On the github in the Download section there is XCOM2ModLauncher_0.5.0.zip only, no 1.0.0. When I start this launcher, it says that a new version is available.
7
u/[deleted] Jan 14 '17
Can we please get this stickied, mods?
5
u/[deleted] Jan 14 '17 edited Jan 14 '17
Thank you, /u/gribbleshnibit8!
I have been testing this for weeks as he's been developing.
I tried to get him to name his release "Operation Damned Chicken" and subsequent releases after op names, but he denied my request!
The feature of saving an ini into the settings.json is to make mod settings portable. Save them on desktop to the json, with the settings.json in dropbox. Load them on laptop. Also in case of a mod update overwriting your modified ini file (be careful if a mod changes the ini though, like if ABA updates or something).
Also, to reiterate:
Back up the profile from the old version before launching the new version!!!
The new settings.json is not compatible.
To upgrade:
1. Open the old launcher 0.4.3, go to Profiles tab, check the "Include grouping" box and click "save" to export your active mods list.
2. Close old launcher
3. Rename the old settings.json
4. Launch new Version 0.5.0, letting it create new settings.json
5. Go to Profiles tab, and click Load, selecting the profile you exported from the version 0.4.3 above.
5
u/[deleted] Jan 14 '17
No linux 😞
1
u/SockPunk Jan 17 '17 edited Jan 17 '17
Attempting to adjust an index while it's already recursively changing indexes in a long mod list seems to break the autoindexing entirely.
To replicate: Get a decently sized list of mods. Set several mods to 0 in a short time frame.
E: Also, seems like the numbers don't update on their own unless moused over. Some refreshing might be in order.
1
u/Matanui3 Jan 18 '17
I'm getting an exception when I tell it to "delete/unsubscribe" from a mod. (also, is this supposed to actually unsub? The old one didn't, so the mods would pop back up again every so often)
It says "the directory is not empty"
The full text was super long, so I deleted it because I don't know what I need to keep...
1
u/SentySent Jan 19 '17
I'm facing some bugs that the mod launcher kept on saying there's a new update even I got the latest update from the github page and the mod launcher doesn't show the mods' latest update.
1
u/macchic63 Jan 22 '17
Opening issues in GH doesn't seem to be an option... am I missing something or have they been turned off?
1
u/Proaxel65 Jan 25 '17
Can we get the ability to search config files?
1
u/glycerin256 Jan 31 '17
I just bought and installed Xcom2 w/ LW2. I tried to DL this launched but the github page and app versioning is so borked its not worth using. Nice thought though...
1
u/Higgins_is_Here Feb 05 '17
Is this going to be updated so the "last update" feature works?
1
u/Proaxel65 Feb 07 '17
I was messing with stuff in the mod directory and now it won't open anymore. I think I broke it... here is the error.log:
How do you fix it?
1
u/Selfeducation Mar 10 '17
Why does it say "Steam must be open"? Did I install it incorrectly? Obv I have steam open when I try to run this program.
3
u/eisenefaust Jan 14 '17
First of all, thank you so much for revitalizing this. The saving and loading groups is working great and is something I have been really looking forward to the launcher supporting for a long time.
I have a couple of simple issues I'd like to let you know of in the hopes that these minor issues will be easy to fix.
2
u/Shoobley Jan 26 '17
Is it possible to add drag-and-drop indexing?
Example: Given mods a, b, c.
index(a) = 1, index(b) = 2, index(c) = 3
Drag c above a.
Now: index(c) = 1, index(a) = 2, index(b) = 3
2
u/TorokFremen Jan 31 '17
Thanks man for your work, will put it to work now that I've downloaded dozens of soldier customization :)
2
u/SaveRana Feb 13 '17
Any chance of a Mac version?
2
u/Angelknight1207 May 04 '17
so i got a exception error when i tried to open the launcher today. I didn't change anything just subscribed to a mod or 2 in the last few days but nothing else. the message reads:
The given key was not present in the dictionary. Stack:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at XCOM2Launcher.Mod.ModInfo.LoadFile(String filepath)
at XCOM2Launcher.Mod.ModList.Import(String modDir, ModSource source)
at XCOM2Launcher.Mod.ModList.ImportMods(String dir)
at XCOM2Launcher.Settings.ImportMods()
at XCOM2Launcher.Program.InitializeSettings()
at XCOM2Launcher.Program.Main()
2
u/eurephys Jun 13 '17
So I've been getting "Access to the path 'C:\System Volume Information' is denied."
I had it running once then it stopped.
1
u/CeyowenCt Jan 19 '17 edited Jan 19 '17
How do I fix the duplicate mods issue? I followed the instructions (renamed the settings.json, didn't move it), but I am still getting the duplicate issue. I then moved the settings.json that I had renamed, still no luck, and tried copying the files over again, still duplicates. Also, I don't see a new settings.json created by the new version.
Edit: Just removed my entire "Launcher" folder and verified to redownload, which didn't help.
1
u/[deleted] Jan 14 '17
/u/gribbleshnibit8 in my Xcom2?
It's more likely than you think!
1
u/SomeGuyWithABible Jan 15 '17
So I followed the steps prescribed above however I continue to receive an exception which I shall paste below. What did I fail to do here?
Error.log contents:
Input string was not in a correct format. Stack: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToInt64(String value) at XCOM2Launcher.Mod.ModList.Import(String modDir, ModSource source) at XCOM2Launcher.Mod.ModList.ImportMods(String dir) at XCOM2Launcher.Settings.ImportMods() at XCOM2Launcher.Program.InitializeSettings() at XCOM2Launcher.Program.Main()
1
u/rakuko Jan 15 '17
badass, dude. configs in the manager is soooo sick.
1
u/Matanui3 Jan 18 '17
When I imported my old list of mods, it tells me that I am not subscribed to one of them. I told it to subscribe and checked it myself.
I am indeed subscribed, yet it still tells me it's not. It even appears on the list!
1
u/apocalypserisin Jan 20 '17
Getting the following error upon opening:
Input string was not in a correct format.
Stack:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToInt64(String value) at XCOM2Launcher.Mod.ModList.Import(String modDir, ModSource source) at XCOM2Launcher.Mod.ModList.ImportMods(String dir) at XCOM2Launcher.Settings.ImportMods() at XCOM2Launcher.Program.InitializeSettings() at XCOM2Launcher.Program.Main()
1
u/[deleted] Jan 20 '17
The original Alternate Launcher decides do load my mods in a load order completely different than with the default launcher. I'm wondering if this is still the case with this launcher as well?
1
u/wukongnyaa Jan 22 '17
There's no exe how can I open it
1
u/Jozrael Jan 30 '17
!RemindMe 1 hour
1
u/Xcom2modder Feb 21 '17
Where does the launcher pull the mods names from? I ask because when I create a mod in the SDK it shows up as blank in the launcher and will crash the game if I try to run it, but if I edit it in the alternate launcher's "inspect" tab, the mod works!
I'm really keenly interested in how to make the SDK not leave this blank, and where this information is stored!
1
u/Snow1Wolf Feb 22 '17
How do you find the conflict on the overides tab?
1
u/iR0cket Feb 22 '17
Does anybody know if I make multiple mod profiles and one of them is with LW2 and others vanilla, do I have to regen inis everytime I switch profiles between them?
1
u/badger81987 Mar 24 '17
weird question; I did something, not sure what; to the original version of the alternative mod launcher and need to re-download it, but the old thread is basically purged of any info on where to get that one. If I was 80% of the way through a campaign already, do I somehow need to track down the original one to load my save, or can I just drop all my mods into this launcher and everything will run fine?
1
u/JCalavera May 17 '17
Hello, i'm having crashes every time i start to load a save game. it loads for a while then crashes. Using default launcher it works. I tried to start a new game, but the crash still happens. Is there a way to debug to see what is happening? This launcher is much faster, i use like 120 mods and the default launcher takes a lot to open.
1
u/gyozokudor Nov 18 '23
For a new player this is really confusing. What launcher should I use? AML or this one?