Software Support > PowerMAME
Confusion about ledwiz.cfg and individual .lsq files
Circo:
I have been trying to get this to work for a couple of days now, and it is finally time to ask for help. I am trying to configure my LED-WIZ to work with powermame and I am not having much luck. My problem is with the in-game controls part.
My ledwiz.cfg file is like this:
1 48 KEYCODE_7
4 48 KEYCODE_H
7 48 KEYCODE_9
10 48 KEYCODE_0
13 48 KEYCODE_Z
16 48 KEYCODE_X
19 48 KEYCODE_LSHIFT
22 48 KEYCODE_LMOUSE
23 48 KEYCODE_L
24 48 KEYCODE_RMOUSE
30 48 KEYCODE_TRACKBALL
For some reason it doesn
Fat-Johnny:
I'll give it a shot.
1) From the looks of your ledwiz.cfg, you have the RGB led's hooke up to 123 and 456 and 789 etc.. So with this .cfg file, you just wanna get the red's working, just so you can see SOMETHING....correct?? If that's the case, it looks OK so far.
2) What version of Powermame are you using? Powermame32 or commandline Powermame?
3) If using commandline MAME, check in you root MAME folder for mame.ini. Make sure that the following stuff is in mame.ini Also, try messing with the settings for attract, events, and controls. Try different combinations of these three.
pause_message "test"
ledwiz_timeout 60
ledwiz_attract 1
ledwiz_events 1
ledwiz_controls 1
gpwiz49 0
gpwiz49stick 0
4) If using Powermame32, go to general ame options, and check the PowerMAME tab. Make sure the options for controls, events, and attract are checked there.
5) Are you using a USB hub?? I had an issue with using a hub.....my buttins would light in attract mode, and they would make the event flashesm but they would not light up in-game (controls). Disconnect the hub, and go right to the PC's mobo.
6) If using commandline Powermame, try using Powermame32 as well. This really helped me figur out what was going on w/ my setup.
7) It sounds obvious (duh), but make sure that your keycodes are set up yo the right keystrokes within mame itself. I had this happen to me. I had my ledwiz.cfg set to light P1 buttons 1, 2, and 3:
1 48 KEYCODE_7
4 48 KEYCODE_H
7 48 KEYCODE_9
but within MAME, I had P1_button1 as "D", P1_button2 as "L_SHIFT", and button3 as "R_CTRL". No wonder they werent lighting up!!
Try some of this stuff, and lemme know what you see. I just went through these pains myself, and it is pretty fresh in my mind. Another tip is to start small. Just program your ledwiz.cfg file to light the three P1 buttons (single color) at first. Get that working, then add the rest of your CP's buttons. Get that working, then add multiple colors. Get that working, then add the individual gamename.lq files.
Give it a whirl, and report your findings here.
Good luck,
FJ
Circo:
--- Quote from: Fat-Johnny on March 12, 2006, 10:16:06 am ---
5) Are you using a USB hub?? I had an issue with using a hub.....my buttins would light in attract mode, and they would make the event flashesm but they would not light up in-game (controls). Disconnect the hub, and go right to the PC's mobo.
Give it a whirl, and report your findings here.
Good luck,
FJ
--- End quote ---
Thanks for your detailed response. I believe I have it figured out, but I am a little concerned by my findings. I am hooked up directly to the usb port on the mobo. What happens is that when I go into the game the attract mode works fine and when I insert a coin it will do the coin event. If I insert enough coins every once in awhile the controls will light up, but if I get them to come on the next coin event they usually shut off again. It is almost as if powermame is shooting a real quick signal to the led-wiz and it is missing it. If I do not have the coin event on it does not work at all. I think that is because after each coin event powermame resends the information for the controls. I have tried every usb port on the computer and it does not improve.
Luckily this is not my arcade computer, I was working on this in my office so hopefully when I hook it up to the arcade cab it will work fine.
Is it possible that this is a bug in powermame?
Anyway I will post an update if I can get it working better.
Here is what I am going to try in order.
1. Better USB Cable
3. New Computer
2. USB 2.0 PCI Card
4. Direct 5V Power to LED-WIZ
If that doesn't work I will just hope that powermame 1.5 fixes the problem. While I am at it I would just like to say curses to powermame for making me feel obligated to spend all of this money just to make my cab all flashy.. Curses!!!! ;D
Forgot to ask: Are the .lsq files wrote just like the ledwiz.cfg file? Thanks
Fat-Johnny:
--- Quote from: circo on March 12, 2006, 12:21:36 pm ---Is it possible that this is a bug in powermame?
--- End quote ---
I dunno....you wont tell me what version Powermame you are trying to use, nor will you say if you are using commandline powermame or Powermame32. There HAVE been bugs in these first few versions (since PowerMAME IS in it's infancy). Try using version 104.1.2 (latest ver. available on the website) and try using both commandline and 32, and see if you get the same behavior with both.
--- Quote from: circo on March 12, 2006, 12:21:36 pm ---Forgot to ask: Are the .lsq files wrote just like the ledwiz.cfg file? Thanks
--- End quote ---
No. .lsq files merely reference .lwa files. .lwa files are generated by using LumeAura. You can take a a look inside and edit them by using notepad or wordpad.
FJ
Circo:
Oh sorry I am using the latest version of both powermame and powermame32. I am at work, so I do not have the version number, but I redownloaded both last night just to make sure that I was using the newest version. I am having the same issue with both.
I realize that powermame is in it's infancy and even still it is very nice and I look forward to what it will eventually evolve into.
Navigation
[0] Message Index
[#] Next page
Go to full version