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

HK,

Here are the files you asked or I hope it can shed light on some things. Also how do you edit the favorites profile? I have a "2" at the top of the games list. I Don't know how it got there. For some reason it is not using the colors.ini. If I don't manually set up the lights the buttons stay off.

PluginLCD.rar

Posted

Can you also zip up your PluginLCD\Profiles folder.

You know perhaps there is a permission problem here? Since I write data to PluginLCD in Vista your supposed to write all data to "Documents & Settings". Also you need to check the PluginLCD.log *after* your running GameEx and selected a game that should be showing it's colors. Then exit GameEx and check the log then. Even if you go into the Configuration then the log file is cleared again, potentially clearing out any error that might help me.

Can you check in the PluginLCD folder for a file called MiniInfo.xml. Check that it exists and contain's color data for controls.

BTW Loved your photo's in the cabinets thread. And that PC looks like an F'n beast!

Posted

I think I'll wait for you to get home and answer those other questions. I notice you have a lot of entries for Mame, I suppose this is because you have to manually do the colors for them. It would probably be better to try and get colors.ini working before you do any custom colors.

To be honest I think the best bet would be to delete the entire PluginLCD folder and download the latest versions and set everything up again.

See if it's creating MiniInfo.xml okay, and things like that. So far this is the only reported case of colors.ini not working so it might be something minor, it could be a Vista issue or it could be a bug. I need a bit more investigation on your end if possible.

Posted
BTW Loved your photo's in the cabinets thread. And that PC looks like an F'n beast!

Thanx it is. Try carrying that thing up a flight of stairs or two :) The specs on it are as follows;

Intel Q6600 Quad Core 2.40GHz OC'd to 3.8GHz

A-Bit IP35 Pro Motherboard

4GB Of Corsair RAM

XForce 512MB Graphics Card

500GB HD

Pioneer 20x Internal SATA DVD Writer

Thermaltake Xaser VI Case

Thermaltake Big Water 780i Water Cooling Kit

Thermaltake 650w Power Supply.

Windows Vista Ultimate 64 Bit Edition

My Other One (which is at work) is exactly the same except

it has 2 Hard Drives one 80GB (Partioned into 2 40GB) and a 200GB

5 LG 18x SATA DVD Writers

This is also a dual boot system. It will do XP 32 bit with SP2 and also Windows Vista Ultimate 64

Posted
I think I'll wait for you to get home and answer those other questions. I notice you have a lot of entries for Mame, I suppose this is because you have to manually do the colors for them. It would probably be better to try and get colors.ini working before you do any custom colors.

To be honest I think the best bet would be to delete the entire PluginLCD folder and download the latest versions and set everything up again.

See if it's creating MiniInfo.xml okay, and things like that. So far this is the only reported case of colors.ini not working so it might be something minor, it could be a Vista issue or it could be a bug. I need a bit more investigation on your end if possible.

*Groan*

you sure there isn't any other way that to set all that up again? Sorry man but I'm lazy :) I think I'll wait or I'll just do it for the deskmame one (since it is a solitaire unit). My work schedule won't be clear till Sunday. So I'll shoot for there ok? :)

Posted
*Groan*

you sure there isn't any other way that to set all that up again? Sorry man but I'm lazy :) I think I'll wait or I'll just do it for the deskmame one (since it is a solitaire unit). My work schedule won't be clear till Sunday. So I'll shoot for there ok? :)

Just back up your current PluginLCD folder so you can copy it back. But yes, it would help to see if starting from scratch does anything different. Right now I don't have any leads on what is causing your problem. So if we want any sort of hope of fixing it then it's best we try out these things. I don't expect you to try that first, but just check out the other things I've suggested then try that.

Posted
Just back up your current PluginLCD folder so you can copy it back. But yes, it would help to see if starting from scratch does anything different. Right now I don't have any leads on what is causing your problem. So if we want any sort of hope of fixing it then it's best we try out these things. I don't expect you to try that first, but just check out the other things I've suggested then try that.

