Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: melarky on February 14, 2005, 12:53:16 pm
-
Hello,
I would like to figure out a way to hook up a flashing light or something like that to go off when a certain score is reached in a game or a certain level is cleared (that basic idea).
-
You could always stand behind who ever is playing with a pot and a wooden spoon. ;D
If it can be done, I would think you're on the right triack with the highscore.dat. What's the payout on this thing anyway?
-
You could always stand behind who ever is playing with a pot and a wooden spoon.
-
In order to do this, you would either need to hook your whole system on your computer to tell when the score it beaten, or *write a script and recompile it right into mame so it executes some other file, such as ring.exe*
Thats the only way I can think of it, modify the source, make ring.exe set off your lights, and when MAME detects a high score, you can send it out.
-
So hiscore.dat is probably out then (wouldn't be quite as effective if the light flashed after the name was entered, would be funner right then the score is broken).
I'll have to look into the source code and see how difficult it would be to figure this out.
Any other ideas on this?
-
this is a really good idea.
-
It wouldn't be too hard to do if you modified the drivers to do something after a high score is achieved (turn on a keyboard light or something that you could connect your flashing light to), however, it would be irritating enough where I don't plan on volunteering for the task. If someone can think of a better way to do it, power to them. Also, as far as I know, the highscore.dat is written after you exit the game, but I haven't ever really looked at that part of the code, so I could be wrong.
-
Well, if the code can be changed to incorporate a Q*Bert knocker, then I'm sure this can be done as well. Just have to find the person with the right coding skills.
-
The highscore.dat is never written to. It is just a database of how each game registers the high scores, and writes it to /hi/game.hi
Modify MAME to do a certain action when hiscore.dat sees a high score.