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: How do I edit controls.ini so that LED WIZ lights correct buttons?  (Read 2559 times)

0 Members and 1 Guest are viewing this topic.

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.

Hey, can anyone help me with this issue. I am running MALA 1.04 with VCPO3 layout that shows the controls for each game. I have one LED WIZ that controls all my buttons LEDS. Pretty much all the games are correct and it works great with the controls.ini. I have found a few games that are not correct, ie, there are extra buttons lit up and displayed on the layout.

Can someone show me a step by step way to edit the controls.ini so that I delete or change the extra buttons game by game? I searched the forums and did not find the specific answer to this question. I know this should be easy, and I did try to edit the controls.ini, but it did not work for me. I must be not doing all the steps right.

One game in particular that I noticed is Hyer Olympic '84, it shows 4 buttons to play when it only needs 3 buttons, 2 run and one action button. The history shows this to be correct for 3 buttons. I am pretty sure that I have the most recent controls file. Any suggestions?

Thanks,
Deefish

loadman

  • Wiki Contributor
  • 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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #1 on: January 27, 2008, 05:08:58 am »
Did you refresh the main game list after editing controls.ini?

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #2 on: January 27, 2008, 03:11:05 pm »
Ok, I refreshed the main game list. Still the same. I even tried to create an entry for Hyper Olympic '84, but it did not change.

Could it be the Layout of Mala VCPO3 that is showing incorrectly or is it because controls.dat project does not have every rom in the ini?

Any one got a step by step directions on how to correct games in the controls.ini? anyone had luck with this at all?

Thanks,
deefish

loadman

  • Wiki Contributor
  • 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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #3 on: January 27, 2008, 05:25:45 pm »
 ???    I dunno .  That should be all you need to do...?  Works for me.  :dunno

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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #4 on: January 28, 2008, 09:27:51 am »
Edit the controls.ini - set P1NumButtons=3 and delete the entry for the 4th button P1_BUTTON4=??. That should do the trick.
Robots will kill you.



Arcade Addiction

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #5 on: January 28, 2008, 09:25:53 pm »
arzoo, you would think that would be it, but the entry does not have a 4th button line. Also the P1NmButtons is set to 3 on all of the sports games, ie, track and field and Hyper Sports and Hyper Olympic '84.

Thanks for the suggestion though. Any other ideas?

deefish

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #6 on: January 28, 2008, 09:53:50 pm »
Did he actually mention which plugin he's using?

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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #7 on: January 29, 2008, 09:26:47 am »
Did he actually mention which plugin he's using?

He did not. He did mention he's using a mala layout with a built-in (very basic) cp viewer - I figure that code must use controls.ini like the rest of us.

deefish - I tested Hyper Sports with LEDBlinky and it only lights up 3 buttons. So which LED plugin are you using?
Robots will kill you.



Arcade Addiction

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #8 on: January 29, 2008, 03:37:03 pm »
Hey Guys, I am using the LEDWIZ v2.0 plugin for MALA.

When get home from work I will check Hyper Sports. I was specificaly talking about Hyper Olympic '84, which was not in the controls.ini, I copied the entry for Track and Field hoping that it would work, since I think '84 is a clone?  and was not included in the controls project. Or am I wrong?

Either way, I was thinking that If I needed to add any other game not in the controls.ini list that I should be able right? The crucial thing being adding the correct rom title at the top, ie [hyprolym] so that it points to the correct rom file. Does that seem right?

deefish

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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #9 on: January 29, 2008, 03:58:31 pm »
Hey Guys, I am using the LEDWIZ v2.0 plugin for MALA.

When get home from work I will check Hyper Sports. I was specificaly talking about Hyper Olympic '84, which was not in the controls.ini, I copied the entry for Track and Field hoping that it would work, since I think '84 is a clone?  and was not included in the controls project. Or am I wrong?
I would expect that LEDWiz uses both the ROM and CLONEOF values to locate the game in controls.ini - but Loadman will have to answer that. Testing Hyper Sports won't really prove anything because I tested with a different plugin.

Quote
Either way, I was thinking that If I needed to add any other game not in the controls.ini list that I should be able right? The crucial thing being adding the correct rom title at the top, ie [hyprolym] so that it points to the correct rom file. Does that seem right?

deefish
You should be able to add values to controls.ini, but I'm not sure why it would be necessary. LEDBlinky looks for the game in controls.ini and then if it's not found it looks at mame.xml (which has all the games). I would expect that the LEDWiz plugin does the same.
Robots will kill you.



Arcade Addiction

loadman

  • Wiki Contributor
  • 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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #10 on: January 29, 2008, 04:18:27 pm »
Hey Guys, I am using the LEDWIZ v2.0 plugin for MALA.

When get home from work I will check Hyper Sports. I was specificaly talking about Hyper Olympic '84, which was not in the controls.ini, I copied the entry for Track and Field hoping that it would work, since I think '84 is a clone?  and was not included in the controls project. Or am I wrong?
I would expect that LEDWiz uses both the ROM and CLONEOF values to locate the game in controls.ini - but Loadman will have to answer that. Testing Hyper Sports won't really prove anything because I tested with a different plugin.

Quote
Either way, I was thinking that If I needed to add any other game not in the controls.ini list that I should be able right? The crucial thing being adding the correct rom title at the top, ie [hyprolym] so that it points to the correct rom file. Does that seem right?

deefish
You should be able to add values to controls.ini, but I'm not sure why it would be necessary. LEDBlinky looks for the game in controls.ini and then if it's not found it looks at mame.xml (which has all the games). I would expect that the LEDWiz plugin does the same.


Yes, You assume correctly.

Is the path to controls ini set properly in MaLa?  Try removing the link and re-setting it?

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #11 on: January 30, 2008, 08:35:21 pm »
Ok guys, I checked both controls.ini and mame.xml for Hyper Sports and they both show only 3 buttons for the controls. The MALA layout shows 4 buttons and LEDWIZ lights 4 buttons. What am I missing that could be causing this to happen? Is there some other file that sways the buttons layout and that would override the lights for LED wiz?

This is not a show stopper in any way, its just anoying that I cant easily edit an incorrect controls to show properly.

Thanks for all the help guys,
deefish

loadman

  • Wiki Contributor
  • 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: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #12 on: January 31, 2008, 04:54:50 am »
Ok guys, I checked both controls.ini and mame.xml for Hyper Sports and they both show only 3 buttons for the controls. The MALA layout shows 4 buttons and LEDWIZ lights 4 buttons. What am I missing that could be causing this to happen? Is there some other file that sways the buttons layout and that would override the lights for LED wiz?

This is not a show stopper in any way, its just anoying that I cant easily edit an incorrect controls to show properly.

Thanks for all the help guys,
deefish

Does Hyper Sports have a master rom?

Deefish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 19, 2024, 05:27:17 pm
  • Is there something in my teeth? Look close.
Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
« Reply #13 on: January 31, 2008, 01:02:57 pm »
Well, the mame.xml says that Hyper Sports is a clone of Track and Field. My track and field rom works fine and shows 3 buttons, so I just dont understand were Hyper Sports is picking up this fourth button and why.

deefish