Ok I will do that when I wake up. I'll download 2.68 and start anew and see what happens :) I'll try it on the deskmame solitare unit first. (less to setup cause i'm lazy) :)

Posted

Ok,

aftr deleting everything and starting again I am still having the same problem. Here is the new plugin folder zipped up. Also I still have a #2 at the top of my favories list that is buggin me? How do I get rid of it? I can't find a favories.ini anywhere. :unsure: it won't let me upload the contents let me know what files you need. Even using upx I could only get it down to 3.24MB

Posted
Ok,

aftr deleting everything and starting again I am still having the same problem. Here is the new plugin folder zipped up. Also I still have a #2 at the top of my favories list that is buggin me? How do I get rid of it? I can't find a favories.ini anywhere. :unsure: it won't let me upload the contents let me know what files you need. Even using upx I could only get it down to 3.24MB

bump?

Posted
You know perhaps there is a permission problem here? Since I write data to PluginLCD in Vista your supposed to write all data to "Documents & Settings". Also you need to check the PluginLCD.log *after* your running GameEx and selected a game that should be showing it's colors. Then exit GameEx and check the log then. Even if you go into the Configuration then the log file is cleared again, potentially clearing out any error that might help me.

Can you check in the PluginLCD folder for a file called MiniInfo.xml. Check that it exists and contain's color data for controls.

Posted

Ok,

here's some things out of the miniinfo.xml

<ControlsDat NumPlayers="1" Alternating="0" Mirrored="0" UsesService="0" Tilt="1" Cocktail="0">

<MiscDetails>This game has a ton of extra inputs that show up do to a digital hack. Ignore them as buttons 1-4 is all you need.</MiscDetails>

<Player Number="1" NumButtons="4">

<Controls>

<Control Name="270 Steering Wheel">

<Constant Name="paddle" />

</Control>

<Control Name="High-Low Shifter">

<Constant Name="button" />

<Button Name="P1_BUTTON4" />

</Control>

<Control Name="Pedal (Microswitch)">

<Constant Name="button" />

<Button Name="P1_BUTTON1" />

</Control>

<Control Name="Pedal (Microswitch)">

<Constant Name="button" />

<Button Name="P1_BUTTON2" />

</Control>

</Controls>

<Labels>

<Label Name="P1_BUTTON1" Value="Accelerate" Color="Black" />

<Label Name="P1_BUTTON2" Value="Brake" Color="Black" />

<Label Name="P1_BUTTON3" Value="Nitro" Color="Red" />

<Label Name="P1_BUTTON4" Value="Hi / Lo" Color="Black" />

<Label Name="P1_PADDLE" Value="Left" Color="Black" />

<Label Name="P1_PADDLE_EXT" Value="Right" Color="Black" />

</Labels>

</Player>

</ControlsDat>

</Game>

<Game Name="topspedu" SourceFile="topspeed.c" CloneOf="topspeed" RomOf="topspeed">

<Description>Top Speed (US)</Description>

<Year>1987</Year>

<Manufacturer>Taito America Corporation (Romstar license)</Manufacturer>

<Input Players="1" Buttons="8" Coins="2" Service="False">

<Control Type="joy4way" />

<Control Type="stick" />

</Input>

</Game>

<Game Name="fullthrl" SourceFile="topspeed.c" CloneOf="topspeed" RomOf="topspeed">

<Description>Full Throttle (Japan)</Description>

<Year>1987</Year>

<Manufacturer>Taito Corporation</Manufacturer>

<Input Players="1" Buttons="8" Coins="2" Service="False">

<Control Type="joy4way" />

<Control Type="stick" />

</Input>

</Game>

<Game Name="opwolf" SourceFile="opwolf.c">

<Description>Operation Wolf (World, set 1)</Description>

<Year>1987</Year>

<Manufacturer>Taito Corporation Japan</Manufacturer>

<Input Players="1" Buttons="2" Coins="2" Service="False">

<Control Type="lightgun" />

</Input>

<ControlsDat NumPlayers="1" Alternating="0" Mirrored="0" UsesService="0" Tilt="1" Cocktail="0">

<MiscDetails />

<Player Number="1" NumButtons="2">

<Controls>

<Control Name="Analog Gun">

<Constant Name="stick" />

<Button Name="P1_BUTTON1" />

<Button Name="P1_BUTTON2" />

</Control>

</Controls>

<Labels>

<Label Name="P1_BUTTON1" Value="Fire" Color="White" />

<Label Name="P1_BUTTON2" Value="Rocket Gun" Color="Red" />

<Label Name="P1_AD_STICK_X" Value="Aim Left" />

<Label Name="P1_AD_STICK_X_EXT" Value="Aim Right" />

<Label Name="P1_AD_STICK_Y" Value="Aim Up" />

<Label Name="P1_AD_STICK_Y_EXT" Value="Aim Down" />

</Labels>

</Player>

</ControlsDat>

</Game>

<Game Name="opwolfa" SourceFile="opwolf.c" CloneOf="opwolf" RomOf="opwolf">

<Description>Operation Wolf (World, set 2)</Description>

<Year>1987</Year>

<Manufacturer>Taito Corporation Japan</Manufacturer>

<Input Players="1" Buttons="2" Coins="2" Service="False">

<Control Type="lightgun" />

</Input>

</Game>

<Game Name="opwolfu" SourceFile="opwolf.c" CloneOf="opwolf" RomOf="opwolf">

<Description>Operation Wolf (US)</Description>

<Year>1987</Year>

<Manufacturer>Taito America Corporation</Manufacturer>

<Input Players="1" Buttons="2" Coins="2" Service="False">

<Control Type="lightgun" />

</Input>

</Game>

<Game Name="opwolfb" SourceFile="opwolf.c" CloneOf="opwolf" RomOf="opwolf">

<Description>Operation Bear (bootleg of Operation Wolf)</Description>

<Year>1987</Year>

<Manufacturer>[Taito] (Bear Corporation Korea bootleg)</Manufacturer>

<Input Players="1" Buttons="2" Coins="2" Service="False">

<Control Type="lightgun" />

</Input>

</Game>

At this point I'm going to abandon trying to get the colors.ini to work. either it's because I don't have what the buttons are mapped to or it's a Vista issue. Don't worry about it. The plugin works fine if I setup the individual games. If I do few a day eventually I'll have all the games I play set up thanx for your time and patience. :)

