Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: pnpbios on March 20, 2015, 11:17:06 pm
-
I've lurked this site for quite a while. It's been very helpful in putting together a machine for my kids to play on. I made something that I found useful and I would like to give back.
I made a little program that sits between the front-end and the emulator. It sits there waiting for an input sequence from a game-pad it can use to kill the emulator and return to the front-end.
https://github.com/longjoel/quitbit
If you think this might be useful to you, I would appreciate feedback or a bug report. Thanks!
-
No offense but I don't download lurker-ware. If you want to provide code that the community could benefit from you need to make yourself a part of that community.
Get involved on the boards and Id feel a lot better about giving this a chance.
-
No offense but I don't download lurker-ware. If you want to provide code that the community could benefit from you need to make yourself a part of that community.
Get involved on the boards and Id feel a lot better about giving this a chance.
Luker-ware? He posted the source code, which is dead ---smurfing--- simple to interpret with any sort of comprehension of programming structure.
-
pnp, my advice? Don't immediately try to kill the program. It is not the way to do it.
For example, MAME actually saves cfg/nvram changes on exit. With the way you're nuking the program, programs won't close properly and do the file IO that they're supposed to.
if (!runProgram.CloseMainWindow())
{
runProgram.Kill();
}
This way, if the emulator is nice enough to just let you close it, you can do it without ---smurfing--- up its behavior, but if it isn't nice enough, you nuke it from orbit.
I have experience with this because I built the same feature into Big Blue.
-
No offense but I don't download lurker-ware. If you want to provide code that the community could benefit from you need to make yourself a part of that community.
Get involved on the boards and Id feel a lot better about giving this a chance.
Luker-ware? He posted the source code, which is dead ---smurfing--- simple to interpret with any sort of comprehension of programming structure.
Lurker not luker. And yeah, I don't download from users who provide software - of any sort - as their first post. Consider me risk averse. Feel free tho man, I can only speak for my self.
-
bulbousbeard:
Thanks for the feedback. Next version will definitely try to politely tell it to close it's window, then kill it off at the end in case that didn't take. I took a look at Big Blue, and I might have to give that a try after a while.
Le Chuck:
I understand not everybody is a programmer, and if you don't know how to read the code, I can understand why it might be difficult to decipher it. If you are actually interested in using it, I would be happy to answer any of your questions or help you read the code.