rfvgyhn / min-ed-launcher

Minimal Elite Dangerous Launcher
MIT License
272 stars 10 forks source link

Can't change language. #140

Open fullgream opened 1 month ago

fullgream commented 1 month ago

Describe the bug/error

After changing the launcher settings file, the game still launches in English

settings.json

{ "apiUri": "https://api.zaonce.net", "watchForCrashes": false, "Language": "de", "autoUpdate": true, "checkForLauncherUpdates": true, "maxConcurrentDownloads": 4, "forceUpdate": "", "processes": [], "shutdownProcesses": [], "filterOverrides": [ { "sku": "FORC-FDEV-DO-1000", "filter": "edo" }, { "sku": "FORC-FDEV-DO-38-IN-40", "filter": "edh4" } ], "additionalProducts": [] }

Debug log min-ed-launcher.log

`---------- 2024-10-14 17:17:40.900 -05:00 [INF] Elite Dangerous: Minimal Launcher - v0.11.1+d7e3e01c 2024-10-14 17:17:41.138 -05:00 [DBG] Args: [|"C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\EDLaunch.exe"; "/Steam"; "/novr"; "/autorun"; "/autoquit"; "/edo"|] OS: Win64 Env: WINEPREFIX=/Users/honey/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6F67C233-993B-4BE5-89F3-AD3EF06CB241

2024-10-14 17:17:41.142 -05:00 [DBG] Reading settings from 'C:\users\crossover\AppData\Local\min-ed-launcher\settings.json' 2024-10-14 17:17:41.530 -05:00 [DBG] Settings: { Platform = Steam DisplayMode = Pancake AutoRun = true QuitMode = Immediate WatchForCrashes = false ProductWhitelist = seq ["edo"] ForceLocal = true CompatTool = None CbLauncherDir = "C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous" PreferredLanguage = Some "de" ApiUri = https://api.zaonce.net/ Restart = None AutoUpdate = true CheckForLauncherUpdates = true MaxConcurrentDownloads = 4 ForceUpdate = set [] Processes = [] ShutdownProcesses = [] FilterOverrides = seq [[FORC-FDEV-DO-1000, edo]; [FORC-FDEV-DO-38-IN-40, edh4]] AdditionalProducts = [] DryRun = false ShutdownTimeout = 00:00:10 CacheDir = "C:\users\crossover\AppData\Local\min-ed-launcher\cache" GameStartDelay = 00:00:00 ShutdownDelay = 00:00:00 } 2024-10-14 17:17:41.557 -05:00 [INF] Elite Runtime Platform: Steam CobraBay Version: 1.7.6972.1 Products Dir: C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products 2024-10-14 17:17:41.583 -05:00 [DBG] Getting machine id 2024-10-14 17:17:41.612 -05:00 [INF] Logging in 2024-10-14 17:17:41.614 -05:00 [DBG] Getting remote time 2024-10-14 17:17:43.538 -05:00 [DBG] Got steam client 2024-10-14 17:17:43.539 -05:00 [DBG] Got steam pipe 2024-10-14 17:17:43.541 -05:00 [DBG] Got steam global user 2024-10-14 17:17:43.546 -05:00 [DBG] Got steam user 2024-10-14 17:17:43.547 -05:00 [DBG] Requesting steam auth ticket 2024-10-14 17:17:43.550 -05:00 [DBG] Got steam auth ticket 2024-10-14 17:17:43.559 -05:00 [DBG] Authenticating via Steam 2024-10-14 17:17:44.264 -05:00 [DBG] Successfully authenticated 2024-10-14 17:17:44.267 -05:00 [DBG] Disposing Steam resources 2024-10-14 17:17:44.267 -05:00 [DBG] Cancelling auth ticket 2024-10-14 17:17:44.268 -05:00 [DBG] closing steam 2024-10-14 17:17:44.313 -05:00 [INF] Logged in via Steam as: Art True 2024-10-14 17:17:44.314 -05:00 [DBG] Getting authorized products 2024-10-14 17:17:45.076 -05:00 [DBG] Purchases Response: {"purchases":[{"colour":"#f07b05","filter":"ed","directory":"elite-dangerous-64","serverargs":"","gameargs":"SeasonOne","sortkey":"06","product_name":"Legacy Elite Dangerous","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_ed.jpg","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Refresh_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"7"},"game_api":"https://api3x.orerve.net","game_branch":38,"patch_notes_game_code":13,"no_details":false,"product_sku":"FORC-FDEV-D-1010","template":"http://hosting.zaonce.net/launcher-steam/elite/en.html"},{"colour":"#f07b05","filter":"eda","directory":"elite-dangerous-64","serverargs":"","gameargs":"CQCArena","sortkey":"20","product_name":"Elite Dangerous: Arena","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_arena.jpg","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_Arena_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Refresh_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"7"},"game_api":"https://api3x.orerve.net","game_branch":38,"patch_notes_game_code":13,"no_details":true,"product_sku":"FORC-FDEV-D-1012","template":"http://hosting.zaonce.net/launcher-steam/elite-dangerous-arena/en.html"},{"colour":"#f07b05","filter":"ed","directory":"COMBAT_TUTORIAL_DEMO","serverargs":"","gameargs":"","sortkey":"30","product_name":"Single Player Combat Training","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_ed.jpg","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Refresh_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"7"},"game_api":"https://api3x.orerve.net","game_branch":38,"patch_notes_game_code":13,"no_details":true,"product_sku":"COMBAT_TUTORIAL_DEMO","template":"http://hosting.zaonce.net/launcher-steam/elite/en.html"},{"colour":"#0a8bd6","filter":"edh","directory":"elite-dangerous-64","serverargs":"","gameargs":"","sortkey":"05","product_name":"Legacy Horizons","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_edh.png","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_Horizons_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Refresh_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"7"},"game_api":"https://api3x.orerve.net","game_branch":38,"patch_notes_game_code":13,"no_details":false,"product_sku":"FORC-FDEV-D-1013","template":"http://hosting.zaonce.net/launcher-steam/elite-dangerous-horizons-38/en.html"},{"colour":"#f07b05","filter":"ed","directory":"elite-dangerous-odyssey-64","serverargs":"","gameargs":"SeasonTwo","sortkey":"04","product_name":"Elite Dangerous: Horizons","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_edh.png","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_Horizons_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Rebrand_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"7"},"game_api":"https://api.orerve.net","game_branch":40,"patch_notes_game_code":943,"no_details":false,"product_sku":"FORC-FDEV-DO-38-IN-40","template":"http://hosting.zaonce.net/launcher-steam/elite-dangerous-horizons/en.html"},{"colour":"#0a8bd6","filter":"edh","directory":"elite-dangerous-odyssey-64","serverargs":"","gameargs":"","sortkey":"00","product_name":"Elite Dangerous: Odyssey","imageset":{"box":"http://hosting.zaonce.net/launcher_new/images/box_art_edo_rebrand.png","hero":"http://hosting.zaonce.net/launcher_new/images/Elite_Dangerous_Odyssey_LauncherHero.png","logo":"http://hosting.zaonce.net/launcher_new/logos/ED_Rebrand_Logo_Full_White.png"},"ratings":{"esrb":"teen","pegi":"16"},"game_api":"https://api.orerve.net","game_branch":40,"patch_notes_game_code":943,"no_details":false,"product_sku":"FORC-FDEV-DO-1000","template":"http://hosting.zaonce.net/launcher-steam/odyssey/en.html"}]} 2024-10-14 17:17:45.103 -05:00 [DBG] Authorized Products: Elite Dangerous: Odyssey,Elite Dangerous: Horizons,Legacy Horizons,Legacy Elite Dangerous,Elite Dangerous: Arena,Single Player Combat Training 2024-10-14 17:17:45.103 -05:00 [INF] Checking for updates 2024-10-14 17:17:45.901 -05:00 [DBG] Launcher is latest release 0.11.1 2024-10-14 17:17:45.916 -05:00 [DBG] Unable to find product's version info at 'C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\FORC-FDEV-D-1013\VersionInfo.txt' 2024-10-14 17:17:45.917 -05:00 [DBG] Unable to find product's version info at 'C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\FORC-FDEV-D-1010\VersionInfo.txt' 2024-10-14 17:17:45.917 -05:00 [DBG] Unable to find product's version info at 'C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\FORC-FDEV-D-1012\VersionInfo.txt' 2024-10-14 17:17:45.917 -05:00 [DBG] Unable to find product's version info at 'C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\COMBAT_TUTORIAL_DEMO\VersionInfo.txt' 2024-10-14 17:17:47.372 -05:00 [INF] Available Products: Elite Dangerous: Odyssey FORC-FDEV-DO-1000 Up to Date Elite Dangerous: Horizons FORC-FDEV-DO-38-IN-40 Up to Date Legacy Horizons FORC-FDEV-D-1013 Not Installed Legacy Elite Dangerous FORC-FDEV-D-1010 Not Installed Elite Dangerous: Arena FORC-FDEV-D-1012 Not Installed Single Player Combat Training COMBAT_TUTORIAL_DEMO Not Installed 2024-10-14 17:17:47.993 -05:00 [INF] Launching Elite Dangerous: Odyssey 2024-10-14 17:17:47.995 -05:00 [DBG] Process: C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\elite-dangerous-odyssey-64\EliteDangerous64.exe "ServerToken bcc...a48[104] 0b6...79a[1784] " /steam /novr`

