hey guys, i really need some help with this one...i searched the forums, but couldnt find an answer to this problem..so here it goes.
my cabinet runs mame, using MALA as a front end. my coin doors are wired to an old PC gamepad, and i use joytokey to make them work with mame. this works fine when using explorer as my shell, because i can either manually start joytokey, or have it in the startup folder, which also works fine.
however, i use MALA as my shell, so the desktop doesnt load. the problem with this is, the windows startup folders are not processed this way, so i cannot automate the start of joytokey. I cannot seem to find a startup location in windows that will load this app without first loading explorer.
i looked through the wiki in the "hiding windows" section, where there is listed a program called xynt service, which is supposed to allow you to install an application as a windows service, so it will launch like i want it to. i downloaded and installed this, set it up for joytokey and that works fine. it loads right at startup when mala loads...but if this service is running, mame will not run any games. it just flashes the starting screen, then quits.
to make sure it wasnt a mala problem..i set my shell back to explorer, and had the joytokey service load. even if i try to launch a game directly via mame command line, it will not work if that service is running. it gives me an error: osd_init failed. as soon as I stop the joytokey service, it works just fine.
i uninstalled that service, and used srvany from the windows resource kit to create a joytokey service. however this service loads, but never seems to actually work. from what I can tell, it loads joytokey, but comes up with the original configuration, which i cannot change, instead of the mame config that i created.
I am getting ready to redo my control panel, and i dont really have enough inputs on my encoder to use for the coin slots, so the pc gamepad is pretty much my only choice.
so, is there:
- a way i can get joytokey to load at startup even though explorer isnt loading?
- another program that will give me the functionality of joytokey, that i can maybe run as a service and have mame still work?
- a way to configure mame to use gamepad/joystick buttons for coins? (i remember trying to get this to work along time ago without much luck)
- another option that I am not thinking about?
i temporarly have a 3button combination to act as coin inputs on my panel until i get this workign, but that is not a permanent fix. i want the real arcade feel, and for that i need working coin doors.
please help
just for the record, my cabinet is running windows xp sp2. i have tried several different versions of mame, including the most current one, but they all give me the same "osd_init failed" error when the joytokey service is running.