Jump to content

Looking for a way to skip the launcher


Solariz

Recommended Posts

  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

From a software architecture standpoint, using a *screen* listener to affect *data* is just wrong. I have gone out of my way to remove screen listeners. I hope that solution does not become the only way to do certain things. For example, template modification is done much better with the ambient narrative trick, which will not lead to conflicts AFAIK.

Link to comment
Share on other sites

Is that for sure? Will XcomEngine.ini have both lines? As long as they both override different functions it could theoretically work.

 

No, it couldn't. There is no way to magically merge two classes at runtime. Maybe in a higher-level language that treats functions like objects (such as Javascript), but not in Unrealscript.

 

From a software architecture standpoint, using a *screen* listener to affect *data* is just wrong.

 

Of course. However, correctness always comes before clean code. If the code is clean but does the wrong thing, it's bad code.

 

For mods, that includes working alongside other mods. In XCOM 2's case, that means avoiding class overrides whenever possible.

Edited by BlueRaja
Link to comment
Share on other sites

I'm starting to have problems opening the mod manager. It doesn't start up and states that an exception happened. The error log shows the following below.

 

 

An item with the same key has already been added.
Stack:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at XCOM2Launcher.ModInfo.loadFile(String filepath)
at XCOM2Launcher.ModList.loadMod(String modDir, ModSource source)
at XCOM2Launcher.ModList.loadMods(String dir)
at XCOM2Launcher.Settings.ImportMods()
at XCOM2Launcher.Program.initializeSettings()
at XCOM2Launcher.Program.Main(String[] args)

Link to comment
Share on other sites

Another idea for a feature: create a list of active mos. Could be useful when troubleshooting as someone could easily post their active mods list when having a problem with a mod, hopefully the author of the mod would be able to see mods which may be conflicting.

 

Perhaps:

<Name>    <ID>    <Workshop ID>
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...