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: quick mame ini control question  (Read 1494 times)

0 Members and 1 Guest are viewing this topic.

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
quick mame ini control question
« on: May 12, 2004, 06:37:37 pm »
How do you type the keycode for this command?


P1_JOYSTICKRIGHT_UP  

I want the up and right arrow on my keyboard for that command

How does it need to be written exactly so it will work?

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:quick mame ini control question
« Reply #1 on: May 13, 2004, 07:14:43 am »
How do you type the keycode for this command?


P1_JOYSTICKRIGHT_UP  

I want the up and right arrow on my keyboard for that command

How does it need to be written exactly so it will work?
I'm assuming here that you have ctrlr.ini files set up and working, and that you want the P1_JOYSTICKRIGHT_UP (up right joystick on a 2 joystick game like Robotron or assault) command mapped to "the up and right arrow keys"

Line should read

P1_JOYSTICKRIGHT_UP "KEYCODE_UP KEYCODE RIGHT"

This gets placed in either the default.ini or gamename.ini file in you ctrlr files directory.

See http://www.mameworld.net/easyemu/mamecontrolini.htm for more info.
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:quick mame ini control question
« Reply #2 on: May 13, 2004, 10:16:18 am »
The information above is correct.

However...

You probably do not want to do that for Robotron. If you do, you will have to move the right stick to a diagonal (up and right) to go UP.

P1_JOYSTICKRIGHT_UP is the retting for UP on the righthand stick.  It is NOT the setting for the Right Up diagonal direction.

Robotron should be setup like this:
Code: [Select]
P1_JOYSTICKLEFT_UP          "KEYCODE_UP"
P1_JOYSTICKLEFT_DOWN        "KEYCODE_DOWN"
P1_JOYSTICKLEFT_LEFT        "KEYCODE_LEFT"
P1_JOYSTICKLEFT_RIGHT       "KEYCODE_RIGHT"


P1_JOYSTICKRIGHT_UP          "KEYCODE_R"
P1_JOYSTICKRIGHT_DOWN        "KEYCODE_F"
P1_JOYSTICKRIGHT_LEFT        "KEYCODE_D"
P1_JOYSTICKRIGHT_RIGHT       "KEYCODE_G"

This setup works for Robotron, Crazy Climber, Black Widow, Battle Zone and other 1 player dual joystick games.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:quick mame ini control question
« Reply #3 on: May 13, 2004, 11:00:33 pm »
do right_up is not diagnol right  but rather up on the right control?

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:quick mame ini control question
« Reply #4 on: May 13, 2004, 11:06:41 pm »
Exactly!

right_up is up on the right control.

left_up is up on the left control.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility