Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Last night I edited my crtrl file to set any Neo Geo game to use my button 7, 4, 5 and 6 so it is laid out like when you play it in the arcade. The problem I had was after I did this all the buttons moved and worked properly, all the button lit up fine for player 2 but for player one only my button 5 was the only one lit correctly. When I went into the LED plugin program I saw that for some reason for player one not only did it add key presses but it also added joystick control presses to the buttons for player 1 and further more did not assign LED colors, well button 5 was correct. I know this may all sound confusing but is there anyway for me to correct those LED colors as a whole or do I have to edit each game one by one?

Posted

I have the NeoGeo entry in my ctrlr file, there shouldn't be a need to edit games manually. Remember the plugin uses input codes to map everything so make sure you have them set correctly.

Also make sure the mame.ini file is located in the root of the Mame folder. Other than that it would help to see your PlugInLCD.log, PlugInLCD.ini, LEDInputMap.ini, Profiles\GameEx.ini, Profiles\MAME.ini and your mame.ini, ctlr file, cfg\default.cfg and the [rom].cfg of the game your testing it with.

Posted

Heya Visitor Q! Could you please put your posts in codeboxes so that it's easier to view and don't have to scroll all the way down for the next post. Makes things easier for headkaze to help ya! ;)

Posted

Here ya go. I think I got most of what you want in there. Not sure who deleted my original post but I hope you were able to read what the problem was before it was removed.

Thanks for helping.

Emulation.rar

Posted

Sorry but I can't handle long posts with config files pasted in them so I deleted them. Please attach the files in the future.

First thing I would do is delete your default.cfg. It has three key assignments for your first three buttons. No need to do that if your using a ctrlr file. So delete default.cfg.

Next I see you have some mappings for player 4 that seem a little strange. But they are probably conflicting with your first three button assignments in LEDInputMap.ini. So I would remove these if they are not needed.

P1_BUTTON1=True,LEDWiz,1,RGB,1,1,2,3,KEYCODE_A
P1_BUTTON2=True,LEDWiz,1,RGB,1,4,5,6,KEYCODE_B
P1_BUTTON3=True,LEDWiz,1,RGB,1,7,8,9,KEYCODE_C

P4_BUTTON1=True,LEDWiz,2,RGB,1,19,20,21,KEYCODE_A
P4_BUTTON2=True,LEDWiz,2,RGB,1,22,23,24,KEYCODE_B
P4_BUTTON3=True,LEDWiz,2,RGB,1,26,27,28,KEYCODE_C

Also you really should download the latest version of the plugin from here. I'll let Tom know he needs to update some of my plugins.

Posted

I did what you said but none of that fixed anything.

P1 and P4 buttons are suppose to be like that. P4 buttons are the same as P1 because they are the buttons located next to my dedicated 4 way stick.

For some reason this is only a problem with the Neo Geo games, so something is screwy here. Any other suggestions?

Posted

The problem was the NeoGeo config in your ctrlr file. Because you are using KEYCODE_G, KEYCODE_D and KEYCODE_F they are also mapped for Player 2's Right, Left and Down controls respectively by default. So in order to tell the plugin not to map these you should also include the joystick controls in your NeoGeo profile. As you can see from the attached pictures this is why only button 5 was lighting correctly as the rest were double mapped.

Another thing is the mouse codes were wrong in the old version of the plugin so your trackball should be mapped like this

MOUSECODE_1_XAXIS_NEG_SWITCH|MOUSECODE_1_XAXIS_POS_SWITCH|MOUSECODE_1_YAXIS_NEG_
SWITCH|MOUSECODE_1_YAXIS_POS_SWITCH

Not with MOUSECODE_1_UP as you had it.

As you can see with those changes the buttons should light correctly. I have attached the corrected ctrlr and LEDInputMap.ini files for you.

post-367-1234842281_thumb.png

files.zip

Posted

Looks like the trackball is strait but the neo geo is still an issue. Button 1, 2, 3 and 6 light up now. I need it so 7, 4, 5 and 6 light up, again only player 1.

Please see attached...

Second picture is for Carn Evil... Something is still not right as you can see, btw. That is what my CP looks like, fyi.

Player 1 Buttons

Left

Down

Right

Should not be labeled at all.

The button next to the spiner that says "up" should not be label at all, I am using that as a admin button.

Next to the trackball "trigger" is labeled right but it does not light up and reload should be moved over one button next to trigger which does not light up either but the funny thing is, the both work just fine.

Everything else is correct and lights up correctly.

I can't wait till I get this all strait as I know this program is awesome even with things labeled incorrrectly. =]

post-4729-1234915587_thumb.jpg

post-4729-1234916351_thumb.jpg

Posted

I didn't spend a whole of time reading everything you just said, so if this isn't helpful, I apologize in advance.

First off, I'm 99.9% sure that this is a mapping issue.

Usually when the kinda of stuff is going on that you are describing, you will find that the mame defaults for the analog controls that have entries of Inc/Dec are conflicting with your setup.

