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: Remapping keys for many games at once  (Read 1281 times)

0 Members and 1 Guest are viewing this topic.

primetime34

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:April 19, 2007, 09:39:39 pm
Remapping keys for many games at once
« on: March 26, 2007, 11:22:41 pm »
So I just built a 4 player cabinet.  When it is a one or two player game, I would like to use the two middle controllers as the main ones.  However, during four player games, I would like them to be in order 1, 2, 3, 4, instead of having 2 and 3 really be 1 and 2.  Is there some way to remap a massive amount of games all at once, but not all of them?  For example, remap the keys for all 4 player games without having to go into each one and do it manually?  Thanks.

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: Remapping keys for many games at once
« Reply #1 on: March 27, 2007, 08:26:59 am »
I too have a 4p cp and I like to remap the controls differently for single vs. 2/4 player games. I've been considering a plugin for MaLa that would allow you to specify different mame configs based on the number of players. If I get some time I'll try to put together a quick proto-type.

But of course you'll need to use MaLa as your FE :)
Robots will kill you.



Arcade Addiction

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Remapping keys for many games at once
« Reply #2 on: March 27, 2007, 08:58:17 am »
and maybe based on orientation, horizontal/vertical?
I b**ch. People listen!!

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: Remapping keys for many games at once
« Reply #3 on: March 27, 2007, 09:05:44 am »
and maybe based on orientation, horizontal/vertical?

That's a good idea, but it will double the number of cfg files required...
1p_horizontal
1p_vertical
2p_horizontal
2p_vertical
Etc.
Robots will kill you.



Arcade Addiction

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Remapping keys for many games at once
« Reply #4 on: March 27, 2007, 09:08:48 am »
well I just need up to two player since thats all my cocktail table can support if that helps. :) 
I b**ch. People listen!!

primetime34

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:April 19, 2007, 09:39:39 pm
Re: Remapping keys for many games at once
« Reply #5 on: March 27, 2007, 10:55:38 am »
I use Mamewah...any help for that??

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:July 30, 2025, 06:08:43 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Remapping keys for many games at once
« Reply #6 on: March 27, 2007, 03:28:11 pm »
Well I know how to do it, but it'd be a real pain in the butt. 

What you do is make two ctrlr files, one for 2 player games and one for 4 player.  Then you write a batch file that makes ini files for all the 4 player games and sets the "ctrlr" variable to yoru 4player ctrlr file and use the 2 plaeyr ctrlr file in your main mame.ini.

primetime34

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:April 19, 2007, 09:39:39 pm
Re: Remapping keys for many games at once
« Reply #7 on: March 27, 2007, 03:47:21 pm »
Well I know how to do it, but it'd be a real pain in the butt. 

What you do is make two ctrlr files, one for 2 player games and one for 4 player.  Then you write a batch file that makes ini files for all the 4 player games and sets the "ctrlr" variable to yoru 4player ctrlr file and use the 2 plaeyr ctrlr file in your main mame.ini.

Any chance we could get you to write up that batch file??

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Remapping keys for many games at once
« Reply #8 on: March 27, 2007, 03:50:42 pm »
Could you do 2 installs of Mame in different directories and set one to sort for only 1 and 2 player games and the other for only 3 and 4 playergames and then use the lists as two different categories in your FE?  With this setup you would just tell each install of Mame to set the controls up the way you want for the games it is used for.

I haven't really thought this out but it seems like it would work. It would be like running some games off of an old release for better speed (which sounds like a common thing.)

I don't know, maybe there are some drawbacks I'm not seeing. 

Good Luck,
Brian

primetime34

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:April 19, 2007, 09:39:39 pm
Re: Remapping keys for many games at once
« Reply #9 on: March 27, 2007, 06:47:13 pm »
Could you do 2 installs of Mame in different directories and set one to sort for only 1 and 2 player games and the other for only 3 and 4 playergames and then use the lists as two different categories in your FE?  With this setup you would just tell each install of Mame to set the controls up the way you want for the games it is used for.

I haven't really thought this out but it seems like it would work. It would be like running some games off of an old release for better speed (which sounds like a common thing.)

I don't know, maybe there are some drawbacks I'm not seeing. 

Good Luck,
Brian

That's a really good idea.....any thoughts by anybody why it wouldn't work??