R2NorthstarTools / FlightCore

Installer/Updater/Launcher for Northstar
MIT License
59 stars 14 forks source link

Launch Northstar support via gamelauncher (Steam/Origin/EA) #93

Open GeckoEidechse opened 1 year ago

GeckoEidechse commented 1 year ago

Currently we just call the NorthstarLauncher.exe binary. This means however that some prerequisites need to be met for Northstar to be able to launch successfully such as Origin already running for LSX authentication to function.

If we instead could just do something like steam://<Titanfall2 App ID> -northstar (where -northstar would be passed to the Titanfall2.exe, and then in turn caught by our wsock32.dll to launch Northstar), we could skip all the prerequisite checks and also get Linux+Steam support for free.

hatwearingdumb commented 4 months ago

So, is Northstar supposed to launch via Steam, or not? It doesn't work for me, on Windows 10, and I am quite confused by issues: #422, #887, and #392.

GeckoEidechse commented 4 months ago

On Windows it currently runs the NorthstarLauncher.exe directly. On Linux it launches it via Steam. The reason being that launching via Steam on Windows is slow and in my experience not super reliable. On Linux it's the only way without having to mess with Wine prefixes etc.

Plan is to have an option on Windows to choose a preferred method but I haven't had the chance to look into it.

If you wanna launch via Steam, there's a button in the hidden dev menu (dev menu can be accessed by spam clicking FlightCore version number in settings).

image