Jump to content

Looking for a way to skip the launcher


Solariz

Recommended Posts

  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

Heya, just tried this and it doesn't run at all.

Windows just thinks about it for a bit and then nothing, tried most about anything from running to admin to compat. settings.

 

Any ideas are welcome.

 

Windows 10. What other info can I give you to help track the problem?

Link to comment
Share on other sites

Oh, uhm. hmm.

 

64-bit windows?

.net 4.6 installed?

Steam running?

steamworks.NET.dll (or some of the other dlls) not in your directory? (my guess)

 

Try v0.09 and see if it creates an error.log, otherwise you can check the error messages via Run > eventvwr.msc > Windows logs > System

Link to comment
Share on other sites

64bit

.net installed

steam running

all dlls seem to be there.

 

This is the error log.

One detail that might help maybe, I have steam installed in the usual place, but I have a steam library in a different hard drive for all my games, could that be related?

Exception of type 'System.Exception' was thrown.
Stack:
   at XCOM2Launcher.Settings.GetWorkshopPath()
   at XCOM2Launcher.MainForm.CheckSteamForNewMods()
   at XCOM2Launcher.MainForm..ctor(Settings settings)
   at XCOM2Launcher.Program.Main(String[] args)
Link to comment
Share on other sites

Nah, that should be fine, so is mine. But I guess there is some weird interaction.

 

Could you take a look at your XComEngine.ini (My Documents / my games / XCOM 2 / XComGame / config) and post your ModRootDirs entries? (should be very close to the end)

 

Anyway, here's v0.10 which should prevent the crashing by not looking for downloads if it didn't find a workshop path.

Edited by Solariz
Link to comment
Share on other sites

Still doesn't run, different error tho.

 

So first the lines you asked from xcomengine:

ModRootDirs=../../XcomGame/Mods/
ModRootDirs=E:\SteamLibrary\steamapps\workshop\content\268500\

And now the new error log:

2 mods with the same internal ID: 'MyXCOM2Mod'
Path: E:\SteamLibrary\steamapps\workshop\content\268500\620798425

Stack:
   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)

Thanks for taking the time dude. :)

Link to comment
Share on other sites

Alright, thanks for the paths. The cleaned up code from v0.10 should actually have fixed that error anyway, I think.

 

As for the new problem, seems like several modders didn't change the default ID...

You won't be able to run both mods anyway, but I'll add an highlight to both and remove the error.

Link to comment
Share on other sites

I changed my mind about adding them both. I had it working but it's not really useful anyway.

(As I said only one can be loaded anyway, I might look into whether it'll work if i change the mod id)

 

You'll get an error message now, the mod will be skipped and the other mod with the same id will be marked red.

 

 

Edit: I might just add both again... It's kinda annoying if you can't remove the other one.

 

Edit: v0.1.3

Edited by Solariz
Link to comment
Share on other sites

Really nice, looks good.

Just getting a M.Net Framework Error

************** Exception Text **************
System.InvalidOperationException: Steamworks is not initialized.
   at Steamworks.InteropHelp.TestIfAvailableClient()
   at XCOM2Launcher.Steam.Workshop.GetSubscribedItems()
   at XCOM2Launcher.MainForm.CheckSteamForNewMods()
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...