The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: ragnar on September 23, 2011, 12:02:21 am

Title: Mala not preloaing ultramap via pre command?????
Post by: ragnar on September 23, 2011, 12:02:21 am
This one is driving me batty.

I have a Sega Genesis emulator set up.  I am using precommands to call Ultramap before launching the Sega emulator.  It is not working.  Somehow it is settting up the joysticks to run in analog mode.  I am trying to use 8way.  So, I can copy/paste the command line from inside Mala into a command prompt and it changes the configuration in the joysticks.  But when I use hte exact same command in Mala, it does not set 8way.  It sets it to analog.

I have the same issue when exiting the emulator.  I have a custom mala u360 layout for Mala but it goes to 4way for some reason.

Title: Re: Mala not preloaing ultramap via pre command?????
Post by: ragnar on September 23, 2011, 12:09:40 am
Ran the fatfingers plugin in debug mode.

Fatfingers is still running.  How do I fix this?  It is basically over-riding my pre/post commands to set up the u360s for Sega emulation.
Title: Re: Mala not preloaing ultramap via pre command?????
Post by: TopJimmyCooks on September 23, 2011, 09:49:27 am
I don't have the answer to your question, not currently running any emulators besides mame and daphne - but I was also trying to have the U360 go to a special map for Mala, without success.  Pls. post if you get that working, I would love to do that. 

I had problems for a while with both Mame and the Mala plugin sending different maps.  I had to carefully review mame.ini and my specific game ini's to make sure the mame mapping was turned off, allowing the mala plugin to set the maps i wanted. 
Title: Re: Mala not preloaing ultramap via pre command?????
Post by: ragnar on September 23, 2011, 03:21:25 pm
I figured out what is going on.

step 1) The pre-command is setting up the u360s with the desired configuration
step 2) fat fingers is not finding the game in it's database (games.dat or whatever it is that states what each game is such as 4way) and defaults to analog.  So it configs the u360 as analog
step 3) The Genesis emulator starts
step 4) The genesis emulator exits
step 5) fat fingers runs (sets u360 to Mala config)
step 6) post-command runs (sets u360 to Mala config)

The fix is to disable fatfingers unless you are using mame.  I could swear that this is possible.

Having said this I did find a workaround on the internet (probably here).  Don't use pre/post commands.  And start the emulator from a bat file that runs the the u360 configuration files prior to running the exe.

Need to find the link to the resolution that I found.

I might tryt this tongiht granted it is not my desired solution.

EDIT:
Thread with bat file fix:
http://forum.arcadecontrols.com/index.php?topic=80546.0 (http://forum.arcadecontrols.com/index.php?topic=80546.0)
Title: Re: Mala not preloaing ultramap via pre command?????
Post by: TopJimmyCooks on September 23, 2011, 03:54:39 pm
Good looking out.  Do you think you could use a .bat wrapper for mame as well to maybe return to the Mala specific joystick map on mame game exit?
Title: Re: Mala not preloaing ultramap via pre command?????
Post by: ragnar on September 23, 2011, 09:49:48 pm
I'm not sure if that is possible.  But should be.  The FatFingers plugin works well with Mala/Mame.

If you installed the fatfingers plugin, you should have a "maps" folder where you installed Mala.  In there, there will be a mala.ugc file that poitns to 4way.um by default.  make your own maps in Ultrmap and have mala.ugc point to those instead.

I got the bat file running now for my Sega emulator.  It does exactly what I want it to.