M2KB icon indicating copy to clipboard operation
M2KB copied to clipboard

App doesn't work?

Open joex92 opened this issue 4 months ago • 7 comments

I open the app, I press the number of the midi device, it asks me if i want to change the settings, I press Y and then the window disappears, the app seems to still be running, but it does nothing, what do I do? If I press N, the same happens...

joex92 avatar Jul 19 '25 01:07 joex92

Hello, @joex92 ! At first glance it seems like a config-related issue... I need some more info to try to reproduce the issue.

  • Are there config.ini and keymap.cfg present in the directory with the binary?
  • Which Windows version are you using?
  • What MIDI-device are you using M2KB with?

k5md avatar Jul 19 '25 09:07 k5md

There was just a dll file with the program... No other files, I thought the program would generate one config file if it doesn't find any... I'm using Windows 10...

joex92 avatar Jul 19 '25 14:07 joex92

I thought the program would generate one config file if it doesn't find any...

Yes, that's true, I've asked this to make sure if anything wrong in config or keymap breaks the app. Could you try running it from command prompt (rmb in directory -> open command window here -> M2KB.exe) then scroll to the top to see any error messages?

k5md avatar Jul 19 '25 15:07 k5md

Here´s what happens:

the moment i press on the Y or N key, even the cmd window closes up...

joex92 avatar Jul 19 '25 17:07 joex92

I see, sorry for not being able to help. Looking at the code, there is no way it crashes together with cmd before you're asked whether you want to reassign keymap. The midi listener is on though, so everything midi-related is initialized correctly, but the only handler that can actually process a message during that time is extractKey, but there is seemingly nothing that can lead to a crash. Chances of fixing this are low... Could some unusual midi-events that are being sent if you don't touch the midi keyboard cause crash? If you are still into it, could you use any midi-monitor, like midi-ox or https://hardwaretester.com/midi or whichever you like to see if anything being sent when the mkb is idle?

k5md avatar Jul 19 '25 19:07 k5md

wait... it might be from the handler... because this program failed me, I tried another one, and that other one showed to me that the channel 9 was constantly sending data non-stop... I have a LaunchKey 25 MK3...

Image

joex92 avatar Jul 19 '25 20:07 joex92

F8 is timing clock, it's okay. I'm still trying to reproduce the crash having set up loopmidi+miditools to spam various midi-messages, but to no avail.

k5md avatar Jul 20 '25 10:07 k5md