Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: ghettodish on January 25, 2009, 12:16:46 am

Title: Trackball troubles
Post by: ghettodish on January 25, 2009, 12:16:46 am
When I start Millipede or Centipede with MameUI32 the mouse works fine for the trackball, but when I start the game with Mala the mouse doesn't work.

What did I forget to do in Mala?
Title: Re: Trackball troubles
Post by: dungbeetle46 on January 25, 2009, 12:21:32 am
under options, controller, mouse have you ticked use mouse
Title: Re: Trackball troubles
Post by: ghettodish on January 25, 2009, 12:25:59 am
Yeah, the box is checked. 
So is Use scrolling acceleration.

mala v1.05
mame v0.129u2 (mameui32)

Title: Re: Trackball troubles
Post by: SGT on January 25, 2009, 12:00:22 pm
When I start Millipede or Centipede with MameUI32 the mouse works fine for the trackball, but when I start the game with Mala the mouse doesn't work.

What did I forget to do in Mala?

I don't see that you should have to do anything in Mala to get the trackball to work in Mame.  Mame uses either mame.ini to enable the trackball for all games or romname.ini (for example millipede.ini) in the INI folder under the MAME folder to enable the trackball for specific games.  There should be an entry:
Code: [Select]
MOUSE    1
The inidividual ini files for each game take priority over the mame.ini file.   Now all this doesn't explain why it works in MameUI32 but doesn't when you start the game via Mala.  However if it was me, I would create an INI file specifically for Millipede with just the entry MOUSE   1 and put it into Mame's INI folder to see if that fixes it.  Or.... just edit Mame.ini and change  MOUSE   0 to   MOUSE   1.

What is your Mame command line in Mala?  Is there anything related to the Mouse in your command line?


Title: Re: Trackball troubles
Post by: ghettodish on January 25, 2009, 01:54:36 pm
NOTE: this problem is for all my trackball games, not just Centipede and Millipede.
My system is not up-and-running at the moment to check ini files.

My problem may be related to the way I made my ROM lists for Mala. I was having problems making 2 specific rom lists so I manually sorted roms into two folders named: Trackball games, Fighter games.

I dragged the contents from Fighter Games folder into the default Roms folder, made my Master List with Mala, then made a secondary list called Fighter Games. I then Deleted everything from the Roms folder and repeated everything for the Trackball Games.

I ended up with two working game lists I can choose from using the Mala interface.

Then I dumped all roms together into the Roms folder.


There were only Fighter Games in the the Rom folder when I had Mala make the original XML file. Would that cause my problem?
Title: Re: Trackball troubles
Post by: loadman on January 25, 2009, 02:39:48 pm


There were only Fighter Games in the the Rom folder when I had Mala make the original XML file. Would that cause my problem?


Yup
Title: Re: Trackball troubles
Post by: ghettodish on January 25, 2009, 03:10:25 pm
I deleted the XML file in the mameui32 folder then had Mala make a new one. I still have the same problem...

Do I need to remake the rom lists?
Title: Re: Trackball troubles
Post by: loadman on January 25, 2009, 05:12:44 pm
AHH Mame32.!!  Sorry I didn't pick up on that before

I Dunno.  I don't recommend that with a fe, as there can 'be' subtle but crucial differences between that and normal mame.

Sorry, I can't help you but I recommend you start again with command line mame
Title: Re: Trackball troubles
Post by: ghettodish on January 25, 2009, 10:43:27 pm
I saved my rom lists then reinstalled everything from scratch. Everything works now.
I'm using command-line mame now.
Title: Re: Trackball troubles
Post by: loadman on January 26, 2009, 12:33:02 am
I saved my rom lists then reinstalled everything from scratch. Everything works now.
I'm using command-line mame now.

Sweet.

Sorry you had to go through so much pain   :P
Title: Re: Trackball troubles
Post by: ghettodish on January 26, 2009, 10:37:48 am
Today I gotta figure out what features I lost by switching back to plain mame.

Auto game state save, save hi score, etc
Title: Re: Trackball troubles
Post by: SGT on January 26, 2009, 10:40:10 am
Command line Mame has those features.
Title: Re: Trackball troubles
Post by: ghettodish on January 26, 2009, 01:43:12 pm
Thanks everyone! I'm back on track. It's good to finally have all the software problems of my project worked out.
Title: Re: Trackball troubles
Post by: SGT on January 26, 2009, 02:27:27 pm
I should have mentioned that you have to patch mame to have the high score support.  This is stickied at the top of the software forum.