Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Spinner/Trackball setup and config file question  (Read 4495 times)

0 Members and 1 Guest are viewing this topic.

bkrownd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:August 08, 2015, 08:20:42 pm
  • I want to build my own arcade controls!
Spinner/Trackball setup and config file question
« on: August 01, 2014, 03:47:59 pm »

  I spent a couple of hours trying to get my new trackball and spinner working last night.  They worked as "mouse" devices in windows immediately after plugging in the minipac.  However, mame wouldn't recognize them, and the config for the game was getting screwed up as I tried to use the tabbed menu controller setup to add them. 

  Eventually after lots of web searching and reading I found a file "mame.ini" to download that wasn't in my mame directory before, and edited the setting "mouse" from 0 to 1.  (trackball is still set to "keyboard" instead of "mouse" but the comments I was reading suggested that was fine?)  Now I have to work on tweaking sensitivities. 

  Anyhow, I'd like to edit the individual <game>.cfg files manually, but until you start changing defaults these files are basically empty.  Can anyone point me to the best reference/example/tutorial page for doing this, listing and explaining all the .cfg file options?  Thanks!

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: Spinner/Trackball setup and config file question
« Reply #1 on: August 01, 2014, 05:33:20 pm »
For .cfg files (which are XML) you just have to tweak the settings in the MAME menu, as you say. Not sure why you'd want to write sensitivity settings directly to a cfg without first testing it in-game? Most games will need a different sensitivity.

If you meant ini files, most of the settings are listed and explained here:
http://www.mameworld.info/easyemu/mameguide/mameguide-options.html

bkrownd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:August 08, 2015, 08:20:42 pm
  • I want to build my own arcade controls!
Re: Spinner/Trackball setup and config file question
« Reply #2 on: August 01, 2014, 06:19:48 pm »

  I just like being able to edit the text <game>.cfg files directly, and in the case last night where I screwed up all the settings while trying to get the trackball recognized it would have helped to be able to make proper changes to the .cfg files directly, but at the time I didn't have a guide to the valid options and syntax.  I'm sure a lot of the settings in the .cfg files can be copied between similar games, at least to get a starting point without having to go through the menu thing with each one.

  Thanks for the link for the other files.  I'm sure I'll want to tweak those as well.

thatpurplestuff

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 670
  • Last login:May 10, 2025, 02:37:15 pm
Re: Spinner/Trackball setup and config file question
« Reply #3 on: August 01, 2014, 07:45:05 pm »
If I'm understanding your issue correctly, I think your best bet would be to modify the "General Settings" not "Game Specific" settings (I put them in quotes because I'm not sure I'm calling them by their correct name within the MAME menus).  That way, all games would have your ideal settings by default and then any games that need tweaking after that could be modified later on.  You'd probably want to delete all of your individual game settings files after you find the sweet spot for your general settings.

So once again, we find that evil of the past seeps into the present like salad dressing through cheap wax paper, mixing memory and desire.

bkrownd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:August 08, 2015, 08:20:42 pm
  • I want to build my own arcade controls!
Re: Spinner/Trackball setup and config file question
« Reply #4 on: August 01, 2014, 08:57:55 pm »
I'm just looking for documentation on the format and options of those <game>.cfg files so I can edit them if I like.  I like to know how things work in case I want to make use of them.   :burgerking:

I know that a really hard way to do that is just to change all the settings out of wack and study what kind of .cfg files are produced, but that's time consuming and probably doesn't provide all the possible information....

Cutting holes in some wood (or pseudo-wood) tonight so I can mount everything.
« Last Edit: August 01, 2014, 08:59:28 pm by bkrownd »

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 04:43:48 am
  • Designated spam hunter
Re: Spinner/Trackball setup and config file question
« Reply #5 on: August 02, 2014, 09:31:53 am »
Eventually after lots of web searching and reading I found a file "mame.ini" to download that wasn't in my mame directory before
Are you certain that the file you downloaded is a perfect match for your version/compilation of MAME?   :dunno

To generate mame.ini, use the "mame -cc" command like Hoopz describes here -- if you aren't comfortable with typing in commands, scroll down to Quadrider1's reply for how to do it using a batch file.   :cheers:


Scott

bkrownd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:August 08, 2015, 08:20:42 pm
  • I want to build my own arcade controls!
Re: Spinner/Trackball setup and config file question
« Reply #6 on: August 02, 2014, 03:33:37 pm »
Eventually after lots of web searching and reading I found a file "mame.ini" to download that wasn't in my mame directory before
Are you certain that the file you downloaded is a perfect match for your version/compilation of MAME?   :dunno


Um....no, I'm not.  I didn't have that file in my installation so I gave it a try.  It's just part of the narrative of how I fixed the trackball problem. 


PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 04:43:48 am
  • Designated spam hunter
Re: Spinner/Trackball setup and config file question
« Reply #7 on: August 02, 2014, 04:58:28 pm »
Eventually after lots of web searching and reading I found a file "mame.ini" to download that wasn't in my mame directory before
Are you certain that the file you downloaded is a perfect match for your version/compilation of MAME?   :dunno


Um....no, I'm not.  I didn't have that file in my installation so I gave it a try.  It's just part of the narrative of how I fixed the trackball problem.
The reason I asked is that there is a chance that the .ini you downloaded might have some different settings/variable names than the version of MAME you installed.   :dunno

Better to take 5 minutes (or less) to delete the downloaded .ini, generate a guaranteed good one, and re-edit it now rather than finding an error sometime later that might be hard to trace back to the .ini.

Generating a new .ini is a cheap insurance policy IMHO.  YMMV.   ;D


Scott