Unsolved Unable to save keybinds/axis binds using the Alternative Launcher
-
As mentioned in the topic title, I am unable to save any keybindings or axis mappings that I set up in the launcher. This is both when running as admin and not, and regardless of device (I tried my HOTAS and my controller, even my keyboard).
I get a strange error whenever I try to bind something and then press “save”
When I go to this error file, I get the following (placed as a spoiler because the formatting is strange from copy-paste, some words are large and some lines are skipped):
[5/7/2024 10:46:57 PM] [INFO] :: Application Initialization starting.
[5/7/2024 10:46:58 PM] [INFO] :: Post_OnInitialized.
[5/7/2024 10:46:58 PM] [INFO] :: FalconBMS Launcher v2.4.1.5
[5/7/2024 10:46:58 PM] [INFO] :: Start Reading Launcher Settings.
[5/7/2024 10:46:58 PM] [INFO] :: Finished Reading Launcher Settings.
[5/7/2024 10:46:58 PM] [INFO] :: Start Reading Registry.
[5/7/2024 10:46:58 PM] [INFO] :: Finished Reading Registry.
[5/7/2024 10:46:58 PM] [INFO] :: Start Init Devices.
[5/7/2024 10:46:58 PM] [WARNING] :: Unrecognized line #1400: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Unrecognized line #1405: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Unrecognized line #1068: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Unrecognized line #1073: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:58 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Unrecognized line #1400: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Unrecognized line #1405: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Unrecognized line #1068: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Unrecognized line #1073: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:59 PM] [WARNING] :: Skipping malformed keyfile line: AnnePro2 ========
[5/7/2024 10:46:59 PM] [INFO] :: Finished Init Devices.
[5/7/2024 10:46:59 PM] [INFO] :: Start VR Check.
[5/7/2024 10:46:59 PM] [INFO] :: Finished VR Check.
[5/7/2024 10:46:59 PM] [INFO] :: Start Timers.
[5/7/2024 10:46:59 PM] [INFO] :: Timers Started.
[5/7/2024 10:46:59 PM] [INFO] :: Post_OnInitialized complete.
[5/7/2024 10:47:00 PM] [INFO] :: Completed RSS fetch on background-thread.
[5/7/2024 10:47:00 PM] [INFO] :: RSS update finished.
[5/7/2024 10:47:38 PM] [EXCEPTION] Illegal characters in path.::Source: mscorlib
Target Site: Void CheckInvalidPathChars(System.String, Boolean)
Message: Illegal characters in path.
Details:Exception Data: System.Collections.ListDictionaryInternal
Stack Trace: at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding)
at FalconBMS.Launcher.Input.DeviceControl.SaveXml() in C:\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\DeviceControl.cs:line 174[5/7/2024 10:47:42 PM] [EXCEPTION] Can only call DragMove when primary mouse button is down.::
Source: PresentationFramework
Target Site: Void DragMove()
Message: Can only call DragMove when primary mouse button is down.
Details:Exception Data: System.Collections.ListDictionaryInternal
Stack Trace: at System.Windows.Window.DragMove()
at FalconBMS.Launcher.Windows.MainWindow.MetroWindow_MouseDown(Object sender, MouseButtonEventArgs e) in C:\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Windows\MainWindow.xaml.cs:line 781[5/7/2024 10:49:14 PM] [EXCEPTION] Illegal characters in path.::
Source: mscorlib
Target Site: Void CheckInvalidPathChars(System.String, Boolean)
Message: Illegal characters in path.
Details:Exception Data: System.Collections.ListDictionaryInternal
Stack Trace: at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding)
at FalconBMS.Launcher.Input.DeviceControl.SaveXml() in C:\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\DeviceControl.cs:line 174[5/7/2024 10:53:19 PM] [EXCEPTION] Illegal characters in path.::
Source: mscorlib
Target Site: Void CheckInvalidPathChars(System.String, Boolean)
Message: Illegal characters in path.
Details:Exception Data: System.Collections.ListDictionaryInternal
Stack Trace: at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding)
at FalconBMS.Launcher.Input.DeviceControl.SaveXml() in C:\git\arithex\AltLauncher_develop\FalconBMS-Alternative-Launcher\Falcon BMS Alternative Launcher\Input\DeviceControl.cs:line 174I don’t understand what directory it is referring to with c:\git.
It is worth mentioning that I do not have this installed on my C : drive. Additionally, Falcon4 and BMS are installed on the same drive, however.Strangely enough, it says that my keys are bound/axis are bound after this error pops up, and I can launch the game and they work. However, if I close the game and then open the launcher, they are all gone. I do not have the override box checked in the launcher, either.
Any help would be wonderful!
-
@junkmail-numberone Try to update, the alternative launcher.
-
@hiuuz by screenshot OP is already on the last version of Launcher 2.4.1.5
From reading the log it seems more that the BMS Auto.key file is defective.Make a backup of BMS Auto.key take a BMS Full.key Copy rename to BMS Auto.key and replace the old one.
Next question to the error message given are there any non ASCII characters in einer installation or pilots callsign name
Don’t wonder about the C:git path has nothing to do with the installation. In Layman’s terms it an internal in the executable. No error indicator
-
@oakdesign Oh, I see now. Earlier I had a very similar problem, and my AL was outdated.
-
@junkmail-numberone in addition to the good advice from oakdesign…
1- in what directory do you have BMS installed?
2- can you share the contents of your DeviceSorting.txt file?
-
@junkmail-numberone
Is this your first install? Or are you coming from a previous install?
When in doubt, wipe everything (backup your pilot stuff!!), then do a clean install.I also tend to move all the key files to a backup folder only keeping the Auto key file in the default location… but still keep a backup of the original Auto key file.
-
@Atlas Did you try to delete Auto.key? BMS will create new one.
It says “illegal characters in path”, so check for all characters are in place.
-
@k3yb04rd
I think you’re referring to @junkmail-numberone -
Hey everyone. Thanks for the responses! I just posted this before I went to bed so I will go ahead and try some of the things you guys have posted here and update y’all.
This is my first install of BMS so I have no worries/fears of losing any data.
The drive everything is installed in is just called N, there is no symbols or anything, same with BMS’ install directory in total. No ASCII characters in that or the pilot name.
-
Fresh install seemed to have fixed the issue! Thanks everyone. Luckily it does not take too long to download for meNevermind… It didn’t give me an error when I tried to save a binding but instead it gave me one when I closed the launcher! And now when I open it, it gives me an error. I believe it is because my keyboard has some silly feature that allows you to use it as a “steering wheel.”
I am going to figure out how to disable that and hopefully it solves the issue
This is the error message. Is there a way to delete that line in the keyfile? I am not sure how to open them/which one I need to open? In the launcher previously, it has a separate binding column for AnnePro2 (the keyboards name), but also the keyboard column. Is there a way to remove that extra column? It does not actually work for bindings anyways, and I don’t use this keyboard’s silly axis control.
-
-
-
@junkmail-numberone I think I understand the bug… to fix it, it will help me if you send the DeviceSorting.txt file contents
Probably no easy workaround… just use a different keyboard.
-
@junkmail-numberone said in Unable to save keybinds/axis binds using the Alternative Launcher:
I believe it is because my keyboard has some silly feature that allows you to use it as a “steering wheel.”
Any chance of unplugging that keyboard and using a different one? Preferably your normal average keyboard?
-
I did some googling and apparently this device has embedded newline chars, in its device descriptor string… which would explain the malformed key file.
I will fix AL to accommodate this… does BMS work (launch the exe directly, without going through AL)?
-
@Atlas I had unplugged the keyboard and tried, however it still gives the error! I could maybe try uninstalling all its related drivers but then I would not have a keyboard haha. I did uninstall its “gamepad” capabilities, however it still gives an error.
-
@airtex2019 Yes, BMS does work when directly launched, bypassing the AL.
I mentioned in the reply just before this that I had uninstalled the keyboard’s “gamepad” capabilities from my drivers, however the error persists. You definitely know much more about this than me, but I thought it was worth mentioning
Thanks everyone here for your help, and I appreciate you taking the effort to incorporate a fix for this into the AL. Awesome community.
EDIT:
Sorry I did not see you asked for the DeviceSorting.txt earlier. I will look for that file now, but incase you see this relatively soon - could you tell me where it should be? I will edit this reply with the contents once I have found it.{A29304D9-0000-0000-0000-504944564944} “OBINS
AnnePro2”(The above is all the contents of the devicesorting.txt , I don’t have my webcam (using AI for headtracking which works flawlessly), gamepad, or HOTAS hooked up the last time I launched the AL so I am not sure if that would change the contents. If you need me to do so let me know!
-
@junkmail-numberone
Unplug the keyboard, delete the DeviceSorting.txt file, and run the Launcher again. That should make a new txt file…
If still not working, delete the Auto.key file… I’m not sure if the game makes a new Auto.key file…Basically, I think your keyboard “polluted” some files, giving you the error. Hopefully, by deleting those files, the game will make new ones and you can use the Launcher correctly.
-
@Atlas Unfortunately this did not work.
-
@junkmail-numberone
One last thing to try until @airtex2019 has a fix ----Nuke it. Uninstall BMS. Delete everything. Check and delete any remnants in the registry (although this may be going overboard). Also make sure there is nothing on your PC that is related to your steering-wheel-keyboard.
Do a clean install to a different drive or a differently-named folder. Remember DO NOT plug in your keyboard at any point. I hope you have a different keyboard you can use. Hopefully a clean install will do the trick. Oh, and try to download fresh installers to rule out corrupted install files.
Good luck!