Created
February 18, 2020 20:51
-
-
Save sidewinder94/0b72fb75a881a1849e0268d1be472f8e to your computer and use it in GitHub Desktop.
Honkai Impact 3rd Locale Auto-Change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -RunAsAdministrator | |
#Create shortcut with target : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -File "K:\miHoYo\Honkai Impact 3rd\HonkaiLauncher.ps1" | |
$currentDir = (Split-Path $script:MyInvocation.MyCommand.Path) | |
$originalCulture = Get-Culture | |
Set-Culture 'en-GB' | |
& "$currentDir\falcon_glb.exe" | |
Start-Sleep -Seconds 3 | |
Wait-Process -InputObject (Get-Process falcon_glb) | |
Set-Culture $originalCulture |
Removed the -WindowsStyle Hidden
from the shortcut target because of inconsistent behaviour, on my shortcut, it works nicely, on a new one it doesn't.
I can't explain nor correct it, sot it went away, you can try it out if the command window really bothers you.
And, as asked on Reddit, here is a video detailing the necessary steps to use the script, in case the textual description of my first comment was not enough: https://youtu.be/BV4xAr37qos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a PowerShell script in the game's install folder containing this gist's content.
Create a shortcut having as target :
Don't forget to go into the Shortcut settings to always launch as admin, I had mixed results changing the locale when launching the script as non-admin