Posted

Well I was just quoting my last reply because you hadn't given me that info yet. So it is creating MiniInfo.xml which rules that out. It could still be a permissions thing. Did you check PluginLCD.log after displaying a game in GameEx? The easiest way for me to fix a bug is when an error occurs and it is logged to the log file. There is a method in my madness trust me.

I'm happy to help resolve this, but you gotta give me the info I need. The more info I can get the better I can track it down. And also note noone else has reported this issue which makes it even harder to track down. Also if your too lazy to work with me to help you fix it, then I can't help that either! :P

I'm not sure where you can upload the data, maybe a MegaUpload account or something?

Posted
Well I was just quoting my last reply because you hadn't given me that info yet. So it is creating MiniInfo.xml which rules that out. It could still be a permissions thing. Did you check PluginLCD.log after displaying a game in GameEx? The easiest way for me to fix a bug is when an error occurs and it is logged to the log file. There is a method in my madness trust me.

I'm happy to help resolve this, but you gotta give me the info I need. The more info I can get the better I can track it down. And also note noone else has reported this issue which makes it even harder to track down. Also if your too lazy to work with me to help you fix it, then I can't help that either! :P

I'm not sure where you can upload the data, maybe a MegaUpload account or something?

Hmmm do I attempt to run a game I haven't setup yet? then up the log? I don't mind giving data but I am starting to feel like I am being selfish since no one else is having the problem. I also know you are busy. If you can track down the problem without a whole lotta effort fine, if not don't worry about it. Like I said if I do a few games a day eventually I'll have all of the ones I play setup :)

Posted

Actually I do prefer to get things like this fixed so don't feel like your putting me out.

Well what we need to do is choose a game that has the following characteristics:

- It's a Mame game

- You know it has an entry in MiniInfo.xml *with* the button colors defined for it

- You haven't already created a custom entry for it (no entry in Profiles\MAME.ini)

- It's not showing any colors correctly

So once we have a game there go into GameEx and hilight the game in the list. Then just exit out of GameEx the usual way. If there is an error occuring then it should show up in the PluginLCD.log file.

If there is an error in the log then I should be able to solve it quite easily. If there is no error in the log I will have to add some extra log output and upload a version of the plugin for you. Then at least we can get more info about what is happening and why the colors arn't showing from colors.ini. But make sure you pick a game that has the above criteria so we can be on the same page.

Posted
Actually I do prefer to get things like this fixed so don't feel like your putting me out.

Well what we need to do is choose a game that has the following characteristics:

- It's a Mame game

- You know it has an entry in MiniInfo.xml *with* the button colors defined for it

- You haven't already created a custom entry for it (no entry in Profiles\MAME.ini)

- It's not showing any colors correctly

