Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Deefish on January 26, 2008, 01:46:23 pm

Title: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish on January 26, 2008, 01:46:23 pm

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
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: loadman on January 27, 2008, 05:08:58 am
Did you refresh the main game list after editing controls.ini?
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish 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
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: loadman on January 27, 2008, 05:25:45 pm
 ???    I dunno .  That should be all you need to do...?  Works for me.  :dunno
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: arzoo 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.
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish 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
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: headkaze on January 28, 2008, 09:53:50 pm
Did he actually mention which plugin he's using?
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: arzoo 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?
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish 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
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: arzoo 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.
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: loadman 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?
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish 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
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: loadman 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?
Title: Re: How do I edit controls.ini so that LED WIZ lights correct buttons?
Post by: Deefish 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