Title

Message

Confirm

<< DiscussionsReply

Can't get this to work with Mame Emulator software

Jimmer
8 discussion posts
Hi, I'm having trouble, I did a bunch of commands and I can confirm keypresses in notepad.

I run a dual screen, and when I run Mame on Screen1, i watch VoiceBot in Screen2 and I can see it recognizing commands; but it's not working on the app.

Can anyone help?
Sep 19, 2017  • #1
Jimmer
8 discussion posts
Quote:
Hi, I'm having trouble, I did a bunch of commands and I can confirm keypresses in notepad.

I run a dual screen, and when I run Mame on Screen1, i watch VoiceBot in Screen2 and I can see it recognizing commands; but it's not working on the app.

Can anyone help?


Actually, one command worked. I made a "Mame Exit" which hits escape key. That single command worked. All others would look like they work; but the keypress wasn't being responded to.

The commands work in notepad, it's just the software isn't responding.

Is there some type of compatibility issue or input mode i need to change?

I found this thread, possibly related:
http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=216824&page=0&view=expanded&sb=5&o=&vc=1

Is there a way around this?

Would this possibly do it (scroll down a little to vjoy app):
http://headsoft.com.au/index.php?category=vjoy
Sep 19, 2017 (modified Sep 19, 2017)  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Not sure if VJoy would help there, but I read through that MAME thread, and it's definitely related. VoiceBot also uses SendKeys to send the keystrokes, which according to that thread, MAME doesn't support

The workaround they suggest there is to build your own keyboard driver and use that to send the keystrokes, but that's dangerous and opens up a huge security risk, so it's not something we'd be interested in adding, sorry!
Sep 20, 2017  • #3
Jimmer
8 discussion posts
Quote:
Not sure if VJoy would help there, but I read through that MAME thread, and it's definitely related. VoiceBot also uses SendKeys to send the keystrokes, which according to that thread, MAME doesn't support

The workaround they suggest there is to build your own keyboard driver and use that to send the keystrokes, but that's dangerous and opens up a huge security risk, so it's not something we'd be interested in adding, sorry!


Oops I forgot about this post. But, I got it working! Posting this here for anyone in the future.

Mame since version 1.80 and later (it's on 1.85 now) now no longer needs to be recompiled or run through command line. Here's all you need to do:

In MAME directory open up subdirectory INI. Find the file Mame.INI and open it in notepad or text editor.

Scroll down until you see "keyboardinput" It should say this:

keyboardinput auto

Double click auto (so that you don't accidentally delete any spaces) and type in "dinput" so that it looks like this:

keyboardinput dinput

Save the file and now the program will respond to all the VoiceBot commands. I also added in 26 variables, one saying each letter (i might change this to "letter _" instead of just "letter" because I accidentally get command "b" or "d" when I say "the"); and I use it to do keyboard commands for some older computer based games that i don't have a keyboard out for.

So, if the old dos program used arrow keys to move and space to jump, I was fine with my controller; but if it needed "m" for "map" i'd have to manually configure each of my games. Now, I just say "m" and it brings up map.

I hope this helps other people in the future
Sep 20, 2017  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, glad to hear you got it working, and thanks for sharing that info!
Sep 21, 2017  • #5
Was this helpful?    
<< DiscussionsReply