So once we have a game there go into GameEx and hilight the game in the list. Then just exit out of GameEx the usual way. If there is an error occuring then it should show up in the PluginLCD.log file.

If there is an error in the log then I should be able to solve it quite easily. If there is no error in the log I will have to add some extra log output and upload a version of the plugin for you. Then at least we can get more info about what is happening and why the colors arn't showing from colors.ini. But make sure you pick a game that has the above criteria so we can be on the same page.

Ok I used berzerk set 1

here is the log file :)

PluginLCD.rar

Posted

Okay, no error so that doesn't help me. I'll have to write you up a special debug version of the plugin. Should be done when I get some time today.

Posted
Okay, no error so that doesn't help me. I'll have to write you up a special debug version of the plugin. Should be done when I get some time today.

Ok but I really don't want you to go thru a whole lot of bother. if it is no bother then I'll be happy to test anything you throw at me :)

Posted

Okay some things to check in the PluginLCD configuration

1. Check the LED Input Map tab. Do you have keycode's mapped correctly to your controls?

Note here in my example P1_BUTTON1 is mapped to KEYCODE_LCONTROL. That is the default key for Player 1 button 1. Without the keycodes set colors.ini will not work.

post-367-1204164624_thumb.png

2. Under the Profile Editor, check you have a "Default" entry set for GameEx. This is the default state of your buttons inside GameEx. You must set this profile.

In the example I just set the first 6 buttons to the on state.

post-367-1204164638_thumb.png

3. Now selecting MAME, then a game like 005, it should show the label and colors correctly for P1_BUTTON1. In this case "Fire" and 49,31,0 for the color.

post-367-1204164657_thumb.png

If your still having troubles after that I have a debug version attached for you to try. You don't need to run GameEx to test this. Simple go to the PluginLCD configuration under the Plugin Manager, select Profile, then Mame then 005. After that paste the PluginLCD.log file.

Incidently the output I get in the log file using this version is

28/02/2008 10:09:38 AM: System: MAME GameName: 005
28/02/2008 10:09:38 AM: Default: KEYCODE_LCONTROL <-- P1_BUTTON1
28/02/2008 10:09:38 AM: Label: KEYCODE_LCONTROL <-- KEYCODE_LCONTROL, Color: Orange
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON2
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON3
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON4
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON5
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON6

PlugInLCD.zip

Posted
Okay some things to check in the PluginLCD configuration

1. Check the LED Input Map tab. Do you have keycode's mapped correctly to your controls?

Note here in my example P1_BUTTON1 is mapped to KEYCODE_LCONTROL. That is the default key for Player 1 button 1. Without the keycodes set colors.ini will not work.

post-367-1204164624_thumb.png

2. Under the Profile Editor, check you have a "Default" entry set for GameEx. This is the default state of your buttons inside GameEx. You must set this profile.

In the example I just set the first 6 buttons to the on state.

post-367-1204164638_thumb.png

3. Now selecting MAME, then a game like 005, it should show the label and colors correctly for P1_BUTTON1. In this case "Fire" and 49,31,0 for the color.

post-367-1204164657_thumb.png

If your still having troubles after that I have a debug version attached for you to try. You don't need to run GameEx to test this. Simple go to the PluginLCD configuration under the Plugin Manager, select Profile, then Mame then 005. After that paste the PluginLCD.log file.

Incidently the output I get in the log file using this version is

28/02/2008 10:09:38 AM: System: MAME GameName: 005
28/02/2008 10:09:38 AM: Default: KEYCODE_LCONTROL <-- P1_BUTTON1
28/02/2008 10:09:38 AM: Label: KEYCODE_LCONTROL <-- KEYCODE_LCONTROL, Color: Orange
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON2
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON3
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON4
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON5
28/02/2008 10:09:38 AM: Default: <-- P1_BUTTON6

Ok You solved the problem. I do not have the keycodes setup. The reason being is some buttons have the same mapping or key codes. So the buttons that are mapped to the same key will light up whether you need them or not. So I didn't set this up. Sorry for all the confusion. :(

Posted

Lol I started to think it was probably that. Would have saved some time if I had of mentioned it earlier. BTW The PluginLCD thread covers this potential issue a few times. Others have had the same problem before ;)

BTW You might want to delete your Profiles\MAME.ini file and use the defaults from colors.ini. Then you only need to add in ones you don't have. Glad you got it working anyway :)

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