rfvgyhn commented 1 month ago

It looks like it's either not finding the de folder or it can't create the de culture info. This might be an issue with how min-ed-launcher operates under crossover/whisky (or maybe wine in general).

Can you verify that the de folder exists (case sensitive) in C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous? Can you also check if other languages fail for you as well (es, fr, pt-BR, ru)?

Another thing to check would be setting the LANG env var. I'm not sure if you can do that via your bottle config or not. Maybe try including it when running WhiskyCmd. LANG=de_DE.UTF-8 whisky run name-of-elite-bottle

rfvgyhn commented 1 month ago

As a hacky workaround, you could try updating your settings file to include an additional product that manually sets the language parameter.

"additionalProducts": [{
    "filter": "edod",
    "directory": "elite-dangerous-odyssey-64",
    "serverargs": "",
    "gameargs": "/language German\\\\DE",
    "sortkey": "00",
    "product_name": "Elite Dangerous: Odyssey (German)",
    "product_sku": "FORC-FDEV-DO-1000"
}],

The filter and product_name can be whatever you want. You would then launch the game with /edod (or whatever you put in the filter string) instead of /edo.

fullgream commented 1 month ago

As a hacky workaround, you could try updating your settings file to include an additional product that manually sets the language parameter.

"additionalProducts": [{
    "filter": "edod",
    "directory": "elite-dangerous-odyssey-64",
    "serverargs": "",
    "gameargs": "/language German\\\\DE",
    "sortkey": "00",
    "product_name": "Elite Dangerous: Odyssey (German)",
    "product_sku": "FORC-FDEV-DO-1000"
}],

The filter and product_name can be whatever you want. You would then launch the game with /edod (or whatever you put in the filter string) instead of /edo.

Yep, it helped! Now the game launches in German. Thank you very much for your work and quick response!