dantman / elite-vr-cockpit

A SteamVR Overlay providing a virtual throttle and joystick and holographic buttons for ship functions, with custom integration into Elite Dangerous
Other
326 stars 37 forks source link

ArgumentException: Illegal characters in path. #290

Closed dotnetmensch closed 3 years ago

dotnetmensch commented 3 years ago

So far I am able to do everything except grab the throttle or joystick in game. I have went through mapping the controls using the cockpit control UI. I am able to grab the menu and move it around so my controller's grab and other buttons work.

I am getting anArgumentException: Illegal characters in path error thrown on startup of this program. image

I found your logs and was able to get the stack trace for that error.

ArgumentException: Illegal characters in path. at System.IO.Path.Combine (System.String path1, System.String path2) [0x00057] in <567df3e0919241ba98db88bec4c6696f>:0 at EVRC.EDStateManager.GetControlBindingsFilePaths () [0x00055] in <54aeff0c4da44cf6bd80a187876b572c>:0 at EVRC.EDStateManager.LoadControlBindings () [0x00000] in <54aeff0c4da44cf6bd80a187876b572c>:0 at EVRC.EDStateManager.Start () [0x00006] in <54aeff0c4da44cf6bd80a187876b572c>:0

Here is the path to my bindings if that is what this is looking for: C:\Users\dotne\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings

Not sure if this exception is causing my problem or if that path is what the code is trying to generate. If not then whatever path it is looking for my have some bad characters in it. Any insights would help.

Also I am using the HTC Vive with the Vive wand controllers.

Thanks

dantman commented 3 years ago

Are you running Odyssey? Someone reported (#268) that Odyssey changed the StartPreset file's structure in a way that breaks the overlay with this error.

dotnetmensch commented 3 years ago

Yes Odyssey. Thanks, changing the StartPreset file name got me going on that.