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: Predefined pushbuttons for start immediately 3-5 games - how to  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

francmusic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:August 24, 2009, 07:15:59 am
Predefined pushbuttons for start immediately 3-5 games - how to
« on: September 21, 2007, 05:04:56 am »
I plan to create Defender cabinet for Mame inside,but I wish to have 3-5 pushbuttons to start my favorite games immediately.
For example: 3 extra buttons for: Defender, Galaga, Xevious to start by "hardware choice". Of course with possibility of other Mame games selected with software menu of frontend.

It's possible? Which Mame or frontend version can do it?

Thanks for help

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #1 on: September 21, 2007, 07:15:16 am »
Tough question - I don't know of a Mame version or frontend that supports this.

What I think you might be able to do -

Read up on Batchrun and Autohotkey -

I think (if you have enough extra keys on your keyboard encoder) -

You could say program your Defender button to send D - (and make sure D is not used in MAME).

Now you either run an AutoHotKey script that sends "C:\mame\mame.exe defender" or create a batchrun file defender.brs which does the same thing named defender.brs.

The problem is that would launch the game when you press the button with the command prompt window open, but not when your frontend has focus.

I can't recall if Batchrun has the ability to assign hotkeys to .brs files, but that would do what you want.

I am pretty sure AHK has the ability to launch apps instead of sending keystrokers when a key is sent, but not sure exactly how to do that, but that is the direction you want to go.

Hopeful, this will get you started and someone else will fill in the details for you!!!!
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #2 on: September 21, 2007, 08:16:02 am »
If AutoHotKey can't do it (I am pretty sure it can), AutoIt can.

I prefer AutoIt over AutoHotKey
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 18, 2025, 01:56:40 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #3 on: September 21, 2007, 10:07:41 am »
if it doesnt work, and if youre using windows, you could just set up a shortcut on the desktop then double click the icon.  I know its not a solution to what youre asking, but it is an alternative.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4531
  • Last login:September 08, 2025, 10:54:14 am
  • Insufficient facts always invite danger.
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #4 on: September 21, 2007, 10:45:45 am »
AtomicFE can do this!

You can define up to three custom keys to run whatever games you want.

First, use AtomicKeys to map the custom keys to your buttons.
Second, define what each key does in AtomicManager under External Commands, User Actions.

The only limitation is that it will only work with keyboards\keyboard encoders, so no gamepads or gamepad encoders.

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 10328
  • Last login:July 23, 2025, 07:04:20 pm
  • boom
    • Arcade Madness
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #5 on: September 21, 2007, 10:52:51 am »
AtomicFE can do this!

You can define up to three custom keys to run whatever games you want.

First, use AtomicKeys to map the custom keys to your buttons.
Second, define what each key does in AtomicManager under External Commands, User Actions.

The only limitation is that it will only work with keyboards\keyboard encoders, so no gamepads or gamepad encoders.

You could setup Joy2Key, and get around the gamepad limitation.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4531
  • Last login:September 08, 2025, 10:54:14 am
  • Insufficient facts always invite danger.
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #6 on: September 21, 2007, 02:44:46 pm »
You could setup Joy2Key, and get around the gamepad limitation.

Yep - forgot about that app...

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Predefined pushbuttons for start immediately 3-5 games - how to
« Reply #7 on: September 21, 2007, 03:59:35 pm »
AtomicFE can do this!

You can define up to three custom keys to run whatever games you want.

First, use AtomicKeys to map the custom keys to your buttons.
Second, define what each key does in AtomicManager under External Commands, User Actions.

The only limitation is that it will only work with keyboards\keyboard encoders, so no gamepads or gamepad encoders.

You could setup Joy2Key, and get around the gamepad limitation.
Or RB2Joy or RBJoy - forget name - same idea, though.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.