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: Stargate MAME keycodes needed  (Read 1521 times)

0 Members and 1 Guest are viewing this topic.

RetroJames

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2264
  • Last login:December 10, 2021, 05:26:38 pm
Stargate MAME keycodes needed
« on: December 23, 2004, 06:46:48 pm »
Setting up a stargate cp with the Ipac. I don't have mame loaded or running right now, but need the keycodes for stargate in mame to properly wire the ipac;

i.e.

Reverse =

Thrust =

Fire =

Smart Bomb =

Hyperspace =

Invisio =

Thanks!

versapak

  • Somewhere between a block of wood and a monkey
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1655
  • Last login:October 08, 2024, 04:40:31 am
  • I am t3h GAY!!!
Re: Stargate MAME keycodes needed
« Reply #1 on: December 23, 2004, 06:59:52 pm »
Being that MAME is fully configurable in that way, wouldn't any button config work?




RetroJames

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2264
  • Last login:December 10, 2021, 05:26:38 pm
Re: Stargate MAME keycodes needed
« Reply #2 on: December 23, 2004, 07:02:16 pm »
Yes, I just thought I would wire it to the defaults

versapak

  • Somewhere between a block of wood and a monkey
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1655
  • Last login:October 08, 2024, 04:40:31 am
  • I am t3h GAY!!!
Re: Stargate MAME keycodes needed
« Reply #3 on: December 23, 2004, 07:06:24 pm »
Reverse = A

Thrust = W

Fire = Q

Smart Bomb = E

Hyperspace = D

Invisio = S




RetroJames

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2264
  • Last login:December 10, 2021, 05:26:38 pm
Re: Stargate MAME keycodes needed
« Reply #4 on: December 23, 2004, 07:13:05 pm »
Thanks!

versapak

  • Somewhere between a block of wood and a monkey
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1655
  • Last login:October 08, 2024, 04:40:31 am
  • I am t3h GAY!!!
Re: Stargate MAME keycodes needed
« Reply #5 on: December 23, 2004, 07:15:10 pm »
NP    :)

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Stargate MAME keycodes needed
« Reply #6 on: December 23, 2004, 09:48:10 pm »
Reverse = A

Thrust = W

Fire = Q

Smart Bomb = E

Hyperspace = D

Invisio = S





Are you sure?

Controls.xml shows:

<label name="P1_BUTTON1" value="FIRE"/>
<label name="P1_BUTTON2" value="THRUST"/>
<label name="P1_BUTTON3" value="SMART BOMB"/>
<label name="P1_BUTTON4" value="REVERSE"/>
<label name="P1_BUTTON5" value="INVISO"/>
<label name="P1_BUTTON6" value="HYPERSPACE"/>
   
The default mappings for the player one buttons are left control, left alt, space, left shift, z, and x.

Here's the relevant excerpt from the mame source:

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON1,         "P1 Button 1",
SEQ_DEF_5(KEYCODE_LCONTROL, CODE_OR, JOYCODE_1_BUTTON1, CODE_OR, MOUSECODE_1_BUTTON1) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON2,         "P1 Button 2",         SEQ_DEF_5(KEYCODE_LALT, CODE_OR, JOYCODE_1_BUTTON2, CODE_OR, MOUSECODE_1_BUTTON3) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON3,         "P1 Button 3",         SEQ_DEF_5(KEYCODE_SPACE, CODE_OR, JOYCODE_1_BUTTON3, CODE_OR, MOUSECODE_1_BUTTON2) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON4,         "P1 Button 4",         SEQ_DEF_3(KEYCODE_LSHIFT, CODE_OR, JOYCODE_1_BUTTON4) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON5,         "P1 Button 5",         SEQ_DEF_3(KEYCODE_Z, CODE_OR, JOYCODE_1_BUTTON5) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON6,         "P1 Button 6",         SEQ_DEF_3(KEYCODE_X, CODE_OR, JOYCODE_1_BUTTON6) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON7,         "P1 Button 7",         SEQ_DEF_3(KEYCODE_C, CODE_OR, JOYCODE_1_BUTTON7) )

INPUT_PORT_DIGITAL_DEF( 1, IPG_PLAYER1,   BUTTON8,         "P1 Button 8",         SEQ_DEF_3(KEYCODE_V, CODE_OR, JOYCODE_1_BUTTON8) )

Unless I'm missing something.   
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

versapak

  • Somewhere between a block of wood and a monkey
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1655
  • Last login:October 08, 2024, 04:40:31 am
  • I am t3h GAY!!!
Re: Stargate MAME keycodes needed
« Reply #7 on: December 24, 2004, 01:07:12 am »
I just loaded up MAME32, and listed what it said.

I have never played the game before, so I assume it is still at its defualt. Also the QWE ASD config sure seems to make more sense than the one you listed.


Heck if I know for fact though, so we may need a 3rd voice on this one.



maraxle

  • Guest
  • Trade Count: (0)
Re: Stargate MAME keycodes needed
« Reply #8 on: December 24, 2004, 08:29:49 am »
The default mappings for the player one buttons are left control, left alt, space, left shift, z, and x.  A, S, D, etc are default for player 2.

versapak

  • Somewhere between a block of wood and a monkey
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1655
  • Last login:October 08, 2024, 04:40:31 am
  • I am t3h GAY!!!
Re: Stargate MAME keycodes needed
« Reply #9 on: December 24, 2004, 09:05:10 am »
Mine doesn't list seperate controls for player one and two, so I just assumed they took turns instead of playing simultaneously.



For the record I am talking about the black list that pops up in game when you press TAB.