You need to look at it from a control point of view.

For example:

The button next to the spiner that says "up" should not be label at all

What input is set to that button? Let's say it's KEYCODE_A. Use the Tab menu, and go to "Input General" go throught the default settings for Players 1, 2, and 3, and check all of the entries, looking for "A" anywhere that it shouldn't be. If I remember correctly, setting Inc/dec to "NONE" causes issues as well, so I set mine to an unused letter on my keyboard. Coincidentally the letter "Q" :P

You can also set them to digital controls (joystick, buttons) on your CP, but if you have a trackball, you probably don't want to have Up/Down to show next to your joystick, in Trackball games.

Also, if you were me, you would dump the NeoGeo entry in the Ctrlr file, and use CFG Magician to remap the controls. Even if you get the NeoGeo entry to work, there are 234 additional non-clone 4 button games. Use CFG Magician, and all of your 4 button games will display correctly in CPWizard, and LEDwiz.

I personally think that was a damn fine answer, but I'm sure the Grammar Police will let you know if I made any errors. :o

Posted

So let me make sure I understand this...

I want to remove my with neo geo ctrl file. Then using your program I open the NeoGeo.csv file and configure my controls. Then from the New CFG dir I want to copy all those files into my mame cfg folder?

Sound right?

This looks to be a really great program! I hope it works for what I need it to do...

Another question, what determines the color of the buttons when they light and are you updating the csv files with each release?

Oh... Is there anyway to use this for console systems?

Posted
So let me make sure I understand this...

I want to remove my with neo geo ctrl file. Then using your program I open the NeoGeo.csv file and configure my controls. Then from the New CFG dir I want to copy all those files into my mame cfg folder?

Sound right?

Yes, but if you want to do all 4 button games, use the 4 button games list. You can create your own lists using romlister, as described in the CFG Magician thread.

This looks to be a really great program! I hope it works for what I need it to do...

Me too! :P

Another question, what determines the color of the buttons when they light and are you updating the csv files with each release?

The button colors are in colors.ini, which I believe HK typed in himself, by hand... WOW!

The csv files are created with romlister, and you can make your own anytime you want. The real question is, will I be keeping the CFG files up to date, and the answer is "probably".

Oh... Is there anyway to use this for console systems?

Not until someone makes file for consoles, with mappings for every game as they did with controls.ini. It would be almost pointless though, because consoles were meant to be played with the same controller everytime, so all games used the same controls. Mame has to deal with the controls of ~3000 systems!

Posted

How can I configure my mouse buttons to work next to my track ball so that they will light up?

How can I turn off or tell mame that I have no light gun? I want to be able to use the trackball for all light gun games currently.

How can I get the neo geo clone games to light up correctly?

Also see attached picture. Even though this game now lights up correctly it is only moving the button correctly for player 2, labeling them correctly.

Looks like I am getting a few errors with CPWiz

[3492] 2/18/2009 7:52:04 PM: ERROR @ OnMameStop (MameManager)

[3492] 2/18/2009 7:52:04 PM: Object reference not set to an instance of an object.

[3492] 2/18/2009 7:52:04 PM: at cs.i()

[3492] 2/18/2009 7:56:01 PM: ERROR @ OnMameStop (MameManager)

[3492] 2/18/2009 7:56:01 PM: Object reference not set to an instance of an object.

[3492] 2/18/2009 7:56:01 PM: at cs.i()

[3492] 2/18/2009 7:59:38 PM: ERROR @ OnMameStop (MameManager)

[3492] 2/18/2009 7:59:38 PM: Object reference not set to an instance of an object.

[3492] 2/18/2009 7:59:38 PM: at cs.i()

[3492] 2/18/2009 8:04:40 PM: Shutting Down Program Manager

[3492] 2/18/2009 8:04:40 PM: Writing Config

[3492] 2/18/2009 8:04:40 PM: Exiting

post-4729-1235006801_thumb.jpg

Posted
How can I turn off or tell mame that I have no light gun? I want to be able to use the trackball for all light gun games currently.

Mame.ini "Core input options"

How can I get the neo geo clone games to light up correctly?

Make your own list with Romlister. The ones I included are no-clone lists. Just type 'neogeo' in the edit box at the bottom of the Romlister window. (delete everything else in the box)

Also see attached picture. Even though this game now lights up correctly it is only moving the button correctly for player 2, labeling them correctly.

I just uploaded a new version of CFG Magician... If your not using v1.3, it could be the problem.

Posted

You don't have to use any program to generate cfg's for neogeo. I just showed you a screenshot of it working on my PC using your cfg's. I even corrected them and posted them again for you.

I'll repeat these few instructions just incase you skimmed over them

- Make sure you delete default.cfg

- Make sure mame.ini is in your Mame's root folder

- Make sure the GameEx profile has ALL your button's "State" set to true (this is the one file you didn't post located in Profiles\GameEx.ini)

