Solariz Posted March 8, 2016 Share Posted March 8, 2016 (edited) Download Original post: Hi all, I was trying to make my own mod launcher, since, let's face it, the current one is pretty s***.But I've run into a few problems, most of which might be caused by steam, though. the launcher does not respect Default/XComModOptions.ini when loading the active mods (but instead loads it from the workshop?)which means it will overwrite what I set in my launcher, if I don't mirror the settingsthe launcher can not be skipped by starting XCom2.exe with the -FROMLAUNCHER flag, as steam will intercept it the call and redirect it to the launcher replacing the ModLauncherWPF.exe does not work either, startup call is still intercepted. Since I can't of anything else, I thought I'd ask for advice.Or maybe someone with a pirated version could try starting XCom2.exe with the -FROMLAUNCHER argument. Edited March 21, 2016 by Solariz Link to comment Share on other sites More sharing options...
davidlallen Posted March 9, 2016 Share Posted March 9, 2016 This guy posted just a few minutes before you:http://forums.nexusmods.com/index.php?/topic/3886170-alternate-modloading-method-without-launcher/ Link to comment Share on other sites More sharing options...
Solariz Posted March 9, 2016 Author Share Posted March 9, 2016 Yeah, I saw it just now. It's a pretty hacky solution for the first two bullet points, but it just might have to do... Link to comment Share on other sites More sharing options...
Solariz Posted March 10, 2016 Author Share Posted March 10, 2016 It works! For anyone interested: the solution was to use steamworks.NET to spoof steam into thinking the launcher belongs to the game. some WIP images... Link to comment Share on other sites More sharing options...
Drakous79 Posted March 10, 2016 Share Posted March 10, 2016 Looks great! Link to comment Share on other sites More sharing options...
FxsRMcFall Posted March 10, 2016 Share Posted March 10, 2016 That is really cool, I was going to suggest using the .net steamworks library but it looks like you figured that out already. The original design for the launcher called for many of the features you have there but was pared back during production. Class overrides are a good start for conflict detection, another thing to check for would be package name conflicts. Link to comment Share on other sites More sharing options...
Solariz Posted March 11, 2016 Author Share Posted March 11, 2016 Thanks for the kind words :) I already do check for package name conflicts - I throw an exception, haha Sadly the latest patch broke something, so I'll have to debug some more... Meanwhile: More screenshots... Link to comment Share on other sites More sharing options...
Bret1 Posted March 11, 2016 Share Posted March 11, 2016 looks realy good !i hate the vanilla launcher as it always forgets wich mods were activated when u start the game form the Dev-kit. And reactivating takes forever with this little window... Link to comment Share on other sites More sharing options...
Solariz Posted March 11, 2016 Author Share Posted March 11, 2016 (edited) If someone wants to play guinea pig, you can get the first version here.It will try to use steam to detect the game path, so if something fails, tell me. You can use Tools -> Import active mods for a quicker first time setup. Features:Doesn't take a minute to startGroups (Mod creators can set a default group in their .XComMod file)Basic compability checkCan delete ShaderCache files and src/XComGame directories (Tools -> Fix warnings)Cleans old ModOverride entries from XComEngine.ini Possible future features:Reorder / Load order (for now, you can edit the settings.json to change order)Get detailed infos from workshopEdit mod .ini files ? (if I find the time)GitHub Edited March 11, 2016 by Solariz Link to comment Share on other sites More sharing options...
Bret1 Posted March 11, 2016 Share Posted March 11, 2016 If someone wants to play guinea pig, you can get the first version here. The side says i need a key and should request it from the link owner ;) Link to comment Share on other sites More sharing options...
Recommended Posts