Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: simpletouch fe slot machine using masque: how to select individual machines?  (Read 2054 times)

0 Members and 1 Guest are viewing this topic.

mtg

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:July 18, 2016, 04:34:14 pm
  • I want to build my own arcade controls!


Any ideas on how this achieved this? His setup allows for the touchscreen frontend to select individual machines within the masque software. Way cooler than selecting the wolf run pack and navigating thru.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
I have no idea what you're talking about.  ???

But if I had to guess by looking at the video is that there is no way to launch those games through the command line. The games have to be launched using a Frontend. And you're wondering how he's doing it. It's very clear to me that he's using either autohotkey or autoit to launch those games. With either of those programs you can launch the fe and double click on the game to launch it.

nexusmtz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 489
  • Last login:June 01, 2022, 03:14:22 am
+1 on Autohotkey.

Notice that each selection starts the wrong slot, then goes back to the in-game menu and starts the right one. So the script would do something like:


Start the right pack's executable
Wait for the program's window
Send Enter a couple times to choose the player/bankroll
Wait a couple seconds for the default (or last used) slot to come up (or look for a pixel, or unique window or whatever)
Send the Select Machine shortcut key from the right hand menu (on my old 2005 version, it was CTRL-L)
Wait a second for the game to bring up the list
Send 'Home' to get to the top of the list
Send the first letter of the chosen slot the right number of times. For example, Turkey Shoot was the fourth game that starts with T in that list, so send T four times.
Send Tab a couple of times to get over to 'Play'
Send Enter


Within the frontend, each of the blocks would run the script with the pack name and the letters that correspond to it, e.g. autohotkey startmasque.ahk texastea tttt for Turkey Shoot or autohotkey startmasque.ahk lobstermania ccc for Cleopatra