Other than that it's probably time to do some reading because those configs work fine for me. It must be something else that is wrong.

I also appreciate you trying to help Tempest but right now it's just going to complicate things. You don't need to do anything other than have a neogeo entry in the ctrlr file to do what he wants. The problem with generating cfg's is that he will have to do it everytime he updates Mame, but with a ctrlr file you set it once and that's it.

Incidently VisitorQ as I mentioned before I have my button layout exactly the same and the neogeo buttons light up perfectly. The only difference is you are using different keycodes and have to have the joystick entries to avoid the mapping conflict. I'm sure you will kick yourself when you realise what is wrong but I think I've done all I can to help with your cfg files. Please read what I've written in this thread carefully and perhaps you could try doing a search on the boards (and read the PlugInLCD thread for instance). I understand there are no decent instructions which makes it difficult but the info is out there, in particular the PlugInLCD thread.

post-367-1235010779_thumb.jpg

Posted

I can't remember... is that the second, or third time I've been spanked this week? Is anybody keeping count? Where the hell is my prozac?

Posted
I can't remember... is that the second, or third time I've been spanked this week? Is anybody keeping count? Where the hell is my prozac?

Sorry Tempest I'm sure we can move onto the CFG Magician method soon enough, but I just thought it might complicate things for him, he's having enough trouble getting what I thought was quite simple working. I mean taking the cfg files and fixing them and posting them back; you can't get much better support than that!

VisitorQ: In reply to your PM, I don't think you are disrespecting me at all. But I would appreciate it if you took the time to read instructions carefully. I've noticed on several occations when people lose their patience and miss a key peice of information (I know because that's what guys do; like when we purchase a piece of hardware and install it without reading the instructions). So it's worth taking the time. What I don't understand is how I can post back the working configs and it's still not working for you. Rather than putting the ball back in my court again and waiting on me to work it out for you, read over what has been said and check everything carefully.

Posted
Sorry Tempest I'm sure we can move onto the CFG Magician method soon enough, but I just thought it might complicate things for him, he's having enough trouble getting what I thought was quite simple working. I mean taking the cfg files and fixing them and posting them back; you can't get much better support than that!

VisitorQ: In reply to your PM, I don't think you are disrespecting me at all. But I would appreciate it if you took the time to read instructions carefully. I've noticed on several occations when people lose their patience and miss a key peice of information (I know because that's what guys do; like when we purchase a piece of hardware and install it without reading the instructions). So it's worth taking the time. What I don't understand is how I can post back the working configs and it's still not working for you. Rather than putting the ball back in my court again and waiting on me to work it out for you, read over what has been said and check everything carefully.

Great support sure but it did not correct the problem. Let me get stuff back to the way it was and then if you don't mind we can try and pick up the loose ends. If it was just a matter of copying those files overtop what i had and removing a few others I would still not be asking questions. :(

Posted

I just put it all back in place and post 16 is how lights and looks in CPWiz, although when I play the game it control correctly using 7, 4, 5 & 6 so this is not a problem with it sat up wrong in mame since it controls right.

I have no clue, I will print out and go over everything you said but I copy those files back over and deleted what you instructed me to do. I also sat my default Game Ex states all to true.

It's like Mame is right but something is not telling CPWiz or the LED program the correct information to display. I tried shutting down CPWiz and the problem remains the same.

Posted
Great support sure but it did not correct the problem. Let me get stuff back to the way it was and then if you don't mind we can try and pick up the loose ends. If it was just a matter of copying those files overtop what i had and removing a few others I would still not be asking questions. :(

Support is only as good as the person your giving it to :P

I demonstrated that it works I just think you need to double check everything. BTW I was hoping it was as simple as copying over those files I gave you but obviously it wasn't. It would also help if you gave detailed info on what you've tried to do. The more info you can give me the better help I can give back. Right now I have no idea what you've tried. Like at least if you went through all the points I've asked you to check and verified you've done them I wouldn't have to repeat myself thinking you haven't tried them. I also find screenshots and photos can help although only if they demonstrate something not apparent in the cfg's.

Either way getting frustrated doesn't help anyone. It's best to stay positive and patient so you don't have the support person giving up on trying to help you. These things get solved eventually it just takes time and effort on both sides. But I tend to be less helpful to people who don't appear to be helping themselves or giving me the info I need. So far we've solved your cfg issue because you put the effort in to post the files.

Posted
I just put it all back in place at post 16 is how lights and looks in CPWiz.

This is a perfect example of being vague. It gives me no info whatsoever.

EDIT: One other thing; let's solve your PlugInLCD problem first and then worry about CPWizard. The chances are the same problem is causing them both issues anyway as they use the same input mapping code. One thing I haven't mentioned is when you change your cfg's you should exit out of CPWizard and PlugInLCD and run it again. It loads up all the cfg's when it first runs so you have to run it again when you change a file.

Guest
This topic is now closed to further replies.
×
×
  • Create New...