rfvgyhn / min-ed-launcher

Minimal Elite Dangerous Launcher
MIT License
252 stars 9 forks source link

MinLauncher launch the game in my OS default language and not in the overridden language used in the official launcher #4

Closed Harlockin closed 3 years ago

Harlockin commented 3 years ago

Hi!

I play Elite in english because the local translation is botched but with your launcher it default to my OS language.

Could you add a setting to choose which language to run ?

rfvgyhn commented 3 years ago

v0.3.0 has a new option in the settings file for you to specify language. In your case, you'd add language: "en" to your settings.json file. The readme has documentation on this setting if you need it.

Harlockin commented 3 years ago

It doesn't work.

Here's my setting file:

{ "apiUri": "https://api.zaonce.net", "watchForCrashes": false, "gameLocation": null, "language": "en", "restart": { "enabled": false, "shutdownTimeout": 3 }, "processes": [ { "fileName": "D:\Jeux\_Ressources\Elite Dangerous\EliteLogAgent\EliteLogAgent.exe" } ] }

rfvgyhn commented 3 years ago

It doesn't work as in it's not setting the correct language but still running or is there an error message of some sort? Log file is in the logs folder.

You'll also need to use \\ instead of \ in your elite log agent path.

Harlockin commented 3 years ago

It work fine just not in english

And yes I used \\ but github replaced them with simple ones.

Here's the log but nothing of interest in it:

2020-12-29 10:33:54.719 +01:00 [DBG] Args: [|"C:\Steam\steamapps\common\Elite Dangerous\EDLaunch.exe"; "/Steam"; "/novr"; "/autoquit"; "/EDH"|] 2020-12-29 10:33:54.840 +01:00 [DBG] Reading settings from 'C:\Users\Seb\AppData\Local\min-ed-launcher\settings.json' 2020-12-29 10:33:55.274 +01:00 [DBG] Settings: Ok { Platform = Steam DisplayMode = Pancake AutoRun = false AutoQuit = true WatchForCrashes = false ProductWhitelist = set ["edh"] ForceLocal = true Proton = None CbLauncherDir = "C:\Steam\steamapps\common\Elite Dangerous" ApiUri = https://api.zaonce.net/ Restart = (false, 3000L) Processes = [System.Diagnostics.ProcessStartInfo] } 2020-12-29 10:33:55.293 +01:00 [INF] Elite Dangerous - Minimal Launcher Platform: Steam OS: Win64 CobraBay Version: 0.4.6600.0 Launcher Version: 0.2.0 Products Dir: C:\Steam\steamapps\common\Elite Dangerous\Products 2020-12-29 10:33:55.946 +01:00 [DBG] Got steam client 2020-12-29 10:33:55.947 +01:00 [DBG] Got steam pipe 2020-12-29 10:33:55.947 +01:00 [DBG] Got steam global user 2020-12-29 10:33:55.948 +01:00 [DBG] Got steam user 2020-12-29 10:33:55.948 +01:00 [DBG] Requesting steam auth ticket 2020-12-29 10:33:55.948 +01:00 [DBG] Got steam auth ticket 2020-12-29 10:33:55.952 +01:00 [DBG] Authenticating via Steam 2020-12-29 10:33:56.236 +01:00 [DBG] Successfully authenticated 2020-12-29 10:33:56.237 +01:00 [DBG] Disposing Steam resources 2020-12-29 10:33:56.237 +01:00 [DBG] Cancelling auth ticket 2020-12-29 10:33:56.237 +01:00 [DBG] closing steam 2020-12-29 10:33:56.246 +01:00 [INF] Logged in via Steam as: Harlockin 2020-12-29 10:33:56.248 +01:00 [DBG] Getting authorized products 2020-12-29 10:33:56.624 +01:00 [DBG] Authorized Products: Elite Dangerous: Horizons,Elite Dangerous,Elite Dangerous: Arena,Single Player Combat Training 2020-12-29 10:33:56.624 +01:00 [INF] Checking for updates 2020-12-29 10:33:58.098 +01:00 [INF] Available Products: (Elite Dangerous: Horizons, Up to date) (Elite Dangerous, Up to date) (Elite Dangerous: Arena, Up to date) (Single Player Combat Training, Up to date) 2020-12-29 10:33:58.148 +01:00 [INF] Starting process D:\Jeux_Ressources\Elite Dangerous\EliteLogAgent\EliteLogAgent.exe 2020-12-29 10:33:58.607 +01:00 [INF] Launching Elite Dangerous: Horizons 2020-12-29 10:34:44.776 +01:00 [INF] Shutdown Elite Dangerous: Horizons 2020-12-29 10:34:44.787 +01:00 [DBG] Stopping process EliteLogAgent 2020-12-29 10:34:44.793 +01:00 [WRN] Unable to gracefully stop EliteLogAgent. Killed process instead.

Harlockin commented 3 years ago

I'm an idiot and didn't realized you pushed an update after I posted this issue...