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: mala question  (Read 4393 times)

0 Members and 1 Guest are viewing this topic.

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
mala question
« on: February 27, 2008, 08:51:51 pm »
is it possible to assign more than one key to a control.

for example can i make t and m be 'left'

if its possible how?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mala question
« Reply #1 on: February 27, 2008, 09:38:38 pm »
is it possible to assign more than one key to a control.

for example can i make t and m be 'left'

if its possible how?

No, But your keyboard encoder should let you allocate the same key to two or more buttons  :)

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #2 on: February 27, 2008, 09:43:27 pm »
what happens when I want to play 4 player sprint on my cocktail cab (third control panel)?

 :cry:

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: mala question
« Reply #3 on: February 28, 2008, 02:45:41 am »
Maybe try AutoHotkey or AutoIt? I'm not sure if anything can send keys to Mame anymore though.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mala question
« Reply #4 on: February 28, 2008, 04:29:10 am »
what happens when I want to play 4 player sprint on my cocktail cab (third control panel)?

 :cry:


If you describe exactly what your setup is and what you hope to achieve in more detail someone should have a solution,

I assume you want the one of the other two sides to move the game list without rotating the game list too that side?  I have a cocktail and I use the cocktail mapping function. The control set changes depending of what side mala is facing

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #5 on: February 28, 2008, 10:58:47 am »
Yeah that is pretty much what I want to do.

When you are on the third control panel side with a horizontal layout, the joys/buttons on that panel do the navigation. When you are looking at a vertical layout from the one of cocktail sides I want that user to be able to navigate.

This is achieved with "control sets"?

I looked at the program for about and hour a couple of weeks ago. While I really liked it I couldn't figure the control sets out. Can you point me to a tutorial, or a brief run down?

Or is everything I need in the wiki? I think I looked there before but couldn't find anything.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mala question
« Reply #6 on: February 28, 2008, 07:03:33 pm »

OK

Have a look here:

http://mala.arcadezentrum.com/controllerdetection.html

If you have your controls on each side of the table wired to SEPARATE inputs on your controller you can use this feature. The controls are divided up into sets (the number of sets you need to set up will be the same as the number of sides on your controller you have controllers on..Normally 2 or 3) The game list automatically will rotate to face the user that moves the joystick (or presses a button on that side). MaLa can also be set to display a different custom list for each side (usually with appropriate games for the controls on that side) and send a different command to MAME (if required).

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #7 on: February 29, 2008, 12:27:59 pm »
thanks,

I'll give it a shot this weekend.

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: mala question
« Reply #8 on: February 29, 2008, 03:28:08 pm »
Can you just wire your buttons to the same input on you controls interface?  That also frees up slots for other buttons.  I don't know what hardware you are using, but the KeyWiz software will let you make every single button attached to it add coin if you want. :)

Am I missing something?

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #9 on: March 01, 2008, 10:24:49 am »
yes I could, but that would preclude me from using those same controls for simultaneous multiple players.

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #10 on: March 02, 2008, 11:05:20 pm »
alright looks like i am on my way to getting MaLa configured for my cocktail table. Ran into another problem this one seems alittle strange.

I now have 3 control sets one for each side of my cocktail. No when I exit from control set 3 which is on a vertical end something weird happens- mame exits to MaLa for about a half second...then my mame executable that I have setup for control set 2...which is my horizontal side... gets initiated but loads the same game which was being exited from. Then when I exit the second time, no prob...exits like a champ.

Basically I exit game get reloaded with a mame executable for a different control set, then I exit a second time which is a normal exit to MaLa.

Any ideas? I already checked to see if there are any overlapping keys for exit and load the exe, but I found nothing.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mala question
« Reply #11 on: March 03, 2008, 04:23:28 am »
. No when I exit from control set 3 which is on a vertical end something weird happens- mame exits to MaLa for about a half second...then my mame executable that I have setup for control set 2...which is my horizontal side... gets initiated but loads the same game which was being exited from. Then when I exit the second time, no prob...exits like a champ.

What do you mean
Quote
my mame executable that I have setup for control set 2
  ???  You Don't put mame.exe's in the command section of coctail mapping.

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: mala question
« Reply #12 on: March 03, 2008, 12:10:13 pm »
Quote
What do you mean

I don't know how to explain it any other way. When I exit the game from one side of the cocktail table, the game exits to mala, then a split second later mame is automatically reloaded with the same rom. but with the mame executable that i have set up for a different side of the table
Quote
  ???  You Don't put mame.exe's in the command section of cocktail mapping.

I am using this principle

Click

I basically have 3 different control configurations i need for mame so therefore I am using 3 different mame folders each set up for which side of the cocktail table player one is sitting at.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mala question
« Reply #13 on: March 03, 2008, 05:30:33 pm »
OK Just so you know.

MaLa was not designed to load mame or other emulators in that section. That was just if you wanted to load other .exe like a calculator or something. I used it to load windows explorer and network config.

 Mame or Emus should only be loaded in the section provided to have MaLa work properly.

There are two ways you go:

Either way You don't need 3 mame folders,

Option 1)

You just need 3 mame configs

Just point mala do 3 different config files in the cocktail mapping section by adding the extra parameters to mame to have it point to the right config file depending on what rotation you have set.

A trap in MaLa is you need to set the command line on the box on the opposite side (i think it's  bug) see attached pic.

I put a mala.ini file in the subfolder called otherini.  So instead of loading the normal mala.ini it loads the one found in the folder otherini instead. that version of mala ini tells mame to rotate.

2) The easier way is just to click auto rotate.  This assumes you have a game that is set-up for that angle of course.

Play around with it and see what works for you
« Last Edit: March 03, 2008, 06:37:53 pm by loadman »