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: MAME Controls  (Read 2100 times)

0 Members and 2 Guests are viewing this topic.

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
MAME Controls
« on: February 29, 2004, 08:05:15 pm »
Hey

Player1 Joystick up is mapped to F4, but when editing and removing that from my controller ini file it still brings up the damn pallete, how can i stop it ???!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:MAME Controls
« Reply #1 on: March 01, 2004, 12:49:00 am »
delete your cfg files in the cfg folder

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
Re:MAME Controls
« Reply #2 on: March 01, 2004, 12:32:07 pm »
Ive done that too but it still happens :(

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:MAME Controls
« Reply #3 on: March 01, 2004, 06:55:27 pm »
are you running it with a frontend that overwrite ini files?  (I know that was a recent answer to another problem)

put mame in verbose mode and see what ini files it is loading.

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
Re:MAME Controls
« Reply #4 on: March 01, 2004, 07:24:55 pm »
How do i do that dude?

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
Re:MAME Controls
« Reply #5 on: March 01, 2004, 07:27:55 pm »
Ok i did it,

parsing mame.ini...OK.
parsing pacman.ini...N/A
parsing mspacman.ini...N/A
Using DirectInput 7
Keyboards=1  Mice=1  Joysticks=0 Lightguns=0
trying to parse ctrlr file windows.ini
Mouse support disabled
Joystick support disabled
Keyboards=1  Mice=0  Joysticks=0
Best mode = 400x300x16 @ default Hz
Primary surface created: 400x300x16 (R=0000f800 G=000007e0 B=0000001f)
Primary buffer: 44100 Hz, 16 bits, 1 channels
SSE supported
Sound buffer: overflows=4 underflows=0
Average FPS: 9.943082 (12 frames)

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:MAME Controls
« Reply #6 on: March 01, 2004, 07:57:07 pm »
Ok i did it,

parsing mame.ini...OK.
parsing pacman.ini...N/A
parsing mspacman.ini...N/A
Using DirectInput 7
Keyboards=1  Mice=1  Joysticks=0 Lightguns=0
trying to parse ctrlr file windows.ini
Mouse support disabled
Joystick support disabled
Keyboards=1  Mice=0  Joysticks=0
Best mode = 400x300x16 @ default Hz
Primary surface created: 400x300x16 (R=0000f800 G=000007e0 B=0000001f)
Primary buffer: 44100 Hz, 16 bits, 1 channels
SSE supported
Sound buffer: overflows=4 underflows=0
Average FPS: 9.943082 (12 frames)

I only see mame.ini (which isn't a controller config file) and possible windows.ini in the default ctrlr folder being loaded.

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
Re:MAME Controls
« Reply #7 on: March 01, 2004, 08:41:01 pm »
Yeah the windows.ini is what i edited for my controls, should i make a different one?

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:MAME Controls
« Reply #8 on: March 01, 2004, 08:56:13 pm »
You should just leave windows.ini as it was.  Have you edited std.ini? check in there as mame looks at that file first, then looks at any specific ctrlr files you have set (have you made any of them?)

Nightmare03

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:August 18, 2007, 07:20:34 am
  • Stupid llama!
Re:MAME Controls
« Reply #9 on: March 01, 2004, 10:15:39 pm »
Hey,

I just did what i did before ( edit the controls in mame ) and it works now ( it didnt before, obviously )

Thanks for the advice,

Nightmare

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:MAME Controls
« Reply #10 on: March 02, 2004, 02:23:41 am »
You should just leave windows.ini as it was.  Have you edited std.ini? check in there as mame looks at that file first, then looks at any specific ctrlr files you have set (have you made any of them?)

That would be incorrect.  std.ini is not used.  It's there to show you what you can set (and the defaults).

Default.ini is the default.  Plus it is wise to setup a ctrlr folder with your settings in and use that.

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:MAME Controls
« Reply #11 on: March 02, 2004, 04:13:22 am »
The pc I have at work only has default.ini located under the various crtrl folders (HotRod, SlikStik, XArcade) and nowhere else that I could see.  I don't use those ctrlr folders here (have set my own up at home though) I am curious to know where would it be getting the control info from?  I was under the impression mame checks std.ini first, then into specific ctrlr folder for default.ini, then to specific game.ini (ie mk.ini).  

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:MAME Controls
« Reply #12 on: March 02, 2004, 03:57:56 pm »
The std is just a printout of the hard-coded internal defaults in mame.  It doesn't have to read it because they are the defaults.  Actually mame reads the defaults, overridden defaults at the driver level, cfg files and then ctrlr files.  This is very annoying btw.

Remember, ctrlr file saving is new.  You can delete your entire ctrlr folder hierarchy and mame will still run just fine.    

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:MAME Controls
« Reply #13 on: March 02, 2004, 04:34:28 pm »
yep, at the core mame still runs ont he cfg files.  Actually the cfg file inputs will override the ctrlr files.

Normally for ctrlr files you'd make your own folder and put configurations in there.  Then in your mame.ini configure it to use that folder.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:MAME Controls
« Reply #14 on: March 02, 2004, 06:43:09 pm »
Yeah it seems to me that ctrlr files should be right after driver defaults as you have to actively make a ctrlr file and cfg files are automatically made.