Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: chrisindfw on June 26, 2004, 03:48:36 pm
-
I am trying to work on an application that will change my lcd screen when the user changes the emulator?
At first I thought I could just watch the Mamewah.cfg file for when the "Current Emulator" changes. But after testing, it looks like that doesnt get updated until you exit mamewah.
Anyone know of a way to trap when a user changes emulators other than trying to trap the key press?
If I put a .bat file in place of the winipac would that load when I switched emulators?
-
very klugdy but you my try AutoIt. it'll "read" the current window and allow to script actions based on the results.
-
Thanks... Il try it...
Minwah... How does Mamewah use the ipac filename? I am wondering if I can stick an bat file in there to run it?
Just a thought
very klugdy but you my try AutoIt. it'll "read" the current window and allow to script actions based on the results.
-
Thanks... Il try it...
Minwah... How does Mamewah use the ipac filename? I am wondering if I can stick an bat file in there to run it?
Well it doesn't get used until a game is launched...I can't think of how you can do this atm :(
I hope to add some LCD support soon so I will bear it in mind ;)
-
Thanks! I know alot of the lcd panels out there use batch files to load them.
Other than that... A great product... I wish I could see the code you have for the layout designer. I could use it to help me at my job. lol
Thanks... Il try it...
Minwah... How does Mamewah use the ipac filename? I am wondering if I can stick an bat file in there to run it?
Well it doesn't get used until a game is launched...I can't think of how you can do this atm :(
I hope to add some LCD support soon so I will bear it in mind ;)
-
Thanks! I know alot of the lcd panels out there use batch files to load them.
Other than that... A great product... I wish I could see the code you have for the layout designer. I could use it to help me at my job. lol
Drop me an email if there's something specific you're interested in...I won't give you the whole lot but I don't mind giving you a start ;)
-
Minwah,
How about you copy something to the clipboard (or a file) that describe the "state" of the FE? For example a fixed format string like [emulator][Rom name unser the cursor][status] that someone would parse? (Status could be list/launched/...?)
It seems I have seen this type of request more than once and using the clipboard should be easy for you to do rather than messing with files or sockets.
-
Minwah,
How about you copy something to the clipboard (or a file) that describe the "state" of the FE? For example a fixed format string like [emulator][Rom name unser the cursor][status] that someone would parse? (Status could be list/launched/...?)
It seems I have seen this type of request more than once and using the clipboard should be easy for you to do rather than messing with files or sockets.
Well I've already done something to add the romname / description to the caption of the main form (window) - I could easily add the emulator name etc. to that - would that be any good here?
-
Well.. I wrote a little program that looks at the cfg file and based on what emulator is loaded, loads a batch file that makes the proper screen on my lcd panel.
Then it starts mamewah...
When you change the emulator, it then changes the lcd screen.
So when you go to the nintendo emu, the screen shows..
Nintendo
Player 1
o o -
- - -
-
Thanks... Il try it...
Minwah... How does Mamewah use the ipac filename? I am wondering if I can stick an bat file in there to run it?
I hope to add some LCD support soon so I will bear it in mind ;)
Oh yes!, Oh yes!, Oh Yes!
:)