maartentamboer / X-Touch-Mini-FS2020

Control FS2020 with a Behringer X-Touch Mini
https://dev-tty.nl/X-Touch-Mini-FS2020/
MIT License
59 stars 19 forks source link

Help with installation please #9

Closed P1NBA11ER closed 3 years ago

P1NBA11ER commented 3 years ago

Sorry for bothering you with troubleshooting... unfortunately, I'm finding the instructions lack enough detail for me to make this work. I've downloaded and run the exe after launching the sim (from various screens through to sitting at the gate) as well as before launching the sim. I have the Behringer utility installed and it recognizes my device. SimConnect is installed (it's part of the FS2020 SDK which I have installed). It doesn't seem to be working however and I have no idea how to proceed. Thanks for any help.

maartentamboer commented 3 years ago

Do you see any errors in the console window that opens? In case the console window directly closes: open a command prompt and navigate to the directory where the exe is located. Then run the exe in the command prompt

P1NBA11ER commented 3 years ago

Thanks for replying. I was not seeing an error in the command line when executing the exe normally but I do see the following error when running it from the command prompt.

Current aircraft: b'Airbus A320 Neo AirCal' Traceback (most recent call last): File "main.py", line 100, in File "main.py", line 31, in main_app File "site-packages\mido\backends\backend.py", line 112, in open_output File "site-packages\mido\ports.py", line 265, in init File "site-packages\mido\ports.py", line 86, in init File "site-packages\mido\backends\rtmidi.py", line 190, in _open File "site-packages\mido\backends\rtmidi.py", line 96, in _open_port File "src_rtmidi.pyx", line 589, in rtmidi._rtmidi.MidiBase.open_port File "src_rtmidi.pyx", line 223, in rtmidi._rtmidi._cb_error_func File "src_rtmidi.pyx", line 411, in rtmidi._rtmidi._default_error_handler rtmidi._rtmidi.SystemError: MidiOutWinMM::openPort: error creating Windows MM MIDI output port. [13904] Failed to execute script main

P1NBA11ER commented 3 years ago

I've solved this problem by deleting hidden duplicate devices (game controllers and some other peripherals only) via the device manager. It seems windows may leave a port occupied by a device that's no longer in use by the system and perhaps I had reached the port limit? Thanks so much for your response, that was the direction I needed to get on a path of solving this.

maartentamboer commented 3 years ago

No problem. If you have any other questions, issues or feature requests feel free to open another issue.