Jump to content

Looking for a way to skip the launcher


Solariz

Recommended Posts

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 settings
  • the 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 by Solariz
Link to comment
Share on other sites

  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

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

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 start
  • Groups (Mod creators can set a default group in their .XComMod file)
  • Basic compability check
  • Can 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 workshop
  • Edit mod .ini files ? (if I find the time)
  • GitHub
Edited by Solariz
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...